Skip to main content

Multi-File Project Mastery

Cross-File Refactoring

0:00
LearnStep 1/3

Planning Coordinated Edits

The Challenge of Refactoring

Refactoring often touches multiple files—changing a function signature usually requires updating every file that calls it.

Strategy: Analyze First

Before asking for changes, ask Claude to identify dependencies:

text

The Batch Edit

Once the scope is clear, issue a comprehensive instruction:

text

Claude will plan the edits and apply them sequentially.