PR Review Thread Resolver
Systematically works through every unresolved review thread on the current branch's PR — fix, test, commit, reply, resolve.
Dev & CodingIntermediate★ 519⑂ 53AI score 9/10Last updated: Sep 18, 2026
What it does
- Looks up the current branch's PR number and the
owner/reposlug once, then reuses them in every command. - Lists only unresolved review threads via the
gh pr-reviewextension. - For each thread: makes the requested code change, adds a unit test when useful, and commits with a conventional-commit message.
- Reports a summary, then (with your approval) replies to each thread explaining the fix and resolves it.
Who it's for
- Developers facing a PR with dozens of scattered review comments.
- Teams that want consistent review-response commits and replies.
- Terminal-first workflows already using the
ghCLI.
Examples
- "Address all unresolved review comments on this PR" → enumerates threads, fixes and commits each, then summarizes.
- "Show me only the comments from reviewer X" → uses the
--reviewerfilter to narrow the thread list. - "Now reply to each thread and close them" → posts per-thread replies by thread ID and runs
threads resolve.
· · · 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/posit-dev/skills/HEAD/github/pr-threads-address/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 Claude Skill Mart. Copy the github/pr-threads-address folder from the GitHub repo posit-dev/skills into my ~/.claude/skills/pr-threads-address/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/posit-dev/skills.git /tmp/posit-skills && mkdir -p ~/.claude/skills && cp -r /tmp/posit-skills/github/pr-threads-address ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Verify the GitHub CLI is installed:
gh --version(install from https://cli.github.com if missing). - Check auth:
gh auth status; rungh auth loginif needed. - Install the review extension:
gh extension install agynio/gh-pr-review - Clone the skills repo:
git clone https://github.com/posit-dev/skills.git - Copy the skill into place:
mkdir -p ~/.claude/skills && cp -r skills/github/pr-threads-address ~/.claude/skills/ - Check out the branch that has the PR, start Claude Code, and ask: "Address the unresolved PR review threads."
View source on GitHub ↗License: MIT