Prerequisites
gh pr-review extension
Before using this command, check if the gh pr-review extension is installed:
Resolve PR context first
Every gh pr-review subcommand requires both --pr <number> and --repo <owner/repo> — do not omit either. Look the values up once at the start of the workflow and substitute the literal numbers and slugs into every later command.
Get the PR number for the current branch:
Get the repository slug:
Then pass the resulting values directly — e.g. --pr 42 --repo posit-dev/skills — on every subsequent gh pr-review call in this workflow (list, resolve, view, reply).
Workflow
- Fetch and display all unresolved PR review threads
- Show thread details (file, line, comment text)
- Ask for confirmation or allow selective resolution
- Resolve the confirmed threads
- Report back with a summary of resolved threads
CLI Reference
List Review Threads
Filter with --unresolved or --resolved.
Resolve / Unresolve Threads
Bulk Resolve Example
Substitute the actual PR number and repo slug resolved in "Resolve PR context first" — the 42 / owner/repo below are placeholders.


