discipline-refactor-standard-folders-module-structure

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

5 stars

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

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

Manual Installation

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

How discipline-refactor-standard-folders-module-structure Compares

Feature / Agentdiscipline-refactor-standard-folders-module-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: 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

5
from vamseeachanta/workspace-hub

Query the digitalmodel module registry to discover modules by capability, standard, or maturity without reading source code.

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)

repo-cleanup-structure-section-updates

5
from vamseeachanta/workspace-hub

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

repo-cleanup-folders-to-delete-confirmed-safe

5
from vamseeachanta/workspace-hub

Sub-skill of repo-cleanup: Folders to DELETE (Confirmed Safe) (+3).

repo-cleanup-common-hidden-folders

5
from vamseeachanta/workspace-hub

Sub-skill of repo-cleanup: Common Hidden Folders (+2).

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.

hidden-folder-audit-step-1-inventory-all-hidden-folders

5
from vamseeachanta/workspace-hub

Sub-skill of hidden-folder-audit: Step 1: Inventory All Hidden Folders (+4).

hidden-folder-audit-common-hidden-folders-reference

5
from vamseeachanta/workspace-hub

Sub-skill of hidden-folder-audit: Common Hidden Folders Reference.

discipline-refactor-verification-checklist

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Verification Checklist.

discipline-refactor-target-repository-structure

5
from vamseeachanta/workspace-hub

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

discipline-refactor-rollback

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Rollback.