← Browse by Chapter
Get the Book →
#27Chapter 04 — Project Memory: the Operating Manual of Your Repository
I have corrected you twice on this: [the correction, in one sentence]. Write the shortest line that would have prevented both mistakes, specific enough to check a diff against. Then say where it belongs: the root CLAUDE.md, a rule scoped to a path (give the pattern), a skill, or a permission rule if it must never be broken. Do not edit any file.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.