Codebase Architecture & Refactoring
Refines software architecture by identifying shallow modules and creating high-leverage, testable interfaces.
This skill empowers Claude to perform sophisticated architectural reviews by identifying 'shallow' modules—where the interface is nearly as complex as the implementation—and proposing 'deepening' opportunities. It utilizes a precise vocabulary including Seams, Adapters, Leverage, and Locality to improve code testability and AI-navigability. By integrating with existing documentation like ADRs and CONTEXT.md, the skill helps developers consolidate tightly-coupled logic, reduce cognitive load, and ensure that the codebase remains maintainable and easy for both humans and AI agents to navigate.
Key Features
01432 GitHub stars
02Surfaces seams and adapters to enhance codebase testability
03Automates architectural documentation through ADR and CONTEXT.md updates
04Proposes deepening opportunities to maximize architectural leverage
05Identifies shallow modules that add unnecessary cognitive overhead
06Uses semantic export inventories for structured codebase exploration
Use Cases
01Identifying and introducing architectural seams to isolate side effects for easier testing
02Preparing legacy codebases for improved AI-assisted navigation and maintenance
03Consolidating fragmented, tightly-coupled modules into high-leverage components