ClaudeHack
0.000

Tag @claude in PR review comments to compound CLAUDE.md rules

Git & GitHub / Pull Requests·14 hours ago·verified 14 hours ago·intermediate·~10 min setup·verified

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.

Source

anthropic·View original →·by Anthropic

Does this still work?

0 said it works · 0 said it's broken

Related

Discussion

No comments yet. Be the first to say whether this worked for you.