From pr-review
Find all open GitHub pull requests where my review is requested, show them as a table, review the selected ones with full local code context, explain the findings, and — only after my explicit per-PR approval — submit Approve / Request changes / Comment. Use when the user asks to "review my PRs", "check PRs waiting for my review", "what PRs do I need to review", or "handle my review requests".
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-review:pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Setting | Value |
| Setting | Value |
|---|---|
| BASE_DIR | C:\Users\ziv\work\github |
| WORK_LOGIN | ziv-gabel |
| CLONE_HOST | githubup |
BASE_DIR holds work repos as <org>\<repo>. CLONE_HOST is an SSH config alias for github.com that selects the work SSH key; all clones must use git@<CLONE_HOST>:<org>/<repo>.git. gh resolves the alias via ssh config, so gh pr ... commands work inside these clones without --repo.
BASE_DIR repos — review only from fetched refs.WORK_LOGIN as the active gh account.gh auth status — if the active github.com account is not WORK_LOGIN, run gh auth switch --user <WORK_LOGIN>.
gh search prs --review-requested=<WORK_LOGIN> --state=open --limit 50 \
--json repository,number,title,author,updatedAt,isDraft,url
Always render a markdown table of ALL results before anything else:
| Repo | PR | Title | Author | Updated | Draft | Link |
Then use AskUserQuestion (multi-select) to let the user pick which PRs to review now. Default selection: all non-draft PRs. If there are no PRs, say so and stop.
For PR <N> in <org>/<repo>, target dir BASE_DIR\<org>\<repo>:
git clone -c core.longpaths=true git@<CLONE_HOST>:<org>/<repo>.git <target>.git fetch origin +refs/pull/<N>/head:refs/pr/<N>
git fetch origin <baseRefName>
(baseRefName from gh pr view <N> --json baseRefName.) This also works for fork PRs.git show refs/pr/<N>:<path>; diff with gh pr diff <N> and git diff $(git merge-base origin/<base> refs/pr/<N>) refs/pr/<N>.Per PR, gather: gh pr view <N> --json title,body,author,baseRefName,commits,files,reviews,comments,statusCheckRollup, the full diff, the complete changed files at the PR head, and enough surrounding code (callers, configs, related modules — also read via git show refs/pr/<N>:<path>) to judge correctness, not just style.
If more than 2 PRs are selected, fan out one subagent per PR in parallel; each works in its repo dir and returns structured findings.
Findings format per PR:
file:line, what is wrong, suggested fix.Present one consolidated report to the user, grouped per PR, findings ordered by severity, with the recommended action for each PR. Plain language — the user decides based on this report.
For each reviewed PR, AskUserQuestion: Approve / Request changes / Comment / Skip. The question text MUST carry enough context to decide without scrolling back: repo and PR number, who opened it, prior review state (e.g. "you approved on " / "you requested changes"), whether and how follow-ups were answered, CI state, and the recommended action with a one-line reason. Put the recommended action first, labeled "(Recommended)".
For any non-Skip choice: draft the review body in markdown (short summary + findings with file:line references), show it to the user, and only after they confirm the text, submit from the repo dir:
gh pr review <N> --approve | --request-changes | --comment --body-file <tempfile>
Use --body-file (temp file, delete after) to avoid quoting issues. If the user edits the verdict or text, apply their edits before submitting.
Show a final table: PR | action taken | review URL (or "skipped"). Confirm the active gh account is WORK_LOGIN.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub zivgabel/claude-skills --plugin pr-review