/skraft-backlog:discovery-review-criteriafrom skraft-backlog
Reviews DISCOVER artefacts (triage reports, sprint proposals) for completeness, prioritization quality, and duplicate handling using gate definitions G1-G6 and a scoring rubric.
Ships in skraft-backlog. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Formal gate definitions and verdict rubric for the review gate of backlog-discoverer. Applied across 3 lenses with 6 gates (G1–G6).
| Lens | Gates | What it checks |
|---|---|---|
| Completeness | G1, G2 | Was the discovery thorough? Were important issues missed? |
| Prioritization | G3, G4 | Is prioritization coherent and the sprint realistic? |
| Duplicate Detection | G5, G6 | Are duplicates correctly identified and linked? |
The script of backlog-review-lenses takes phase discover. Each lens sees only these inputs:
| Lens agent | Inputs | Gates |
|---|---|---|
discovery-completeness-lens | triage report only — never the sprint proposal | G1, G2 |
discovery-prioritization-lens | triage report + sprint proposal | G3, G4 |
discovery-duplicate-lens | triage report | G5, G6 |
Three lenses, four questions — the synthesis in backlog-review-lenses is computed per
question, so this mapping is what makes it computable. It is declared here rather than
derived at review time, because a mapping re-invented on each pass is a mapping that drifts.
| Question | Answered by | Through |
|---|---|---|
| Completeness | Completeness lens | G1 mode coverage, G2 no hidden P0/P1 |
| Business Fit | Prioritization lens | G3 — priority is a claim about business value, and an unjustified P0 is a claim without evidence |
| Quality | Duplicate Detection lens | G5, G6 — two entries for one problem is the triage contradicting itself |
| Risk | Prioritization lens | G4 — an XL admitted or a P1 deferred is a sprint that fails downstream, not one that reads badly |
The Prioritization lens answers two questions. Its score therefore lands on both rows; it is not averaged and not counted once.
| ID | Definition | Pass Condition | Severity |
|---|---|---|---|
| G1 | All 3 discovery modes were considered, or the triage report explicitly documents why a mode was skipped (e.g., "no recent commits → artifact-driven skipped"). | All modes accounted for in the report. | HIGH |
| G2 | No P0 or P1 issues exist in the repository but are absent from the triage report. Verify by sampling: query for label:priority/P0,priority/P1 is:open is:issue sort:created-desc, take top 5, check each appears in the triage report. | Zero critical issues absent from triage. | BLOCKER |
| ID | Definition | Pass Condition | Severity |
|---|---|---|---|
| G3 | All P0 issues have a written justification in the Notes field. P1–P3 follows descending business value order. No priority inversions (a P2 that is clearly more urgent than a P1 in the same domain). | No priority inversions. All P0 justified. | HIGH |
| G4 | Sprint proposal respects declared capacity. Total effort ≤ effective capacity (team-days × 0.7) for non-P0 issues. No P2/P3 issue occupies a sprint slot while a P0/P1 issue is excluded. No issue above 8 points is in the sprint. | Capacity respected; estimates above 8 excluded. | HIGH |
| ID | Definition | Pass Condition | Severity |
|---|---|---|---|
| G5 | No two issues in the triage report describe the same problem (normalized title similarity > 80%). Normalize: lowercase, remove stop words, sort words alphabetically, compare overlap ratio. | Zero undetected exact or near-duplicate pairs. | HIGH |
| G6 | All issue pairs with 40–80% normalized title similarity are noted in the "Duplicates Detected" section with a recommendation (merge, link, or keep separate). | All similar pairs flagged with recommendation. | MEDIUM |
Discovery is considered sufficient when:
Completeness is not about finding every issue — it is about ensuring critical issues are not hidden.
| Rule | Description |
|---|---|
| P0 always in sprint | Every P0 issue must appear in the sprint proposal, even if over capacity |
| P0 justification required | Every P0 issue must have a written justification in the Notes field |
| No P3 before P1 | A P3 issue cannot be in the sprint if any P1 issue is excluded |
| P2 after all P1 | Sprint fills P1 before P2 unless P1 is already covered |
| XL never in sprint | XL issues must be split — they cannot enter DISCUSS as-is |
| No priority inversion | A P2 issue with more urgency than a P1 in the same domain = G3 fail |
| Level | Similarity | Action Required |
|---|---|---|
| EXACT | > 95% | One issue must be labeled status/duplicate and linked to the original |
| NEAR | 80–95% | Recommendation to merge. Both issues linked. Documented in triage. |
| RELATED | 40–80% | Flagged in triage as "related". Recommendation documented. No merge required. |
| DIFFERENT | < 40% | No action required |
G5 threshold: > 80% = must flag (covers both EXACT and NEAR) G6 threshold: 40–80% = should flag (covers RELATED)
| Rule | Applies To |
|---|---|
| P0 overrides capacity | P0 issues enter sprint regardless of effective capacity |
| Effective capacity = team-days × 0.7 | Applies to P1/P2/P3 issues |
| Points convert to days: 1=0.25, 2=0.5, 3=0.75, 5=1.5, 8=3 | The scale is Fibonacci; the capacity stays in team-days. Cost per point never falls as the card grows, so splitting is always the cheaper arithmetic |
| Over-capacity P0 must be documented | Triage report must note "P0 override" |
| Above 8 points is an absolute exclusion | No 13 or 21 enters a sprint — G4 fail if present |
| P2/P3 after all P1 | P2/P3 issues fill remaining capacity after all P1s |
| Condition | Verdict |
|---|---|
| G2 fails (BLOCKER: P0/P1 missing from triage) | REJECTED |
| G1 fails (HIGH: modes not covered) | NEEDS_REWORK |
| G3 fails (HIGH: priority inversions or missing P0 justification) | NEEDS_REWORK |
| G4 fails (HIGH: capacity violated or XL in sprint) | NEEDS_REWORK |
| G5 fails (HIGH: undetected near-duplicates) | NEEDS_REWORK |
| G6 fails only (MEDIUM: related pairs not flagged) | NEEDS_REWORK |
| All gates pass | APPROVED |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sebastiendegodez/skraft-plugin --plugin skraft-backlog8 skills in this plugin
/backlog-review-lensesUse 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./github-issue-searchUse when finding GitHub issues to work on, exploring a backlog by labels, milestones or assignees, finding issues related to changed files, or writing a triage label or a refinement comment on an existing issue. Covers issue discovery queries, pagination and ranking, and the write route for each host: safe outputs in a GitHub Agentic Workflows run, MCP, or gh. Not for publishing pipeline reports or PR comments./issue-refinementUse when transforming raw issues or feature requests into well-structured user stories with acceptance criteria. Covers user story format, INVEST criteria, acceptance criteria patterns, story splitting techniques, DoR 8-item gate, and 8 antipatterns to detect./issue-triageUse when triaging GitHub issues by assigning labels, priority, effort estimates, or detecting duplicates. Covers triage methodology, label taxonomy, priority frameworks, effort sizing, and sprint proposal construction./planning-review-criteriaUse when reviewing DISCUSS artefacts (stories, acceptance criteria, sprint plans) for INVEST quality, planning coherence, and DoR compliance. Contains gate definitions G1-G8 and scoring rubric for the the backlog-planner review gate lenses./refinement-proposalUse when reviewing one GitHub issue and proposing its refinement as a comment: Definition of Ready check, Fibonacci size and capacity estimate, ready or needs-refinement verdict, a proposed story with domain examples and acceptance criteria, what is vague or non-compliant in the current criteria, checked against a PRD or BRD under docs/ when the issue links one. Runs from the /skraft-refine command or a GitHub Agentic Workflow. Not for refining a whole sprint or triaging a backlog.Other plugins' skills for the same job