What problem does it solve?
Codebases often accumulate shallow modules whose interfaces mirror their implementations, causing architectural friction, weak test coverage through seams, and duplicated understanding across callers.
Core Features & Use Cases
- Deepening candidate discovery: identifies where modules are shallow, where seams leak, and where the deletion test suggests complexity should concentrate.
- Dependency-aware refactoring guidance: classifies dependencies to determine how a deepened module should be tested (in-process, local-substitutable, ports & adapters, mock).
- Architecture review output: produces a self-contained HTML report with before/after diagrams, a clear problem/solution, and recommendation strength.
- Interactive grilling for design: once a candidate is chosen, guides the user through constraints, dependency category, seam placement, and what tests survive.
- Optional interface exploration: when requested, proposes alternative interface shapes for the deepened module using a parallel “design it twice” pattern.
Quick Start
Use the improve-codebase-architecture skill to generate an architecture review report for your codebase and ask which deepening candidate you want to explore next.