sb-review-pr
Installation
SKILL.md
Review PR
End-to-end review of a GitHub pull request. Fetches the PR, delegates the substance of the review to sb-review, and posts the results back to GitHub.
Invocation
/sb-review-pr <number> — e.g. /sb-review-pr 123. Operates on the current repo's PR. If no number is given, ask the user which PR.
Workflow
1. Fetch the PR
Run scripts/fetch-pr.sh <number>. It emits metadata, commits, changed files, and the diff in one pass. If gh is missing or unauthenticated, surface the error and stop.
Capture the head SHA (headRefOid) — required for inline comments.
2. Check out the PR locally
To read full files (not just the diff) and to run lint/tests against the PR's HEAD, check it out locally: