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.
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_REQUESTEDreview 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-upand 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/--updatealready 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
address the PR comments- reads every unresolved thread on the current branch's PR, shows the triage table, fixes, pushes and replies.#482 --plan- stops after the classification table, no code changes and no comments posted.--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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Prerequisites: install the GitHub CLI and authenticate with
gh auth login, then confirm withgh auth status(GraphQL API access is required). - Create the skills folder: run
mkdir -p ~/.claude/skills. - Clone the repo:
git clone https://github.com/scenario-labs/skills.git /tmp/scenario-skills - Copy the skill:
cp -r /tmp/scenario-skills/.agents/skills/pr-handle-comments ~/.claude/skills/ - Verify:
ls ~/.claude/skills/pr-handle-comments/SKILL.mdshould list the file. - Use it: open Claude Code inside your project repo and ask it to "handle the review comments on this PR". Start with
--planso you can review the triage table before anything is committed or posted.