backlog-review-lenseslisted
Install: claude install-skill SebastienDegodez/skraft-plugin
# 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,