Architectural Refactor
Executes complex codebase restructuring through deterministic, chunked operations and continuous verification to prevent architectural drift.
The Architectural Refactor skill transforms high-level architectural assessments into executable reality by breaking down large-scale changes into manageable, verifiable chunks. By externalizing the refactoring plan to disk-based manifest and log files, it ensures consistency and persistence across long sessions or context compactions. This rigid, file-driven approach prevents the common 'agent drift' that occurs when AI models lose track of long-term architectural goals, providing a safe and systematic way to decouple modules, invert dependencies, and resolve technical debt while maintaining codebase integrity.