Skip to main content

Multi-File Project Mastery

Working with Large Codebases

0:00
LearnStep 1/3

Context Economy

The Context Trap

In a small project, /add . might work. In a repo with 50,000 lines of code, it will fail or degrade performance.

Don't Add, Search

Instead of adding files to find something, ask Claude to look:

text

Claude will use grep or file listing to locate it. Once found, add only that file:

text

Removing Context

If you finish working on a module, use /clear to free up space before starting a new task.