review-local-branch
Skill29k starsChanged 9 days agoMITView on GitHub
Review an Nx local branch, including committed and uncommitted changes, using sandboxed reviewer roles. Save a local draft with evidence and verification limits; use for branch reviews before opening a PR.
1 other project uses a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- shiggydoodah/skillstheir own version, first seen Aug 6, 2026
Who's talking about nrwl/nx
- Nx“Nx 17.0 Has Landed!!!”YouTube · Oct 24, 2023 · 8k views
- Nx“Nx 19.0 Has Landed!!”YouTube · May 8, 2024 · 5.9k views
- Nx“What's new in Nx 15.3?”YouTube · Dec 8, 2022 · 4.8k views
- Nx“Nx 15.8 - All you need to know!”YouTube · Mar 8, 2023 · 4.7k views
- Nx“Nx 17.2 Has Landed!!”YouTube · Jan 9, 2024 · 4.2k views
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
- Feb 8, 2024📈 Tracking: Flat Config support — eslint/eslint91 reactions · 100 comments
- Apr 24, 2024📈 Tracking: ESLint v9 support — eslint/eslint85 reactions · 60 comments
- Mar 20, 2026feat(oxlint): add oxlint labs plugin — nrwl/nx-labs29 reactions · 14 comments
- Oct 3, 2019Feature: Support NX workspace — stenciljs/core25 reactions · 8 comments
- Apr 14, 2026action-setup v6 renders invalid YAML file — pnpm/action-setup21 reactions · 10 comments
21 more on GitHub
- Mar 1, 2022`IDBIndex is not defined` runtime exception in Node.js when importing ESM — firebase/firebase-js-sdk21 reactions · 12 comments
- Oct 14, 2024feat(core): add support for community remote caching — Jordan-Hall/NXRC18 reactions · 2 comments
- Jul 19, 2022feat: nuxt3 support — ZachJW34/nx-plus6 reactions · 5 comments
- May 26, 2025feat: add support for angular 20 — thymikee/jest-preset-angular5 reactions · 1 comment
- Apr 15, 2026chore(deps-dev): bump nx from 20.8.2 to 22.6.5 — ModaLabs/moda-python4 reactions · 2 comments
- Apr 2, 2026chore(deps-dev): bump nx from 20.8.2 to 22.6.4 — ModaLabs/moda-python3 reactions · 4 comments
- Mar 25, 2026chore(deps-dev): bump nx from 20.8.2 to 22.6.1 — ModaLabs/moda-python3 reactions · 4 comments
- Mar 18, 2026chore(deps-dev): bump nx from 20.8.2 to 22.6.0 — ModaLabs/moda-python3 reactions · 3 comments
- Mar 11, 2026chore(deps-dev): bump nx from 20.8.2 to 22.5.4 — ModaLabs/moda-python3 reactions · 2 comments
- Mar 4, 2026chore(deps-dev): bump nx from 20.8.2 to 22.5.3 — ModaLabs/moda-python3 reactions · 3 comments
- Nov 13, 2024Handle nx monorepo setup — software-mansion/radon-ide3 reactions · 1 comment
- Jul 9, 2024chore: replace lage with nx for task(targets) orchestration — microsoft/fluentui3 reactions · 8 comments
- Mar 25, 2023Fix type plugin for NX workspaces — vercel/next.js3 reactions · 7 comments
- Jun 16, 2022Issue with TypeScript declaration files — nrwl/nx-examples3 reactions · 2 comments
- Dec 4, 2021feat: provide json schema for nx.json — nrwl/nx-console3 reactions · 3 comments
- Jun 9, 2021Angular : Update angular dependences to v12 — storybookjs/storybook3 reactions · 8 comments
- Oct 20, 2026build(deps): bump follow-redirects and nx — XRPLF/xrpl.js2 reactions · 1 comment
- Oct 12, 2026build(deps): bump brace-expansion and nx — XRPLF/xrpl.js2 reactions · 2 comments
- Oct 8, 2026build(deps): bump axios and nx — XRPLF/xrpl.js2 reactions · 1 comment
- Apr 1, 2026Bump minimatch and nx — cicero-im/browser-control-mcp2 reactions · 1 comment
- Jun 20, 2023fix: adapt processProjectGraph to work w/ Nx >= 16.3.0 — agmonks/nx-vue2 reactions
On YouTube · 25
- Oct 24, 2023Nx 17.0 Has Landed!!! — Nx - Grow your repos, not your build times8k views · 42 comments
- May 8, 2024Nx 19.0 Has Landed!! — Nx - Grow your repos, not your build times5.9k views · 33 comments
- Dec 8, 2022What's new in Nx 15.3? — Nx - Grow your repos, not your build times4.8k views · 25 comments
- Mar 8, 2023Nx 15.8 - All you need to know! — Nx - Grow your repos, not your build times4.7k views · 14 comments
- Jan 9, 2024Nx 17.2 Has Landed!! — Nx - Grow your repos, not your build times4.2k views · 18 comments
20 more on YouTube
- Jan 4, 2023Wrap any command with Nx Run-Commands — Nx - Grow your repos, not your build times4k views · 5 comments
- Dec 23, 2022Nx 15.4 is out! Here's all you need to know — Nx - Grow your repos, not your build times3.4k views · 22 comments
- May 24, 2021Nx Office Hours: Workspace Automation with Nx Devkit — Nx - Grow your repos, not your build times2.9k views · 4 comments
- Mar 7, 2023Ever tried to Delete or Move a Project in a Monorepo? — Nx - Grow your repos, not your build times2.3k views · 18 comments
- Dec 13, 2022Introducing the Nx Task Graph Visualization — Nx - Grow your repos, not your build times2.3k views · 3 comments
- Jun 8, 2023Caching is HARD. — Nx - Grow your repos, not your build times1.9k views · 2 comments
- Jan 24, 2022Let's chat! Monorepo & tools — Nx - Grow your repos, not your build times1.8k views · 3 comments
- Jan 18, 2023New Nx Console && Nx Cloud Integrations — Nx - Grow your repos, not your build times1.7k views · 3 comments
- Feb 10, 2023We Built An Example App With the tRPC Core Team!! — Nx - Grow your repos, not your build times1.7k views · 5 comments
- Sep 24, 2022Tune your monorepo! Automated autocompletion support with Nx Console #shorts — Nx - Grow your repos, not your build times1.6k views · 3 comments
- Aug 28, 2025Nx npm Malware Explained: AI Agent Hijacking — Snyk1.4k views · 5 comments
- Sep 9, 2022Why Nx is super fast! — Nx - Grow your repos, not your build times1.1k views · 1 comment
- Apr 26, 2021Nx Office Hours | Schema-Driven Workspaces w/ Bram Borggreve — Nx - Grow your repos, not your build times551 views
- Feb 7, 2023Isolating Task Logs w/ Nx Cloud — Nx - Grow your repos, not your build times519 views
- Jun 23, 2020Nx Office Hours: June 23, 2020 — Nx - Grow your repos, not your build times436 views
- Sep 8, 20261,700 Developers Got a Public Repo Full of Their Own Secrets — NikByte223 views
- Oct 16, 2026⚡ [Top 5 AI Repos This Week] nx: The Free Tool Taking Over GitHub! #shorts — githubrepo_cloud133 views
- Sep 5, 2024GitHub - nrwl/nx: Smart Monorepos · Fast CI — GitHub Daily Trend AI Podcast37 views
- Nov 17, 2026Nx | core: filter remote cache terminal output before storing and replaying it — Kill the Busywork16 views
- May 29, 2026An invisible commit on GitHub's own repo. 💀 — TheCyberTrend11 views
On Stack Overflow · 25
- Mar 18, 2019Could not find an NgModule. Use the skip-import option to skip importing in NgModule40 votes
- May 21, 2021eslint rule @nrwl/nx/enforce-module-boundaries fails29 votes · 2 answers
- May 28, 2021Add Angular Material to Nx Workspace23 votes
- Sep 25, 2022update an nx-angular project to a specific major version of angular11 votes
- Feb 23, 2022Rules inside NX workspace's root `.eslintrc.json` file not extending to project's `.eslintrc.json` file10 votes
20 more on Stack Overflow
- Jan 14, 2022Jest setup "SyntaxError: Unexpected token export"9 votes
- Aug 23, 2021concatLatestFrom with multiple selectors ngrx8 votes · 3 answers
- May 9, 2022How to test the Swiper library with Jest in an Angular Nx repo?7 votes · 2 answers
- Sep 13, 2021How to use d3.js v7 with jest and babel-loader?6 votes · 1 answer
- Jul 26, 2023How to fix "Error: Expected to be running in 'ProxyZone', but it was not found." in mocha testing?says it tested it5 votes
- May 17, 2022How to set up Jest w/ESM to recognize non-cjs modules in node_modules5 votes
- Jul 1, 2019How to import a component from a library (in nrwl/nx with Angular)5 votes
- Oct 20, 2018How to integrate firebase in Nrwl Nx5 votes
- May 22, 2024error: src/main.tsx: Cannot read properties of undefined (reading 'includes') Nx monorepo ios/ android app runtime error4 votes
- Jan 24, 2023How to create Nx 15 workspace with Karma/Jasmine instead of Jest/Cypress4 votes · 1 answer
- Dec 16, 2022VSCode is unable to detect the tsconfig that resides in the Next.js app created using NX4 votes
- Nov 16, 2022Nx 13 Migration failure: update-tasks-runner4 votes
- Nov 9, 2021nx - configure main/module for generated package.json4 votes
- Jul 19, 2021Module not found: Error: Can't resolve 'zlib'4 votes
- Aug 18, 2019Jest Unit Tests do not work started with WebStorm Jest Testrunner4 votes
- Jul 9, 2024Angular 17 ESBuild Configuration for environment variables3 votes · 1 answer
- Jun 23, 2024Vite - dist is not inside project root and will not be emptied. Use --emptyOutDir to override3 votes
- Jun 15, 2024How to trigger Nx Release on apps/* when changes made to dependent libs/* modules?3 votes
- Feb 20, 2024NX - how can I build and serve node application that depends on ESM libs3 votes
- Dec 30, 2020Now.sh build breaking due to: Support for the experimental syntax 'decorators-legacy' isn't currently enabled3 votes
On Bluesky · 11
- Nov 22, 2024Let it rain ✨ & celebrate OSS 🚀 Quote this post to keep the appreciation train going and 👉 list 3 OSS repos with links ⭐ star them on GH… — @juri.dev30 likes and reposts
- Feb 13, 2025📦 nrwl / nx ⭐ 24,552 (+36) 🗒 TypeScript Build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced… — @github-trending-js.bsky.social7 likes and reposts
- Jan 30, 2025Fixing something I should have done a while ago.... Didn't star @nx.dev before, but finally went around and did it. github.com/nrwl/nx — @mhartington.io6 likes and reposts · 2 replies
- Jul 11, 2026📦 nrwl / nx ⭐ 29,144 (+76) 🗒 TypeScript The Monorepo Platform that amplifies both developers and AI agents. Nx optimizes your builds,… — @github-trending-js.bsky.social4 likes and reposts
- Mar 14, 2025Tooling is essential, and I believe there is a gap in the tooling industry for monorepos. With great tooling, having a monorepo is… — @edolic.bsky.social3 likes and reposts
6 more on Bluesky
- Feb 1, 2024Bonjour et bon jeudi ! Si vous êtes sur une approche de développement axée monorepo, vous pourriez être intéressés par nx, un système de… — @ponceto91.bsky.social2 likes and reposts
- May 6, 2025Nxというツールは、モノレポでの開発において、影響のある箇所だけをビルド・テストする賢さとキャッシュ機能で、開発サイクルやCIを速くするらしい。 yug1224 starred nrwl/nx https://github.com/nrwl/nx — @yug1224.com1 likes and repost
- Sep 5, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 nrwl / nx ⭐ 23,152 (+104) 🗒 TypeScript Smart Monorepos · Fast CI — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Feb 1, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 nrwl / nx ⭐ 21,061 (+118) 🗒 TypeScript Smart Monorepos · Fast CI — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Apr 22, 20255. Nx - Build system optimized for monorepos Nx optimizes monorepos with AI-driven architecture, advanced CI features, and efficient task… — @madza.dev0 likes and reposts · 1 reply
- Jul 7, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 nrwl / nx ⭐ 18,243 (+126) 🗒 TypeScript Smart, Fast and Extensible Build System — @github-trending-js.bsky.social0 likes and reposts · 1 reply
On Hacker News · 6
- Aug 27, 2025Malicious versions of Nx and some supporting plugins were published443 points · 433 comments
- Nov 1, 2019Extensible Web Dev Tools for Monorepos5 points
- Aug 28, 2025NX Hack: stolen GitHub credential used to turn private repositories public3 points
- Aug 27, 2025Malicious versions of Nx and some supporting plugins were published2 points
- Oct 21, 2024Nx Powerpack Moves Previously Free Feature Behind Paywall1 point · 1 comment
1 more on Hacker News
- Dec 14, 2020Nx 11.0.0 – Extensible Dev Tools for Monorepos1 point
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- shiggydoodah/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- author-migrationSkill
- check-docs-styleSkill
- deslopSkill
- dist-build-migrationSkill
- docs-website-updateSkill
- grill-meSkill
- multi-version-complianceSkill
- nx-gradle-plugin-version-bumpSkill
- nx-multi-repo-migrateSkill
- reproduce-issueSkill
- review-many-prsSkill
- review-pending-pr-reviewsSkill
- review-prSkill
- run-nx-generatorSkill
- setup-review-sandboxSkill
- triage-issuesSkill
- triage-prsSkill
- triage-review-paneSkill
- update-cnw-templatesSkill
- author-migrationSkill
- check-docs-styleSkill
- deslopSkill
- dist-build-migrationSkill
- docs-website-updateSkill
- draft-security-advisorySkill
- grill-meSkill
- multi-version-complianceSkill
- nx-gradle-plugin-version-bumpSkill
- nx-multi-repo-migrateSkill
- reproduce-issueSkill
- review-local-branchSkill
- review-many-prsSkill
- review-pending-pr-reviewsSkill
- review-prSkill
- run-nx-generatorSkill
- setup-review-sandboxSkill
- triage-issuesSkill
- triage-prsSkill
- triage-review-paneSkill
- update-cnw-templatesSkill
- vitest-migrationSkill
- ci-monitorSkill
- nx-generateSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Read Codex execution conventions before following this workflow.
- Very specific: line 25
If you want an agent to run the repo's own build or test commands, start with --allow-exec and say so in the charter.
- Very specific: line 44
Refuse to run on the default branch: If $BRANCH is master, there is no branch to review: merge-base origin/master HEAD is HEAD, the diff is …
- Very specific: line 63
Write-then-verify-then-move, for the same reason review-pr does it: a bare > truncates the target before git runs, so a failure leaves a …
- Very specific: line 69
If /tmp/branch-$SLUG.untracked is non-empty, list those paths in the draft under ## Not reviewed and say plainly that no agent saw them.
- Very specific: line 190
Write to $TRIAGE_DIR/<SLUG>.md, default ~/.nx-branch-reviews — outside the repo, so git clean never touches drafts and the history survives …
≈ “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.
Files
Read Codex execution conventions before following this workflow.
Review the local branch (review-local-branch)
The sibling of review-pr, for work that has not become a PR yet. Same agents, same proof-of-work contract, same calibrations — the only real differences are how scope is discovered and that the code is yours.
Drafts only. This skill never commits, never pushes, never edits your working tree.
Trust model — what the sandbox is and is not here
review-pr puts an untrusted PR in a container because the code is a stranger's. Here the code is yours, already on your disk, and there is nothing to isolate it from. Be honest about that rather than implying a boundary that does not exist:
sandbox start --localregisters your checkout with no isolation.sandbox doctorwill say so.- What it still buys is uniformity: the agents speak only the CLI, so the same definitions work in both skills with no transport branch and no fallback path to fall down.
- What it also buys is a guardrail on your branch. A local sandbox is
exec=screened: commands that obviously write —git checkout,rm,pnpm install,>redirects — are rejected, so a review cannot mutate the thing it was asked to review. It is a guardrail, not a security boundary. sandbox worktreestill works. It cuts a peer worktree outside the repo, under~/.nx-sandboxes/worktrees/<id>-<agent>, so an agent proving a test can fail never touches your files or your branch — the only thing it writes into your repo is the.git/worktreesregistration, whichsandbox stopremoves.- That worktree carries your uncommitted work, not just the last commit.
git worktree add … HEADwould check out the committed state, which is not what is under review here; the CLI appliesgit diff HEADon top so the tree matches the diff the agents were given. Untracked files stay out, exactly as they do from the diff. - It is installed on creation, which on this repo is minutes rather than seconds. That cost is why agents are told to reach for one only when static reading genuinely cannot settle the question — not as a matter of course.
If you want an agent to run the repo's own build or test commands, start with --allow-exec and say so in the charter. No screen can contain those anyway — node -e is arbitrary code by construction.
Step 1: Establish scope
ROOT=$(git rev-parse --show-toplevel)
BRANCH=$(git rev-parse --abbrev-ref HEAD)
SLUG=$(printf '%s' "$BRANCH" | sed 's#[/ ]#-#g')
# Refresh the base so "is this net-new?" is answered against the real master,
# not a fork point that is weeks stale.
git fetch -q origin master
BASE=${ARG_BASE:-$(git merge-base origin/master HEAD)}
test -n "$BASE" || { echo "FATAL: no merge base with origin/master"; exit 1; }--base <rev> overrides. Use it when the branch is stacked on another branch rather than on master — a merge-base against origin/master would then pull the parent branch's work into scope and the review would spend itself on code you did not write.
Refuse to run on the default branch. If $BRANCH is master, there is no branch to review: merge-base origin/master HEAD is HEAD, the diff is empty, and every agent gets an empty scope. Say so and stop.
# Everything you would push: commits + staged + unstaged, in one surface.
git diff "$BASE" > /tmp/branch-$SLUG.diff.tmp \
|| { echo "FATAL: git diff failed"; exit 1; }
test -s /tmp/branch-$SLUG.diff.tmp \
|| { echo "FATAL: empty diff — nothing to review against $BASE"; exit 1; }
mv /tmp/branch-$SLUG.diff.tmp /tmp/branch-$SLUG.diff
git diff --name-only "$BASE" > /tmp/branch-$SLUG.files
# `|| true` is required, not defensive: grep exits 1 when nothing matches, so on a
# clean tree this pipeline fails, and under `set -e` in bash it aborts the block
# before the sandbox is ever started. Verified — zsh does not abort here and bash
# does, so the failure only shows up in some shells.
{ git status --porcelain | grep '^??' | sed 's/^?? //' || true; } > /tmp/branch-$SLUG.untrackedWrite-then-verify-then-move, for the same reason review-pr does it: a bare > truncates the target before git runs, so a failure leaves a 0-byte file that every agent is then told is the complete diff.
git diff $BASE is deliberately two-dot-with-working-tree. It compares the base commit against your working tree, which is what "everything I would push" means — commits, staged, and unstaged together. Do not "fix" it to $BASE...HEAD: that drops staged and unstaged work, which on a branch mid-edit is usually the part most worth reviewing.
Untracked files cannot appear in a diff. A new file that was never git added is invisible to git diff at any syntax, and mutating the index to make it visible is not this skill's business. So they are collected separately and reported:
- If
/tmp/branch-$SLUG.untrackedis non-empty, list those paths in the draft under## Not reviewedand say plainly that no agent saw them. A new file is exactly where a whole unreviewed feature hides, so this warning is load-bearing rather than a formality. - Ignore the usual noise (
node_modules,dist,.nx) — they are gitignored and will not appear here anyway.
Step 2: Start the sandbox
SANDBOX=$(.claude/tools/sandbox start --local "$ROOT" --base "$BASE" | head -1)
# Read-only view for the lanes that must not run anything.
READONLY_SANDBOX=$(.claude/tools/sandbox view "$SANDBOX" --exec none | head -1)--base "$BASE" is what makes sandbox read <id> <path> --ref base work: it resolves to git show $BASE:<path> in your own checkout, so "was this already true before my branch?" is answerable with no second worktree and no second clone.
Step 3: Write the charter
Same shape as review-pr Step 5, minus everything the agents already carry. Write it to /tmp/branch-$SLUG.review-charter.md:
# Review charter
## Toolchain
This is the maintainer's own checkout, already installed. Do not install anything.
If a check must mutate source, run `sandbox worktree <SANDBOX> <your-agent-name> head`. It cuts a
peer worktree outside the repo that already carries the uncommitted work under review, so you may
mutate it freely. Never edit the checkout itself — it is the maintainer's live branch.
## What is under review
Branch `<BRANCH>`, diffed against `<BASE>` (<SHORT_SHA>, <SUBJECT>). The diff covers committed,
staged and unstaged changes together — this is everything that would be pushed.
<IF untracked files exist:> <N> untracked files are NOT in the diff and are NOT under review:
<list them>. Do not report findings about them; do not assume they are absent from the design.
## The problem being solved
<OMIT unless the user stated one, or a linked ticket/issue is known. Do not invent one from the
diff — a review that infers intent from the change cannot then judge the change against it.>
## Orientation — where this change sits
<Same rules as review-pr: call sites and base behavior in, rationale and conclusions out. Keep it to
~15 lines. Use `sandbox grep <SANDBOX> <symbol> packages` for call sites and
`sandbox read <SANDBOX> <path> --ref base` for base behavior.>
## What to report
Report **critical** and **important** findings, plus **strengths**. Concrete, actionable
nice-to-haves may go in a terse **Suggestions** list. When you endorse a debatable design decision,
say so in a **Maintainer calls** line rather than folding it into an endorsement.
A defect that reproduces unchanged at `--ref base` does not block this branch, but report it under
**Pre-existing** — one line per defect, no cap, naming the base line that proves it predates the
work. That list is what follow-up tickets get filed from; dropping it loses work nobody else is
positioned to redo.
Your own definition carries the calibrations that bind your dimension, and the proof-of-work
contract. Both still apply.This is pre-PR review, so the bar moves one notch toward candor. In review-pr a rework request costs a contributor a round-trip, which is why its agents are told to endorse when torn. Here the author is the person reading the draft, and nothing has been published yet — a BETTER_ALTERNATIVE_EXISTS costs a rebase, not someone's afternoon. Say this in the charter so alternative-approach calibrates to it.
Step 4: Dispatch
Levels are cumulative. Default is standard.
| Level | Adds | Total |
quick | implementation-reviewer | 1 |
standard (default) | verification-reviewer, alternative-approach, security-reviewer | 4 |
deep | comment-analyzer, docs-reviewer, performance-analyzer, security-analyzer | 8 |
--agents a,b,c selects explicitly and ignores levels entirely.
deep adds the four single-dimension specialists. They overlap the lanes by design — a lane covers that dimension in one pass among several, and the specialist gives it a whole pass. Reach for deep on a change that is dense in one of those dimensions, not as a default.
reproduce-verifier is not in any level. It needs a linked issue with a runnable reproduction, which a local branch usually has not got. Add it with --agents when the branch does fix a filed issue, and pass the issue number in its prompt.
Dispatch each with the prompt shape from review-pr Step 5, changing only the inputs:
Reviewer role: <AGENT>
Task: <AGENT> review of branch <BRANCH>
Read .agents/skills/review-pr/references/agents/<AGENT>.md first.
Review the local branch <BRANCH>.
SCOPE — review exactly these changes. Do NOT run `git status` or `git diff` to discover scope:
the diff below is authoritative and already covers commits, staged and unstaged work.
- REVIEW TARGET: /tmp/branch-<SLUG>.diff (host file — read it with the available file-reading tool; this is what you review)
- CHANGED FILES: /tmp/branch-<SLUG>.files (host file — one path per line; read it)
- SANDBOX: <SANDBOX> (the checkout under review; reach it only with `.claude/tools/sandbox`)
- BASE_REF: <BASE> (read base state with `sandbox read <SANDBOX> <path> --ref base`)
Read /tmp/branch-<SLUG>.review-charter.md (host file) FIRST. It carries this run's scope, what is
NOT under review, and orientation around the diff. Your own definition carries the reading protocol
and the calibrations.
REQUIRED — open your report with the three proof-of-work lines your definition specifies, with
/tmp/branch-<SLUG>.diff as the file the line number refers to. A report without a verifying pair is
discarded and the agent recorded as failed — including one that found no issues.Give $READONLY_SANDBOX to alternative-approach, comment-analyzer, docs-reviewer, performance-analyzer and security-analyzer — all read-only analysts. Give $SANDBOX to the lanes that may need to run a check.
Step 5: Verify each agent actually reviewed something
Use review-pr's verification block exactly — the section "Verify each agent actually reviewed something", including the single-verdict shell gate, with /tmp/branch-$SLUG.diff as <EVIDENCE_FILE> and /tmp/branch-$SLUG.line / .evidence as the Write-tool scratch files.
Do not re-derive that block here. Every element in it closes a specific hole that a real review of this pipeline actually hit — the integer gate in front of sed alone has stopped host RCE three separate times — and a second copy of security-critical shell is a second copy to keep correct. Read it, don't reimplement it.
The retry rule carries over unchanged: on a failure, re-dispatch once, demanding a line in the far half of the file, and never paste diff content into the retry prompt.
Step 6: Trim and write the draft
Apply the same trim as review-pr Step 7: drop anything matching the Nx-specific calibration list, keep critical and important, fold endorsements into Strengths.
Write to $TRIAGE_DIR/<SLUG>.md, default ~/.nx-branch-reviews — outside the repo, so git clean never touches drafts and the history survives a rebase.
---
branch: <BRANCH>
base: <BASE>
head: <HEAD_SHA>
dirty: <true if staged or unstaged changes were included>
level: <quick|standard|deep|explicit>
agents_run: <comma-separated>
pipeline_version: 8
reviewed_at: <ISO8601>
verdict: <clean|concerns|failed>
---dirty: true matters on re-review: unlike a PR head SHA, a dirty tree has no stable identity, so a draft against one can never be deduped. Always re-review a dirty branch rather than reporting ALREADY_REVIEWED.
Sections: ## Summary, ## Critical, ## Important, ## Maintainer calls, ## Suggestions, ## Pre-existing (defects that reproduce at base — follow-up material, never blocking; omit when empty), ## Strengths, ## Not reviewed (untracked files), ## Failures (agents whose EVIDENCE never verified).
Step 7: Clean up, then offer the rest
.claude/tools/sandbox stop "$SANDBOX" # also drops the read-only viewThen name the agents that did not run and offer to dispatch them against the same diff:
Ran: implementation, verification, approach, security (
standard). Not run: comment-analyzer, docs-reviewer, performance-analyzer, security-analyzer. Want any?
A top-up merges into the existing draft rather than replacing it — the frontmatter records agents_run, so a later pass appends its findings and extends that list. Restarting from scratch would re-pay for every lane that already reported.
What this skill deliberately does not do
- No close-without-merge check. Supersession and abandonment are PR concepts; there is no PR.
- No Polygraph session check. That step exists to explain why a contributor did something. You are the author.
- No
ghcalls at all. Nothing here is on GitHub yet, which is the point.
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
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.

