pr-review
Originally frompytorch/pytorch
SKILL.md
PR Review
Use this skill to review a GitHub PR and summarize risks, tests, and recommendations.
Inputs
- Require a PR number or URL. If missing, ask for it.
- If the user provides a specific test command, use it.
Safety Rules
- Do not merge unless the user explicitly asks.
- Do not delete branches unless the user explicitly asks.
- Avoid destructive commands like
git reset --hard.
Workflow
-
Prerequisites
- Confirm
ghis installed and authenticated.
- Confirm
-
Collect PR data
gh pr view <PR> --json title,body,labels,assignees,state,url,createdAt,updatedAt,additions,deletions,changedFiles,commits,mergeable,draftgh pr view <PR> --json filesgh pr diff <PR>gh pr checks <PR>when available.
-
Checkout (optional)
- If tests or deeper inspection are needed, checkout the PR branch.
- Record the current branch first and return to it when done.
-
Run tests
- If no command is provided, infer a reasonable default or ask the user.
- Record command, exit status, and failures.
-
Review changes
- Summarize key changes by area.
- Identify risks: breaking changes, security, performance, migrations, missing tests.
- Call out large or cross-cutting changes.
-
Provide summary
- Use the summary template.
- End with a clear recommendation and any required follow-ups.
Weekly Installs
5
Repository
tmeister/skillsFirst Seen
Feb 3, 2026
Security Audits
Installed on
claude-code5
opencode5
amp4
gemini-cli4
github-copilot4
codex4