← ClaudeAtlas

module-depth-reviewlisted

Use when reviewing whether module boundaries earn their keep — finding shallow modules that should be consolidated into deep ones. Triggers on phrases like "is this over-modularised?", "should these be one module?", "too many small files doing related work", "interface feels as complex as implementation", "review the architecture of X", or when a folder has many tiny files that mostly call each other. Read-only audit; pairs with audit-vs-fix-discipline. Not a substitute for `simplify` (which works inside functions) or `cleanup` (which removes dead code).
stuartshields/claude-setup · ★ 2 · Code & Development · score 73
Install: claude install-skill stuartshields/claude-setup
# Module depth review **Find shallow modules. Propose deep ones.** A shallow module has an interface nearly as complex as its implementation — it forces callers to learn a lot for little behavioural payoff. A deep module hides substantial behaviour behind a small interface. This skill audits a region of the codebase against that lens and proposes consolidations. This is an **audit skill**. It produces findings and proposals — never edits. Pair with `audit-vs-fix-discipline` for the output discipline. ## When to use Apply when the user asks about module boundaries, file organisation, or "is this over-modularised?". Concrete triggers: - "Is this folder doing too much / too little?" - "Should these be one module?" - "Too many small files for one concept" - "The interface is as complex as the implementation" - "Review the architecture of X" (where X is a feature or subsystem, not the whole app) **Not the right skill for:** - Tactical complexity inside a function — use `simplify` - Removing dead code or orphans — use `cleanup` - Whole-app architecture decisions — use the `architect` agent - Pre-merge multi-file review — use `architect-reviewer` ## Vocabulary discipline This skill uses precise terms. Do not substitute "component," "service," "API," "boundary," or "layer" — those words drift in meaning across teams and obscure the question being asked. The full glossary lives in @language.md. The short version: - **Module** — anything with an interface and an implementati