Architectural Refactor
Executes systematic codebase restructures from architectural assessments using deterministic chunking and rigorous verification gates.
The Architectural Refactor skill bridges the gap between high-level architectural recommendations and safe code execution. By externalizing the refactoring plan into disk-based files, it prevents AI agent drift and context loss during complex, multi-session structural changes. It systematically breaks down large refactors into small, independently verifiable chunks—each requiring passing tests, linting, and type-checking—ensuring that large-scale codebase improvements never break the build while maintaining full auditability through a local manifest and log.
Key Features
01Deterministic chunked operations for safe execution
02Drift prevention and fail-safe recovery mechanisms
03Automated verification gates (test, lint, and type-check)
04Dependency-aware sequence planning for complex restructures
05Disk-based state management via plan and manifest files
064 GitHub stars
Use Cases
01Executing recommendations from clean architecture reviews or simplicity audits
02Fixing architectural drift across large codebases during multi-session work
03Systematically decoupling monolithic modules into separate directories