Skip to content

docs(claude): require replying to and resolving PR review comments you act on - #291

Merged
marius-bughiu merged 1 commit into
mainfrom
docs/claude-md-pr-comment-etiquette
Jul 23, 2026
Merged

docs(claude): require replying to and resolving PR review comments you act on#291
marius-bughiu merged 1 commit into
mainfrom
docs/claude-md-pr-comment-etiquette

Conversation

@marius-bughiu

Copy link
Copy Markdown
Owner

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.

…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>
Copilot AI review requested due to automatic review settings July 22, 2026 06:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@marius-bughiu
marius-bughiu merged commit b48cd75 into main Jul 23, 2026
7 checks passed
@marius-bughiu
marius-bughiu deleted the docs/claude-md-pr-comment-etiquette branch July 24, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants