Claude Certified Architect – Foundations Practice Question 44: Plan Mode Before Refactor
Claude Certified Architect, Foundations · Test 5 · question 4 of 10
A developer asks Claude Code to migrate a large service from callbacks to async/await across dozens of files. They are worried that Claude will start editing immediately in a direction they would not choose, forcing expensive rework. They want to review and agree on the approach before any source file is modified. What is the best way to work?
Show answer and explanation
Answer:
Plan mode tells Claude to research and propose changes without making them: it reads files, can run exploratory commands, and writes a plan, but does not edit your source. Edits stay blocked until you approve the plan, and you can answer "keep planning" with feedback to refine it. Anthropic's cost guidance recommends it for complex tasks because it prevents expensive rework when the initial direction is wrong.
A is wrong because acceptEdits auto-approves file edits, which is the opposite of reviewing the approach first. B is wrong because /clear only resets the conversation; it does not stop Claude from editing, and it removes useful context. D is wrong because a CLAUDE.md instruction is guidance rather than an enforced mode, and per-edit prompts review individual diffs after Claude has already committed to a direction, instead of agreeing a plan up front.
Reference: Choose a permission mode (plan mode)