๐ AI Tip: Tired of repeating yourself to Claude Code? Write it down once in CLAUDE.md
Every Claude Code session starts with a blank slate. A CLAUDE.md file in your project fixes that: Claude reads it at the start of every session.
Start fast: run /init and Claude scans your codebase and drafts one with build commands, test steps and conventions it finds.
Then make each rule concrete enough to check:
โ "Run npm test before committing"
โ "Test your changes"
When should you add a line? Anthropic's rule of thumb: when Claude makes the same mistake twice, or you type a correction you already typed last session. Keep the file under about 200 lines, since longer files eat context and get followed less reliably.
โญ If you've explained it twice, it belongs in CLAUDE.md.
#AI
Every Claude Code session starts with a blank slate. A CLAUDE.md file in your project fixes that: Claude reads it at the start of every session.
Start fast: run /init and Claude scans your codebase and drafts one with build commands, test steps and conventions it finds.
Then make each rule concrete enough to check:
โ "Run npm test before committing"
โ "Test your changes"
When should you add a line? Anthropic's rule of thumb: when Claude makes the same mistake twice, or you type a correction you already typed last session. Keep the file under about 200 lines, since longer files eat context and get followed less reliably.
โญ If you've explained it twice, it belongs in CLAUDE.md.
#AI
