refactor-it
Installation
SKILL.md
Refactor It
Improve the code’s shape while preserving behavior. If behavior must change, stop and use fix-it (or implement the feature explicitly) instead of hiding changes inside a “refactor.”
Paying down development / architecture debt (handbook/concepts/12-bugs-and-debt.md) is a valid reason to refactor — still keep steps behavior-preserving and evidence-backed.
When to use
- “Refactor it”, extract function/module, rename for clarity, decompose god-file
- Prep for a feature when structure blocks a clean change
- After
diagnose-bugwhen the bug fix is done and structure still hurts
When NOT to use
- Product behavior change →
fix-it - Disk/worktree clutter →
tidy-up - Docs-only cleanup →
document-it/ DocSlimekiss