CLAUDE.md — the prep that survives the shift change.
Drop a CLAUDE.md at the root of a repo and Claude Code reads it on every
session start. It becomes the standing brief for the project: how the codebase is
organised, which commands matter, which paths are sacred, which bugs are old friends.
Anything the agent would otherwise have to re-derive by grepping around — naming conventions, the prod database is read-only, run the formatter before commits, the weird thing about how you handle migrations — write it down once.
You can scope it three ways: ./CLAUDE.md for the repo, ~/.claude/CLAUDE.md
for your personal style, and CLAUDE.local.md for the bits you don't want to
commit. Inside any session, # at the start of a line lets you add a note to
memory mid-stream.