Reading code is the job
Studies consistently show developers spend more time reading code than writing it. Claude Code flips that equation, but only if you ask it the right things.
"The best thing Claude Code does isn't write code. It's explain code I didn't write, and find the landmines before I step on them."
Senior engineer, on their first month with Claude CodeArchitecture mapping prompts
Start every new codebase session with these. They give Claude context and give you a map before you zoom in.
Tracing data flow
Once you have the map, you trace the routes. These prompts follow a specific request, value, or action through the system end-to-end.
Decoding legacy & unfamiliar code
Old code with no docs, cryptic variable names, and zero tests is where Claude Code genuinely earns its keep. These prompts surface what the code does before you risk changing it.
Your reading session today
Pick a real project: one you're working on, one you've inherited, or one from GitHub you want to learn from. Run through these prompts in order.
- Ran the architecture mapping prompt on a real project
- Traced at least one request or data flow end-to-end
- Verified Claude's accuracy with a known-answer question
- Asked about risk or tech debt in at least one file
- Turned one Claude explanation into usable documentation
- Could describe this codebase to a colleague in 90 seconds, without looking
Day 03 complete
You now have a repeatable playbook for reading any codebase. Tomorrow is Day 04: Prompting Technique. You'll learn to write prompts that get precise, useful results every time, not just sometimes.
Bookmark these prompt categories; you'll use them every week.