bmad-method 4.31.0 → 4.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.vscode/settings.json +1 -7
  2. package/CHANGELOG.md +113 -173
  3. package/README.md +47 -0
  4. package/bmad-core/agents/analyst.md +1 -1
  5. package/bmad-core/agents/architect.md +2 -3
  6. package/bmad-core/agents/bmad-master.md +0 -1
  7. package/bmad-core/agents/bmad-orchestrator.md +9 -10
  8. package/bmad-core/agents/dev.md +1 -2
  9. package/bmad-core/agents/pm.md +3 -1
  10. package/bmad-core/agents/po.md +1 -1
  11. package/bmad-core/agents/qa.md +1 -1
  12. package/bmad-core/agents/sm.md +1 -1
  13. package/bmad-core/agents/ux-expert.md +1 -1
  14. package/bmad-core/bmad-core/user-guide.md +0 -0
  15. package/bmad-core/checklists/architect-checklist.md +0 -5
  16. package/bmad-core/checklists/pm-checklist.md +0 -5
  17. package/bmad-core/checklists/po-master-checklist.md +0 -9
  18. package/bmad-core/checklists/story-dod-checklist.md +0 -7
  19. package/bmad-core/checklists/story-draft-checklist.md +0 -3
  20. package/bmad-core/data/bmad-kb.md +5 -2
  21. package/bmad-core/data/elicitation-methods.md +20 -0
  22. package/bmad-core/enhanced-ide-development-workflow.md +43 -0
  23. package/bmad-core/tasks/create-brownfield-story.md +11 -3
  24. package/bmad-core/tasks/create-deep-research-prompt.md +0 -11
  25. package/bmad-core/tasks/document-project.md +15 -13
  26. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  27. package/bmad-core/tasks/index-docs.md +0 -6
  28. package/bmad-core/tasks/kb-mode-interaction.md +3 -3
  29. package/bmad-core/tasks/review-story.md +10 -1
  30. package/bmad-core/tasks/shard-doc.md +0 -2
  31. package/bmad-core/user-guide.md +7 -6
  32. package/bmad-core/working-in-the-brownfield.md +39 -36
  33. package/common/tasks/execute-checklist.md +0 -7
  34. package/dist/agents/analyst.txt +6 -6
  35. package/dist/agents/architect.txt +8 -3
  36. package/dist/agents/bmad-master.txt +2 -1
  37. package/dist/agents/pm.txt +9 -2
  38. package/dist/agents/po.txt +2 -318
  39. package/dist/agents/qa.txt +0 -1
  40. package/dist/agents/sm.txt +3 -3
  41. package/dist/agents/ux-expert.txt +2 -297
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +6 -6
  43. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4047 -0
  44. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +1520 -185
  45. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +214 -1229
  46. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +537 -373
  47. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +6917 -2140
  48. package/dist/teams/team-all.txt +30 -25
  49. package/dist/teams/team-fullstack.txt +27 -21
  50. package/dist/teams/team-ide-minimal.txt +5 -322
  51. package/dist/teams/team-no-ui.txt +25 -16
  52. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  53. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -4
  54. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -5
  55. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -1
  56. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -18
  57. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +1 -0
  58. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
  59. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +21 -16
  60. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +25 -25
  61. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +15 -14
  62. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +391 -0
  63. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
  64. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +1 -1
  65. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +103 -139
  66. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  67. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +586 -68
  68. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -4
  69. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -1
  70. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +141 -0
  71. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +165 -198
  72. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -18
  73. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
  74. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +938 -453
  75. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +3 -3
  76. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +517 -155
  77. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +12 -12
  78. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +11 -11
  79. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  80. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -3
  81. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -1
  82. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -1
  83. package/package.json +4 -1
  84. package/tools/bmad-npx-wrapper.js +5 -7
  85. package/tools/flattener/main.js +570 -0
  86. package/tools/installer/bin/bmad.js +14 -0
  87. package/tools/installer/lib/installer.js +29 -3
  88. package/tools/installer/package-lock.json +89 -89
  89. package/tools/installer/package.json +1 -1
  90. package/.husky/pre-commit +0 -2
  91. package/.prettierignore +0 -21
  92. package/.prettierrc +0 -23
@@ -50,7 +50,6 @@ activation-instructions:
50
50
  - The agent.customization field ALWAYS takes precedence over any conflicting instructions
51
51
  - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
52
52
  - STAY IN CHARACTER!
53
- - 'CRITICAL RULE: You are ONLY allowed to create/modify story files - NEVER implement! If asked to implement, tell user they MUST switch to Game Developer Agent'
54
53
  agent:
55
54
  name: Jordan
56
55
  id: game-sm
@@ -63,248 +62,216 @@ persona:
63
62
  style: Task-oriented, efficient, precise, focused on clear game developer handoffs
64
63
  identity: Game story creation expert who prepares detailed, actionable stories for AI game developers
65
64
  focus: Creating crystal-clear game development stories that developers can implement without confusion
66
- core_principles:
67
- - Task Adherence - Rigorously follow create-game-story procedures
68
- - Checklist-Driven Validation - Apply game-story-dod-checklist meticulously
69
- - Clarity for Developer Handoff - Stories must be immediately actionable for game implementation
70
- - Focus on One Story at a Time - Complete one before starting next
71
- - Game-Specific Context - Understand Unity, C#, component-based architecture, and performance requirements
72
- - Numbered Options Protocol - Always use numbered lists for selections
65
+ core_principles:
66
+ - Rigorously follow `create-game-story` procedure to generate detailed user stories
67
+ - Apply `game-story-dod-checklist` meticulously for validation
68
+ - Ensure all information comes from GDD and Architecture to guide the dev agent
69
+ - Focus on one story at a time - complete one before starting next
70
+ - Understand Unity, C#, component-based architecture, and performance requirements
71
+ - You are NOT allowed to implement stories or modify code EVER!
73
72
  commands:
74
- - '*help" - Show numbered list of available commands for selection'
75
- - '*chat-mode" - Conversational mode with advanced-elicitation for game dev advice'
76
- - '*create" - Execute all steps in Create Game Story Task document'
77
- - '*checklist {checklist}" - Show numbered list of checklists, execute selection'
78
- - '*exit" - Say goodbye as the Game Scrum Master, and then abandon inhabiting this persona'
73
+ - help: Show numbered list of the following commands to allow selection
74
+ - draft: Execute task create-game-story.md
75
+ - correct-course: Execute task correct-course-game.md
76
+ - story-checklist: Execute task execute-checklist.md with checklist game-story-dod-checklist.md
77
+ - exit: Say goodbye as the Game Scrum Master, and then abandon inhabiting this persona
79
78
  dependencies:
