Tag @claude in PR review comments to compound CLAUDE.md rules
Install the GitHub app and mention @claude in review comments so corrections become durable CLAUDE.md rules for every future session.
The problem
Code review nits die in the PR thread. The next Claude session repeats the same enum, naming, or style mistake.
The hack
Install with `/install-github-app`, then in a review comment write the nit and `@claude add to CLAUDE.md …`. Claude updates project memory as part of the review.
Why it works
Anthropic calls this compounding engineering: each correction makes every future session better, and PR review is the highest-signal place to capture it.
Setup
1. In Claude Code, run `/install-github-app` and finish GitHub setup. 2. On a PR, comment e.g. `nit: prefer string literal unions over enums @claude add to CLAUDE.md`. 3. Confirm CLAUDE.md updated on the branch. 4. Make this a team norm for recurring nits.
Discussion
No comments yet. Be the first to say whether this worked for you.