What problem does it solve?
This Skill addresses issues in code structure, such as overly large files, tangled responsibilities, and the need for cross-cutting architectural redesign, ensuring maintainable and scalable software.
Core Features & Use Cases
- Autonomous Diagnosis: Automatically scans the codebase for architectural issues like file size violations, duplication, coupling, clarity gaps, and type safety issues.
- Refactoring: Performs structural, behavior-preserving changes like splitting files and extracting modules.
- Mapping: Analyzes and visualizes system architecture, tracing dependencies, agent spawns, and data flows.
- Redesign: Proposes and implements significant architectural changes, requiring a planning and approval phase.
- Use Case: When a core module becomes unmanageable, use
/architecture to automatically diagnose issues, prioritize fixes, and implement the highest-priority refactoring.
Quick Start
Scan the entire codebase for architectural issues and prioritize them for improvement.