Review PRs

VerifiedCaution

Triage open PRs: screen diffs, delegate admission judgment to audit-the-list, then merge or close on GitHub. Use when asked to review PRs or judge a specific PR.

Sby Skills Guide Bot
DevelopmentAdvanced
8/29/2026
Claude Code
#pull-requests#github-cli#triage#maintainer-workflow#code-review

Recommended for

Automated summary

Drives the triage of an awesome-list repository's open pull requests: fetching diffs with gh, pre-screening against the CONTRIBUTING rules, delegating the admission judgment to the audit-the-list skill, then merging or closing on GitHub.

Strengths

  • Enforces the repository's own CONTRIBUTING rules rather than keeping a second copy of them
  • Batches closures in groups of four with a drafted comment shown in chat before anything is acted on
  • Handles conflicted PRs by merging locally so the contributor keeps credit
  • Renders every mentioned PR as a clickable link for the maintainer

Limitations

  • gh commands are hard-coded to the vinta/awesome-python repository
  • The admission judgment depends entirely on the separate audit-the-list skill
  • Only handles entry additions; typo, docs and website PRs are merely flagged as needing a human
When to use it

Use when a maintainer wants to work through the open PR queue or decide whether a specific PR should be merged or closed.

When not to use it

Not useful for any repository other than vinta/awesome-python, or for reviewing code changes that are not list-entry additions.

Security analysis

Caution
Quality score85/100

The skill automates a legitimate maintainer workflow using GitHub CLI and git to review, merge, and close pull requests. There is no destructive or exfiltrating behavior, but the repository mutation and shell command usage warrant caution.

Findings
  • •Skill declares no allowed tools but instructs use of gh, git, and make, which are powerful shell commands.
  • •Automates merging and closing of pull requests on a public repository, which could cause unintended repository changes if misapplied.
  • •Uses network access via GitHub CLI for fetching and mutating remote state.
How this analysis is made

Examples

Process the queue
Review the open PR queue for awesome-python and tell me which ones to merge or close.
Judge one PR
Should PR #4821 be merged? Review it against our contributing rules.
Review a batch
Review PRs 4801, 4802 and 4807 and act on them.

name: review-prs description: Triage open PRs — screen from the diff, delegate the admission judgment to audit-the-list, then merge or close on GitHub. Fire when the maintainer asks to review PRs, process the PR queue, or judge whether a specific PR should be merged. argument-hint: [PR numbers]

Review PRs

A PR review turns the open queue into terminal states: merged, closed, or explicitly parked. The rules live in CONTRIBUTING.md (Quality Requirements, Admission, Review Process, Automatic Rejection) — this skill is the workflow that applies them, not a second copy. Every PR named in chat is a PR link, [#<number>](https://github.com/vinta/awesome-python/pull/<number>), so the maintainer can open it from the terminal.

1. Fetch

Arguments name specific PRs; otherwise take the queue: gh pr list --repo vinta/awesome-python --limit 10 --json number,title,author,url,body,files,mergeable,mergeStateStatus. Fetch all diffs in parallel: gh pr diff <number> --repo vinta/awesome-python.

Sort the batch: entry additions continue; anything else (typo fixes, website changes, docs) is out of scope — report it under "needs human" and touch nothing, so it resurfaces every run until a human acts. Done when every PR is sorted and has its diff.

2. Screen

Apply the Automatic Rejection rules that the diff and PR metadata answer without judgment. The recently-closed-duplicate rule needs a lookup: gh pr list --repo vinta/awesome-python --state closed --search "<project name>" --limit 10. A screened-out PR goes straight to step 4 as a close, with the rule it broke as its reason.

Resolve each survivor's target use case against the current README — a diff's context lines show the base the PR was written on, which may have changed since. A merge conflict rides to the Merge arm, which absorbs it. Done when every surviving PR names its target use case.

3. Judge

Group survivors by target use case — PRs proposing entries for the same use case compete for the same slots, so they ride one invocation. Per group, invoke the audit-the-list skill with arguments in this shape: "Judge proposed entries <names, each with its PR number> for the <section — subcategory> use case. Evidence and Verdicts steps only; report the verdicts back. No preview page, no README changes, no commits." The verdict for each PR is merge or close, grounded in the fetched evidence; when the use case is at cap, a merge verdict names the entry that leaves. An entry no current use case fits is a third outcome — a structure question: carry it to Act with evidence attached, and the maintainer decides there (mint the subcategory and merge, close, or leave open). Done when every survivor holds a verdict with a reason.

4. Act

  • Close: draft each closing comment — it states the reason and links CONTRIBUTING.md. Per batch of up to 4 closing PRs: print each draft in chat, its PR link as a label above a fenced block holding only the comment bytes, then AskUserQuestion over that batch — arms: close with the draft as printed, close without a comment, keep open. The chat print is the review copy; an option description only points at it. Keep a checklist of which verdicts have been asked; answers often arrive as custom text, and that text is the decision — an edited comment replaces the draft. Then gh pr close <number> --repo vinta/awesome-python --comment "<comment>", or a plain close.
  • Merge: a clean PR merges with gh pr merge <number> --repo vinta/awesome-python --merge. A conflicted one merges locally: git fetch origin pull/<number>/head, git merge FETCH_HEAD with the standard Merge pull request #<number> from <owner>/<headRef> message, resolving the conflict by placing the entry correctly — GitHub still marks the PR merged and the contributor keeps credit. Either way, reconcile the section per CONTRIBUTING before pushing: remove the entry the verdict displaced, fix the new entry's display name and Entry Ordering position, make test, commit. An add-only diff that displaces is the normal case — the removal is this step's job, not the contributor's. Done when every verdict has been adjudicated by the maintainer and its action executed, with every posted comment byte-identical to a printed draft or to the custom text the maintainer supplied. A kept-open PR resurfaces next run — that is its point.

5. Report

Summary table: PR link, verdict, action taken, plus the needs-human list. Done when every fetched PR ends in exactly one state — merged with its section reconciled, closed, or left open (kept open, needs-human, or structure question pending).

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/review-prs-mte1lfg0/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/review-prs-mte1lfg0' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/review-prs-mte1lfg0/download' --output '.skill-downloads/review-prs-mte1lfg0/SKILL.md.part' && mv '.skill-downloads/review-prs-mte1lfg0/SKILL.md.part' '.skill-downloads/review-prs-mte1lfg0/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/review-prs-mte1lfg0/SKILL.md' && test -s '.skill-downloads/review-prs-mte1lfg0/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/review-prs' && cp -R '.skill-downloads/review-prs-mte1lfg0' '.claude/skills/review-prs'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/review-prs-mte1lfg0'

openskills read 'review-prs-mte1lfg0'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/review-prs-mte1lfg0/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills