What problem does it solve?
Large refactors that touch many files and interdependent modules are error-prone and risky because missing dependencies, improper sequencing, or inadequate verification can break functionality and slow recovery. This Skill provides a structured, safety-first plan to decompose a multi-file refactor into ordered phases with verification and rollback steps to reduce risk and speed execution.
Core Features & Use Cases
- Affected-file discovery: Identify all files, imports, and dependency chains impacted by the change.
- Sequenced execution plan: Break the work into phases (types/interfaces, implementations, tests, cleanup) with step-by-step actions.
- Verification and rollback: Define verification checks between phases and precise rollback steps in case of regression.
- Use Case: Preparing a migration from one API to another across several modules, ensuring type updates, implementation changes, and test coverage are applied safely.
Quick Start
Create a detailed, phased refactor plan for the repository that lists affected files, dependencies, verification steps, and rollback procedures.