pr-review
Installation
SKILL.md
Review a GitHub pull request by fetching its diff and providing structured analysis.
Process
Parse $ARGUMENTS for a PR number or full GitHub PR URL. If --repo is specified, use that. Otherwise, detect the repo from the current git remote.
-
Fetch PR metadata and diff:
# If a full URL like https://github.com/owner/repo/pull/123 # extract owner/repo and number from it. # If just a number, use current repo context. gh pr view <number> --repo <owner/repo> --json title,body,author,baseRefName,headRefName,files,additions,deletions,state,reviewDecision,labels gh pr diff <number> --repo <owner/repo> -
Analyze the diff for: