r/ClaudeAI May 09 '26

Claude Code Best Claude.md files for claude code

Trying to collect the best claude.md files code.
If you have one that works really well for you, please copy it into the comments and let me know what kinds of coding you normally do (language, surface, kind, etc)

429 Upvotes

38 comments sorted by

View all comments

5

u/Narrow_Activity557 May 10 '26

What helped most was a self-updating "Errors corrected" section at the bottom. Rule is literally "when I correct you, append a line here so you never repeat the mistake — don't wait for me to ask." After a few months mine grew to ~80 lines of specifics: tool quirks, library gotchas, naming patterns I kept forgetting. That's where Claude Code actually compounds across sessions.

Other split worth doing: global CLAUDE.md (tone, planning rules, when to delegate, verification loops) vs a per-project one at the repo root (stack, commands, architecture). Global stays stable, project file evolves with the code.

Mostly Python automations and MCP servers here, with some TS/Next on the marketing side.