Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes.

Apache-2.0Auto-check passedDevelopment

Install Review PR

skills CLI
$ npx skills add DouglasNeuroInformatics/OpenDataCapture --skill review-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DouglasNeuroInformatics/OpenDataCapture review-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DouglasNeuroInformatics/OpenDataCapture.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-pr .claude/skills/review-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-pr
GitHub stars
119
Token cost
~2.8k tokens
SKILL.md length
1,584 words
Files
3
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes.

  • Works in 7 steps: Collect the set → Sweep what is finished → Gate before spending anything → …
  • The user asks to review a PR by number
  • SKILL.md covers Where documents live, Every posted body carries its…, 1. Collect the set and 2. Sweep what is finished, plus 5 more sections
  • Calls gh and pnpm

What it does

Review PR is an agent skill from DouglasNeuroInformatics/OpenDataCapture. Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes. Use when the user asks to review a PR by number, review all the open PRs, or asks whether a PR is worth their time.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `REVIEW.md` and `agents/openai.yaml`).

It sits in Development, covering Pull requests. It works with GitHub. The repository describes itself as: An electronic data capture platform for administering remote and in-person clinical instruments. The licence is Apache-2.0.

When your agent uses it

  • The user asks to review a PR by number
  • Review all the open PRs
  • Asks whether a PR is worth their time

Example prompts

  • “/review-pr”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Collect the set
  2. Sweep what is finished
  3. Gate before spending anything
  4. Notify the blocked
  5. Review, three at a time
  6. Settle the questions in one sitting
  7. Respond

What it can do on your machine

Read from SKILL.md and the folder at commit 432dec8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review PR loads about 2.8k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 1,584 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DouglasNeuroInformatics/OpenDataCapture at commit 432dec8, republished under its Apache-2.0 licence (© DouglasNeuroInformatics). 1,584 words, ~2,767 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
review-pr
description
Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes. Use when the user asks to review a PR by number, review all the open PRs, or asks whether a PR is worth their time.

Triage PRs so the user opens only the ones that need them. The run completes unattended: everything that can be said on GitHub is posted without asking, and the user is interrupted exactly once — at the end, for the judgment calls only they can make.

Every reviewed PR ends on one verdict with a stated confidence, one document, and an evidence ledger recording what was and was not checked.

Two paths through this skill, and the reviewing itself belongs to neither — a sub-agent per PR follows REVIEW.md:

  • One PR — review-pr 1443, or a PR the user names.
  • All PRs — every open PR against main that is not a draft, not authored by joshunrau, and not a dependency bump by a bot.

Where documents live

Two buckets, and the bucket is the answer to "does this need me?":

misc/pr-reviews/
├── action-required/   CLOSE · REQUIRES_HUMAN_REVIEW · MERGE
└── no-action/         REWORK · BLOCKED · PENDING

action-required/ holds only what the user must personally do — close it, judge it, merge it. Work the author owes is never a reason to file a document here; it goes to the author on GitHub. The user is not a courier.

Three invariants:

  • One document per PR, in exactly one bucket. Before writing <N>.md, delete any existing misc/pr-reviews/*/<N>.md. When a settled question changes a verdict, mv the document to the other bucket — never write a second copy.
  • Every PR in the set gets a document, gate failures included. BLOCKED and PENDING get a stub in no-action/: number, title, headRefOid, the block reason, and whether a comment was posted.
  • No run ends with an unposted action item. Every ## Action items entry in every document, in either bucket, has reached GitHub by step 7.

Every posted body carries its commit

Every body this skill posts — review or comment — ends with:

Reviewed at commit <headRefOid>.

That line is how the skill knows on the next run what it has already said, so it is not optional.

1. Collect the set

sh
gh pr list --state open --base main --limit 100 \
  --json number,title,url,author,isDraft,headRefOid,additions,deletions,changedFiles,mergeable,statusCheckRollup

For a single PR use gh pr view <N> --json <same fields>. A named PR is reviewed whoever authored it and whatever its draft state — the exclusions above shape the batch only.

Done when every PR in the set carries its number, headRefOid, author, size, mergeability and check rollup.

2. Sweep what is finished

For every <N> with a document under either bucket, whether or not it is in this run's set:

sh
gh pr view <N> --json state --jq .state

Delete the document when the state is MERGED or CLOSED. A merged PR is not a to-do.

This runs before the gate so a stale document can never satisfy the cache check below.

3. Gate before spending anything

The gate runs on metadata alone. No fetch, no worktree, no install until a PR passes it.

Gate stateMeaningOutcome
Any check FAILURE/ERROR/CANCELLEDCI is redBLOCKED — notified in step 4, no review
mergeable: CONFLICTINGconflicts with mainBLOCKED — notified in step 4, no review
Any check PENDING/IN_PROGRESSCI still runningPENDING — stub only, no comment
statusCheckRollup: []CI never ranReview it; ledger records CI unavailable
Checks SUCCESS and mergeable: MERGEABLEgreenReview it

mergeable: UNKNOWN means GitHub has not computed the merge yet — re-query that PR once before deciding.

A PR whose misc/pr-reviews/*/<N>.md carries a review verdict at the current headRefOid is cached: skip it, spend nothing. A BLOCKED or PENDING stub never suppresses work, however recent — CI may have gone green since it was written.

