Write a starter CLAUDE.md in two minutes
A CLAUDE.md is the file Claude Code reads at the start of every session. Short and concrete works best: exact commands, where things live, and what never to do. Fill this in, copy the result into the root of your repository, then edit it.
Runs in your browser. Nothing you type is sent to us or stored anywhere.
What should you do after copying it?
Delete anything Claude could learn by reading the code, and add the mistakes you see it make twice. A rule in CLAUDE.md is guidance, not a lock: Anthropic says Claude treats the file as context, so anything that must hold every time, such as never pushing to main, belongs in a hook that blocks the command. See what goes in a CLAUDE.md file and hooks and guardrails.
Sources
Want this set up in your repo?
We install the setup we run ourselves: rules, memory, guardrails and a review step, as one pull request, at a fixed price.