discipline-refactor-standard-folders-module-structure
Sub-skill of discipline-refactor: Standard Folders → Module Structure (+1).
Best use case
discipline-refactor-standard-folders-module-structure is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of discipline-refactor: Standard Folders → Module Structure (+1).
Teams using discipline-refactor-standard-folders-module-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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/standard-folders-module-structure/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How discipline-refactor-standard-folders-module-structure Compares
| Feature / Agent | discipline-refactor-standard-folders-module-structure | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of discipline-refactor: Standard Folders → Module Structure (+1).
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
# Standard Folders → Module Structure (+1) ## Standard Folders → Module Structure | Folder | Module Pattern | Example | |--------|----------------|---------| | `src/<pkg>/` | `src/<pkg>/modules/<discipline>/` | `src/myapp/modules/data/` | | `tests/` | `tests/modules/<discipline>/` | `tests/modules/data/` | | `docs/` | `docs/modules/<discipline>/` | `docs/modules/data/` | | `specs/` | `specs/modules/<discipline>/` | `specs/modules/data/` | | `data/` | `data/modules/<discipline>/` | `data/modules/ingestion/` | | `logs/` | `logs/modules/<discipline>/` | `logs/modules/api/` | | `.Codex/skills/` | `.Codex/skills/<discipline>/` | `.Codex/skills/data/` | ## Exceptions (Keep Flat) | Folder | Reason | |--------|--------| | `specs/templates/` | Shared templates | | `docs/assets/` | Shared images/files | | `.Codex/state/` | Runtime state | | `scripts/` | Build/deploy scripts | | `config/` | Configuration files | ---
Related Skills
module-lookup
Query the digitalmodel module registry to discover modules by capability, standard, or maturity without reading source code.
repo-structure
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
Pattern for organizing financial analysis work across multiple repos (data/config vs. logic separation)
repo-cleanup-structure-section-updates
Sub-skill of repo-cleanup: Structure Section Updates (+1).
repo-cleanup-folders-to-delete-confirmed-safe
Sub-skill of repo-cleanup: Folders to DELETE (Confirmed Safe) (+3).
repo-cleanup-common-hidden-folders
Sub-skill of repo-cleanup: Common Hidden Folders (+2).
module-based-refactor
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.
hidden-folder-audit-step-1-inventory-all-hidden-folders
Sub-skill of hidden-folder-audit: Step 1: Inventory All Hidden Folders (+4).
hidden-folder-audit-common-hidden-folders-reference
Sub-skill of hidden-folder-audit: Common Hidden Folders Reference.
discipline-refactor-verification-checklist
Sub-skill of discipline-refactor: Verification Checklist.
discipline-refactor-target-repository-structure
Sub-skill of discipline-refactor: Target Repository Structure.
discipline-refactor-rollback
Sub-skill of discipline-refactor: Rollback.