review-pr-comments
Review PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every thread
by nikeyes★ 24 GitHub stars
Install review-pr-comments in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Review PR Comments
Review the pending comments on a PR, decide on each one, implement the accepted changes, push them and reply in every thread. Do not ask for confirmation: the report at the end is how the user learns what you decided.
Rules
PR target: the PR number if given, otherwise the PR of the current branch. If there is none, say so and stop.
Plan: if a plan file is given, read it. It is the agreed design: a comment that asks to go against it needs a stronger reason to be accepted.
Scope: comments from anyone, bots and people alike. "Yours" below means written by the authenticated GitHub user.
Pending:
- An inline thread is pending when it is not resolved, not outdated, and its last comment is not yours.
- A general comment or a review body is pending when it is not yours and was created or edited after your last comment on the PR. If you never commented, all of them are.
- If nothing is pending, say so and stop.
Bias: defend the existing code. Only accept a change with a concrete technical reason (bug, violated principle, demonstrable readability gain). Reject style preferences without objective justification.
Context: before evaluating, read the full files affected plus related files (tests, types, direct dependencies).
Severity: take it from the comment's prefix when present (
[SECURITY — CRITICAL],[CODE QUALITY — HIGH],[TESTS — LOW],[SUGGESTION], etc.). Otherwise infer it: correctness or security bugs are HIGH; performance, tests or missing error paths are MEDIUM; style, docstrings, naming and "for consistency" nits are LOW.Decision: one of these for every pending comment.
ACCEPT: you will make the change.REJECT: you will not, and you can say why.REPEATED: it raises a point you already answered on this PR and adds no new argument. Do not reply again.
Implementing: change only what the accepted comments ask for.
- A change in behavior goes test-first. If
/stepwise-core:tddis available, invoke it with theSkilltool: describe the accepted comment as the behavior to implement and pass the plan file if you have one. If it is not available, write the failing test yourself before the fix. - A change that does not alter behavior (naming, comments, docs, configuration) is a direct edit.
- If you cannot make an accepted change, do not pretend: reply saying what blocked it and list it in the report.
- A change in behavior goes test-first. If
Publishing the code: if any file changed, invoke
/stepwise-git:commitwith theSkilltool, thengit push. Never force-push. Do this before replying. If the commit or the push fails, do not post any reply that says a change is done: stop and report.Replying: one reply per
ACCEPTand perREJECT, posted after the code is pushed.- Inline threads get a reply in the thread. General comments and review bodies get a general PR comment that links to the comment it answers.
ACCEPT: what changed and the commit that changed it.REJECT: the technical reason, and what you propose instead if anything. One line is enough for LOW.- Always in English, whatever the comment's language. No Claude attribution.
- Never resolve a thread: that belongs to whoever opened it.
Report: every comment grouped by severity, one block each, and then whether you pushed code (with the commits), so a caller knows a new round of checks has started.
N. [ACCEPT|REJECT|REPEATED] {path}:{line or "general"} @{user} — {the claim in one sentence, in your own words} Reason: {1-2 lines, technical} Commit: {sha} # only if ACCEPT Alternative: {what you proposed} # only if REJECT Link: {comment.html_url}
Allowed tools
Tools this skill is permitted to call.
- 01
Bash(gh pr view:*) - 02
Bash(gh api:*) - 03
Bash(git status:*) - 04
Bash(git diff:*) - 05
Bash(git log:*) - 06
Bash(git add:*) - 07
Bash(git commit:*) - 08
Bash(git push:*) - 09
Read - 10
Glob - 11
Grep - 12
Edit - 13
Write - 14
Skill
FAQ
What does the review-pr-comments skill do?
Review PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every thread
How do I install the review-pr-comments skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the review-pr-comments skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…