review-pr
Installation
SKILL.md
review-pr
Read-only audit of an open pull request. Drives the PR's diff through the full agent pipeline (slice → fan-out → merge → verify) and emits findings in the structured format. Never edits, never pushes, never resolves review threads, never gh pr edit.
Two output modes:
- Terminal report (default) — prints findings grouped by severity in the current terminal.
- Comment mode (
--commentflag or user explicitly asks "post these as PR comments") — posts findings viagh pr comment(top-level) or the inline-comment API (file:line anchors).
This is the read-only twin of /drive-pr. Same audit; no writes.
Phase 0 — Resolve the PR
Accept PR resolution from any of:
- explicit
#N,<url>, or<owner/repo>#Nargument - current branch via
gh pr view --json number,headRefName,baseRefName,url,state - prompt the user if neither
Validate the PR exists (gh pr view <ref>). Closed and merged PRs are still auditable.