Architectural Refactor

•
4
•

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.

Key Features

01Deterministic chunked execution to manage complex, multi-file refactoring tasks
02Aggressive verification gates (tests, types, lint) enforced after every atomic operation
03Comprehensive audit logging to track every modification and decision point
044 GitHub stars
05Disk-based state management via manifests to survive context loss and session resets
06Automated dependency mapping to ensure correct ordering of structural changes

Use Cases

01Systematically decoupling complex modules identified in an architectural audit
02Restructuring a legacy codebase according to Clean Architecture principles
03Executing high-level recommendations from simplicity audits or seam-ripper assessments