← Back to skills
Planning
Refactor planning loop
A reusable planning template for large refactors before any code edits begin.
Last reviewed Feb 25, 2026
Prompt template
Ask the assistant to produce:
- current-state behavior summary
- target-state behavior summary
- files and modules in scope
- risk list
- test plan
Acceptance rule
No edits until the plan is approved.
Completion checklist
- all affected interfaces identified
- roll-forward and rollback paths clear
- validation commands listed and runnable