Sandbox demo

Multi-File Refactors

Renames, signature changes, and dependency updates done as one coherent change.

The thing humans hate most about refactors is the bookkeeping: every call site, every import, every test. The agent eats that for breakfast — as long as you give it a clear shape change up front.

Pattern: state the rename or signature change in one sentence. Let the agent do a Grep for call sites. Then ask it to update all of them in a single sweep, run the tests, and report.

Sandbox transcript
Claude Code · sandbox replay
Press Play to replay this transcript step-by-step.
0 / 9

The transcript is canned — no real API calls. The point is to internalize the loop: user → plan → tool → result → answer.

Check your understanding
Q1. What gives multi-file refactors their reliability?
· Score 100% on the quiz.