⌨️CLAUDE.md
Also known as CLAUDE.md file, Project memory, /init
A file of rules Claude Code reads each time it starts.
Think of it like
It is like a note on the fridge that says how this house works.
Example
Emma's team keeps telling Claude to use their test command. She adds it to CLAUDE.md once, and every session after that uses it.
Why it matters
It is the easy way to stop saying the same thing in every session.
Definition
Example code
markdown
# Project rules
- Run npm test before you commit.
- Use 2 spaces, not tabs.Common mistake
Key takeaways
- 1Read at every start. Every session.
- 2Many levels. Home, project, sub-folder.
- 3Keep it short. Under 200 lines.