Architectural Refactor
Executes complex codebase restructuring through deterministic, chunked operations and rigorous verification gates to ensure architectural integrity.
This skill transforms architectural assessments into reality by breaking down large-scale refactoring tasks into manageable, verifiable chunks. By externalizing the plan to disk and tracking progress through machine-readable manifests and human-readable logs, it solves the common problem of agent drift during long-running sessions. It enforces strict entry and exit criteria for every change, including mandatory test passes, type checking, and linting, ensuring the codebase remains in a valid state throughout the entire restructuring process.
Key Features
01Chunked execution of architectural plans to prevent context loss and drift
02Automated progress tracking via machine-readable JSON manifest files
03Dependency-aware ordering of tasks to ensure structural consistency
04Persistent logging of all modifications for transparency across multiple AI sessions
05Strict verification gates requiring test, type, and lint passes for every change
064 GitHub stars
Use Cases
01Fixing architectural drift identified during code audits or clean architecture reviews
02Systematically restructuring a monolithic application into modular services
03Decoupling complex dependencies and extracting logic into dedicated modules