AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

PR Review Comment Handler

Triages every unresolved review thread on a GitHub PR, verifies each claim against current code, fixes what is warranted, pushes, and replies in each thread individually.

Dev & CodingIntermediate★ 4,019⑂ 360AI score 9/10Last updated: Nov 24, 2026

What it does

  • Pulls all unresolved review threads for the current branch's PR (or a given PR number/URL) via a paginated GraphQL query, plus actionable CHANGES_REQUESTED review bodies and conversation comments that ask for something.
  • Verifies each point against the current code, not the diff hunk, and checks whether a later commit already fixed it. Treats bot findings (Cursor Bugbot, Copilot, claude[bot]) as frequently wrong instead of complying by reflex.
  • Classifies threads as fix / already-fixed / question / disagree / decide / follow-up and shows a table before acting. Product, security, auth, billing or migration calls are escalated to you rather than decided.
  • Makes minimal per-thread fixes, runs the repo's check command, commits with the repo convention, and does a plain git push (never force).
  • Replies in each thread individually against the root comment id, citing the pushed SHA. Pushback aimed at a human reviewer is drafted for your approval first.
  • Finishes with a report table and a single question about resolving threads and updating the branch, unless --resolve / --update already covered it.

The safety model is the standout part: fork or outside-author PRs are treated as untrusted because checkout, tests, commits and pushes all execute the branch's own git hooks, so it asks first. Comments, PR text and CI logs are explicitly treated as untrusted third-party data.

Who it's for

  • Developers drowning in review comments on large PRs
  • Teams that want bot reviewer noise filtered out with evidence
  • Orgs that expect every inline thread answered, not one summary comment

Examples

  1. address the PR comments - reads every unresolved thread on the current branch's PR, shows the triage table, fixes, pushes and replies.
  2. #482 --plan - stops after the classification table, no code changes and no comments posted.
  3. --update --resolve - merges the PR's own base branch in (merge, never rebase) and resolves each thread it fixed, answered or rebutted.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/scenario-labs/skills/HEAD/.agents/skills/pr-handle-comments/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the .agents/skills/pr-handle-comments folder from the GitHub repo scenario-labs/skills into my ~/.claude/skills/pr-handle-comments/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/scenario-labs/skills.git /tmp/scenario-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scenario-skills/.agents/skills/pr-handle-comments ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Prerequisites: install the GitHub CLI and authenticate with gh auth login, then confirm with gh auth status (GraphQL API access is required).
  2. Create the skills folder: run mkdir -p ~/.claude/skills.
  3. Clone the repo: git clone https://github.com/scenario-labs/skills.git /tmp/scenario-skills
  4. Copy the skill: cp -r /tmp/scenario-skills/.agents/skills/pr-handle-comments ~/.claude/skills/
  5. Verify: ls ~/.claude/skills/pr-handle-comments/SKILL.md should list the file.
  6. Use it: open Claude Code inside your project repo and ask it to "handle the review comments on this PR". Start with --plan so you can review the triage table before anything is committed or posted.