What is CLAUDE.md?
CLAUDE.md is Claude Code's native memory and instruction file. At the start of every session, Claude Code reads this file to boot up its context—learning your project's commands, conventions, architecture patterns, and gotchas.
Unlike general readme files, CLAUDE.md is designed specifically for an AI coding agent. It holds standing instructions that tell Claude Code what style to write, what linters to run, and what commands to execute when building or testing.
Anthropic's reference for the file is the Claude Code memory documentation, which lists every location Claude Code loads and the import syntax. This guide covers the practical side: what to put in the file, how to structure it, and how to keep it accurate.