/skraft-backlog:refinement-proposalfrom skraft-backlog
Reviews a single GitHub issue and produces a refinement comment with Definition of Ready checks, Fibonacci size estimate, ready/needs-refinement verdict, proposed story with domain examples and acceptance criteria, and gap analysis against linked PRD/BRD documents.
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; scripts run unread.
One issue in, one comment out. {skill} is the folder that holds this SKILL.md. Run every
command from the repository root and call the scripts by their path,
node {skill}/scripts/<name>.mjs: docs/ and every relative path are read from the
repository root, never from {skill}. Work in /tmp/gh-aw/agent/skraft-refine/{number}/ in a
GitHub Agentic Workflows run, in .copilot-tracking/skraft-refine/{number}/ otherwise; call it
{work}.
Load before step 4: issue-refinement, issue-triage, github-issue-search. Load before
step 5: planning-review-criteria, backlog-review-lenses.
node {skill}/scripts/refine-marker.mjs check --repo <owner/repo> --issue <number> [--force]
todo=false → answer with its reason and stop. Pass --force only when the user asked for it.
Read title, body, labels and comments through github-issue-search. Save the issue as JSON
with at least title and body to {work}/issue.json.
Write every sentence you produce — story, examples, criteria, notes, defects, gaps — in the
language of the issue's title and body; when they differ, the body's. Set language to its
two-letter code (fr, en, es…). Never translate quoted text from the issue.
node {skill}/scripts/resolve-docs.mjs --issue-file {work}/issue.json --docs docs and
copy its output into docs. Read the used documents only, and list in docs.gaps where
the issue contradicts them or misses a rule they state. Never read or argue from a
candidates entry: it is listed for the user to confirm.issue-refinement, each
pass or a note naming what is missing.acDefects entry per problem, quoting the criterion —
vague (two readings, no threshold), not testable, duplicate, technical (HTTP codes, class
names, endpoints), antipattern, breaks INVEST; missing when the issue has none.personaInferred: true when the issue
does not name it), at least 3 domain examples with real values taken from the issue, its
comments and the used documents, and at least 3 Given/When/Then criteria, each with the
example it comes from. Add no business rule the issue or a used document does not state:
name the open question in a dor note instead.size.points with its
justification; above 8, a size.split into stories of 8 or less.triage.type and triage.priority per issue-triage; related: up to 5 open issues
found with 2–3 domain terms of the title, classified EXACT / NEAR / RELATED.Write {work}/proposal.json per the proposal schema, then:
node {skill}/scripts/check-proposal.mjs --proposal {work}/proposal.json
Exit 2 lists the problems: fix them and re-run until it exits 0. Never compute readiness, the DoR tally or the days yourself: the scripts do.
Run the refine review of backlog-review-lenses: dispatch planning-invest-lens,
planning-ac-quality-lens and planning-dor-lens, each with only its inputs in the refine
column of planning-review-criteria, then review-verdict.mjs --phase refine. On
NEEDS_REWORK or REJECTED, revise proposal.json with the script's blocking findings and
review again — two attempts in all. Record review.verdict, review.attempts, and, when the
last verdict is not APPROVED, its blocking findings in review.unresolved.
node {skill}/scripts/render-comment.mjs --proposal {work}/proposal.json --issue-file {work}/issue.json --out {work}/comment.md
Post {work}/comment.md as one new comment through the write route of
github-issue-search, byte for byte, on issue {number}: its last line is the
<sub>skraft-refine v=… hash=…</sub> marker the next run
looks for. Add no label unless the caller asked for labels.
Answer with one line: readiness, size, and the comment link when the host returned one.
references/proposal-schema.md (opens in a new tab)scripts/check-proposal.mjs (opens in a new tab)scripts/labels.mjs (opens in a new tab)scripts/refine-marker.mjs (opens in a new tab)scripts/render-comment.mjs (opens in a new tab)scripts/resolve-docs.mjs (opens in a new tab)scripts/version.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./discovery-review-criteriaUse when reviewing DISCOVER artefacts (triage reports, sprint proposals) for completeness, prioritization quality, and duplicate handling. Contains gate definitions G1-G6 and scoring rubric for the lenses of the backlog-discoverer review gate./Other plugins' skills for the same job