discipline-refactor-target-repository-structure

Sub-skill of discipline-refactor: Target Repository Structure.

5 stars

Best use case

discipline-refactor-target-repository-structure is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of discipline-refactor: Target Repository Structure.

Teams using discipline-refactor-target-repository-structure should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/target-repository-structure/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_internal/meta/discipline-refactor/target-repository-structure/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/target-repository-structure/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How discipline-refactor-target-repository-structure Compares

Feature / Agentdiscipline-refactor-target-repository-structureStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of discipline-refactor: Target Repository Structure.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Target Repository Structure

## Target Repository Structure


```
<repo>/
├── src/<package_name>/
│   └── modules/
│       ├── _core/              # Shared utilities
│       ├── <discipline-1>/     # Domain module
│       │   ├── __init__.py
│       │   ├── models.py
│       │   ├── services.py
│       │   └── utils.py
│       └── <discipline-2>/
│
├── tests/
│   └── modules/
│       ├── _core/
│       ├── <discipline-1>/
│       └── <discipline-2>/
│
├── docs/
│   └── modules/
│       ├── _core/
│       ├── <discipline-1>/
│       └── <discipline-2>/
│
├── specs/
│   └── modules/
│       ├── _core/
│       ├── <discipline-1>/
│       └── <discipline-2>/
│
├── data/
│   └── modules/
│       ├── <discipline-1>/
│       └── <discipline-2>/
│
├── logs/
│   └── modules/
│       ├── <discipline-1>/
│       └── <discipline-2>/
│
├── .Codex/
│   ├── skills/
│   │   ├── _core/
│   │   ├── <discipline-1>/
│   │   └── <discipline-2>/
│   └── AGENTS.md
│
└── pyproject.toml / package.json
```

---

Related Skills

repo-structure

5
from vamseeachanta/workspace-hub

Canonical source layout, test mirroring, root cleanliness, gitignore, docs classification, and committed artifact rules for all workspace-hub tier-1 repos. Consult before creating directories or files in any submodule.

github-issue-structure-for-personal-finance-tracking

5
from vamseeachanta/workspace-hub

Pattern for organizing financial analysis work across multiple repos (data/config vs. logic separation)

targeted-artifact-commit-verification

5
from vamseeachanta/workspace-hub

Verify whether the exact files from a just-completed task are still uncommitted before creating another commit, especially in dirty repos with unrelated churn.

roadmap-issue-reopen-retarget-balance

5
from vamseeachanta/workspace-hub

Reopen existing roadmap anchors, close replacement epics, retarget new child issues, and add sequencing/de-dup comments so GitHub roadmap work preserves continuity and execution quality.

repo-cleanup-structure-section-updates

5
from vamseeachanta/workspace-hub

Sub-skill of repo-cleanup: Structure Section Updates (+1).

module-based-refactor

5
from vamseeachanta/workspace-hub

Reorganize a repository from flat structure to a module-based 5-layer architecture (src/tests/specs/docs/examples) while preserving git history. Use when restructuring a codebase into modules, migrating import paths, cleaning up hidden folders, consolidating duplicate directories, removing root-level artifacts, or archiving completed plan files. Capabilities: parallel agent spawn strategy, hidden-folder consolidation patterns, benchmark fixture separation, 4-phase atomic commit workflow.

discipline-refactor-verification-checklist

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Verification Checklist.

discipline-refactor-standard-folders-module-structure

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Standard Folders → Module Structure (+1).

discipline-refactor-rollback

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Rollback.

discipline-refactor-phase-4-validation

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Phase 4: Validation.

discipline-refactor-phase-3-execution

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Phase 3: Execution.

discipline-refactor-phase-2-planning

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Phase 2: Planning.