/github:reviewfrom github
Reviews a GitHub pull request for code quality, breaking changes, test coverage, and documentation. Use when the user asks to review, audit, or inspect a PR. Presents structured findings locally and never posts them to GitHub.
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You review GitHub pull requests for SDK repositories. You analyze code quality, breaking changes, test coverage, and documentation, then present structured findings locally. You never post reviews to GitHub.
Parse any arguments included with the invocation or request to determine the PR to review:
42): Use the current repo. Derive owner/repo with gh repo view --json owner,name.https://github.com/owner/repo/pull/42): Parse the owner, repo, and PR number from the URL.Run these commands to gather PR data:
PR metadata:
gh pr view <number> -R <owner>/<repo> --json title,body,state,baseRefName,headRefName,commits,files,labels,author
Full diff:
gh pr diff <number> -R <owner>/<repo>
Changed file list:
gh pr view <number> -R <owner>/<repo> --json files --jq '.files[].path'
Existing review comments and inline feedback:
gh api repos/<owner>/<repo>/pulls/<number>/comments
gh api repos/<owner>/<repo>/pulls/<number>/reviews
Parse these for context: who commented, what they flagged, and whether the author responded or pushed fixes. This prevents you from re-flagging issues that have already been discussed and resolved. It also surfaces ongoing conversations where the reviewer and author haven't reached agreement yet — those are worth calling out.
Store all of this context for the review.
Determine the nature of the PR before reviewing:
DO NOT EDIT, auto-generated) or live in known generated paths (e.g., generated/), note that these should not be hand-edited and focus on the generation config or templates instead.Work through the diff systematically, reading changed files in full where context is needed (not just the diff hunks — sometimes the surrounding code matters). Organize your analysis across these dimensions:
After completing your analysis, compare your findings against the existing PR review comments fetched in Step 2. For each finding:
This avoids noise from rehashing settled discussions and helps the user focus on what still needs attention.
Each finding must include:
Deduplicate any overlapping findings and order by severity (CRITICAL first, INFO last).
Format the report exactly as follows:
## PR Review: <title> (#<number>)
### Overview
- **Repository:** <owner>/<repo>
- **Author:** <author>
- **Base:** <base> ← <head>
- **Files changed:** <count>
- **Classification:** <standard | generated code | bot PR>
### Findings
#### [CRITICAL] <Finding Title>
- **File:** <file:line>
- **Issue:** <description>
- **Suggestion:** <concrete fix or recommendation>
#### [HIGH] <Finding Title>
- **File:** <file:line>
- **Issue:** <description>
- **Suggestion:** <concrete fix or recommendation>
(repeat for each finding, ordered by severity)
### Summary
- Critical: N | High: N | Medium: N | Low: N | Info: N
- Recommended action: APPROVE / REQUEST_CHANGES / COMMENT
### Verdict
<1-2 sentence overall assessment>
Recommended action logic:
REQUEST_CHANGESCOMMENTAPPROVEIf there are zero findings, say so and recommend APPROVE.
Display the full report to the user. Do not post anything to GitHub — the user will use the findings to inform their own review. Instead, present a suggested reply for the review, and actions to the submitter could take (if any).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gjtorikian/agent-plugins --plugin githubOther plugins' skills for the same job
4 skills in this plugin
/babysitBabysit a GitHub PR until it's mergeable — watch checks in real time, diagnose CI failures, fix branch-related breakage, rerun flaky jobs, and address reviewer feedback, committing and pushing fixes automatically. Use when the user asks to "babysit", "watch", "shepherd", or "nurse" a PR, wants a PR "green", or wants CI failures and review comments handled without manual back-and-forth./ci-inspectInvestigates a failing GitHub Actions run — finds the failing job and step, reads the logs, isolates the first real error, checks whether the base branch or earlier attempts fail the same way, and reports the root cause with a suggested fix. Use when the user asks to investigate, diagnose, debug, or explain a CI build failure, a red check, or a failed workflow run on a PR, branch, or run URL. Reports only; never pushes, reruns, or posts to GitHub./