stage-review
Skill1 starsChanged 19 days agoApache-2.0View on GitHub
Pipeline stage 4: parallel review lanes plus a validator, giving one verdict and severity counts. Loaded by a pipeline conductor such as feature-pipeline.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- fedemelo/agent-configtheir own version, first seen Nov 16, 2026
- Benjaminnnnnn/product-idea-workbooktheir own version, first seen Oct 20, 2026
- lzx-Bill/Project-Factory-Coretheir own version, first seen Jul 15, 2026
- mcmespinaa/folder-structure-protocoltheir own version, first seen Jun 12, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- mcmespinaa/folder-structure-protocol★ 6same name
- fedemelo/agent-config★ 4same name
- Benjaminnnnnn/product-idea-workbook★ 1same name
- lzx-Bill/Project-Factory-Core★ 0same 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 repository20 other files it gives its agents.
- deep-code-reviewSkill
- feature-pipelineSkill
- github-updatesSkill
- idea-side-sessionSkill
- mergeSkill
- model-benchSkill
- prSkill
- repo-reviewSkill
- re-reviewSkill
- run-ledgerSkill
- rust-best-practicesSkill
- rust-reviewSkill
- stage-approveSkill
- stage-buildSkill
- stage-intakeSkill
- stage-scopeSkill
- stage-spikeSkill
- startSkill
- submit-reviewSkill
- work-evaluationSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
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 18
Write the lane's diff to a file:
- Very specific: line 34
Run the lanes in parallel.
- Very specific: line 60
After all the lanes return, dispatch one more reviewer with every lane's findings.
- Very specific: line 64
check each finding against the code at head_sha, marking it confirmed, plausible or rejected (with a reason).
- Very specific: line 66
keep severity honest. critical means data loss, a security hole or a broken build.
- Very specific: line 68
check the build record's coverage: each acceptance criterion's test exists and tests that criterion.
- Distinctive: line 92
Remove the review worktree when the stage ends.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
stage-review
Reviewers are read-only. When the runtime offers a choice, run the reviewers on a
different model family than the builders, because the same family tends to miss
its own mistakes. For example, if Claude built it, run the lanes through Codex or
Cursor on an OpenAI or Gemini model, and run the validator on the opus tier of
the family the lanes did not use. Record the result as the review stage record.
1. Snapshot
Write the lane's diff to a file:
git -C <worktree> diff <base>...HEAD > <lanes_dir>/<run_id>-review.diffThen create a detached review worktree at the lane head:
git -C <checkout> worktree add --detach <lanes_dir>/<run_id>-review <head_sha>Reviewers read only there, never in a builder's worktree.
2. Lanes
Run the lanes in parallel. Each reviewer gets:
- the diff path;
- the review worktree path;
- the base and head SHAs;
- the scope brief;
- the lane's instruction.
| Lane | Instruction |
deep | Run the deep-code-review skill on this diff. Also judge whether it solves the brief. |
ponytail | Run the ponytail-review skill: what in this diff need not exist? Skip this lane if the skill isn't installed, and say so. |
conventions | Check code quality and repo conventions: read the repo's CLAUDE.md, AGENTS.md or CONTRIBUTING and the nearby code, and flag drift. Read every new comment and name next to its neighbours: a comment that repeats a variable's value, restates the code, argues for the change or breaks the file's comment style, or a name that differs from its siblings, is medium. For a Rust diff, also run rust-review. |
Each lane returns its findings as JSON:
[{"id": "", "lane": "", "severity": "critical|high|medium|low", "file": "", "line": 0,
"claim": "", "evidence": "", "fix": ""}]A lane that errors, or returns nothing parseable, is recorded as
{"lane": "...", "status": "failed"}. It still counts in the verdict.
3. Validator
After all the lanes return, dispatch one more reviewer with every lane's
findings. It must:
- merge duplicates across lanes;
- check each finding against the code at
head_sha, marking itconfirmed,plausibleorrejected(with a reason); - keep severity honest.
criticalmeans data loss, a security hole or a broken build;highmeans a real defect or a violation of the brief; - check the build record's
coverage: each acceptance criterion's test exists and tests that criterion. A missing or hollow one is ahighfinding. Do the same for eachreview_focusentry.
Record every surviving finding with $FP note RUN_ID reviewer "<severity>
<file:line> <claim>".
Verdict and counts
Count the confirmed and plausible findings before anything is fixed, and never rewrite a round's counts afterwards:
$FP step RUN_ID review review.round '{"review": {"rounds": n, "critical": C, "high": H, "open_medium": M}}'clean: C = H = M = 0 and no lane failed. A medium that an earlier round answered with a deferral reason doesn't count again.changes_requested: anything else that ran. The conductor sends the findings to the builders. Each builder answers every finding with$FP note RUN_ID builder "<fixed|deferred: reason> <finding>", then the next round reviews the new diff.failed: the validator failed, or two or more lanes failed.
Remove the review worktree when the stage ends.
Record
{"review": {"status": "ok", "verdict": "clean", "summary": "", "reasoning": "",
"rounds": 1, "critical": 0, "high": 0, "open_medium": 0,
"head_sha": "",
"lanes": [{"lane": "deep", "status": "ok|failed", "finding_count": 0}],
"findings": [{"id": "", "lanes": [], "severity": "", "validation": "", "file": "", "line": 0, "claim": "", "fix": ""}],
"next": "approve"}}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.

