docs(claude): require replying to and resolving PR review comments you act on - #291
Merged
Merged
Conversation
…u act on Codify the review-response workflow: whenever you address a PR review comment, reply with your conclusion (agree or not, and what changed, referencing the commit) and mark the thread resolved, so it's always clear which comments are handled and which are still open. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the agent guidance in CLAUDE.md to require explicit responses to PR review comments when an agent takes action, improving review-thread traceability and reducing “silent fixes.”
Changes:
- Adds a rule requiring agents to reply to each PR review comment they act on, stating the outcome and referencing the commit when changes were made.
- Clarifies that if an agent disagrees and makes no change, it should still reply with reasoning and leave the thread unresolved for maintainer decision.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds one rule to
CLAUDE.md(under Commits, branches, PRs): whenever an agent acts on a PR review comment, it must reply to that comment with its conclusion — whether it agrees or not, and what it changed (referencing the commit) — and mark the thread resolved. If it disagrees and makes no change, it should still reply with the reasoning and leave the thread unresolved for the maintainer to decide.Why
Codifies the review-response workflow so it's always explicit which review comments have been handled and which are still open, rather than fixing code silently and leaving reviewers to reconcile threads by hand.
Docs-only; no code or build impact.