Claude Code Best Practices (CLAUDE.md guide)
The canonical article on CLAUDE.md from Anthropic's engineering team — what to include (commands, style, workflows), where files can live, and how to tune them for agentic coding.
How to Install CLAUDE.md
- Copy the CLAUDE.md content using the button below
- Create or edit CLAUDE.md in your project root directory
- Paste the CLAUDE.md content into the file
- Claude Code will use these instructions for your project configurations
Written by Anthropic's own engineers, this is the source document for CLAUDE.md conventions: document bash commands and core files, state code-style rules explicitly, include testing instructions and repo etiquette, and treat the file as a living prompt you refine like any other.
It also covers CLAUDE.md placement (repo root, parent/child directories, home folder), the `#` shortcut for appending memories, and workflow patterns — explore-plan-code-commit, TDD with agents — that make the config pay off.Categories:
Ad