bmad-method 6.0.0-alpha.17 → 6.0.0-alpha.18

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 (186) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/package.json +1 -1
  3. package/src/modules/bmgd/_module-installer/installer.js +160 -0
  4. package/src/modules/bmgd/_module-installer/platform-specifics/claude-code.js +23 -0
  5. package/src/modules/bmgd/_module-installer/platform-specifics/windsurf.js +18 -0
  6. package/src/modules/bmgd/agents/game-architect.agent.yaml +23 -8
  7. package/src/modules/bmgd/agents/game-designer.agent.yaml +38 -18
  8. package/src/modules/bmgd/agents/game-dev.agent.yaml +30 -14
  9. package/src/modules/bmgd/agents/game-qa.agent.yaml +64 -0
  10. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +27 -39
  11. package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +56 -0
  12. package/src/modules/bmgd/docs/README.md +180 -0
  13. package/src/modules/bmgd/docs/agents-guide.md +407 -0
  14. package/src/modules/bmgd/docs/game-types-guide.md +503 -0
  15. package/src/modules/bmgd/docs/glossary.md +294 -0
  16. package/src/modules/bmgd/docs/quick-flow-guide.md +288 -0
  17. package/src/modules/bmgd/docs/quick-start.md +250 -0
  18. package/src/modules/bmgd/docs/troubleshooting.md +259 -0
  19. package/src/modules/bmgd/docs/workflow-overview.jpg +0 -0
  20. package/src/modules/bmgd/docs/workflows-guide.md +463 -0
  21. package/src/modules/bmgd/gametest/knowledge/balance-testing.md +220 -0
  22. package/src/modules/bmgd/gametest/knowledge/certification-testing.md +319 -0
  23. package/src/modules/bmgd/gametest/knowledge/compatibility-testing.md +228 -0
  24. package/src/modules/bmgd/gametest/knowledge/godot-testing.md +376 -0
  25. package/src/modules/bmgd/gametest/knowledge/input-testing.md +315 -0
  26. package/src/modules/bmgd/gametest/knowledge/localization-testing.md +304 -0
  27. package/src/modules/bmgd/gametest/knowledge/multiplayer-testing.md +322 -0
  28. package/src/modules/bmgd/gametest/knowledge/performance-testing.md +204 -0
  29. package/src/modules/bmgd/gametest/knowledge/playtesting.md +384 -0
  30. package/src/modules/bmgd/gametest/knowledge/qa-automation.md +190 -0
  31. package/src/modules/bmgd/gametest/knowledge/regression-testing.md +280 -0
  32. package/src/modules/bmgd/gametest/knowledge/save-testing.md +280 -0
  33. package/src/modules/bmgd/gametest/knowledge/smoke-testing.md +404 -0
  34. package/src/modules/bmgd/gametest/knowledge/test-priorities.md +271 -0
  35. package/src/modules/bmgd/gametest/knowledge/unity-testing.md +383 -0
  36. package/src/modules/bmgd/gametest/knowledge/unreal-testing.md +388 -0
  37. package/src/modules/bmgd/gametest/qa-index.csv +17 -0
  38. package/src/modules/bmgd/module.yaml +25 -9
  39. package/src/modules/bmgd/teams/default-party.csv +2 -0
  40. package/src/modules/bmgd/teams/team-gamedev.yaml +12 -1
  41. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +164 -0
  42. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md +210 -0
  43. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md +289 -0
  44. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +275 -0
  45. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md +49 -0
  46. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +29 -8
  47. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01-init.md +223 -0
  48. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01b-continue.md +151 -0
  49. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-02-vision.md +218 -0
  50. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-03-market.md +218 -0
  51. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md +231 -0
  52. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-05-scope.md +242 -0
  53. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-06-references.md +224 -0
  54. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-07-content.md +282 -0
  55. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-08-complete.md +296 -0
  56. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.md +62 -0
  57. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +40 -9
  58. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01-init.md +248 -0
  59. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01b-continue.md +173 -0
  60. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-02-context.md +332 -0
  61. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-03-platforms.md +245 -0
  62. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-04-vision.md +229 -0
  63. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-05-core-gameplay.md +258 -0
  64. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-06-mechanics.md +249 -0
  65. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-07-game-type.md +266 -0
  66. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-08-progression.md +272 -0
  67. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-09-levels.md +264 -0
  68. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-10-art-audio.md +255 -0
  69. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-11-technical.md +275 -0
  70. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-12-epics.md +284 -0
  71. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-13-metrics.md +250 -0
  72. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-14-complete.md +335 -0
  73. package/src/modules/bmgd/workflows/2-design/gdd/workflow.md +61 -0
  74. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +27 -7
  75. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01-init.md +228 -0
  76. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md +163 -0
  77. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md +262 -0
  78. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-03-story.md +238 -0
  79. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-04-characters.md +297 -0
  80. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-05-world.md +262 -0
  81. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md +250 -0
  82. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md +244 -0
  83. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md +264 -0
  84. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-09-integration.md +254 -0
  85. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-10-production.md +262 -0
  86. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +331 -0
  87. package/src/modules/bmgd/workflows/2-design/narrative/workflow.md +57 -0
  88. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +53 -8
  89. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01-init.md +223 -0
  90. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01b-continue.md +153 -0
  91. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-02-context.md +262 -0
  92. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-03-starter.md +290 -0
  93. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-04-decisions.md +300 -0
  94. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md +319 -0
  95. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-06-structure.md +304 -0
  96. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-07-patterns.md +349 -0
  97. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-08-validation.md +293 -0
  98. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +302 -0
  99. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.md +55 -0
  100. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +50 -21
  101. package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +23 -0
  102. package/src/modules/bmgd/workflows/4-production/code-review/instructions.xml +225 -0
  103. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +18 -15
  104. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  105. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +1 -1
  106. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +11 -6
  107. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +332 -214
  108. package/src/modules/bmgd/workflows/4-production/create-story/instructions.xml +298 -0
  109. package/src/modules/bmgd/workflows/4-production/create-story/template.md +3 -5
  110. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +12 -7
  111. package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +65 -23
  112. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.xml +409 -0
  113. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +13 -3
  114. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +4 -4
  115. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +12 -7
  116. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +32 -41
  117. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +13 -13
  118. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +6 -1
  119. package/src/modules/bmgd/workflows/4-production/sprint-status/instructions.md +229 -0
  120. package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +35 -0
  121. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/instructions.md +140 -0
  122. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/workflow.yaml +27 -0
  123. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/checklist.md +37 -0
  124. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/instructions.md +220 -0
  125. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +45 -0
  126. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/checklist.md +26 -0
  127. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/instructions.md +156 -0
  128. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +36 -0
  129. package/src/modules/bmgd/workflows/gametest/automate/checklist.md +93 -0
  130. package/src/modules/bmgd/workflows/gametest/automate/instructions.md +317 -0
  131. package/src/modules/bmgd/workflows/gametest/automate/workflow.yaml +50 -0
  132. package/src/modules/bmgd/workflows/gametest/performance/checklist.md +96 -0
  133. package/src/modules/bmgd/workflows/gametest/performance/instructions.md +323 -0
  134. package/src/modules/bmgd/workflows/gametest/performance/performance-template.md +256 -0
  135. package/src/modules/bmgd/workflows/gametest/performance/workflow.yaml +48 -0
  136. package/src/modules/bmgd/workflows/gametest/playtest-plan/checklist.md +93 -0
  137. package/src/modules/bmgd/workflows/gametest/playtest-plan/instructions.md +297 -0
  138. package/src/modules/bmgd/workflows/gametest/playtest-plan/playtest-template.md +208 -0
  139. package/src/modules/bmgd/workflows/gametest/playtest-plan/workflow.yaml +59 -0
  140. package/src/modules/bmgd/workflows/gametest/test-design/checklist.md +98 -0
  141. package/src/modules/bmgd/workflows/gametest/test-design/instructions.md +280 -0
  142. package/src/modules/bmgd/workflows/gametest/test-design/test-design-template.md +205 -0
  143. package/src/modules/bmgd/workflows/gametest/test-design/workflow.yaml +47 -0
  144. package/src/modules/bmgd/workflows/gametest/test-framework/checklist.md +103 -0
  145. package/src/modules/bmgd/workflows/gametest/test-framework/instructions.md +348 -0
  146. package/src/modules/bmgd/workflows/gametest/test-framework/workflow.yaml +48 -0
  147. package/src/modules/bmgd/workflows/gametest/test-review/checklist.md +87 -0
  148. package/src/modules/bmgd/workflows/gametest/test-review/instructions.md +272 -0
  149. package/src/modules/bmgd/workflows/gametest/test-review/test-review-template.md +203 -0
  150. package/src/modules/bmgd/workflows/gametest/test-review/workflow.yaml +48 -0
  151. package/src/modules/bmgd/workflows/workflow-status/init/instructions.md +299 -0
  152. package/src/modules/bmgd/workflows/workflow-status/init/workflow.yaml +29 -0
  153. package/src/modules/bmgd/workflows/workflow-status/instructions.md +395 -0
  154. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-brownfield.yaml +65 -0
  155. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-greenfield.yaml +71 -0
  156. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-brownfield.yaml +29 -0
  157. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-greenfield.yaml +39 -0
  158. package/src/modules/bmgd/workflows/workflow-status/project-levels.yaml +63 -0
  159. package/src/modules/bmgd/workflows/workflow-status/workflow-status-template.yaml +24 -0
  160. package/src/modules/bmgd/workflows/workflow-status/workflow.yaml +30 -0
  161. package/tools/cli/commands/install.js +9 -0
  162. package/tools/cli/installers/lib/core/installer.js +109 -109
  163. package/tools/cli/installers/lib/core/installer.js.bak +3204 -0
  164. package/tools/cli/installers/lib/modules/manager.js +16 -4
  165. package/tools/cli/lib/agent/compiler.js +99 -0
  166. package/tools/cli/lib/ui.js +78 -27
  167. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +0 -502
  168. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +0 -398
  169. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +0 -256
  170. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +0 -267
  171. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +0 -17
  172. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +0 -164
  173. package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +0 -76
  174. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +0 -58
  175. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +0 -16
  176. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +0 -34
  177. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +0 -209
  178. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +0 -63
  179. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +0 -111
  180. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +0 -28
  181. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +0 -117
  182. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +0 -25
  183. /package/src/modules/bmgd/workflows/1-preproduction/game-brief/{template.md → templates/game-brief-template.md} +0 -0
  184. /package/src/modules/bmgd/workflows/2-design/gdd/{gdd-template.md → templates/gdd-template.md} +0 -0
  185. /package/src/modules/bmgd/workflows/2-design/narrative/{narrative-template.md → templates/narrative-template.md} +0 -0
  186. /package/src/modules/bmgd/workflows/3-technical/game-architecture/{architecture-template.md → templates/architecture-template.md} +0 -0
