Resources
1Install
npx skillscat add tmeister/skills/pr-review Install via the SkillsCat registry.
About this skill
Here's a thinking process: 1. **Analyze the Request:** - I need to write a 2-3 sentence plain-text summary in English. - It must objectively explain: - What the skill does - What problem it solves - When an agent or developer should use it - Constraints: - Objective, factual tone only - No marketing language, no superlatives, no calls to action - Natural prose, no keyword stuffing, no bullet points, no headings, no markdown formatting - Do not wrap the answer in quotes - At most 60 words - Output: ONLY the summary text 2.
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.