← 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:

  1. current-state behavior summary
  2. target-state behavior summary
  3. files and modules in scope
  4. risk list
  5. 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

Best with tools

Related MCP servers