80
79
  tasks:
81
80
  - create-game-story.md
82
81
  - execute-checklist.md
82
+ - correct-course-game.md
83
83
  templates:
84
84
  - game-story-tmpl.yaml
85
85
  checklists:
86
- - game-story-dod-checklist.md
86
+ - game-change-checklist.md
87
87
  ```
88
88
  ==================== END: .bmad-2d-unity-game-dev/agents/game-sm.md ====================
89
89
 
90
90
  ==================== START: .bmad-2d-unity-game-dev/tasks/create-game-story.md ====================
91
- # Create Game Development Story Task
91
+ # Create Game Story Task
92
92
 
93
93
  ## Purpose
94
94
 
95
- Create detailed, actionable game development stories that enable AI developers to implement specific game features in Unity without requiring additional design decisions.
95
+ To identify the next logical game story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the `Game Story Template`. This task ensures the story is enriched with all necessary technical context, Unity-specific requirements, and acceptance criteria, making it ready for efficient implementation by a Game Developer Agent with minimal need for additional research or finding its own context.
96
96
 
97
- ## When to Use
97
+ ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
98
98
 
99
- - Breaking down game epics into implementable stories
100
- - Converting GDD features into development tasks
101
- - Preparing work for game developers
102
- - Ensuring clear handoffs from design to development
99
+ ### 0. Load Core Configuration and Check Workflow
103
100
 
104
- ## Prerequisites
101
+ - Load `.bmad-2d-unity-game-dev/core-config.yaml` from the project root
102
+ - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can either: 1) Copy core-config.yaml from GITHUB bmad-core/ and configure it for your game project OR 2) Run the BMad installer against your project to upgrade and add the file automatically. Please add and configure before proceeding."
103
+ - Extract key configurations: `devStoryLocation`, `gdd.*`, `gamearchitecture.*`, `workflow.*`
105
104
 
106
- Before creating stories, ensure you have:
105
+ ### 1. Identify Next Story for Preparation
107
106
 
108
- - Completed Game Design Document (GDD)
109
- - Game Architecture Document
110
- - Epic definition this story belongs to
111
- - Clear understanding of the specific game feature
107
+ #### 1.1 Locate Epic Files and Review Existing Stories
112
108
 
113
- ## Process
109
+ - Based on `gddSharded` from config, locate epic files (sharded location/pattern or monolithic GDD sections)
110
+ - If `devStoryLocation` has story files, load the highest `{epicNum}.{storyNum}.story.md` file
111
+ - **If highest story exists:**
112
+ - Verify status is 'Done'. If not, alert user: "ALERT: Found incomplete story! File: {lastEpicNum}.{lastStoryNum}.story.md Status: [current status] You should fix this story first, but would you like to accept risk & override to create the next story in draft?"
113
+ - If proceeding, select next sequential story in the current epic
114
+ - If epic is complete, prompt user: "Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed. Would you like to: 1) Begin Epic {epicNum + 1} with story 1 2) Select a specific story to work on 3) Cancel story creation"
115
+ - **CRITICAL**: NEVER automatically skip to another epic. User MUST explicitly instruct which story to create.
116
+ - **If no story files exist:** The next story is ALWAYS 1.1 (first story of first epic)
117
+ - Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}"
114
118
 
115
- ### 1. Story Identification
119
+ ### 2. Gather Story Requirements and Previous Story Context
116
120
 
117
- **Review Epic Context:**
121
+ - Extract story requirements from the identified epic file or GDD section
122
+ - If previous story exists, review Dev Agent Record sections for:
123
+ - Completion Notes and Debug Log References
124
+ - Implementation deviations and technical decisions
125
+ - Unity-specific challenges (prefab issues, scene management, performance)
126
+ - Asset pipeline decisions and optimizations
127
+ - Extract relevant insights that inform the current story's preparation
118
128
 
119
- - Understand the epic's overall goal
120
- - Identify specific features that need implementation
121
- - Review any existing stories in the epic
122
- - Ensure no duplicate work
129
+ ### 3. Gather Architecture Context
123
130
 
124
- **Feature Analysis:**
131
+ #### 3.1 Determine Architecture Reading Strategy
125
132
 
126
- - Reference specific GDD sections
127
- - Understand player experience goals
128
- - Identify technical complexity
129
- - Estimate implementation scope
133
+ - **If `gamearchitectureVersion: >= v3` and `gamearchitectureSharded: true`**: Read `{gamearchitectureShardedLocation}/index.md` then follow structured reading order below
134
+ - **Else**: Use monolithic `gamearchitectureFile` for similar sections
130
135
 
131
- ### 2. Story Scoping
136
+ #### 3.2 Read Architecture Documents Based on Story Type
132
137
 
133
- **Single Responsibility:**
138
+ **For ALL Game Stories:** tech-stack.md, unity-project-structure.md, coding-standards.md, testing-resilience-architecture.md
134
139
 
135
- - Focus on one specific game feature
136
- - Ensure story is completable in 1-3 days
137
- - Break down complex features into multiple stories
138
- - Maintain clear boundaries with other stories
140
+ **For Gameplay/Mechanics Stories, additionally:** gameplay-systems-architecture.md, component-architecture-details.md, physics-config.md, input-system.md, state-machines.md, game-data-models.md
139
141
 
140
- **Implementation Clarity:**
142
+ **For UI/UX Stories, additionally:** ui-architecture.md, ui-components.md, ui-state-management.md, scene-management.md
141
143
 
142
- - Define exactly what needs to be built
143
- - Specify all technical requirements
144
- - Include all necessary integration points
145
- - Provide clear success criteria
146
-
147
- ### 3. Template Execution
148
-
149
- **Load Template:**
150
- Use `templates#game-story-tmpl` following all embedded LLM instructions
151
-
152
- **Key Focus Areas:**
153
-
154
- - Clear, actionable description
155
- - Specific acceptance criteria
156
- - Detailed technical specifications
157
- - Complete implementation task list
158
- - Comprehensive testing requirements
159
-
160
- ### 4. Story Validation
161
-
162
- **Technical Review:**
163
-
164
- - Verify all technical specifications are complete
165
- - Ensure integration points are clearly defined
166
- - Confirm file paths match architecture
167
- - Validate C# interfaces and classes
168
- - Check for proper use of prefabs and scenes
169
-
170
- **Game Design Alignment:**
171
-
172
- - Confirm story implements GDD requirements
173
- - Verify player experience goals are met
174
- - Check balance parameters are included
175
- - Ensure game mechanics are correctly interpreted
176
-
177
- **Implementation Readiness:**
178
-
179
- - All dependencies identified
180
- - Assets requirements specified
181
- - Testing criteria defined
182
- - Definition of Done complete
183
-
184
- ### 5. Quality Assurance
185
-
186
- **Apply Checklist:**
187
- Execute `checklists#game-story-dod-checklist` against completed story
188
-
189
- **Story Criteria:**
190
-
191
- - Story is immediately actionable
192
- - No design decisions left to developer
193
- - Technical requirements are complete
194
- - Testing requirements are comprehensive
195
- - Performance requirements are specified
196
-
197
- ### 6. Story Refinement
198
-
199
- **Developer Perspective:**
200
-
201
- - Can a developer start implementation immediately?
202
- - Are all technical questions answered?
203
- - Is the scope appropriate for the estimated points?
204
- - Are all dependencies clearly identified?
205
-
206
- **Iterative Improvement:**
207
-
208
- - Address any gaps or ambiguities
209
- - Clarify complex technical requirements
210
- - Ensure story fits within epic scope
211
- - Verify story points estimation
212
-
213
- ## Story Elements Checklist
214
-
215
- ### Required Sections
216
-
217
- - [ ] Clear, specific description
218
- - [ ] Complete acceptance criteria (functional, technical, game design)
219
- - [ ] Detailed technical specifications
220
- - [ ] File creation/modification list
221
- - [ ] C# interfaces and classes
222
- - [ ] Integration point specifications
223
- - [ ] Ordered implementation tasks
224
- - [ ] Comprehensive testing requirements
225
- - [ ] Performance criteria
226
- - [ ] Dependencies clearly identified
227
- - [ ] Definition of Done checklist
228
-
229
- ### Game-Specific Requirements
230
-
231
- - [ ] GDD section references
232
- - [ ] Game mechanic implementation details
233
- - [ ] Player experience goals
234
- - [ ] Balance parameters
235
- - [ ] Unity-specific requirements (components, prefabs, scenes)
236
- - [ ] Performance targets (stable frame rate)
237
- - [ ] Cross-platform considerations
238
-
239
- ### Technical Quality
240
-
241
- - [ ] C# best practices compliance
242
- - [ ] Architecture document alignment
243
- - [ ] Code organization follows standards
244
- - [ ] Error handling requirements
245
- - [ ] Memory management considerations
246
- - [ ] Testing strategy defined
247
-
248
- ## Common Pitfalls
249
-
250
- **Scope Issues:**
251
-
252
- - Story too large (break into multiple stories)
253
- - Story too vague (add specific requirements)
254
- - Missing dependencies (identify all prerequisites)
255
- - Unclear boundaries (define what's in/out of scope)
256
-
257
- **Technical Issues:**
258
-
259
- - Missing integration details
260
- - Incomplete technical specifications
261
- - Undefined interfaces or classes
262
- - Missing performance requirements
263
-
264
- **Game Design Issues:**
265
-
266
- - Not referencing GDD properly
267
- - Missing player experience context
268
- - Unclear game mechanic implementation
269
- - Missing balance parameters
270
-
271
- ## Success Criteria
272
-
273
- **Story Readiness:**
274
-
275
- - [ ] Developer can start implementation immediately
276
- - [ ] No additional design decisions required
277
- - [ ] All technical questions answered
278
- - [ ] Testing strategy is complete
279
- - [ ] Performance requirements are clear
280
- - [ ] Story fits within epic scope
281
-
282
- **Quality Validation:**
283
-
284
- - [ ] Game story DOD checklist passes
285
- - [ ] Architecture alignment confirmed
286
- - [ ] GDD requirements covered
287
- - [ ] Implementation tasks are ordered and specific
288
- - [ ] Dependencies are complete and accurate
289
-
290
- ## Handoff Protocol
291
-
292
- **To Game Developer:**
293
-
294
- 1. Provide story document
295
- 2. Confirm GDD and architecture access
296
- 3. Verify all dependencies are met
297
- 4. Answer any clarification questions
298
- 5. Establish check-in schedule
299
-
300
- **Story Status Updates:**
301
-
302
- - Draft → Ready for Development
303
- - In Development → Code Review
304
- - Code Review → Testing
305
- - Testing → Done
306
-
307
- This task ensures game development stories are immediately actionable and enable efficient AI-driven development of game features in Unity.
144
+ **For Backend/Services Stories, additionally:** game-data-models.md, data-persistence.md, save-system.md, analytics-integration.md, multiplayer-architecture.md
145
+
146
+ **For Graphics/Rendering Stories, additionally:** rendering-pipeline.md, shader-guidelines.md, sprite-management.md, particle-systems.md
147
+
148
+ **For Audio Stories, additionally:** audio-architecture.md, audio-mixing.md, sound-banks.md
149
+
150
+ #### 3.3 Extract Story-Specific Technical Details
151
+
152
+ Extract ONLY information directly relevant to implementing the current story. Do NOT invent new patterns, systems, or standards not in the source documents.
153
+
154
+ Extract:
155
+
156
+ - Specific Unity components and MonoBehaviours the story will use
157
+ - Unity Package Manager dependencies and their APIs (e.g., Cinemachine, Input System, URP)
158
+ - Package-specific configurations and setup requirements
159
+ - Prefab structures and scene organization requirements
160
+ - Input system bindings and configurations
161
+ - Physics settings and collision layers
162
+ - UI canvas and layout specifications
163
+ - Asset naming conventions and folder structures
164
+ - Performance budgets (target FPS, memory limits, draw calls)
165
+ - Platform-specific considerations (mobile vs desktop)
166
+ - Testing requirements specific to Unity features
167
+
168
+ ALWAYS cite source documents: `[Source: gamearchitecture/{filename}.md#{section}]`
169
+
170
+ ### 4. Unity-Specific Technical Analysis
171
+
172
+ #### 4.1 Package Dependencies Analysis
173
+
174
+ - Identify Unity Package Manager packages required for the story
175
+ - Document package versions from manifest.json
176
+ - Note any package-specific APIs or components being used
177
+ - List package configuration requirements (e.g., Input System settings, URP asset config)
178
+ - Identify any third-party Asset Store packages and their integration points
179
+
180
+ #### 4.2 Scene and Prefab Planning
181
+
182
+ - Identify which scenes will be modified or created
183
+ - List prefabs that need to be created or updated
184
+ - Document prefab variant requirements
185
+ - Specify scene loading/unloading requirements
186
+
187
+ #### 4.3 Component Architecture
188
+
189
+ - Define MonoBehaviour scripts needed
190
+ - Specify ScriptableObject assets required
191
+ - Document component dependencies and execution order
192
+ - Identify required Unity Events and UnityActions
193
+ - Note any package-specific components (e.g., Cinemachine VirtualCamera, InputActionAsset)
194
+
195
+ #### 4.4 Asset Requirements
196
+
197
+ - List sprite/texture requirements with resolution specs
198
+ - Define animation clips and animator controllers needed
199
+ - Specify audio clips and their import settings
200
+ - Document any shader or material requirements
201
+ - Note any package-specific assets (e.g., URP materials, Input Action maps)
202
+
203
+ ### 5. Populate Story Template with Full Context
204
+
205
+ - Create new story file: `{devStoryLocation}/{epicNum}.{storyNum}.story.md` using Game Story Template
206
+ - Fill in basic story information: Title, Status (Draft), Story statement, Acceptance Criteria from Epic/GDD
207
+ - **`Dev Notes` section (CRITICAL):**
208
+ - CRITICAL: This section MUST contain ONLY information extracted from gamearchitecture documents and GDD. NEVER invent or assume technical details.
209
+ - Include ALL relevant technical details from Steps 2-4, organized by category:
210
+ - **Previous Story Insights**: Key learnings from previous story implementation
211
+ - **Package Dependencies**: Unity packages required, versions, configurations [with source references]
212
+ - **Unity Components**: Specific MonoBehaviours, ScriptableObjects, systems [with source references]
213
+ - **Scene & Prefab Specs**: Scene modifications, prefab structures, variants [with source references]
214
+ - **Input Configuration**: Input actions, bindings, control schemes [with source references]
215
+ - **UI Implementation**: Canvas setup, layout groups, UI events [with source references]
216
+ - **Asset Pipeline**: Asset requirements, import settings, optimization notes
217
+ - **Performance Targets**: FPS targets, memory budgets, profiler metrics
218
+ - **Platform Considerations**: Mobile vs desktop differences, input variations
219
+ - **Testing Requirements**: PlayMode tests, Unity Test Framework specifics
220
+ - Every technical detail MUST include its source reference: `[Source: gamearchitecture/{filename}.md#{section}]`
221
+ - If information for a category is not found in the gamearchitecture docs, explicitly state: "No specific guidance found in gamearchitecture docs"
222
+ - **`Tasks / Subtasks` section:**
223
+ - Generate detailed, sequential list of technical tasks based ONLY on: Epic/GDD Requirements, Story AC, Reviewed GameArchitecture Information
224
+ - Include Unity-specific tasks:
225
+ - Scene setup and configuration
226
+ - Prefab creation and testing
227
+ - Component implementation with proper lifecycle methods
228
+ - Input system integration
229
+ - Physics configuration
230
+ - UI implementation with proper anchoring
231
+ - Performance profiling checkpoints
232
+ - Each task must reference relevant gamearchitecture documentation
233
+ - Include PlayMode testing as explicit subtasks
234
+ - Link tasks to ACs where applicable (e.g., `Task 1 (AC: 1, 3)`)
235
+ - Add notes on Unity project structure alignment or discrepancies found in Step 4
236
+
237
+ ### 6. Story Draft Completion and Review
238
+
239
+ - Review all sections for completeness and accuracy
240
+ - Verify all source references are included for technical details
241
+ - Ensure Unity-specific requirements are comprehensive:
242
+ - All scenes and prefabs documented
243
+ - Component dependencies clear
244
+ - Asset requirements specified
245
+ - Performance targets defined
246
+ - Update status to "Draft" and save the story file
247
+ - Execute `.bmad-2d-unity-game-dev/tasks/execute-checklist` `.bmad-2d-unity-game-dev/checklists/game-story-dod-checklist`
248
+ - Provide summary to user including:
249
+ - Story created: `{devStoryLocation}/{epicNum}.{storyNum}.story.md`
250
+ - Status: Draft
251
+ - Key Unity components and systems included
252
+ - Scene/prefab modifications required
253
+ - Asset requirements identified
254
+ - Any deviations or conflicts noted between GDD and gamearchitecture
255
+ - Checklist Results
256
+ - Next steps: For complex Unity features, suggest the user review the story draft and optionally test critical assumptions in Unity Editor
257
+
258
+ ### 7. Unity-Specific Validation
259
+
260
+ Before finalizing, ensure:
261
+
262
+ - [ ] All required Unity packages are documented with versions
263
+ - [ ] Package-specific APIs and configurations are included
264
+ - [ ] All MonoBehaviour lifecycle methods are considered
265
+ - [ ] Prefab workflows are clearly defined
266
+ - [ ] Scene management approach is specified
267
+ - [ ] Input system integration is complete (legacy or new Input System)
268
+ - [ ] UI canvas setup follows Unity best practices
269
+ - [ ] Performance profiling points are identified
270
+ - [ ] Asset import settings are documented
271
+ - [ ] Platform-specific code paths are noted
272
+ - [ ] Package compatibility is verified (e.g., URP vs Built-in pipeline)
273
+
274
+ This task ensures game development stories are immediately actionable and enable efficient AI-driven development of Unity 2D game features.
308
275
  ==================== END: .bmad-2d-unity-game-dev/tasks/create-game-story.md ====================
309
276
 
310
277
  ==================== START: .bmad-2d-unity-game-dev/tasks/execute-checklist.md ====================
@@ -403,11 +370,165 @@ The LLM will:
403
370
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
404
371
  ==================== END: .bmad-2d-unity-game-dev/tasks/execute-checklist.md ====================
405
372
 
373
+ ==================== START: .bmad-2d-unity-game-dev/tasks/correct-course-game.md ====================
374
+ # Correct Course Task - Game Development
375
+
376
+ ## Purpose
377
+
378
+ - Guide a structured response to game development change triggers using the `.bmad-2d-unity-game-dev/checklists/game-change-checklist`.
379
+ - Analyze the impacts of changes on game features, technical systems, and milestone deliverables.
380
+ - Explore game-specific solutions (e.g., performance optimizations, feature scaling, platform adjustments).
381
+ - Draft specific, actionable proposed updates to affected game artifacts (e.g., GDD sections, technical specs, Unity configurations).
382
+ - Produce a consolidated "Game Development Change Proposal" document for review and approval.
383
+ - Ensure clear handoff path for changes requiring fundamental redesign or technical architecture updates.
384
+
385
+ ## Instructions
386
+
387
+ ### 1. Initial Setup & Mode Selection
388
+
389
+ - **Acknowledge Task & Inputs:**
390
+
391
+ - Confirm with the user that the "Game Development Correct Course Task" is being initiated.
392
+ - Verify the change trigger (e.g., performance issue, platform constraint, gameplay feedback, technical blocker).
393
+ - Confirm access to relevant game artifacts:
394
+ - Game Design Document (GDD)
395
+ - Technical Design Documents
396
+ - Unity Architecture specifications
397
+ - Performance budgets and platform requirements
398
+ - Current sprint's game stories and epics
399
+ - Asset specifications and pipelines
400
+ - Confirm access to `.bmad-2d-unity-game-dev/checklists/game-change-checklist`.
401
+
402
+ - **Establish Interaction Mode:**
403
+ - Ask the user their preferred interaction mode:
404
+ - **"Incrementally (Default & Recommended):** Work through the game-change-checklist section by section, discussing findings and drafting changes collaboratively. Best for complex technical or gameplay changes."
405
+ - **"YOLO Mode (Batch Processing):** Conduct batched analysis and present consolidated findings. Suitable for straightforward performance optimizations or minor adjustments."
406
+ - Confirm the selected mode and inform: "We will now use the game-change-checklist to analyze the change and draft proposed updates specific to our Unity game development context."
407
+
408
+ ### 2. Execute Game Development Checklist Analysis
409
+
410
+ - Systematically work through the game-change-checklist sections:
411
+
412
+ 1. **Change Context & Game Impact**
413
+ 2. **Feature/System Impact Analysis**
414
+ 3. **Technical Artifact Conflict Resolution**
415
+ 4. **Performance & Platform Evaluation**
416
+ 5. **Path Forward Recommendation**
417
+
418
+ - For each checklist section:
419
+ - Present game-specific prompts and considerations
420
+ - Analyze impacts on:
421
+ - Unity scenes and prefabs
422
+ - Component dependencies
423
+ - Performance metrics (FPS, memory, build size)
424
+ - Platform-specific code paths
425
+ - Asset loading and management
426
+ - Third-party plugins/SDKs
427
+ - Discuss findings with clear technical context
428
+ - Record status: `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`
429
+ - Document Unity-specific decisions and constraints
430
+
431
+ ### 3. Draft Game-Specific Proposed Changes
432
+
433
+ Based on the analysis and agreed path forward:
434
+
435
+ - **Identify affected game artifacts requiring updates:**
436
+
437
+ - GDD sections (mechanics, systems, progression)
438
+ - Technical specifications (architecture, performance targets)
439
+ - Unity-specific configurations (build settings, quality settings)
440
+ - Game story modifications (scope, acceptance criteria)
441
+ - Asset pipeline adjustments
442
+ - Platform-specific adaptations
443
+
444
+ - **Draft explicit changes for each artifact:**
445
+
446
+ - **Game Stories:** Revise story text, Unity-specific acceptance criteria, technical constraints
447
+ - **Technical Specs:** Update architecture diagrams, component hierarchies, performance budgets
448
+ - **Unity Configurations:** Propose settings changes, optimization strategies, platform variants
449
+ - **GDD Updates:** Modify feature descriptions, balance parameters, progression systems
450
+ - **Asset Specifications:** Adjust texture sizes, model complexity, audio compression
451
+ - **Performance Targets:** Update FPS goals, memory limits, load time requirements
452
+
453
+ - **Include Unity-specific details:**
454
+ - Prefab structure changes
455
+ - Scene organization updates
456
+ - Component refactoring needs
457
+ - Shader/material optimizations
458
+ - Build pipeline modifications
459
+
460
+ ### 4. Generate "Game Development Change Proposal"
461
+
462
+ - Create a comprehensive proposal document containing:
463
+
464
+ **A. Change Summary:**
465
+
466
+ - Original issue (performance, gameplay, technical constraint)
467
+ - Game systems affected
468
+ - Platform/performance implications
469
+ - Chosen solution approach
470
+
471
+ **B. Technical Impact Analysis:**
472
+
473
+ - Unity architecture changes needed
474
+ - Performance implications (with metrics)
475
+ - Platform compatibility effects
476
+ - Asset pipeline modifications
477
+ - Third-party dependency impacts
478
+
479
+ **C. Specific Proposed Edits:**
480
+
481
+ - For each game story: "Change Story GS-X.Y from: [old] To: [new]"
482
+ - For technical specs: "Update Unity Architecture Section X: [changes]"
483
+ - For GDD: "Modify [Feature] in Section Y: [updates]"
484
+ - For configurations: "Change [Setting] from [old_value] to [new_value]"
485
+
486
+ **D. Implementation Considerations:**
487
+
488
+ - Required Unity version updates
489
+ - Asset reimport needs
490
+ - Shader recompilation requirements
491
+ - Platform-specific testing needs
492
+
493
+ ### 5. Finalize & Determine Next Steps
494
+
495
+ - Obtain explicit approval for the "Game Development Change Proposal"
496
+ - Provide the finalized document to the user
497
+
498
+ - **Based on change scope:**
499
+
500
+ - **Minor adjustments (can be handled in current sprint):**
501
+ - Confirm task completion
502
+ - Suggest handoff to game-dev agent for implementation
503
+ - Note any required playtesting validation
504
+ - **Major changes (require replanning):**
505
+ - Clearly state need for deeper technical review
506
+ - Recommend engaging Game Architect or Technical Lead
507
+ - Provide proposal as input for architecture revision
508
+ - Flag any milestone/deadline impacts
509
+
510
+ ## Output Deliverables
511
+
512
+ - **Primary:** "Game Development Change Proposal" document containing:
513
+
514
+ - Game-specific change analysis
515
+ - Technical impact assessment with Unity context
516
+ - Platform and performance considerations
517
+ - Clearly drafted updates for all affected game artifacts
518
+ - Implementation guidance and constraints
519
+
520
+ - **Secondary:** Annotated game-change-checklist showing:
521
+ - Technical decisions made
522
+ - Performance trade-offs considered
523
+ - Platform-specific accommodations
524
+ - Unity-specific implementation notes
525
+ ==================== END: .bmad-2d-unity-game-dev/tasks/correct-course-game.md ====================
526
+
406
527
  ==================== START: .bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml ====================
407
528
  template:
408
- id: game-story-template-v2
529
+ id: game-story-template-v3
409
530
  name: Game Development Story
410
- version: 2.0
531
+ version: 3.0
411
532
  output:
412
533
  format: markdown
413
534
  filename: "stories/{{epic_name}}/{{story_id}}-{{story_name}}.md"
@@ -455,9 +576,9 @@ sections:
455
576
  title: Technical Requirements
456
577
  type: checklist
457
578
  items:
458
- - "Code follows C# best practices"
459
- - "Maintains stable frame rate on target devices"
460
- - "No memory leaks or performance degradation"
579
+ - Code follows C# best practices
580
+ - Maintains stable frame rate on target devices
581
+ - No memory leaks or performance degradation
461
582
  - "{{specific_technical_requirement}}"
462
583
  - id: game-design-requirements
463
584
  title: Game Design Requirements
@@ -633,13 +754,13 @@ sections:
633
754
  instruction: Checklist that must be completed before the story is considered finished
634
755
  type: checklist
635
756
  items:
636
- - "All acceptance criteria met"
637
- - "Code reviewed and approved"
638
- - "Unit tests written and passing"
639
- - "Integration tests passing"
640
- - "Performance targets met"
641
- - "No C# compiler errors or warnings"
642
- - "Documentation updated"
757
+ - All acceptance criteria met
758
+ - Code reviewed and approved
759
+ - Unit tests written and passing
760
+ - Integration tests passing
761
+ - Performance targets met
762
+ - No C# compiler errors or warnings
763
+ - Documentation updated
643
764
  - "{{game_specific_dod_item}}"
644
765
 
645
766
  - id: notes
@@ -662,165 +783,208 @@ sections:
662
783
  - {{future_optimization_1}}
663
784
  ==================== END: .bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml ====================
664
785
 
665
- ==================== START: .bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md ====================
666
- # Game Development Story Definition of Done Checklist
667
-
668
- ## Story Completeness
669
-
670
- ### Basic Story Elements
671
-
672
- - [ ] **Story Title** - Clear, descriptive title that identifies the feature
673
- - [ ] **Epic Assignment** - Story is properly assigned to relevant epic
674
- - [ ] **Priority Level** - Appropriate priority assigned (High/Medium/Low)
675
- - [ ] **Story Points** - Realistic estimation for implementation complexity
676
- - [ ] **Description** - Clear, concise description of what needs to be implemented
677
-
678
- ### Game Design Alignment
679
-
680
- - [ ] **GDD Reference** - Specific Game Design Document section referenced
681
- - [ ] **Game Mechanic Context** - Clear connection to game mechanics defined in GDD
682
- - [ ] **Player Experience Goal** - Describes the intended player experience
683
- - [ ] **Balance Parameters** - Includes any relevant game balance values
684
- - [ ] **Design Intent** - Purpose and rationale for the feature is clear
685
-
686
- ## Technical Specifications
687
-
688
- ### Architecture Compliance
689
-
690
- - [ ] **File Organization** - Follows game architecture document structure (e.g., scripts, prefabs, scenes)
691
- - [ ] **Class Definitions** - C# classes and interfaces are properly defined
692
- - [ ] **Integration Points** - Clear specification of how feature integrates with existing systems
693
- - [ ] **Event Communication** - UnityEvents or C# events usage specified
694
- - [ ] **Dependencies** - All system dependencies clearly identified
695
-
696
- ### Unity Requirements
697
-
698
- - [ ] **Scene Integration** - Specifies which scenes are affected and how
699
- - [ ] **Prefab Usage** - Proper use of prefabs for reusable GameObjects
700
- - [ ] **Component Design** - Logic is encapsulated in well-defined MonoBehaviour components
701
- - [ ] **Asset Requirements** - All needed assets (sprites, audio, materials) identified
702
- - [ ] **Performance Considerations** - Stable frame rate target and optimization requirements
703
-
704
- ### Code Quality Standards
705
-
706
- - [ ] **C# Best Practices** - All code must comply with modern C# standards
707
- - [ ] **Error Handling** - Error scenarios and handling requirements specified
708
- - [ ] **Memory Management** - Coroutine and object lifecycle management requirements where needed
709
- - [ ] **Cross-Platform Support** - Desktop and mobile considerations addressed
710
- - [ ] **Code Organization** - Follows established Unity project structure
786
+ ==================== START: .bmad-2d-unity-game-dev/checklists/game-change-checklist.md ====================
787
+ # Game Development Change Navigation Checklist
711
788
 
712
- ## Implementation Readiness
789
+ **Purpose:** To systematically guide the Game SM agent and user through analysis and planning when a significant change (performance issue, platform constraint, technical blocker, gameplay feedback) is identified during Unity game development.
713
790
 
714
- ### Acceptance Criteria
791
+ **Instructions:** Review each item with the user. Mark `[x]` for completed/confirmed, `[N/A]` if not applicable, or add notes for discussion points.
715
792
 
716
- - [ ] **Functional Requirements** - All functional acceptance criteria are specific and testable
717
- - [ ] **Technical Requirements** - Technical acceptance criteria are complete and verifiable
718
- - [ ] **Game Design Requirements** - Game-specific requirements match GDD specifications
719
- - [ ] **Performance Requirements** - Frame rate and memory usage criteria specified
720
- - [ ] **Completeness** - No acceptance criteria are vague or unmeasurable
793
+ [[LLM: INITIALIZATION INSTRUCTIONS - GAME CHANGE NAVIGATION
721
794
 
722
- ### Implementation Tasks
795
+ Changes during game development are common - performance issues, platform constraints, gameplay feedback, and technical limitations are part of the process.
723
796
 
724
- - [ ] **Task Breakdown** - Story broken into specific, ordered implementation tasks
725
- - [ ] **Task Scope** - Each task is completable in 1-4 hours
726
- - [ ] **Task Clarity** - Each task has clear, actionable instructions
727
- - [ ] **File Specifications** - Exact file paths and purposes specified (e.g., `Scripts/Player/PlayerMovement.cs`)
728
- - [ ] **Development Flow** - Tasks follow logical implementation order
797
+ Before proceeding, understand:
729
798
 
730
- ### Dependencies
799
+ 1. This checklist is for SIGNIFICANT changes affecting game architecture or features
800
+ 2. Minor tweaks (shader adjustments, UI positioning) don't require this process
801
+ 3. The goal is to maintain playability while adapting to technical realities
802
+ 4. Performance and player experience are paramount
731
803
 
732
- - [ ] **Story Dependencies** - All prerequisite stories identified with IDs
733
- - [ ] **Technical Dependencies** - Required systems and files identified
734
- - [ ] **Asset Dependencies** - All needed assets specified with locations
735
- - [ ] **External Dependencies** - Any third-party or external requirements noted (e.g., Asset Store packages)
736
- - [ ] **Dependency Validation** - All dependencies are actually available
804
+ Required context:
737
805
 
738
- ## Testing Requirements
806
+ - The triggering issue (performance metrics, crash logs, feedback)
807
+ - Current development state (implemented features, current sprint)
808
+ - Access to GDD, technical specs, and performance budgets
809
+ - Understanding of remaining features and milestones
739
810
 
740
- ### Test Coverage
811
+ APPROACH:
812
+ This is an interactive process. Discuss performance implications, platform constraints, and player impact. The user makes final decisions, but provide expert Unity/game dev guidance.
741
813
 
742
- - [ ] **Unit Test Requirements** - Specific unit test files and scenarios defined for NUnit
743
- - [ ] **Integration Test Cases** - Integration testing with other game systems specified
744
- - [ ] **Manual Test Cases** - Game-specific manual testing procedures defined in the Unity Editor
745
- - [ ] **Performance Tests** - Frame rate and memory testing requirements specified
746
- - [ ] **Edge Case Testing** - Edge cases and error conditions covered
814
+ REMEMBER: Game development is iterative. Changes often lead to better gameplay and performance.]]
747
815
 
748
- ### Test Implementation
749
-
750
- - [ ] **Test File Paths** - Exact test file locations specified (e.g., `Assets/Tests/EditMode`)
751
- - [ ] **Test Scenarios** - All test scenarios are complete and executable
752
- - [ ] **Expected Behaviors** - Clear expected outcomes for all tests defined
753
- - [ ] **Performance Metrics** - Specific performance targets for testing
754
- - [ ] **Test Data** - Any required test data or mock objects specified
755
-
756
- ## Game-Specific Quality
757
-
758
- ### Gameplay Implementation
759
-
760
- - [ ] **Mechanic Accuracy** - Implementation matches GDD mechanic specifications
761
- - [ ] **Player Controls** - Input handling requirements are complete (e.g., Input System package)
762
- - [ ] **Game Feel** - Requirements for juice, feedback, and responsiveness specified
763
- - [ ] **Balance Implementation** - Numeric values and parameters from GDD included
764
- - [ ] **State Management** - Game state changes and persistence requirements defined
765
-
766
- ### User Experience
767
-
768
- - [ ] **UI Requirements** - User interface elements and behaviors specified (e.g., UI Toolkit or UGUI)
769
- - [ ] **Audio Integration** - Sound effect and music requirements defined
770
- - [ ] **Visual Feedback** - Animation and visual effect requirements specified (e.g., Animator, Particle System)
771
- - [ ] **Accessibility** - Mobile touch and responsive design considerations
772
- - [ ] **Error Recovery** - User-facing error handling and recovery specified
773
-
774
- ### Performance Optimization
775
-
776
- - [ ] **Frame Rate Targets** - Specific FPS requirements for different platforms
777
- - [ ] **Memory Usage** - Memory consumption limits and monitoring requirements (e.g., Profiler)
778
- - [ ] **Asset Optimization** - Texture, audio, and data optimization requirements
779
- - [ ] **Mobile Considerations** - Touch controls and mobile performance requirements
780
- - [ ] **Loading Performance** - Asset loading and scene transition requirements
781
-
782
- ## Documentation and Communication
783
-
784
- ### Story Documentation
785
-
786
- - [ ] **Implementation Notes** - Additional context and implementation guidance provided
787
- - [ ] **Design Decisions** - Key design choices documented with rationale
788
- - [ ] **Future Considerations** - Potential future enhancements or modifications noted
789
- - [ ] **Change Tracking** - Process for tracking any requirement changes during development
790
- - [ ] **Reference Materials** - Links to relevant GDD sections and architecture docs
791
-
792
- ### Developer Handoff
793
-
794
- - [ ] **Immediate Actionability** - Developer can start implementation without additional questions
795
- - [ ] **Complete Context** - All necessary context provided within the story
796
- - [ ] **Clear Boundaries** - What is and isn't included in the story scope is clear
797
- - [ ] **Success Criteria** - Objective measures for story completion defined
798
- - [ ] **Communication Plan** - Process for developer questions and updates established
799
-
800
- ## Final Validation
801
-
802
- ### Story Readiness
803
-
804
- - [ ] **No Ambiguity** - No sections require interpretation or additional design decisions
805
- - [ ] **Technical Completeness** - All technical requirements are specified and actionable
806
- - [ ] **Scope Appropriateness** - Story scope matches assigned story points
807
- - [ ] **Quality Standards** - Story meets all game development quality standards
808
- - [ ] **Review Completion** - Story has been reviewed for completeness and accuracy
809
-
810
- ### Implementation Preparedness
811
-
812
- - [ ] **Environment Ready** - Development environment requirements specified (e.g., Unity version)
813
- - [ ] **Resources Available** - All required resources (assets, docs, dependencies) accessible
814
- - [ ] **Testing Prepared** - Testing environment and data requirements specified
815
- - [ ] **Definition of Done** - Clear, objective completion criteria established
816
- - [ ] **Handoff Complete** - Story is ready for developer assignment and implementation
817
-
818
- ## Checklist Completion
819
-
820
- **Overall Story Quality:** ⭐⭐⭐⭐⭐
816
+ ---
821
817
 
822
- **Ready for Development:** [ ] Yes [ ] No
818
+ ## 1. Understand the Trigger & Context
819
+
820
+ [[LLM: Start by understanding the game-specific issue. Ask technical questions:
821
+
822
+ - What performance metrics triggered this? (FPS, memory, load times)
823
+ - Is this platform-specific or universal?
824
+ - Can we reproduce it consistently?
825
+ - What Unity profiler data do we have?
826
+ - Is this a gameplay issue or technical constraint?
827
+
828
+ Focus on measurable impacts and technical specifics.]]
829
+
830
+ - [ ] **Identify Triggering Element:** Clearly identify the game feature/system revealing the issue.
831
+ - [ ] **Define the Issue:** Articulate the core problem precisely.
832
+ - [ ] Performance bottleneck (CPU/GPU/Memory)?
833
+ - [ ] Platform-specific limitation?
834
+ - [ ] Unity engine constraint?
835
+ - [ ] Gameplay/balance issue from playtesting?
836
+ - [ ] Asset pipeline or build size problem?
837
+ - [ ] Third-party SDK/plugin conflict?
838
+ - [ ] **Assess Performance Impact:** Document specific metrics (current FPS, target FPS, memory usage, build size).
839
+ - [ ] **Gather Technical Evidence:** Note profiler data, crash logs, platform test results, player feedback.
840
+
841
+ ## 2. Game Feature Impact Assessment
842
+
843
+ [[LLM: Game features are interconnected. Evaluate systematically:
844
+
845
+ 1. Can we optimize the current feature without changing gameplay?
846
+ 2. Do dependent features need adjustment?
847
+ 3. Are there platform-specific workarounds?
848
+ 4. Does this affect our performance budget allocation?
849
+
850
+ Consider both technical and gameplay impacts.]]
851
+
852
+ - [ ] **Analyze Current Sprint Features:**
853
+ - [ ] Can the current feature be optimized (LOD, pooling, batching)?
854
+ - [ ] Does it need gameplay simplification?
855
+ - [ ] Should it be platform-specific (high-end only)?
856
+ - [ ] **Analyze Dependent Systems:**
857
+ - [ ] Review all game systems interacting with the affected feature.
858
+ - [ ] Do physics systems need adjustment?
859
+ - [ ] Are UI/HUD systems impacted?
860
+ - [ ] Do save/load systems require changes?
861
+ - [ ] Are multiplayer systems affected?
862
+ - [ ] **Summarize Feature Impact:** Document effects on gameplay systems and technical architecture.
863
+
864
+ ## 3. Game Artifact Conflict & Impact Analysis
865
+
866
+ [[LLM: Game documentation drives development. Check each artifact:
867
+
868
+ 1. Does this invalidate GDD mechanics?
869
+ 2. Are technical architecture assumptions still valid?
870
+ 3. Do performance budgets need reallocation?
871
+ 4. Are platform requirements still achievable?
872
+
873
+ Missing conflicts cause performance issues later.]]
874
+
875
+ - [ ] **Review GDD:**
876
+ - [ ] Does the issue conflict with core gameplay mechanics?
877
+ - [ ] Do game features need scaling for performance?
878
+ - [ ] Are progression systems affected?
879
+ - [ ] Do balance parameters need adjustment?
880
+ - [ ] **Review Technical Architecture:**
881
+ - [ ] Does the issue conflict with Unity architecture (scene structure, prefab hierarchy)?
882
+ - [ ] Are component systems impacted?
883
+ - [ ] Do shader/rendering approaches need revision?
884
+ - [ ] Are data structures optimal for the scale?
885
+ - [ ] **Review Performance Specifications:**
886
+ - [ ] Are target framerates still achievable?
887
+ - [ ] Do memory budgets need reallocation?
888
+ - [ ] Are load time targets realistic?
889
+ - [ ] Do we need platform-specific targets?
890
+ - [ ] **Review Asset Specifications:**
891
+ - [ ] Do texture resolutions need adjustment?
892
+ - [ ] Are model poly counts appropriate?
893
+ - [ ] Do audio compression settings need changes?
894
+ - [ ] Is the animation budget sustainable?
895
+ - [ ] **Summarize Artifact Impact:** List all game documents requiring updates.
896
+
897
+ ## 4. Path Forward Evaluation
898
+
899
+ [[LLM: Present game-specific solutions with technical trade-offs:
900
+
901
+ 1. What's the performance gain?
902
+ 2. How much rework is required?
903
+ 3. What's the player experience impact?
904
+ 4. Are there platform-specific solutions?
905
+ 5. Is this maintainable across updates?
906
+
907
+ Be specific about Unity implementation details.]]
908
+
909
+ - [ ] **Option 1: Optimization Within Current Design:**
910
+ - [ ] Can performance be improved through Unity optimizations?
911
+ - [ ] Object pooling implementation?
912
+ - [ ] LOD system addition?
913
+ - [ ] Texture atlasing?
914
+ - [ ] Draw call batching?
915
+ - [ ] Shader optimization?
916
+ - [ ] Define specific optimization techniques.
917
+ - [ ] Estimate performance improvement potential.
918
+ - [ ] **Option 2: Feature Scaling/Simplification:**
919
+ - [ ] Can the feature be simplified while maintaining fun?
920
+ - [ ] Identify specific elements to scale down.
921
+ - [ ] Define platform-specific variations.
922
+ - [ ] Assess player experience impact.
923
+ - [ ] **Option 3: Architecture Refactor:**
924
+ - [ ] Would restructuring improve performance significantly?
925
+ - [ ] Identify Unity-specific refactoring needs:
926
+ - [ ] Scene organization changes?
927
+ - [ ] Prefab structure optimization?
928
+ - [ ] Component system redesign?
929
+ - [ ] State machine optimization?
930
+ - [ ] Estimate development effort.
931
+ - [ ] **Option 4: Scope Adjustment:**
932
+ - [ ] Can we defer features to post-launch?
933
+ - [ ] Should certain features be platform-exclusive?
934
+ - [ ] Do we need to adjust milestone deliverables?
935
+ - [ ] **Select Recommended Path:** Choose based on performance gain vs. effort.
936
+
937
+ ## 5. Game Development Change Proposal Components
938
+
939
+ [[LLM: The proposal must include technical specifics:
940
+
941
+ 1. Performance metrics (before/after projections)
942
+ 2. Unity implementation details
943
+ 3. Platform-specific considerations
944
+ 4. Testing requirements
945
+ 5. Risk mitigation strategies
946
+
947
+ Make it actionable for game developers.]]
948
+
949
+ (Ensure all points from previous sections are captured)
950
+
951
+ - [ ] **Technical Issue Summary:** Performance/technical problem with metrics.
952
+ - [ ] **Feature Impact Summary:** Affected game systems and dependencies.
953
+ - [ ] **Performance Projections:** Expected improvements from chosen solution.
954
+ - [ ] **Implementation Plan:** Unity-specific technical approach.
955
+ - [ ] **Platform Considerations:** Any platform-specific implementations.
956
+ - [ ] **Testing Strategy:** Performance benchmarks and validation approach.
957
+ - [ ] **Risk Assessment:** Technical risks and mitigation plans.
958
+ - [ ] **Updated Game Stories:** Revised stories with technical constraints.
959
+
960
+ ## 6. Final Review & Handoff
961
+
962
+ [[LLM: Game changes require technical validation. Before concluding:
963
+
964
+ 1. Are performance targets clearly defined?
965
+ 2. Is the Unity implementation approach clear?
966
+ 3. Do we have rollback strategies?
967
+ 4. Are test scenarios defined?
968
+ 5. Is platform testing covered?
969
+
970
+ Get explicit approval on technical approach.
971
+
972
+ FINAL REPORT:
973
+ Provide a technical summary:
974
+
975
+ - Performance issue and root cause
976
+ - Chosen solution with expected gains
977
+ - Implementation approach in Unity
978
+ - Testing and validation plan
979
+ - Timeline and milestone impacts
980
+
981
+ Keep it technically precise and actionable.]]
982
+
983
+ - [ ] **Review Checklist:** Confirm all technical aspects discussed.
984
+ - [ ] **Review Change Proposal:** Ensure Unity implementation details are clear.
985
+ - [ ] **Performance Validation:** Define how we'll measure success.
986
+ - [ ] **User Approval:** Obtain approval for technical approach.
987
+ - [ ] **Developer Handoff:** Ensure game-dev agent has all technical details needed.
823
988
 
824
- **Additional Notes:**
825
- _Any specific concerns, recommendations, or clarifications needed before development begins._
826
- ==================== END: .bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md ====================
989
+ ---
990
+ ==================== END: .bmad-2d-unity-game-dev/checklists/game-change-checklist.md ====================