4. Notify the blocked

No approval, no draft shown to the user. For each BLOCKED PR, first read back what the PR already says:

sh
gh pr view <N> --json reviews,comments --jq '[.reviews[].body, .comments[].body] | join("\n")'

If that text already contains the current headRefOid, stay silent — the author has already been told about this exact commit. Otherwise request changes: name the failing check or the conflict, say what the author should do, say that review resumes once it is green. Facts only — no verdict, no review content, no findings.

sh
gh pr review <N> --request-changes --body-file <path>

GitHub refuses a review on the user's own PR; fall back to gh pr comment <N> --body-file <path> there — the same fallback applies everywhere this skill posts.

Then write the stub to no-action/<N>.md and move on. Blocked PRs never reach the user's attention beyond a count in the final tally.

5. Review, three at a time

Spawn one general-purpose sub-agent per surviving PR, at most three in flight. Each prompt carries: the PR number, URL, title, author, headRefOid, size, the worktree path to use under the scratchpad directory, and this instruction —

Read .agents/skills/review-pr/REVIEW.md and follow it exactly for this PR. Return only the verdict, confidence, the document path, and the reply-body path where there is one.

Setup failing inside a worktree splits two ways, and the split matters:

  • pnpm install or pnpm generate:env fails → BLOCKED (machine). Post nothing; the machine is broken, not the PR. Report it to the user directly.
  • pnpm lint fails → BLOCKED (PR). The merge result does not typecheck against current main. Request changes asking the author to update their branch, subject to the same headRefOid guard as step 4, and write the stub.

Action items belong to the author, so they go to the author. Never carry one back to the user to relay — that is the user doing the reviewer's errand. As each document lands, post its reply body immediately: no approval, no waiting for the other reviews.

VerdictPosted
REWORKrequest changes
CLOSErequest changes — but never gh pr close
BLOCKED (PR)request changes — lint fails against current main
MERGEnothing — a MERGE has nothing left to say
BLOCKED (machine)nothing — reported to the user directly

A PR with an outstanding action item is never MERGE. One action item is one round trip, so the verdict is REWORK and the review requests changes. There is no "merge it, and by the way fix these five things" — that hands the user a decision the author has not finished earning, and it buries the items in a comment on a PR nobody will reopen. The corollary binds the other way too: if the only thing standing between a PR and MERGE is a list of remarks that name no real defect and no documented standard, the remarks were never action items and should not have been written.

REQUIRES_HUMAN_REVIEW is the one verdict that waits, and only until step 6: its questions may change its action items, so posting now risks a second review that contradicts the first. It is posted there, minutes later, and never left for the user to pass on.

Closing a PR is the user's call, so gh pr close is never run — CLOSE posts its reply and nothing more.

Show full SKILL.md (512 more words)Show less

6. Settle the questions in one sitting

Every finding is one of two kinds, and only one of them is the user's:

  • Obvious — a rule broken, a bug, a missing test, a reimplementation of something that already exists. The fix is not in doubt. It went to the author in step 5; never ask.
  • Toss-up — two defensible options where the choice belongs to the user, not the reviewer. These wait under ## What needs you.

Once every sub-agent has returned, put all the toss-ups to the user in one message, grouped by PR, each with a recommended answer. One interruption for the whole run.

Then fold each answer back where it belongs: record it in that PR's document, revise its action items if the answer changed them, revise the verdict if the answer changed that, and mv the document if the bucket changed.

Then post every REQUIRES_HUMAN_REVIEW PR that has action items — per its settled verdict in the step 5 table, and as a request for changes if it is still REQUIRES_HUMAN_REVIEW, since outstanding action items are what a changes-requested review is for. Write that reply body yourself, carrying the same model line and Reviewed at commit line every other posted body carries. An answer the user declined to give does not hold the author's items back.

An answer that clears every question on a REQUIRES_HUMAN_REVIEW PR does not make it MERGE — its action items still do. Settling the questions moves it to REWORK, and the document to no-action/, unless the answer left it with nothing outstanding at all.

Done when no document has an unanswered ## What needs you entry that the user could have settled in a sentence, and no document has an ## Action items entry that has not reached GitHub. What remains is what genuinely needs them in the code.

