sprint-planning
Use when the user wants to plan a sprint before it starts — set the sprint goal, pull committed scope from the backlog and epic tasks.md files, account for carry-over and capacity, and record dependencies, risks, and the sprint definition of done at docs/work/sprint-{id}/plan.md. Triggers on "plan sprint 3", "what should we commit to", "set up the next sprint", "sprint planning". Do NOT use to review a finished sprint (sprint-retro), write stories or task Gherkin (tasks), groom the backlog (backlog-refine), re-sequence delivery phases (roadmap), or sign off an epic (validate).
- License 许可
- MIT
- 最近更新
- 2026-08-20
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- sprint-planning
- license
- MIT
- metadata
- { "owner": "delivery", "author": "Carinya Parc", "version": "1.0", "work_shape": "planning", "output_class": "delivery-artefact" }
- description
- Use when the user wants to plan a sprint before it starts — set the sprint goal, pull committed scope from the backlog and epic tasks.md files, account for carry-over and capacity, and record dependencies, risks, and the sprint definition of done at docs/work/sprint-{id}/plan.md. Triggers on "plan sprint 3", "what should we commit to", "set up the next sprint", "sprint planning". Do NOT use to review a finished sprint (sprint-retro), write stories or task Gherkin (tasks), groom the backlog (backlog-refine), re-sequence delivery phases (roadmap), or sign off an epic (validate).
- allowed-tools
- Read Write Edit Glob Grep
- argument-hint
- <sprint-id> [--capacity <points>] [--context <notes>]
02 资源文件 1
- 资产文件assets/sprint-plan.template.md3.1 KB
03 SKILL.md 正文
Sprint planning
You are a Delivery Lead preparing a sprint plan before the sprint starts. Your job is to produce a commitment the team can actually meet — not a wish list. Assume the backlog is more optimistic than the team's velocity supports, and that carry-over from the last sprint has not been accounted for.
Read delivery-conventions.md for artefact boundaries and work item path resolution.
Artefact
Default path: docs/work/sprint-{id}/plan.md (e.g. docs/work/sprint-3/plan.md).
Resolve {id} from the argument — 3, sprint-3, and 2026-W14 are all
valid. If the user names a different path under docs/work/, use it.
Inputs
| Input | Location | Required |
|---|---|---|
| Product backlog | docs/product/backlog.md, or the tracker |
Yes |
| Work item tasks | docs/work/{work-id}/tasks.md |
Yes |
| Roadmap | docs/product/roadmap.md |
Recommended |
| Prior retrospective | docs/work/sprint-{id-1}/retrospective.md |
Recommended |
| Prior plan | docs/work/sprint-{id-1}/plan.md |
Recommended |
| Work item design | docs/work/{work-id}/tdd.md |
If relevant |
| Sprint dates, capacity | argument or --context |
Yes |
Steps
- Resolve the sprint. Id, dates, and output path. Read the prior sprint's plan and retrospective before anything else — they define what is already spoken for.
- Establish capacity. Use
--capacitywhen given. Otherwise derive it from the prior sprint's delivered points, and say which sprint you derived it from. If no velocity history exists, say so and record capacity asTBD— do not invent a number. - Account for carry-over first. Any task in the prior plan not marked done
in its
tasks.mdis carry-over. It consumes capacity before new work is considered. List it explicitly; do not silently re-commit it. - Schedule retrospective actions. Read the prior retrospective's action table. Each action is either committed into this sprint or explicitly deferred with a reason. Actions that appear in neither list are being dropped silently — that is the failure mode this step exists to prevent.
- Set the sprint goal. One sentence, one outcome, stated so a third party could tell at sprint end whether it was met. Two goals joined by "and" are two sprints.
- Select scope. Pick work items that serve the roadmap's current phase. For
each, record its work item ID, title, work path, and phase. Pull candidate
tasks from each work item's
tasks.md. - Commit. Assign estimates and owners. Committed work must fit inside capacity minus carry-over. Anything beyond that is stretch, and must be labelled stretch — not committed.
- Check dependencies. For every committed task, name what it needs that the team does not control, with an owner and a status. An unnamed dependency becomes an invisible blocker mid-sprint.
- Record risks, out of scope, and the sprint definition of done.
- Write the plan using assets/sprint-plan.template.md, then report the summary in chat.
Quality rules
- The sprint goal must be a single testable outcome
- Every committed task must already exist in an epic's
tasks.md, under a story with at least one Gherkin scenario — if it does not, run tasks first and say so - Committed points must not exceed capacity minus carry-over; if they do, cut scope rather than adjusting the capacity figure to fit
- Every committed task needs an estimate and an owner;
TBDowner is acceptable for an unassigned queue,TBDestimate is not - Carry-over is listed before new work, not merged into it
- Every prior retrospective action is either committed or deferred with a reason
- Out of scope must name the tempting adjacent work the team is deliberately not doing — an empty out-of-scope section means the boundary was never drawn
Negative constraints
A sprint plan MUST NOT:
- Write or rewrite Gherkin acceptance criteria →
docs/work/{work-id}/tasks.mdvia tasks - Add, split, or re-prioritise epics →
docs/product/backlog.mdvia tasks or backlog-refine - Re-sequence delivery phases or change exit criteria →
docs/product/roadmap.mdvia roadmap - Add architecture or design detail →
solution.mdortdd.md - Invent velocity, capacity, or team availability not supplied in the context
- Commit tasks that are not sprint-ready — run backlog-refine on the epic first and report the gap instead of committing anyway
- Record a commitment the capacity does not support in order to match a stakeholder expectation
Output
Write docs/work/sprint-{id}/plan.md from the template. Report in chat:
- Sprint goal and dates
- Capacity — the figure used and where it came from
- Carry-over — tasks brought forward and points consumed
- Committed — task count and points, per epic
- Stretch — what is explicitly not committed
- Retrospective actions — scheduled or deferred, with reasons
- Dependencies and risks — anything that could break the commitment
- Gaps — tasks that were not sprint-ready, and what to run to fix them
04 同仓库更多 Skills
skill-name
Replace with description of the skill and when the agent should use it.
validate
Use when the user wants final completion sign-off on any work item — epic, story, bug, or spike: every task in docs/work/{work-id}/tasks.md verified against Gherkin AC and, for an epic, roadmap phase exit criteria. Triggers on "validate CHK01", "validate JIRA-123", "is this story done", "sign off the epic". Builds an acceptance matrix with evidence, updates task and work-item status, and produces a validation report. Do NOT use for PR or branch code review (code-review), writing tasks (tasks), sprint retrospective (sprint-retro), or drafting the breakdown (tasks) or the technical design (tdd).
ux-design-review
Use when the user wants a UX or design review of implemented UI — components, pages, or flows — against its design source, covering accessibility (WCAG 2.2 AA), interaction states, responsiveness, design fidelity, and design-system conformity. Triggers on "review the checkout page", "check this UI before I ship it", "is this accessible", "does this match the design". Live-environment-first: drives the rendered UI in a real browser where possible. Works with any framework or design tooling. Produces a structured verdict with a coverage statement; writes no source changes. Do NOT use to address or fix UX findings (ux-design-fix), for code correctness or security review (code-review), to review a tdd.md document (docs-review), or to implement features (implement).
ux-design-fix
Use when the user wants to change how existing UI looks or behaves — fix spacing, colour, layout, states, responsiveness, or accessibility on a component, page, or flow. Takes either a ux-design-review output (scoped by action tier) or a direct instruction. Triggers on "the summary card padding is off", "the modal breaks on mobile", "make the focus ring visible", "fix the UX review findings", "this button looks wrong". Fixes via design tokens and library components rather than local patches, re-renders to verify visually, and re-checks neighbours for shift. Do NOT use to build new UI, screens, or flows (implement), to review UI without changing it (ux-design-review), to fix code-review findings (code-review-fix), or to redesign a component or flow.
tdd
Use when the user wants a technical design document (TDD) for any work item — epic, story, bug, or spike — at docs/work/{work-id}/tdd.md, in skeleton or full mode. Pass a work item ID (CHK01, or a Linear/Jira/GitHub key like JIRA-123). Resolves the source system and writes at whatever level the ID names — a story gets its own tdd.md beside its parent epic's, not nested inside it. Cite solution.md — do not re-narrate architecture. Triggers on "tdd CHK01", "write the technical design for JIRA-123", "design the epic", "how should we build this story". For reviewing an existing tdd.md, use docs-review instead. Do NOT use for test-driven development — writing a failing test first, red/green/refactor, or any test-authoring task is implement. Do NOT use to write the breakdown itself — stories, tasks, or sub-tasks (tasks), task Gherkin (tasks), system-wide architecture (solution), ADR write (adr), or code implementation (implement).
tasks
Use to decompose anything into delivery work — a product strategy and roadmap into epics, an epic into stories and tasks with Gherkin acceptance criteria, a story into sub-tasks, or an external spec, RFC, or PRD into both in one pass. Resolves the work item's source system (Linear, Jira, GitHub/GitLab issues, or filesystem) and its type first. Writes docs/product/backlog.md and docs/work/{work-id}/tasks.md, or the tracker directly when one is resolved. Triggers on "break this spec into a backlog", "write the epics", "decompose checkout-foundation", "turn this RFC into tickets", "write tasks for CHK01", "write sub-tasks for JIRA-123", "what stories do we need". EARS with --ears. Do NOT use to groom an existing backlog or check sprint readiness (backlog-refine), write technical design at any level (tdd), write architecture (solution), phase the delivery (roadmap), implement code (implement), or sign off a work item (validate).