Architectural Refactor
Executes complex codebase restructuring through deterministic, chunked operations and rigorous automated verification gates.
The Architectural Refactor skill solves the problem of 'agent drift' during large-scale code changes by externalizing refactoring plans to local storage. It converts high-level architectural assessments into a structured sequence of independently verifiable chunks, tracking progress via a machine-readable manifest and a human-readable log. By enforcing strict verification gates—including tests, type-checking, and linting—between every step, it ensures that your codebase remains stable and functional even across multiple AI sessions or context compactions.
Key Features
01Resilient session management allowing agents to resume work without context loss
02Deterministic chunked execution to manage high-complexity refactoring
03Dependency-aware planning to ensure correct logical execution order
04Externalized state management using local JSON manifests and Markdown logs
05Strict verification gates requiring test, type, and lint passes for every change
064 GitHub stars
Use Cases
01Executing structural changes from an architectural review or clean code assessment
02Decoupling tightly bound modules or migrating to a new service-oriented architecture
03Systematically resolving architectural drift and technical debt in large repositories