What problem does it solve?
This Skill tackles complex architectural refactoring, ensuring codebases are clean, maintainable, and scalable by detecting and fixing structural issues like circular dependencies and god modules.
Core Features & Use Cases
- Codebase Auditing: Analyzes code structure, identifies architectural smells (god modules, circular dependencies, coupling).
- Restructuring Plan: Proposes a safe, step-by-step plan for refactoring, including file moves and renames.
- Safe Execution: Executes refactoring using
git mv to preserve history and automatically updates all imports.
- Use Case: When your codebase becomes tangled with circular dependencies or large, unmanageable modules, use this Skill to automatically untangle it, making it easier to maintain and extend.
Quick Start
Use the architect skill to restructure the 'src/components' directory.