agentleFS
romermaromerma/mstack/skills/review/SKILL.md

review

Skill1 starsChanged 13 days agoMITView on GitHub

Judge work that already exists against its requirements, its tests and the real diff, using reviewers that did not write the code. Use to review a branch, a PR, or a diff, or when asked whether a change is ready.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When they return, mstack fanout check --kind review --worker ...

    line 43
  2. Very specific:

    After a panel, the lenses have recorded nothing, so record the synthesized verdict yourself: mstack ledger record <slug> "$(git rev-parse …

    line 60

“Common” is measured: kept by at least 6 in 10 of the 153 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.

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

Review

The reviewer did not write the code. If that is not true, stop: fetch someone who did not.

  1. Establish scope. git diff <base>...HEAD, and the list of files it touches.
  2. The item's size sets the shape, as the size matrix says: at s, one lone reviewer and no panel; at m, a lone reviewer or a panel of the lenses that have something to review; at l, a panel with two or more lens reports in one round, which the gate and state set --status done hold the item to from verifying (a later round may be a lone review). Allocate the paths before launching anything:

    mstack fanout plan --kind review --worker correctness --worker security --worker tests

    Give each reviewer the path it prints, and nothing else. Two reviewers handed one filename overwrite each other silently, which is the failure this command exists to prevent. Worker names starting r<digit> (r2, r2-facts, r2x) are reserved, and plan refuses them: r2 would be read as round 2 of a lone reviewer, and r2-facts as round 2 with lens facts, sharing a path with plan --round 2 --worker facts. A lone reviewer's path comes from the tool as well: mstack fanout plan --kind review --solo gives one more than the highest round of any review report of the item, a panel's included, so the review after a round-1 panel is round 2. From round 3 it needs --justify "<why>", which also writes the review-r<N> decision row the gate asks for. Pass the path it prints to the lone reviewer in the brief.

  3. Launch them in parallel, each with the full diff and a distinct lens. Give different lenses to different models where you can: models differ in blind spots, and agreement across models is signal in a way agreement across two runs of one model is not. reviewer runs on Opus and implementer on Sonnet, so the panel differs from the code's author by default, but two reviewer passes are one model: launch one of them on another to get a second.
    • correctness and requirement coverage
    • security and failure paths
    • the tests themselves: would any of them fail if the change were reverted?
    • design, only when the diff adds or changes a module's interface or moves a seam: the reviewer reads the deep-module vocabulary and judges the diff with its tests Skip a lens that has nothing to review, and note that you skipped it.
  4. When they return, mstack fanout check --kind review --worker ... with the same workers as the plan, minus any lens you skipped. It names the ones that did not write a report. A reply is not evidence; act on the file or re-run the worker.
  5. mstack:reviewer runs the verification itself. The implementer's pasted output is not a substitute; the whole value of a second pass is that it does not inherit the first pass's assumptions.
  6. Quote each acceptance bullet and answer it individually with evidence. An aggregate "all criteria met" is not a review.
  7. mstack ledger check <slug> at the current head SHA. A verdict against an older SHA does not carry over.
  8. Synthesize into one verdict: APPROVED or CHANGES_REQUESTED, then the findings ordered by severity, each with a file:line. A finding without a location is a feeling.
  9. One ledger row per review round, typed by the pass that formed the verdict it carries:

    • A lone mstack:reviewer records its own row (--verifier reviewer) before returning. Confirm the row exists with mstack ledger check <slug>. If no row exists, the reviewer did not finish its contract: re-run the reviewer, and do not type the row on its behalf.
    • After a panel, the lenses have recorded nothing, so record the synthesized verdict yourself: mstack ledger record <slug> "$(git rev-parse HEAD)" <verdict> --evidence <the lens reports> --verifier <your own role, never reviewer>. One row, not one per lens: ledger check reads the latest closing-role row per (target, sha), so a row per lens would leave whichever lens recorded last as the verdict, and a split panel means its worst lens.

    Either way the mapping is fixed: APPROVED records the rung the verification reached, CHANGES_REQUESTED records verifier-failed, and a verification nobody could run records verifier-blocked. A verifier-failed row is the typed record of the rejection, carrying the report as its evidence, and it stands until a later independent approval at that commit: state set --status done refuses it (--force included), the gate fails, and a later verifier-blocked does not lift it.

Reply: the verdict, and the findings that changed the outcome.

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.