backend-refactor
Installation
SKILL.md
Backend Refactor
Restructure existing backend code without changing what it does. Every increment is checked against a locked test baseline, and every change can be undone from the run's own patches.
When to Use
- "refactor", "clean up", "restructure", "reorganize"
- "split service", "split controller", "break up this file"
- "reduce coupling", "decouple", "extract module", "introduce a repository / ports and adapters"
- "modernize legacy", "strangler fig", "incremental rewrite"
- "rename symbol", "move file"
- A review flagged a structure or maintainability problem that needs restructuring, not a behavior change.