backlog-refinement
БесплатноЗапускает вложенные скриптыНе проверенGrade stories against INVEST, split them vertically or as tracer bullets, and enforce Definition of Ready and Done. Use when refining a backlog, splitting an…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Backlog Refinement Expert
Overview
Refinement is the most under-invested ritual in agile teams. Stories arrive at sprint planning oversized, ambiguous, or strategically disconnected, and the team spends planning meetings doing what should have happened the week before. This skill is the refinement playbook: grade stories against INVEST, split them vertically (so each slice ships value end-to-end), and keep a working Definition of Ready and Definition of Done that prevent half-baked work from entering or leaving a sprint.
The skill includes a Python scorer (refinement_scorer.py) that grades each story in a JSON backlog against the six INVEST criteria and outputs a readiness score (0-6) per story. Stories scoring 5-6 are READY; 3-4 are REFINE (targeted refinement); below 3 are SEND_TO_DISCOVERY.
This complements wwas/ (Why-What-Acceptance format) and job-stories/ (JTBD format). Either format produces stories; this skill grades them and gets them sprint-ready.
Core Capabilities
- INVEST grading — score each story across Independent, Negotiable, Valuable, Estimable, Small, Testable (0-6) and triage by score.
- Vertical story splitting — the 9 Lawrence recipes + SPIDR taxonomy; avoid horizontal (layer/team/sprint) splits.
- Tracer-bullet slicing — for new territory, cut the thinnest end-to-end slice first, then widen it in slices with explicit blocking links.
- Definition of Ready / Done — input and output quality gates with enforceable templates.
- Refinement session structure — cadence, candidate volume, triage routing into discovery or planning.
When to Use
- Weekly refinement session -- grade next-sprint candidates against INVEST and split anything too large.
- Backlog hygiene sweep -- re-grade the top 30 items and retire what no longer connects to strategy.
- Sprint planning input -- confirm all candidates pass DoR before planning.
- New team onboarding -- establish a shared definition of "ready" and "done."
- Velocity diagnosis -- erratic sprint completion usually traces to refinement quality.
When NOT to use: pure technical task lists with no user-facing outcome (use a simpler checklist); ad-hoc bug triage (different lifecycle); unscoped work (send to discovery/ first).
Clarify First
Before grading the backlog, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- The stories: the actual backlog items in the user's words, with their acceptance criteria (drives every INVEST score and which slicing recipe applies).
- Team's Definition of Ready: what "ready" means for THIS team (DoR must be team-authored to be enforced; sets the promote/refine/return gate).
- Sprint size / "small enough" bar: sprint length and rough capacity (sets how far a story must be split before it counts as Small).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Quick Start
python scripts/refinement_scorer.py --input backlog.json --format markdown # grade a backlog
python scripts/refinement_scorer.py --demo --format markdown # inspect demo + output
Triage by score: 5-6 promote to Refined, 3-4 discuss and fix the failing criteria, 0-2 send back to discovery.
Tracer-Bullet Slicing [RECOMMENDED]
Use this splitting technique when a story or epic is new territory — a new integration, data
flow or feature type — where the biggest risk is whether the layers connect at all. Plain
vertical slicing makes each slice cross every layer; tracer-bullet slicing also fixes the
order: the first slice is the thinnest path through every layer, and each later slice widens
it. Full guide with example and red flags: references/invest-and-splitting-guide.md, Part 7.
- Write the end-to-end behaviour as one sentence a user could check.
- Strip it to the happy path, one input, defaults, minimal UI — but keep every layer, including a test. That is slice 1.
- Verify slice 1 is demoable on its own; if not, it is a layer, not a slice.
- List the widening slices, each adding back one dimension (errors, inputs, roles, performance). Split those further with the Lawrence patterns.
- Give each slice blocking links only to slices it cannot be built or verified without. After slice 1 lands, most widening slices should be ready in parallel.
- Grade every slice with the scorer; slice 1 should score 5-6 on INVEST like any other story.
Skip it for well-trodden work (split by the Lawrence patterns directly), for wide mechanical renames (split as expand, migrate, contract), and for pure unknowns (spike first).
Anti-Patterns
Acceptance criteria written as implementation steps
Mistake: ACs read "POST /searches returns 201" and "SearchPanel component renders". **Why it
Установить backlog-refinement в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл backlog-refinement?
Grade stories against INVEST, split them vertically or as tracer bullets, and enforce Definition of Ready and Done. Use when refining a backlog, splitting an oversized story, or checking sprint readiness.
Как установить скилл backlog-refinement?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл backlog-refinement запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub