Workflow · Advanced · 2h
Legacy module refactor with a safety net workflow
Refactor an old module in small steps with tests or snapshots proving nothing changed.
- Claude Code
- Cursor
- GitHub Copilot
- Any assistant
- coding
- workflow
Inside this workflow
- When: A module you have to touch and dread touching.
- 1. Capture the safety net
- 2. Ask for a plan, not a rewrite
- 3. Do one step, run the net
- 4. Note the bugs, do not fix them
- 5. Fix the bugs afterwards
- Steps
- 5
- Tools
- Claude Code or similar, Test runner, Snapshot tooling
The full workflow opens with a membership that covers AI Coding.
Sign in if you already subscribe.
Sign in
