A CLAUDE.md file lives at the root of your project, and Claude Code loads it first in every session: it says how the project builds, how it is tested, and what "done" means. Change a rule once, and every future session benefits. This generator writes those rules for you — fill in a few fields and copy or download the file below.

Two lessons from this blog's own articles: first, the file must record facts, not wishes — commands have to match the repo as it really is, or tests go false-green (see Limestone's lesson); second, keep it to one page — shorter rules work better (see Addy Osmani's approach).

Workflow
Code style
Don'ts

Switching language or package manager resets the commands; you can edit them again afterwards.

Generated CLAUDE.md (copy from the top-right of the code block)

Usage: save the generated content as CLAUDE.md at your project root, then check the commands against your actual repo. Need prompts too? Visit the prompt library.

Background music
Jump to comments
Settings
Back to top
Go to bottom
Collapse toolbox