agentleFS
nrwlnrwl/nx/.agents/skills/review-many-prs/SKILL.md

review-many-prs

Skill29k starsChanged 9 days agoMITView on GitHub

Review several nrwl/nx PRs with Codex, coordinating isolated reviews and saving local drafts for maintainer approval. Use when given multiple PR numbers or links to review, or asked for a batch review.

Trending

More talk lately.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 5 mentionsApr 2026: 4 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 4 mentionsNov 2026: 1 mentionDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the nrwl/nx repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about nrwl/nx

The biggest 5 of 93 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 93

Talked about on GitHub, YouTube, Stack Overflow, Bluesky and Hacker News (93 times).

On GitHub · 26

21 more on GitHub

On YouTube · 25

20 more on YouTube

On Stack Overflow · 25

20 more on Stack Overflow

On Bluesky · 11

6 more on Bluesky

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read Codex execution conventions and review-pr.

    line 8
  2. Distinctive:

    Use the same sequence locally if subagents are unavailable.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review several PRs

Read Codex execution conventions and review-pr. Each PR follows that complete review workflow; this skill only coordinates the batch. Use Codex subagents when available, with a sequential fallback. No Herdr or Claude process is required.

Resolve the batch

Accept PR numbers, #N, and https://github.com/nrwl/nx/pull/N URLs. Reject URLs for other repositories, deduplicate numbers, and fetch each PR's title, URL, state, draft flag, and current head with gh pr view N --repo nrwl/nx --json number,title,url,state,isDraft,headRefOid. Skip closed/merged PRs and drafts unless the user included drafts explicitly. A dry-run request reports the resolved plan without staging or dispatching anything.

Read existing drafts in ${TRIAGE_DIR:-$HOME/.nx-pr-reviews} before dispatch. Preserve history. Skip a completed current-head review only when its pipeline version matches the current review-pr contract and the user has not requested a fresh review. An old draft or an incomplete staged record is not a completed review.

Schedule reviews

Perform shared authentication and sandbox/image preflight once, following review-pr. Stage each selected PR with the existing CLI (substitute metadata safely as individual arguments):

.claude/tools/review stage N --title TITLE --url URL --head SHA
.claude/tools/review set N running

Use at most three simultaneous PR reviews, lowered to the session's available capacity and the user's requested concurrency. Each PR review itself needs reviewer lanes; leave room for those agents or run PRs sequentially while parallelizing their lanes. Never start duplicate work for a PR already running in this session.

For each child, supply the repository root, PR number, absolute review-pr/SKILL.md path, draft directory, and these instructions:

Complete $review-pr N through the saved draft. This is a headless batch: leave the human grill pending and return the draft path, reviewed head SHA, verdict, verification limits, and any failures. Preserve lifecycle metadata and prior review history. Never post to GitHub. Clean up your own sandbox once the draft is saved; do not prune other reviews. You share the workspace with other agents: do not revert their edits. Use the supplied review role references through native Codex delegation if capacity permits; otherwise disclose sequential role passes.

Use native completion notifications and bounded waits. A child asking for permission has not completed a review. Mark its record needs-input and report the exact blocker; keep track of its live work before reusing capacity. Do not retry indefinitely or claim that an idle agent completed a draft.

On completion, inspect the returned draft: it must belong to this run, contain the reviewed SHA and current pipeline version, and include the findings and verification limits. An unchanged pre-existing draft does not prove success. Mark valid drafts awaiting-grill; mark failed reviews failed with a useful note. Preserve the status field when the reviewer rewrites the draft. Release capacity only when the child has finished its review work or has been explicitly stopped.

.claude/tools/review set N awaiting-grill
.claude/tools/review set N failed --note REASON
.claude/tools/review list --pending

Use the same sequence locally if subagents are unavailable. Keep the batch in the active Codex session; do not claim it survives session termination. To resume, inspect saved drafts and lifecycle state, re-fetch PR heads, and schedule only unfinished or stale work.

Handoff

Report each PR link, reviewed SHA, status, draft path, and verification limits. Use review-pending-pr-reviews to walk the maintainer through saved findings and post only approved reviews. The batch itself never posts, closes, or merges PRs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.