Architectural Refactoring & Deepening
Analyzes codebase structure to identify shallow modules and propose strategic architectural refactors based on domain-driven principles.
This skill helps developers evolve their codebases from shallow, fragmented modules into deep, high-leverage abstractions. By applying concepts like the 'deletion test' and identifying 'seams,' it surfaces architectural friction and proposes refactors that improve testability, locality, and AI-navigability. It integrates seamlessly with project-specific domain glossaries and Architecture Decision Records (ADRs) to ensure all suggestions remain consistent with established design patterns and business language.
Key Features
01Aligns proposed changes with existing Architecture Decision Records (ADRs)
02Facilitates interactive 'Grilling Loops' to refine design decisions before implementation
03Applies the 'Deletion Test' to validate the necessity of existing code modules
04Ensures architectural consistency using standardized vocabulary like Seams and Adapters
05Identifies shallow modules where interface complexity outweighs implementation leverage
060 GitHub stars
Use Cases
01Redesigning interfaces to make the codebase more testable and easier for AI tools to navigate
02Identifying and resolving tight coupling between modules that lack clear architectural seams
03Consolidating fragmented modules to improve codebase locality and maintainability