review-pr
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Review a Pull Request
Run the baseline review of the PR diff, then keep a persistent watch over CI and new reviewer comments until the PR settles and auto-merges. The detailed operational sequence lives in references/runbook.md; load it when dispatching the watch or when a host cannot provide nested workflow execution.
Runtime notes
- Resolve
SKILL_DIRonce and use absolute paths to every script. - Use the one-shot monitor contract from
references/runbook.mdon hosts that require terminal results; never put infinite mode under a one-shot monitor. - Use clean-context agents for baseline review and comment triage.
- The pipeline is automatic: never ask whether to merge.
- Arm closeout before the ceremony and clear it after merge or abort.
Context
- PR argument:
$ARGUMENTS - PR metadata: !
gh pr view "$ARGUMENTS" --json number,title,headRepository,headRepositoryOwner,additions,deletions,headRefName 2>/dev/null || printf 'set %s to a PR number or URL\n' "$ARGUMENTS" - Remote: !
git remote -v 2>/dev/null | head -2 - Auth: !
gh auth status 2>&1 | head -3