Command Palette

Search for a command to run...

Back to skills
skill № 53271

review-pr-comments

Review PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every thread

FreeNo executable scripts
nikeyesby 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
Sign up freeI already have an account

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:tdd is available, invoke it with the Skill tool: 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.
  • Publishing the code: if any file changed, invoke /stepwise-git:commit with the Skill tool, then git 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 ACCEPT and per REJECT, 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}
    
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

  1. 01Bash(gh pr view:*)
  2. 02Bash(gh api:*)
  3. 03Bash(git status:*)
  4. 04Bash(git diff:*)
  5. 05Bash(git log:*)
  6. 06Bash(git add:*)
  7. 07Bash(git commit:*)
  8. 08Bash(git push:*)
  9. 09Read
  10. 10Glob
  11. 11Grep
  12. 12Edit
  13. 13Write
  14. 14Skill

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

Compare review-pr-comments with