Architectural Refactor & Deepening
Analyzes codebase architecture to identify refactoring opportunities that transform shallow modules into high-leverage, deep modules for better testability and AI-navigability.
This skill helps developers evolve their codebases by surfacing architectural friction and proposing deepening opportunities based on domain-driven design principles. It leverages existing project context (CONTEXT.md) and Architecture Decision Records (ADRs) to suggest refactors that concentrate complexity behind simple interfaces, improving code locality and system leverage. By focusing on seams and adapters rather than just generic services, it guides users through a structured process to make code more maintainable, easier to test, and optimized for AI-assisted development.