7. Respond

Say nothing about action items while reviews are still running — a partial list reads as the whole list. Every sub-agent has returned and every toss-up is settled by now; reply with two things and nothing else.

One or two sentences of tally. "Reviewed all 10. Three need you, one should be closed, four went back to their authors, two are blocked on red CI."

Then one line per PR in action-required/, and each line names something only the user can do:

  • CLOSE → close #N — one clause on why; the reply is already posted.
  • REQUIRES_HUMAN_REVIEW → review #N — name the part that needs them, and the document path.
  • MERGE → merge #N — nothing is outstanding, which is what the verdict means.

Never list what the author has to fix. Those items are on GitHub; repeating them here turns the reply into a second inbox for work that is not the user's.

Nothing in no-action/ gets a line. REWORK replies are posted; blocked and pending PRs never reached a sub-agent — the tally's count is the whole of what the user hears about them, and it is what explains why a set of ten yielded eight reviews.

End with the misc/pr-reviews/action-required/ path. The documents hold the reasoning; do not repeat it in the terminal.

© DouglasNeuroInformatics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .agents/skills/review-pr of DouglasNeuroInformatics/OpenDataCapture.

  • SKILL.md
  • REVIEW.md
  • agents/openai.yaml

Open the folder on GitHubat commit 432dec8

Compare with similar skills

Review PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR this skillDouglasNeuroInformatics/OpenDataCapture119—~2.8kAutomated safety check: PassApache-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from DouglasNeuroInformatics/OpenDataCapture

All 16 skills in this repo
  • Odc Agent Docs

    DouglasNeuroInformatics/OpenDataCapture

    Write or correct this repo's agent documentation — a workspace AGENTS.md (or its CLAUDE.md symlink), a playbook under .agents/docs/playbooks, an architecture doc, or the workspace map.

    119 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check passed
  • Odc Testing

    DouglasNeuroInformatics/OpenDataCapture

    Test a change in Open Data Capture. An agent skill from DouglasNeuroInformatics/OpenDataCapture.

    119 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check: notes
  • Odc Open PR

    DouglasNeuroInformatics/OpenDataCapture

    Open a pull request against main for the current branch. An agent skill from DouglasNeuroInformatics/OpenDataCapture.

    119 GitHub stars~533 tokensUpdated 3 days ago
    Auto-check passed
  • Opening Issues

    DouglasNeuroInformatics/OpenDataCapture

    File a GitHub issue for Open Data Capture with its labels. An agent skill from DouglasNeuroInformatics/OpenDataCapture.

    119 GitHub stars~614 tokensUpdated 3 days ago
    Auto-check passed
  • Odc Debugging

    DouglasNeuroInformatics/OpenDataCapture

    What actually breaks in Open Data Capture — a failing build, lint, unit test or e2e run; a change with no visible effect; a suite that stays green after you broke the code on purpose; an error…

    119 GitHub stars~2.8k tokensUpdated 3 days ago
    Auto-check: notes
  • Odc Done

    DouglasNeuroInformatics/OpenDataCapture

    Close out a change to Open Data Capture before committing, opening a PR, or reporting it done.

    119 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Review PR

What does Review PR do?

Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes. Review PR is an agent skill from DouglasNeuroInformatics/OpenDataCapture. Triage pull requests against upstream main — one verdict, action items, and whether it needs the user's eyes.

When should I use Review PR?

Review PR fits situations like: the user asks to review a PR by number; review all the open PRs; asks whether a PR is worth their time.

How do I install Review PR in Claude Code?

Run `npx skills add DouglasNeuroInformatics/OpenDataCapture --skill review-pr -a claude-code`. Or copy the skill folder (.agents/skills/review-pr in DouglasNeuroInformatics/OpenDataCapture) into .claude/skills/review-pr in your project. Claude Code loads it when a task matches its description.

How do I install Review PR in Codex?

Run `npx skills add DouglasNeuroInformatics/OpenDataCapture --skill review-pr -a codex`. Or copy the skill folder (.agents/skills/review-pr in DouglasNeuroInformatics/OpenDataCapture) into .agents/skills/review-pr in your project. Codex loads it when a task matches its description.

Can I use Review PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DouglasNeuroInformatics/OpenDataCapture --skill review-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.

What does Review PR need to run?

Going by SKILL.md and its folder, Review PR needs the command-line tools its instructions call (gh and pnpm).

Does Review PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Review PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review PR use?

Review PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review PR use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Review PR?

Skills that share tags, products or a category with Review PR: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR?

DouglasNeuroInformatics (a GitHub organization) maintains it in DouglasNeuroInformatics/OpenDataCapture, which has 119 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 7, 2026.

Source: DouglasNeuroInformatics/OpenDataCapture on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.