review-github-prlisted
Install: claude install-skill xrhstosmour/macsify
# GitHub PR Review Orchestrator
## Purpose
Run a structured, multi-agent code review on a GitHub pull request by delegating
architecture and quality concerns to specialist sub-agents and synthesizing
their findings into a single actionable report.
## When to use
- `/review-github-pr <url_or_branch>`
- User says "review my PR", "review this PR", "review the PR", or "code review `<branch>`".
- A PR has been created and the user wants quality feedback before merging.
- The user asks "is this ready to merge?" or "is this PR good?".
- After `/manage-github-pr` completes and the user wants a review pass.
## Fetch the PR
If the user provides a GitHub PR URL, extract `owner`, `repo`, and `pr_number`:
```
# From URL: https://github.com/<owner>/<repo>/pull/<number>
```
If the user provides a branch name, fetch it:
```bash
gh pr view <branch> --json number,title,body,headRepository,url
```
If no URL or branch given, check if the current branch is a PR branch, not master/main:
```bash
git branch --show-current
```
If on master or main, abort and ask the user for a PR URL or branch name.
Otherwise, use the current branch:
```bash
gh pr view --json number,title,body,headRepository,url
```
Store the PR title, description, and `owner/repo/number`.
## Fetch changed files and diff
```bash
gh pr diff <pr_number> --repo <owner>/<repo>
gh pr view <pr_number> --repo <owner>/<repo> --json files --jq '.files[].path'
```
Store the full diff and file list to pass to each sub-agent.
#