Sprint-based game development workflow. Epic/story breakdown, sprint planning, dev-story workflow with story readiness and done criteria. Designed for solo d...
--- name: game-dev-sprint description: > Sprint-based game development workflow. Epic/story breakdown, sprint planning, dev-story workflow with story readiness and done criteria. Designed for solo devs and small teams using agile methodology adapted for game development. triggers: - "plan a sprint" - "start development" - "break down tasks" - "sprint planning" - "agile gamedev" - "user stories" - "development workflow" - "epic breakdown" --- # Game Dev Sprint β Agile Development Workflow ## π― Purpose Translate game design into actionable development work using sprint-based agile methodology adapted for games. Epic/story breakdown, sprint planning, daily workflow, and definition of ready/done. ## π€ Multi-Platform Notes | Platform | Notes | |----------|-------| | **OpenClaw** | Best for maintaining sprint boards and backlog as markdown files. Can create `sprint/` folder with evolving docs. | | **Claude Code** | Can create task lists and mark files as done. Good for tracking in-IDE. | | **Cursor/Windsurf** | Good for task tracking alongside code. | | **GitHub Copilot** | Chat can help break down epics into tasks. Use GitHub Issues for actual tracking. | | **Generic LLM Chat** | Output sprint plans and task breakdowns as lists. User copies to their tracker. | | **Any AI** | All can help with planning and breakdown. Structured output (task lists, tables) works everywhere. | **Integration note:** For real sprint tracking, consider linking to a proper tool (GitHub Projects, Jira, Trello, Notion, HacknPlan). The AI can maintain a text version and sync notes. --- ## π Document Structure Create in `game-dev-studio/sprint/`: ``` sprint/ βββ backlog.md β Full backlog (epics + stories) βββ current-sprint.md β Active sprint βββ done.md β Completed work log βββ retrospective.md β Sprint retrospectives ``` --- ## π¦ Phase 1: Epic & Story Breakdown ### Step 1.1 β Define Epics Ask: > **"What are the major features or systems?"** **Epic** = A large body of work that spans multiple sprints. Break your GDD systems into epics: ``` EPIC-001: Player Movement System EPIC-002: Combat System EPIC-003: Inventory System EPIC-004: Level Design (Forest World) EPIC-005: UI/HUD EPIC-006: Audio Implementation EPIC-007: Save/Load ``` ### Step 1.2 β Break Epics Into Stories A **story** should be: - **INVEST:** Independent, Negotiable, Valuable, Estimable, Small, Testable - **Size:** 1-3 days of work - **Vertical slice:** touches multiple layers (code, data, art) Example breakdown: ``` EPIC-001: Player Movement System βββ STORY-001: Implement basic movement (WASD + input smoothing) βββ STORY-002: Implement jump (variable height) βββ STORY-003: Implement dash mechanic βββ STORY-004: Implement wall jump βββ STORY-005: Add movement particles (dust, trail) βββ STORY-006: Implement movement state machine βββ STORY-007: Tutorial prompt for movement ``` ### Step 1.3 β Story Template ```markdown ### STORY-[number]: [Short description] **Epic:** [EPIC-XXX] **Description:** [As a player, I want to... so that...] **Acceptance Criteria:** - [ ] Criterion 1 - [ ] Criterion 2 - [ ] Criterion 3 **Technical Notes:** - [Implementation details] - [Files to modify] **Dependencies:** - [ ] Depends on STORY-XXX - [ ] Blocking STORY-XXX **Estimate:** [XS / S / M / L / XL] or [story points] ``` --- ## π Phase 2: Sprint Planning ### Step 2.1 β Sprint Parameters Ask: > **"Sprint length?"** > > ``` > 1) 1 week (fast iteration, solo dev) > 2) 2 weeks (standard agile) > 3) 3 weeks (if working part-time) > ``` **For solo devs:** 1-week sprints recommended. Shorter feedback loops. ### Step 2.2 β Capacity Planning For each sprint, calculate: ``` Available hours per week: [hours] Focus factor: 0.7 (admin, meetings, context switching) Effective hours per sprint: [hours/week Γ sprint weeks Γ 0.7] Example: 20h/week Γ 1 week Γ 0.7 = 14 effective hours ``` Then select stories totaling β€ effective hours. ### Step 2.3 β Sprint Goal **One sentence goal:** *"This sprint, we implement the core combat loop with basic enemy AI and damage numbers."* ### Step 2.4 β Sprint Board Template ```markdown # Sprint [Number] β [Goal] **Dates:** [YYYY-MM-DD] β [YYYY-MM-DD] **Velocity:** [planned] points / [actual] points ## Sprint Backlog | Story | Estimate | Status | Owner | |-------|----------|--------|-------| | STORY-001 | 3 pts | π’ Done | [name] | | STORY-002 | 5 pts | π‘ In Progress | [name] | | STORY-003 | 2 pts | βͺ To Do | [name] | | STORY-004 | 8 pts | π΅ Deferred | [name] | ## Definitions ### Story Ready (can start work) - [ ] Acceptance criteria defined - [ ] Dependencies met - [ ] Design decisions made - [ ] Estimated - [ ] Team understands the work ### Story Done (can close) - [ ] Code written - [ ] Code reviewed (if team) - [ ] Unit tests pass - [ ] Manual QA pass - [ ] Runs on target platform - [ ] No regressions introduced ``` --- ## π Phase 3: Dev-Story Workflow For each story, use this workflow: ### Step 3.1 β Start Story 1. Move story to **In Progress** 2. Create a branch: `feature/STORY-XXX-short-name` 3. Read GDD section for context 4. Ask the AI: *"I'm starting STORY-XXX. Can you help me implement [feature]?"* ### Step 3.2 β Implementation Pattern For each story, the AI should: 1. **Understand context** β Read GDD, architecture, and existing code 2. **Plan** β Ask: *"What's the implementation approach?"* 3. **Code** β Write the implementation 4. **Test** β Run or suggest test steps 5. **Commit** β *"Ready to commit. Message: '[meaningful commit message]'"* ### Step 3.3 β Daily Check-in Ask each day: > **"Progress update on STORY-XXX?"** > > ``` > 1) On track β expected to finish this sprint > 2) Blocked β stuck on [issue] > 3) Scope creep β found additional work needed > ``` If blocked, ask: *"What's blocking you?"* and help resolve. If scope creep, ask: *"Should we create a new story for this or is it in scope?"* ### Step 3.4 β Commit Messages ``` [STORY-XXX] Short description - Detail 1 - Detail 2 ``` Examples: ``` [STORY-001] Implement basic player movement - Added InputHandler for WASD movement - Added PlayerController with smoothing - Added speed variable exposed in inspector ``` --- ## β Phase 4: Definition of Ready & Done ### Story Ready Checklist Before a story enters a sprint: - [ ] **Acceptance criteria defined** β measurable pass/fail - [ ] **Design decisions made** β no open questions - [ ] **Dependencies met** β no blocking epics - [ ] **Estimated** β team agrees on size - [ ] **Testable** β someone can verify it works - [ ] **Vertical** β touches enough layers to be meaningful ### Story Done Checklist For a story to be complete: - [ ] **Code implemented** β all acceptance criteria met - [ ] **Builds** β no compile errors - [ ] **Self-tested** β basic QA passed - [ ] **No regressions** β existing features still work - [ ] **Asset integration** β art/audio/assets in place (or placeholder marked) - [ ] **Committed** β code in version control with good commit message - [ ] **Documentation** β any new API/system briefly documented ### Sprint Done Checklist - [ ] All stories meet Definition of Done - [ ] Build compiles and runs on target platform - [ ] Smoke test passed (see `qa-test` skill) - [ ] Backlog updated with any new stories discovered - [ ] Retrospective completed --- ## π Phase 5: Sprint Review & Retrospective ### Sprint Review Template ```markdown # Sprint [Number] Review **Goal:** [sprint goal] ## Demo / Walkthrough [What was built β describe the working features] ## Metrics - **Planned:** [X] stories / [Y] points - **Completed:** [X] stories / [Y] points - **Velocity:** [points per sprint] - **Burndown:** [on track / behind / ahead] ## What shipped - STORY-XXX: [feature] β working - STORY-XXX: [feature] β working ## What didn't ship - STORY-XXX: [reason] β deferred to next sprint ``` ### Retrospective Template ```markdown # Sprint [Number] Retrospective ## What went well π’ - [ ] - [ ] ## What could improve π‘ - [ ] - [ ] ## Action Items - [ ] [Action 1] β owner - [ ] [Action 2] β owner ``` Common retrospective questions: - Did we estimate accurately? - Were there surprises? - Did we have enough context for stories? - Was the Definition of Ready realistic? --- ## π Phase 6: Ongoing Backlog Management ### Backlog Grooming Every sprint, review and update the backlog: - Remove obsolete stories - Split large stories - Reprioritize based on feedback - Update estimates ### Backlog Template ```markdown # Backlog ## Current (Next Sprint) | Priority | Story | Epic | Estimate | |----------|-------|------|----------| | P0 | STORY-XXX | EPIC-XXX | 5 pts | | P1 | STORY-XXX | EPIC-XXX | 3 pts | | P2 | STORY-XXX | EPIC-XXX | 2 pts | ## Future | Priority | Story | Epic | Estimate | |----------|-------|------|----------| | P3 | STORY-XXX | EPIC-XXX | 8 pts | ## Icebox (Someday) | Story | Epic | Notes | |-------|------|-------| | STORY-XXX | EPIC-XXX | Too vague, needs design | ``` --- ## π Phase 7: First Sprint Quick Start For the first sprint, prioritize: 1. **Project setup** (from `setup-engine`) 2. **Core mechanic prototype** (from `prototype`) 3. **1 playable scene** with the core loop 4. **Basic input** with player controller 5. **Build and run** on target platform Then subsequent sprints build from there.
don't have the plugin yet? install it then click "run inline in claude" again.