backlog-review-lenses
Use when a triage report, a sprint proposal, refined stories or a refinement proposal for one issue must pass an independent review before it is handed on: dispatching each review lens with only its own inputs, collecting their results and turning them into a verdict with the bun
Install
npx skills add https://github.com/SebastienDegodez/skraft-plugin/tree/main/plugins/skraft-backlog/skills/backlog-review-lenses
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install sebastiendegodez-skraft-plugin@llmmart
git clone https://github.com/SebastienDegodez/skraft-plugin.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole sebastiendegodez/skraft-plugin collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Backlog Review Lenses
The producer runs the review gate itself, but never judges its own work: the lenses judge, the script decides.
1. Dispatch
Dispatch every lens of the phase as its own sub-agent, all of them, in parallel when the host
allows it. The phase's *-review-criteria skill names the lenses and the inputs each one may
see. Each dispatch prompt carries:
- the paths of the inputs that lens is entitled to, and no other artefact or finding;
- the attempt number;
- the instruction: "Return only the YAML document of your Output section."
Never write a lens result yourself, and never run two lenses in one context. A missing dispatch is a missing lens, and the script counts it as one.
2. Collect
Save each lens answer, verbatim, to its own file next to the review:
reviews/{date}/{phase}-lens-{lens}-{attempt}.yaml. When an answer is not valid YAML,
dispatch that lens once more; if it fails again, save what it returned anyway.
3. Decide
Run the script that ships with this skill from the repository root, {skill} being the
folder that holds this SKILL.md; relative paths are read from the repository root:
node {skill}/scripts/review-verdict.mjs --phase discover|discuss|refine \
--lens <file.yaml> --lens <file.yaml> … \
--attempt <N> --reviewed <artefact path> … \
--out <reviews/{date}/{phase}-review-{N}.md>
Its first output line is JSON with verdict, blocking and problems. Exit codes:
0 APPROVED, 3 NEEDS_REWORK, 4 REJECTED, 1 a usage error to fix and re-run.
- The verdict is the script's, never yours: do not edit the review file or restate a different verdict.
- A lens that is missing, inconclusive or unparseable keeps the verdict at NEEDS_REWORK.
- Two lenses rating the same gate at the same place differently: the strictest applies,
recorded under
dissent. - APPROVED → hand the artefacts on. NEEDS_REWORK or REJECTED → rework with
blockingand the recommendations, then review again, within the producer's retry budget.
Files (skraft-plugin)
-
scripts
-
review-verdict.mjs 13.5 KB · in bundle
-
-
SKILL.md 2.4 KB
--- name: backlog-review-lenses description: "Use when a triage report, a sprint proposal, refined stories or a refinement proposal for one issue must pass an independent review before it is handed on: dispatching each review lens with only its own inputs, collecting their results and turning them into a verdict with the bundled script. Not for reviewing code, designs or acceptance tests." --- # Backlog Review Lenses The producer runs the review gate itself, but never judges its own work: the lenses judge, the script decides. ## 1. Dispatch Dispatch every lens of the phase as its own sub-agent, all of them, in parallel when the host allows it. The phase's `*-review-criteria` skill names the lenses and the inputs each one may see. Each dispatch prompt carries: - the paths of the inputs that lens is entitled to, and no other artefact or finding; - the attempt number; - the instruction: "Return only the YAML document of your Output section." Never write a lens result yourself, and never run two lenses in one context. A missing dispatch is a missing lens, and the script counts it as one. ## 2. Collect Save each lens answer, verbatim, to its own file next to the review: `reviews/{date}/{phase}-lens-{lens}-{attempt}.yaml`. When an answer is not valid YAML, dispatch that lens once more; if it fails again, save what it returned anyway. ## 3. Decide Run the script that ships with this skill from the repository root, `{skill}` being the folder that holds this SKILL.md; relative paths are read from the repository root: ```sh node {skill}/scripts/review-verdict.mjs --phase discover|discuss|refine \ --lens <file.yaml> --lens <file.yaml> … \ --attempt <N> --reviewed <artefact path> … \ --out <reviews/{date}/{phase}-review-{N}.md> ``` Its first output line is JSON with `verdict`, `blocking` and `problems`. Exit codes: `0` APPROVED, `3` NEEDS_REWORK, `4` REJECTED, `1` a usage error to fix and re-run. - The verdict is the script's, never yours: do not edit the review file or restate a different verdict. - A lens that is missing, inconclusive or unparseable keeps the verdict at NEEDS_REWORK. - Two lenses rating the same gate at the same place differently: the strictest applies, recorded under `dissent`. - APPROVED → hand the artefacts on. NEEDS_REWORK or REJECTED → rework with `blocking` and the recommendations, then review again, within the producer's retry budget.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.