@@ -1,502 +0,0 @@
1
- # GDD Workflow - Game Projects (All Levels)
2
-
3
- <workflow>
4
-
5
- <critical>The workflow execution engine is governed by: {project_root}/\_bmad/core/tasks/workflow.xml</critical>
6
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
7
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
8
- <critical>Generate all documents in {document_output_language}</critical>
9
- <critical>This is the GDD instruction set for GAME projects - replaces PRD with Game Design Document</critical>
10
- <critical>Project analysis already completed - proceeding with game-specific design</critical>
11
- <critical>Uses gdd_template for GDD output, game_types.csv for type-specific sections</critical>
12
- <critical>Routes to 3-solutioning for architecture (platform-specific decisions handled there)</critical>
13
- <critical>If users mention technical details, append to technical_preferences with timestamp</critical>
14
-
15
- <critical>DOCUMENT OUTPUT: Concise, clear, actionable game design specs. Use tables/lists over prose. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
16
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
17
-
18
- ## Input Document Discovery
19
-
20
- This workflow requires: game brief, and may reference market research or brownfield project documentation.
21
-
22
- **Discovery Process** (execute for each referenced document):
23
-
24
- 1. **Search for whole document first** - Use fuzzy file matching to find the complete document
25
- 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
26
- 3. **If sharded version found**:
27
- - Read `index.md` to understand the document structure
28
- - Read ALL section files listed in the index
29
- - Treat the combined content as if it were a single document
30
- 4. **Brownfield projects**: The `document-project` workflow always creates `{output_folder}/index.md`
31
-
32
- **Priority**: If both whole and sharded versions exist, use the whole document.
33
-
34
- **Fuzzy matching**: Be flexible with document names - users may use variations in naming conventions.
35
-
36
- <step n="0" goal="Validate workflow and extract project configuration">
37
-
38
- <invoke-workflow path="{project-root}/_bmad/bmm/workflows/workflow-status">
39
- <param>mode: data</param>
40
- <param>data_request: project_config</param>
41
- </invoke-workflow>
42
-
43
- <check if="status_exists == false">
44
- <output>**Note: No Workflow Status File Found**
45
-
46
- The GDD workflow can run standalone or as part of the BMM workflow path.
47
-
48
- **Recommended:** Run `workflow-init` first for:
49
-
50
- - Project context tracking
51
- - Workflow sequencing guidance
52
- - Progress monitoring across workflows
53
-
54
- **Or continue standalone** without progress tracking.
55
- </output>
56
- <ask>Continue in standalone mode or exit to run workflow-init? (continue/exit)</ask>
57
- <check if="continue">
58
- <action>Set standalone_mode = true</action>
59
- </check>
60
- <check if="exit">
61
- <action>Exit workflow</action>
62
- </check>
63
- </check>
64
-
65
- <check if="status_exists == true">
66
- <action>Store {{status_file_path}} for later updates</action>
67
-
68
- <check if="project_type != 'game'">
69
- <output>**Incorrect Workflow for Software Projects**
70
-
71
- Your project is type: {{project_type}}
72
-
73
- **Correct workflows for software projects:**
74
-
75
- - Level 0-1: `tech-spec` (Architect agent)
76
- - Level 2-4: `prd` (PM agent)
77
-
78
- {{#if project_level <= 1}}
79
- Use: `tech-spec`
80
- {{else}}
81
- Use: `prd`
82
- {{/if}}
83
- </output>
84
- <action>Exit and redirect to appropriate workflow</action>
85
- </check>
86
- </check>
87
- </step>
88
-
89
- <step n="0.5" goal="Validate workflow sequencing" tag="workflow-status">
90
-
91
- <check if="standalone_mode != true">
92
- <action>Check status of "gdd" workflow in loaded status file</action>
93
-
94
- <check if="gdd status is file path (already completed)">
95
- <output>⚠️ GDD already completed: {{gdd status}}</output>
96
- <ask>Re-running will overwrite the existing GDD. Continue? (y/n)</ask>
97
- <check if="n">
98
- <output>Exiting. Use workflow-status to see your next step.</output>
99
- <action>Exit workflow</action>
100
- </check>
101
- </check>
102
-
103
- <check if="gdd is not the next expected workflow (latter items are completed already in the list)">
104
- <output>⚠️ Next expected workflow: {{next_workflow}}. GDD is out of sequence.</output>
105
- <ask>Continue with GDD anyway? (y/n)</ask>
106
- <check if="n">
107
- <output>Exiting. Run {{next_workflow}} instead.</output>
108
- <action>Exit workflow</action>
109
- </check>
110
- </check>
111
- </check>
112
- </step>
113
-
114
- <step n="1" goal="Load context and determine game type">
115
-
116
- <action>Use {{project_type}} and {{project_level}} from status data</action>
117
-
118
- <check if="continuation_mode == true">
119
- <action>Load existing GDD.md and check completion status</action>
120
- <ask>Found existing work. Would you like to:
121
- 1. Review what's done and continue
122
- 2. Modify existing sections
123
- 3. Start fresh
124
- </ask>
125
- <action>If continuing, skip to first incomplete section</action>
126
- </check>
127
-
128
- <action if="new or starting fresh">Check or existing game-brief in output_folder</action>
129
-
130
- <check if="game-brief exists">
131
- <ask>Found existing game brief! Would you like to:
132
-
133
- 1. Use it as input (recommended - I'll extract key info)
134
- 2. Ignore it and start fresh
135
- </ask>
136
- </check>
137
-
138
- <check if="using game-brief">
139
- <action>Load and analyze game-brief document</action>
140
- <action>Extract: game_name, core_concept, target_audience, platforms, game_pillars, primary_mechanics</action>
141
- <action>Pre-fill relevant GDD sections with game-brief content</action>
142
- <action>Note which sections were pre-filled from brief</action>
143
-
144
- </check>
145
-
146
- <check if="no game-brief was loaded">
147
- <ask>Describe your game. What is it about? What does the player do? What is the Genre or type?</ask>
148
-
149
- <action>Analyze description to determine game type</action>
150
- <action>Map to closest game_types.csv id or use "custom"</action>
151
- </check>
152
-
153
- <check if="else (game-brief was loaded)">
154
- <action>Use game concept from brief to determine game type</action>
155
-
156
- <ask optional="true">
157
- I've identified this as a **{{game_type}}** game. Is that correct?
158
- If not, briefly describe what type it should be:
159
- </ask>
160
-
161
- <action>Map selection to game_types.csv id</action>
162
- <action>Load corresponding fragment file from game-types/ folder</action>
163
- <action>Store game_type for later injection</action>
164
-
165
- <action>Load gdd_template from workflow.yaml</action>
166
-
167
- Get core game concept and vision.
168
-
169
- <template-output>description</template-output>
170
- </check>
171
-
172
- </step>
173
-
174
- <step n="2" goal="Define platforms and target audience">
175
-
176
- <action>Guide user to specify target platform(s) for their game, exploring considerations like desktop, mobile, web, console, or multi-platform deployment</action>
177
-
178
- <template-output>platforms</template-output>
179
-
180
- <action>Guide user to define their target audience with specific demographics: age range, gaming experience level (casual/core/hardcore), genre familiarity, and preferred play session lengths</action>
181
-
182
- <template-output>target_audience</template-output>
183
-
184
- </step>
185
-
186
- <step n="3" goal="Define goals, context, and unique selling points">
187
-
188
- <action>Guide user to define project goals appropriate for their level (Level 0-1: 1-2 goals, Level 2: 2-3 goals, Level 3-4: 3-5 strategic goals) - what success looks like for this game</action>
189
-
190
- <template-output>goals</template-output>
191
-
192
- <action>Guide user to provide context on why this game matters now - the motivation and rationale behind the project</action>
193
-
194
- <template-output>context</template-output>
195
-
196
- <action>Guide user to identify the unique selling points (USPs) - what makes this game different from existing games in the market</action>
197
-
198
- <template-output>unique_selling_points</template-output>
199
-
200
- </step>
201
-
202
- <step n="4" goal="Core gameplay definition">
203
-
204
- <critical>These are game-defining decisions</critical>
205
-
206
- <action>Guide user to identify 2-4 core game pillars - the fundamental gameplay elements that define their game's experience (e.g., tight controls + challenging combat + rewarding exploration, or strategic depth + replayability + quick sessions)</action>
207
-
208
- <template-output>game_pillars</template-output>
209
-
210
- <action>Guide user to describe the core gameplay loop - what actions the player repeats throughout the game, creating a clear cyclical pattern of player behavior and rewards</action>
211
-
212
- <template-output>gameplay_loop</template-output>
213
-
214
- <action>Guide user to define win and loss conditions - how the player succeeds and fails in the game</action>
215
-
216
- <template-output>win_loss_conditions</template-output>
217
-
218
- </step>
219
-
220
- <step n="5" goal="Game mechanics and controls">
221
-
222
- <action>Guide user to define the primary game mechanics that players will interact with throughout the game</action>
223
-
224
- <template-output>primary_mechanics</template-output>
225
-
226
- <action>Guide user to describe their control scheme and input method (keyboard/mouse, gamepad, touchscreen, etc.), including key bindings or button layouts if known</action>
227
-
228
- <template-output>controls</template-output>
229
-
230
- </step>
231
-
232
- <step n="6" goal="Inject game-type-specific sections">
233
-
234
- <action>Load game-type fragment from: {installed_path}/gdd/game-types/{{game_type}}.md</action>
235
-
236
- <critical>Process each section in the fragment template</critical>
237
-
238
- For each {{placeholder}} in the fragment, elicit and capture that information.
239
-
240
- <template-output file="GDD.md">GAME_TYPE_SPECIFIC_SECTIONS</template-output>
241
-
242
- </step>
243
-
244
- <step n="7" goal="Progression and balance">
245
-
246
- <action>Guide user to describe how player progression works in their game - whether through skill improvement, power gains, ability unlocking, narrative advancement, or a combination of approaches</action>
247
-
248
- <template-output>player_progression</template-output>
249
-
250
- <action>Guide user to define the difficulty curve: how challenge increases over time, pacing rhythm (steady/spikes/player-controlled), and any accessibility options planned</action>
251
-
252
- <template-output>difficulty_curve</template-output>
253
-
254
- <action>Ask if the game includes an in-game economy or resource system, and if so, guide user to describe it (skip if not applicable)</action>
255
-
256
- <template-output>economy_resources</template-output>
257
-
258
- </step>
259
-
260
- <step n="8" goal="Level design framework">
261
-
262
- <action>Guide user to describe the types of levels/stages in their game (e.g., tutorial, themed biomes, boss arenas, procedural vs. handcrafted, etc.)</action>
263
-
264
- <template-output>level_types</template-output>
265
-
266
- <action>Guide user to explain how levels progress or unlock - whether through linear sequence, hub-based structure, open world exploration, or player-driven choices</action>
267
-
268
- <template-output>level_progression</template-output>
269
-
270
- </step>
271
-
272
- <step n="9" goal="Art and audio direction">
273
-
274
- <action>Guide user to describe their art style vision: visual aesthetic (pixel art, low-poly, realistic, stylized), color palette preferences, and any inspirations or references</action>
275
-
276
- <template-output>art_style</template-output>
277
-
278
- <action>Guide user to describe their audio and music direction: music style/genre, sound effect tone, and how important audio is to the gameplay experience</action>
279
-
280
- <template-output>audio_music</template-output>
281
-
282
- </step>
283
-
284
- <step n="10" goal="Technical specifications">
285
-
286
- <action>Guide user to define performance requirements: target frame rate, resolution, acceptable load times, and mobile battery considerations if applicable</action>
287
-
288
- <template-output>performance_requirements</template-output>
289
-
290
- <action>Guide user to identify platform-specific considerations (mobile touch controls/screen sizes, PC keyboard/mouse/settings, console controller/certification, web browser compatibility/file size)</action>
291
-
292
- <template-output>platform_details</template-output>
293
-
294
- <action>Guide user to document key asset requirements: art assets (sprites/models/animations), audio assets (music/SFX/voice), estimated counts/sizes, and asset pipeline needs</action>
295
-
296
- <template-output>asset_requirements</template-output>
297
-
298
- </step>
299
-
300
- <step n="11" goal="Epic structure">
301
-
302
- <action>Work with user to translate game features into development epics, following level-appropriate guidelines (Level 1: 1 epic/1-10 stories, Level 2: 1-2 epics/5-15 stories, Level 3: 2-5 epics/12-40 stories, Level 4: 5+ epics/40+ stories)</action>
303
-
304
- <template-output>epics</template-output>
305
-
306
- </step>
307
-
308
- <step n="12" goal="Generate detailed epic breakdown in epics.md">
309
-
310
- <action>Load epics_template from workflow.yaml</action>
311
-
312
- <critical>Create separate epics.md with full story hierarchy</critical>
313
-
314
- <action>Generate epic overview section with all epics listed</action>
315
-
316
- <template-output file="epics.md">epic_overview</template-output>
317
-
318
- <action>For each epic, generate detailed breakdown with expanded goals, capabilities, and success criteria</action>
319
-
320
- <action>For each epic, generate all stories in user story format with prerequisites, acceptance criteria (3-8 per story), and high-level technical notes</action>
321
-
322
- <for-each epic="epic_list">
323
-
324
- <template-output file="epics.md">epic*{{epic_number}}*details</template-output>
325
-
326
- </for-each>
327
-
328
- </step>
329
- <step n="13" goal="Success metrics">
330
-
331
- <action>Guide user to identify technical metrics they'll track (e.g., frame rate consistency, load times, crash rate, memory usage)</action>
332
-
333
- <template-output>technical_metrics</template-output>
334
-
335
- <action>Guide user to identify gameplay metrics they'll track (e.g., player completion rate, session length, difficulty pain points, feature engagement)</action>
336
-
337
- <template-output>gameplay_metrics</template-output>
338
-
339
- </step>
340
-
341
- <step n="14" goal="Document out of scope and assumptions">
342
-
343
- <action>Guide user to document what is explicitly out of scope for this game - features, platforms, or content that won't be included in this version</action>
344
-
345
- <template-output>out_of_scope</template-output>
346
-
347
- <action>Guide user to document key assumptions and dependencies - technical assumptions, team capabilities, third-party dependencies, or external factors the project relies on</action>
348
-
349
- <template-output>assumptions_and_dependencies</template-output>
350
-
351
- </step>
352
-
353
- <step n="15" goal="Update status and populate story sequence" tag="workflow-status">
354
-
355
- <check if="standalone_mode != true">
356
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
357
- <action>Find workflow_status key "gdd"</action>
358
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
359
- <action>Update workflow_status["gdd"] = "{output_folder}/bmm-gdd-{{game_name}}-{{date}}.md"</action>
360
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
361
-
362
- <action>Parse {epics_output_file} to extract all stories</action>
363
- <action>Populate story_sequence section in status file with story IDs</action>
364
- <action>Set each story status to "not-started"</action>
365
- <output>Loaded {{total_stories}} stories from epics into story sequence.</output>
366
-
367
- <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
368
- <action>Determine next agent from path file based on next workflow</action>
369
- <output>Next workflow: {{next_workflow}} ({{next_agent}} agent)</output>
370
- </check>
371
-
372
- </step>
373
-
374
- <step n="16" goal="Generate solutioning handoff and next steps">
375
-
376
- <action>Check if game-type fragment contained narrative tags indicating narrative importance</action>
377
-
378
- <check if="fragment had <narrative-workflow-critical> or <narrative-workflow-recommended>">
379
- <action>Set needs_narrative = true</action>
380
- <action>Extract narrative importance level from tag</action>
381
-
382
- ## Next Steps for {{game_name}}
383
-
384
- </check>
385
-
386
- <check if="needs_narrative == true">
387
- <action>Inform user that their game type benefits from narrative design, presenting the option to create a Narrative Design Document covering story structure, character arcs, world lore, dialogue framework, and environmental storytelling</action>
388
-
389
- <ask>This game type ({{game_type}}) benefits from narrative design.
390
-
391
- Would you like to create a Narrative Design Document now?
392
-
393
- 1. Yes, create Narrative Design Document (recommended)
394
- 2. No, proceed directly to solutioning
395
- 3. Skip for now, I'll do it later
396
-
397
- Your choice:</ask>
398
-
399
- </check>
400
-
401
- <check if="user selects option 1 or fuzzy indicates wanting to create the narrative design document">
402
- <invoke-workflow>{project-root}/_bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml</invoke-workflow>
403
- <action>Pass GDD context to narrative workflow</action>
404
- <action>Exit current workflow (narrative will hand off to solutioning when done)</action>
405
-
406
- Since this is a Level {{project_level}} game project, you need solutioning for platform/engine architecture.
407
-
408
- **Start new chat with solutioning workflow and provide:**
409
-
410
- 1. This GDD: `{{gdd_output_file}}`
411
- 2. Project analysis: `{{analysis_file}}`
412
-
413
- **The solutioning workflow will:**
414
-
415
- - Determine game engine/platform (Unity, Godot, Phaser, custom, etc.)
416
- - Generate architecture.md with engine-specific decisions
417
- - Create per-epic tech specs
418
- - Handle platform-specific architecture (from registry.csv game-\* entries)
419
-
420
- ## Complete Next Steps Checklist
421
-
422
- <action>Generate comprehensive checklist based on project analysis</action>
423
-
424
- ### Phase 1: Architecture and Engine Selection
425
-
426
- - [ ] **Run solutioning workflow** (REQUIRED)
427
- - Command: `workflow create-architecture`
428
- - Input: GDD.md, bmm-workflow-status.md
429
- - Output: architecture.md with engine/platform specifics
430
- - Note: Registry.csv will provide engine-specific guidance
431
-
432
- ### Phase 2: Prototype and Playtesting
433
-
434
- - [ ] **Create core mechanic prototype**
435
- - Validate game feel
436
- - Test control responsiveness
437
- - Iterate on game pillars
438
-
439
- - [ ] **Playtest early and often**
440
- - Internal testing
441
- - External playtesting
442
- - Feedback integration
443
-
444
- ### Phase 3: Asset Production
445
-
446
- - [ ] **Create asset pipeline**
447
- - Art style guides
448
- - Technical constraints
449
- - Asset naming conventions
450
-
451
- - [ ] **Audio integration**
452
- - Music composition/licensing
453
- - SFX creation
454
- - Audio middleware setup
455
-
456
- ### Phase 4: Development
457
-
458
- - [ ] **Generate detailed user stories**
459
- - Command: `workflow generate-stories`
460
- - Input: GDD.md + architecture.md
461
-
462
- - [ ] **Sprint planning**
463
- - Vertical slices
464
- - Milestone planning
465
- - Demo/playable builds
466
-
467
- <ask>**✅ GDD Complete, {user_name}!**
468
-
469
- Next immediate action:
470
-
471
- </check>
472
-
473
- <check if="needs_narrative == true">
474
-
475
- 1. Create Narrative Design Document (recommended for {{game_type}})
476
- 2. Start solutioning workflow (engine/architecture)
477
- 3. Create prototype build
478
- 4. Begin asset production planning
479
- 5. Review GDD with team/stakeholders
480
- 6. Exit workflow
481
-
482
- </check>
483
-
484
- <check if="else">
485
-
486
- 1. Start solutioning workflow (engine/architecture)
487
- 2. Create prototype build
488
- 3. Begin asset production planning
489
- 4. Review GDD with team/stakeholders
490
- 5. Exit workflow
491
-
492
- Which would you like to proceed with?</ask>
493
- </check>
494
-
495
- <check if="user selects narrative option">
496
- <invoke-workflow>{project-root}/_bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml</invoke-workflow>
497
- <action>Pass GDD context to narrative workflow</action>
498
- </check>
499
-
500
- </step>
501
-
502
- </workflow>