← Browse by Chapter
Get the Book →
#24Project CLAUDE.md
Scan `git log --pretty=format:'%s%n%b' -n 50`. Identify the five most consistent patterns in commit messages. Scan merged PR descriptions for the last 10 merges — identify recurring constraints, conventions, or anti-goals. Output a markdown list of 8–15 candidate rules for CLAUDE.md, ranked by how often they'd apply.

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