{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-sprint-plan-9ff1cd634641","title":"Generate Sprint Plan for Agile Development","summary":"Create or update a sprint plan based on current milestones, completed work, and team capacity. The plan must reference existing stories and ensure that the sprint goal can be demonstrated by the end of the sprint.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-sprint-plan-9ff1cd634641","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-sprint-plan-9ff1cd634641","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-sprint-plan-9ff1cd634641.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-sprint-plan-9ff1cd634641\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before generating a new sprint plan, ensure that the required stories exist under `production\/epics\/` and that the sprint goal can be demonstrated by the end of the sprint. If no QA plan exists, this must be explicitly surfaced.","instructions":"---\nname: sprint-plan\ndescription: \"New or updated sprint plan from the current milestone, completed work, and available capacity.\"\nargument-hint: \"[new|update|status] [--review full|lean|solo]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Edit, Agent, AskUserQuestion, Bash(bash \"*\/.claude\/skills\/sprint-plan\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *), Bash(ls production\/sprints\/*)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys review_mode,automation,story_granularity,workflow`\n\nResolved above \u2014 use as-is; `--review` overrides `review_mode`. No block \u2192\ndefaults in `.claude\/docs\/config-resolution.md`.\n\n# Sprint Plan\n\n\n## Existing Sprints\n\n!`ls production\/sprints\/ 2>\/dev\/null || echo \"(no production\/sprints\/ directory yet)\"`\n\nResolved before this skill runs \u2014 use it to identify the previous sprint in\nPhase 1 rather than re-globbing.\n\n---\n\n## Phase 0: Parse Arguments\n\nExtract the mode argument (`new`, `update`, or `status`).\n\nSee `.claude\/docs\/director-gates.md` for the full check pattern. Individual gate definitions live in `.claude\/docs\/director-gates\/[gate-id].md` \u2014 the spawned agent reads its own gate file; do not read it in the parent session.\n\n\nEvery `AskUserQuestion` call follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt).\n\n**`story_granularity`** \u2014 it sets how\nmany stories to allocate per sprint, scaled by velocity: **2\u20134** at `coarse` (the default, via `rigor: minimal`),\n**6\u201310** at `balanced` (`rigor: standard`), **15\u201325** at `fine`. A Ready backlog\nsmaller than the range is planned whole \u2014 never padded with invented stories.\n\n**Review mode check** (before gates run):\n- Use the review mode from the resolved block above (`--review` overrides it\n  for this run) \u2014 do not re-resolve it, and do not ask for it. With nothing\n  configured it follows `modes.rigor`: `solo` at `minimal`, `lean` at `standard`.\n- **Never write a review mode** \u2014 not to `project.yaml`, not to\n  `production\/review-mode.txt`. `modes.review_mode` is one of the knobs\n  `modes.rigor` fronts: pinning it in `project.yaml` shadows the rigor\n  expansion, and the legacy file sits *above* that expansion, so either write\n  would freeze director-review depth for good. `--review` covers a one-off. If\n  the user wants a different depth to persist, point them to changing\n  `modes.rigor` (`\/project-settings modes.rigor=<minimal|standard|full>`), or to pinning\n  it on purpose with `\/project-settings --local modes.review_mode=<full|lean|solo>` (a\n  personal override in `project.local.yaml`).\n\n---\n\n## Phase 1: Gather Context\n\n1. **Read the current milestone** from `production\/milestones\/` **if it exists**.\n   No skill writes this directory \u2014 it is authored by hand from\n   `.claude\/docs\/templates\/milestone-definition.md`. On the majority of projects\n   it is absent, which is the normal state, not a gap: note \"no milestone\n   defined \u2014 planning against the story backlog alone\" and continue. Never block\n   sprint planning on it, and never infer a milestone from the sprint files.\n\n2. **Read the previous sprint** (if any) from `production\/sprints\/` to\n   understand velocity and carryover. In `new` mode:\n   - The new sprint's number `[N]` is the highest `sprint-NNN.md` in the\n     Existing Sprints listing plus one (`001` when there is none). It is the\n     `[N]` in the plan's title, its QA plan path and the write ask.\n   - Every story of the previous sprint that is not `Complete` \u2014 by its status\n     in `production\/sprint-status.yaml`, else its story file's Status line \u2014\n     goes in the Carryover table with a Reason and a New Estimate. It appears\n     only there, never again as new Must Have \/ Should Have \/ Nice to Have work.\n\n3. **Find the stories to plan** \u2014 this is the actual backlog, and it is the one\n   input this phase cannot do without:\n   ```\n   Glob production\/epics\/**\/story-*.md\n   Grep pattern=\"^> \\*\\*Status\\*\\*\" glob=\"production\/epics\/**\/story-*.md\" output_mode=\"content\"\n   ```\n   Stories live at `production\/epics\/[epic-slug]\/story-NNN-[slug].md` \u2014 that is\n   where `\/create-stories` writes them and where `\/dev-story` looks for them. Plan\n   from the ones marked `Ready`. Use the grep rather than reading each story: at\n   this stage you need status and title, not the body.\n\n   If the glob returns nothing: \"No stories found under `production\/epics\/`. Run\n   `\/create-stories` first (at `standard`\/`full`, `\/create-epics` before it).\"\n   Do not proceed to invent work items \u2014 a sprint plan that references stories\n   which do not exist cannot be implemented. Verdict: **BLOCKED** \u2014 no stories to plan.\n\n4. **Scan design documents** in `design\/gdd\/` for additional context on the\n   features those stories implement. Read each by section: find the headings you\n   need with the Grep tool (pattern `^#`, content mode) and Read those ranges\n   with offset and limit. At `workflow: minimal` there are no\n   per-system GDDs \u2014 use `design\/game-brief.md` instead, and do not treat the\n   absent GDDs as missing work. (Note: `\/sprint-plan` is **optional** at\n   `minimal` \u2014 the brief's Build order already is the plan.)\n\n5. **Check the risk register** at `production\/risk-register\/` **if it exists**.\n   Like the milestone above, no skill writes it \u2014 entries are authored by hand\n   from `.claude\/docs\/templates\/risk-register-entry.md`. If the directory is\n   absent, say so once (\"no risk register \u2014 risks assessed from the sprint\n   contents only\") rather than skipping risk assessment silently.\n\n---\n\n## Phase 2: Generate Output\n\nFor `new`:\n\n**Generate a sprint plan** following this format and present it to the user. Do not ask to write yet \u2014 the gate phases run first and may require revisions before the file is written: the producer feasibility gate (Phase 4, spawned only in `full` review mode \u2014 skipped in `lean`\/`solo`) and the QA plan check (Phase 5, all modes).\n\n```markdown\n# Sprint [N] \u2014 [Start Date] to [End Date]\n\n## Sprint Goal\n[One sentence describing what this sprint achieves toward the milestone]\n\n## Goal Prerequisites\n| Needed to show the goal | Status |\n|-------------------------|--------|\n\n## Capacity\n- Total days: [X]\n- Buffer (20%): [Y days reserved for unplanned work]\n- Available: [Z days]\n\n## Tasks\n\n### Must Have (Critical Path)\n| ID | Task | Agent\/Owner | Est. Days | Dependencies | Acceptance Criteria |\n|----|------|-------------|-----------|-------------|-------------------|\n\n### Should Have\n| ID | Task | Agent\/Owner | Est. Days | Dependencies | Acceptance Criteria |\n|----|------|-------------|-----------|-------------|-------------------|\n\n### Nice to Have\n| ID | Task | Agent\/Owner | Est. Days | Dependencies | Acceptance Criteria |\n|----|------|-------------|-----------|-------------|-------------------|\n\n## Carryover from Previous Sprint\n| Task | Reason | New Estimate |\n|------|--------|-------------|\n\n## Risks\n| Risk | Probability | Impact | Mitigation |\n|------|------------|--------|------------|\n\n## Dependencies on External Factors\n- [List any external dependencies]\n\n## Definition of Done for this Sprint\n- [ ] All Must Have tasks completed\n- [ ] All tasks pass acceptance criteria\n- [ ] QA plan exists (`production\/qa\/qa-plan-[sprint-slug]-[date].md`, from `\/qa-plan sprint`)\n- [ ] All Logic\/Integration stories have passing unit\/integration tests\n- [ ] Smoke check passed (`\/smoke-check sprint`)\n- [ ] QA sign-off report: APPROVED or APPROVED WITH CONDITIONS (`\/team-qa sprint`)\n- [ ] No S1 or S2 bugs in delivered features\n- [ ] Design documents updated for any deviations\n- [ ] Code reviewed and merged\n```\n\n### Check the goal's prerequisites\n\nBefore you present a `new` plan, check that its goal can be shown working by the\nsprint's end. A goal can need something no story builds: a playtest needs a\nscene to run in. This check reports and never blocks. It adds no question and no\nstory of its own.\n\n1. **Settle the goal.** Quote the milestone's goal when there is one; otherwise\n   write one sentence from the stories picked.\n2. **List what showing it needs.** A goal the player can see or play (a playable\n   loop, a feature working end to end, a playtest) needs the scene or level it\n   runs in and the setting that starts it: `run\/main_scene` in `project.godot`,\n   the scene list in Unity's `ProjectSettings\/EditorBuildSettings.asset`, or\n   `GameDefaultMap` in Unreal's `Config\/DefaultEngine.ini`. Add any file, scene\n   or system that a picked story's acceptance criteria, notes or dependencies\n   name and no picked story creates. A goal with nothing to run or show (logic\n   and tests only) needs none.\n3. **Check each one.** It is covered when it exists in the project or a picked\n   story builds it. Find scenes by the engine's scene files (`engine.name` in\n   `project.yaml`): `*.tscn` for Godot, `Assets\/**\/*.unity` for Unity,\n   `Content\/**\/*.umap` for Unreal. Find anything else by the path or name the\n   stories use. With no engine set, check by name only and say the scene search\n   did not run.\n4. **Fill in the Goal Prerequisites section**: each need with `exists`,\n   `built by [story ID]` or **missing**, or the single row \"None: the goal has\n   nothing to run or show\". Copy each missing one into Risks. When you present\n   the plan, name each missing one and the three fixes open to the user: pull in\n   the Ready story that builds it (name it, and say if that takes the sprint past\n   its `story_granularity` range or needs stories it depends on), write a story\n   for it first with `\/create-stories`, or reword the goal to promise only what\n   the sprint can show. Give them as part of the plan,\n   not as a question: the write ask stays the only question, and a user who\n   wants a fix says so in reply to it. **Report the gap; do not solve it.** A\n   missing prerequisite stays missing in this plan, however small it looks (a\n   flat test level, an input map): plan no task for it and put none of its work\n   into a picked story, not even as setup. Its work needs a story first, which\n   is `\/create-stories`' job. Never add a story the backlog does not\n   hold, and never widen a picked story or edit a story file to cover the gap.\n\nFor `update`:\n\n**Update an existing sprint plan**:\n\n1. Read the most recent sprint plan from `production\/sprints\/`.\n2. Present the current story list with their current statuses from `production\/sprint-status.yaml`.\n3. Ask the user what to change: stories to add, remove, reprioritize, or re-estimate. Use `AskUserQuestion` to gather changes.\n4. Apply the changes and re-present the full revised plan for review. If the\n   goal or the Must Have stories changed, check the goal's prerequisites again first.\n5. Re-run the producer feasibility gate (Phase 4) on the revised plan.\n6. Write the updated markdown plan and yaml together (same approval as `new` mode).\n\nNote: `update` mode does not reset story statuses. Stories already marked `in-progress` or `done` keep their status. Only `backlog` and `ready-for-dev` stories can be removed or reprioritized freely.\n\nFor `status`:\n\n**Generate a status report**:\n\n```markdown\n# Sprint [N] Status -- [Date]\n\n## Progress: [X\/Y tasks complete] ([Z%])\n\n### Completed\n| Task | Completed By | Notes |\n|------|-------------|-------|\n\n### In Progress\n| Task | Owner | % Done | Blockers |\n|------|-------|--------|----------|\n\n### Not Started\n| Task | Owner | At Risk? | Notes |\n|------|-------|----------|-------|\n\n### Blocked\n| Task | Blocker | Owner of Blocker | ETA |\n|------|---------|-----------------|-----|\n\n## Burndown Assessment\n[On track \/ Behind \/ Ahead]\n[If behind: What is being cut or deferred]\n\n## Emerging Risks\n- [Any new risks identified this sprint]\n```\n\n---\n\n## Phase 3: Prepare Sprint Status File\n\nAfter generating a new sprint plan, also prepare the `production\/sprint-status.yaml` content.\nThis is the machine-readable source of truth for story status \u2014 read by\n`\/sprint-status`, `\/story-done`, and `\/next-step` without markdown parsing.\n\n**Do not write the yaml yet** \u2014 hold it in context. The producer feasibility gate (Phase 4, `full` review mode only) may revise the story list; the QA plan check (Phase 5) runs in every mode. Both files are written together after Phase 5 in a single write approval.\n\nFormat:\n\n```yaml\n# Auto-generated by \/sprint-plan. Updated by \/story-done and \/dev-story.\n# DO NOT edit manually \u2014 use \/story-done to update story status.\n#\n# Status value mapping (yaml \u2194 story file Status field):\n#   backlog        \u2194  Not Started\n#   ready-for-dev  \u2194  Ready\n#   in-progress    \u2194  In Progress\n#   review         \u2194  In Review\n#   done           \u2194  Complete\n#   blocked        \u2194  Blocked\n\nsprint: [N]\ngoal: \"[sprint goal]\"\nstart: \"[YYYY-MM-DD]\"\nend: \"[YYYY-MM-DD]\"\ngenerated: \"[YYYY-MM-DD]\"\nupdated: \"[YYYY-MM-DD]\"\n\nstories:\n  - id: \"[epic-story, e.g. 1-1]\"\n    name: \"[story name]\"\n    file: \"[production\/epics\/[epic-slug]\/story-NNN-[slug].md]\"   # the real path, verbatim from the Glob above\n    priority: must-have        # must-have | should-have | nice-to-have\n    status: ready-for-dev      # backlog | ready-for-dev | in-progress | review | done | blocked\n    owner: \"\"\n    estimate_days: 0\n    blocker: \"\"\n    completed: \"\"\n```\n\nInitialize each story from the sprint plan's task tables:\n- Must Have tasks \u2192 `priority: must-have`, `status: ready-for-dev`\n- Should Have tasks \u2192 `priority: should-have`, `status: backlog`\n- Nice to Have tasks \u2192 `priority: nice-to-have`, `status: backlog`\n- Carryover rows \u2192 the story's previous `priority`, and the `status` it has now\n\nFor `update`: read the existing `sprint-status.yaml`, carry over statuses for\nstories that haven't changed, add new stories, remove dropped ones.\n\n---\n\n## Phase 4: Producer Feasibility Gate\n\n**Review mode check** \u2014 apply before spawning PR-SPRINT:\n- `solo` \u2192 skip. Note: \"PR-SPRINT skipped \u2014 Solo mode.\" Proceed to Phase 5 (QA plan gate).\n- `lean` \u2192 skip (not a PHASE-GATE). Note: \"PR-SPRINT skipped \u2014 Lean mode.\" Proceed to Phase 5 (QA plan gate).\n- `full` \u2192 spawn as normal.\n\nBefore finalising the sprint plan, spawn `producer` via `Agent` using gate **PR-SPRINT** (`.claude\/docs\/director-gates\/pr-sprint.md`).\n\nPass: proposed story list (titles, estimates, dependencies), total team capacity in hours\/days, any carryover from the previous sprint, milestone constraints and deadline, and any missing goal prerequisite.\n\nPresent the producer's assessment.\n\nIf UNREALISTIC: revise the story selection (defer stories to Should Have or Nice to Have) and re-present the updated plan, then continue to Phase 5.\n\nIf NOT ASSESSED: name the missing input \u2014 it is not REALISTIC. Supply it and re-run PR-SPRINT, or record `NOT ASSESSED \u2014 [missing input]` for PR-SPRINT in the plan's header (`.claude\/docs\/director-gates.md`) and continue to Phase 5, repeating it at the write ask.\n\nIf CONCERNS, use `AskUserQuestion`:\n- Prompt: \"Producer flagged concerns with this sprint plan. How do you want to proceed?\"\n- Options:\n  - `[A] Proceed as planned \u2014 I accept the risk`\n  - `[B] Adjust scope \u2014 defer some Should Have stories`\n  - `[C] Extend the sprint timeline`\n\nIf [A]: continue to Phase 5.\nIf [B]: revise the story list, re-present the updated plan, then continue to Phase 5.\nIf [C]: adjust sprint dates and capacity, re-present the updated plan, then continue to Phase 5.\n\nAfter handling the producer's verdict, continue to Phase 5. The write comes at\nits end, so the file you approve already holds everything Phase 5 adds.\n\n---\n\n## Phase 5: QA Plan Gate\n\nBefore closing the sprint plan, check whether a QA plan exists for this sprint.\n\nUse `Glob` for `production\/qa\/qa-plan-*.md` \u2014 `\/qa-plan` writes `qa-plan-[sprint-slug]-[date].md` \u2014 and keep a file whose name or content references this sprint number.\n\n**If a QA plan is found**: note it in the sprint plan output \u2014 \"QA Plan: `[path]`\" \u2014 and proceed.\n\n**If no QA plan exists**: do not silently proceed. Surface this explicitly:\n\n> \"This sprint has no QA plan. A sprint plan without a QA plan means test requirements are undefined \u2014 developers won't know what 'done' looks like from a QA perspective, and the sprint cannot pass the Production \u2192 Polish gate without one.\n>\n> Run `\/qa-plan sprint` now, before starting any implementation. It takes one session and produces the test case requirements each story needs.\"\n\nUse `AskUserQuestion`:\n- Prompt: \"No QA plan found for this sprint. How do you want to proceed?\"\n- Options:\n  - `[A] Run \/qa-plan sprint now \u2014 I'll do that before starting implementation (Recommended)`\n  - `[B] Skip for now \u2014 I understand QA sign-off will be blocked at the Production \u2192 Polish gate`\n\nWait for this answer before the write ask below \u2014 the two are separate questions.\nAn answer here is never approval to write, even \"yes, go ahead\" or \"once the plan is written\":\nask the write question next and write only after a yes to it.\n\nIf [A]: note in the plan \"QA plan: run `\/qa-plan sprint` before implementation begins.\"\nIf [B]: add a warning block to the sprint plan document:\n\n```markdown\n> \u26a0\ufe0f **No QA Plan**: This sprint was started without a QA plan. Run `\/qa-plan sprint`\n> before the last story is implemented. The Production \u2192 Polish gate requires a QA\n> sign-off report, which requires a QA plan.\n```\n\n### Write the plan\n\nAsk: \"May I write the sprint plan to `production\/sprints\/sprint-NNN.md` (`[N]` zero-padded to three digits) and\n`production\/sprint-status.yaml`?\" Ask it even when an earlier answer sounded like a yes. If yes, write both files (creating directories as\nneeded). Verdict: **COMPLETE** \u2014 sprint plan and status file created. If no:\nVerdict: **BLOCKED** \u2014 user declined write.\n\nAfter writing, add:\n\n> **Scope check:** If this sprint includes stories added beyond the original epic scope, run `\/scope-check [epic]` to detect scope creep before implementation begins.\n\nIf the user chose `Run \/qa-plan sprint now` in Phase 5, close with \"Sprint plan written. Run `\/qa-plan sprint` next \u2014 then begin implementation.\"\n\n---\n\n## Phase 6: Next Steps\n\nAfter the sprint plan is written and QA plan status is resolved:\n\n- `\/qa-plan sprint` \u2014 **required before implementation begins** \u2014 defines test cases per story so developers implement against QA specs, not a blank slate\n- `\/story-readiness [story-file]` \u2014 validate a story is ready before starting it\n- `\/dev-story [story-file]` \u2014 begin implementing the first story\n- `\/sprint-status` \u2014 check progress mid-sprint\n- `\/scope-check [epic]` \u2014 verify no scope creep before implementation begins\n\n**Review mode configuration:** All director gates (producer feasibility, QA review, code review) respect the project review mode, resolved in the block at the top of this skill (`--review` flag \u2192 `project.local.yaml` \u2192 `modes.review_mode` in `project.yaml` \u2192 `production\/review-mode.txt` \u2192 the `modes.rigor` expansion, which yields `lean` at standard rigor and `solo` at minimal). This skill never asks for it or writes it; Phase 0 says where to point a user who wants a different depth. The mode is one of:\n- `lean` \u2014 skip non-phase-gate director gates (the `rigor: standard` value)\n- `full` \u2014 run all director gates as spawned sub-agents\n- `solo` \u2014 skip all gate spawning unconditionally (single developer, no review)\n\n`modes.review_mode` in `project.yaml` is the primary source; `production\/review-mode.txt` is the legacy fallback. Both are read by `\/sprint-plan`, `\/story-readiness`, `\/story-done`, and other gate-using skills at startup.\n","use_cases":["Create a new sprint plan for the next development cycle","Update an existing sprint plan with new goals and stories","Review sprint status and carryover tasks from previous sprints"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/sprint-plan\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-17T19:46:43.000000Z","updated_at":"2026-11-18T12:52:01.000000Z","seo_title":"Generate Sprint Plan for Agile Development","seo_description":"Create or update sprint plans with current milestone, completed work, and team capacity. Plan sprints efficiently with automated tools, ensuring that the sprint goal can","seo_keywords":["sprint planning tool","agile sprint plan","sprint status update","carryover tasks management","sprint goal setting"]}}