piv-review-pr
Installation
SKILL.md
Review PR: The Agentic Gate Before the Human
Input: $ARGUMENTS
The point of this skill is fresh eyes: it reviews the PR in a clean context — not the context that wrote
the code — and can hand the deep analysis to the code-reviewer agent, which is the whole reason the review
catches what the author's own context rationalizes away. It posts its verdict on the PR, then a human makes
the final call.
Phase 1 — Fetch the PR
Resolve the input to a PR number (a number, a URL, or a branch via
gh pr list --head <branch> --json number -q '.[0].number'). Then:
gh pr view {N} --json number,title,body,author,headRefName,baseRefName,state,additions,deletions,changedFiles,files
gh pr diff {N}
gh pr checkout {N}