What problem does it solve?
This Skill eliminates the friction of maintaining codebases with shallow, tightly-coupled modules that are hard to test and refactor, reducing long-term technical debt and making code easier for both developers and AI tools to navigate.
Core Features & Use Cases
- Shallow Module Detection: Identifies modules where the interface is nearly as complex as the implementation, or where deleting the module would spread complexity across multiple callers instead of containing it.
- Deepening Opportunity Recommendations: Proposes concrete refactors to consolidate scattered logic into deep modules with small, high-leverage interfaces, improving testability and concentrating changes, bugs, and knowledge in a single location.
- ADR & Domain Alignment: All suggestions respect existing Architecture Decision Records and the project's domain glossary, avoiding redundant or conflicting recommendations for past architectural decisions.
- Use Case Example: A development team struggling with cross-file bug fixes for payment processing logic can use this skill to identify that scattered validation functions should be consolidated into a single deep payment validation module with a clear, testable interface.
Quick Start
Use the improve-architecture skill to analyze your codebase and list the top 3 highest-impact architecture deepening opportunities for your current project domain.