Boris Cherny3/ Invest in Your CLAUDE.md
Source snapshot: 2026-11-09Independent editorial note
When this pattern helps
Use this as a pattern to evaluate, not a universal rule. Check the current Claude Code documentation and your own workflow constraints, then keep the parts that measurably improve reliability, clarity, or delivery time.
这是一种值得评估的实践,不是放之四海皆准的规则。结合当前 Claude Code 文档和自己的工作约束验证,只保留确实改善可靠性、清晰度或交付时间的部分。
After every correction, end with: "Update your CLAUDE.md so you don't make that mistake again." Claude is eerily good at writing rules for itself.
Ruthlessly edit your CLAUDE.md over time. Keep iterating until Claude's mistake rate measurably drops.
One engineer tells Claude to maintain a notes directory for every task/project, updated after every PR. They then point CLAUDE.md at it.
Original source on X