Give Claude a short set of rules
15 minutesClaude Code reads a file called CLAUDE.md in your project at the start of every session. It is the one place to tell Claude how your project works and how you want it to work with you. Start small. Twenty lines you mean beat two hundred you copied.
cp ../claude-code-playbook/starter/CLAUDE.md ./CLAUDE.mdOpen it and fill in the parts in <angle brackets>: what the project is, and the commands to run and test it. Leave "Rules for this codebase" almost empty. It fills up as Claude makes mistakes. You can also run /init inside Claude Code to have it draft one from your code, then cut it down to the same shape. More in the docs on CLAUDE.md files.
What are the rules for this project?It should repeat yours back.