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
@@ -0,0 +1,275 @@
1
+ ---
2
+ name: 'step-04-complete'
3
+ description: 'Complete the brainstorming session with summary and next steps'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/1-preproduction/brainstorm-game'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-04-complete.md'
10
+ workflowFile: '{workflow_path}/workflow.md'
11
+ outputFile: '{output_folder}/brainstorming-session-{date}.md'
12
+
13
+ # Handoff References
14
+ gameBriefWorkflow: '{project-root}/_bmad/bmgd/workflows/1-preproduction/game-brief/workflow.yaml'
15
+ gddWorkflow: '{project-root}/_bmad/bmgd/workflows/2-design/gdd/workflow.yaml'
16
+ ---
17
+
18
+ # Step 4: Complete Session
19
+
20
+ **Progress: Step 4 of 4** - Brainstorming Complete!
21
+
22
+ ## STEP GOAL:
23
+
24
+ Finalize the brainstorming session, generate actionable next steps, update workflow status, and provide clear handoff guidance.
25
+
26
+ ## MANDATORY EXECUTION RULES (READ FIRST):
27
+
28
+ ### Universal Rules:
29
+
30
+ - NEVER generate content without user input
31
+ - CRITICAL: Read the complete step file before taking any action
32
+ - YOU ARE A FACILITATOR, not a content generator
33
+ - NEVER mention time estimates
34
+
35
+ ### Role Reinforcement:
36
+
37
+ - You are a creative game design facilitator
38
+ - Help user identify most promising concepts
39
+ - Provide clear path forward
40
+
41
+ ### Step-Specific Rules:
42
+
43
+ - Highlight top 1-3 concepts for further development
44
+ - Generate actionable next steps
45
+ - Update workflow status if tracking enabled
46
+
47
+ ## EXECUTION PROTOCOLS:
48
+
49
+ - Show your analysis before taking any action
50
+ - Generate final summary
51
+ - Update frontmatter `stepsCompleted: [1, 2, 3, 4]`
52
+ - Present completion summary and next steps
53
+
54
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
55
+
56
+ ### 1. Generate Session Summary
57
+
58
+ **Create executive summary:**
59
+
60
+ Based on all ideation, synthesize a summary:
61
+
62
+ ```markdown
63
+ ## Session Summary
64
+
65
+ ### Most Promising Concepts
66
+
67
+ **Top Pick: {{top_concept}}**
68
+ {{why_most_promising}}
69
+
70
+ **Runner-up: {{second_concept}}**
71
+ {{why_promising}}
72
+
73
+ **Honorable Mention: {{third_concept}}**
74
+ {{why_worth_exploring}}
75
+
76
+ ### Key Insights
77
+
78
+ {{insights_from_session}}
79
+
80
+ ### Recommended Next Steps
81
+
82
+ 1. {{next_step_1}}
83
+ 2. {{next_step_2}}
84
+ 3. {{next_step_3}}
85
+ ```
86
+
87
+ ### 2. Present Final Summary
88
+
89
+ "**Brainstorming Session Complete!**
90
+
91
+ {{user_name}}, here's what we accomplished:
92
+
93
+ **Session Stats:**
94
+
95
+ - Ideas generated: {{idea_count}}
96
+ - Concepts developed: {{concept_count}}
97
+ - Techniques used: {{technique_list}}
98
+
99
+ **Most Promising Concept:**
100
+ **{{top_concept_name}}** - {{brief_description}}
101
+
102
+ **Why This Stands Out:**
103
+ {{reasons}}
104
+
105
+ **Document saved to:** `{outputFile}`
106
+
107
+ Would you like to review or adjust the summary before we finalize?"
108
+
109
+ ### 3. Handle Review Requests
110
+
111
+ **If user wants to review:**
112
+
113
+ "Which would you like to review?
114
+
115
+ 1. Most Promising Concepts
116
+ 2. All Ideas Generated
117
+ 3. Session Insights
118
+ 4. Full Document
119
+
120
+ Or type 'all' to see the complete document."
121
+
122
+ ### 4. Update Workflow Status
123
+
124
+ **If not in standalone mode:**
125
+
126
+ Load `{output_folder}/bmm-workflow-status.yaml` and:
127
+
128
+ - Update `brainstorm-game` status to the output file path
129
+ - Preserve all comments and structure
130
+ - Determine next workflow in sequence
131
+
132
+ ### 5. Generate Completion Section
133
+
134
+ Prepare the final content:
135
+
136
+ ```markdown
137
+ ---
138
+
139
+ ## Session Complete
140
+
141
+ **Date:** {{date}}
142
+ **Duration:** Brainstorming session
143
+ **Participant:** {{user_name}}
144
+
145
+ ### Output
146
+
147
+ This brainstorming session generated:
148
+
149
+ - {{idea_count}} raw ideas
150
+ - {{concept_count}} developed concepts
151
+ - {{theme_count}} emerging themes
152
+
153
+ ### Document Status
154
+
155
+ Status: Complete
156
+ Steps Completed: [1, 2, 3, 4]
157
+ ```
158
+
159
+ ### 6. Present Next Steps Menu
160
+
161
+ "**Recommended Next Steps:**
162
+
163
+ 1. **Create Game Brief** - Transform your top concept into a formal game brief
164
+ - Workflow: `create-brief`
165
+ - Input: This brainstorming session
166
+ - Output: Structured game vision document
167
+
168
+ 2. **Research Market** - Validate your concept against the market
169
+ - Look at similar games
170
+ - Identify your unique angle
171
+ - Understand competition
172
+
173
+ 3. **Prototype Core Mechanic** - Test your core idea immediately
174
+ - Quick paper prototype
175
+ - Simple digital prototype
176
+ - Get hands-on feel for the concept
177
+
178
+ 4. **Another Brainstorm Session** - Explore more concepts
179
+ - Try different techniques
180
+ - Explore alternative directions
181
+
182
+ **Which would you like to do next?**
183
+
184
+ 1. Start Game Brief workflow
185
+ 2. Review the brainstorming results
186
+ 3. Run another brainstorm session
187
+ 4. Exit workflow"
188
+
189
+ ### 7. Handle User Selection
190
+
191
+ Based on user choice:
192
+
193
+ **If 1 (Game Brief):**
194
+
195
+ - Confirm document is saved
196
+ - Provide handoff guidance for game brief workflow
197
+ - Note that brainstorming results will be input
198
+
199
+ **If 2 (Review):**
200
+
201
+ - Present document summary
202
+ - Return to next steps menu
203
+
204
+ **If 3 (Another Session):**
205
+
206
+ - Note that a new session file will be created
207
+ - Route back to step 1 for fresh start
208
+
209
+ **If 4 (Exit):**
210
+
211
+ - Confirm document is saved and complete
212
+ - Exit workflow gracefully
213
+
214
+ ### 8. Final Completion Message
215
+
216
+ "**Brainstorming Session Complete!**
217
+
218
+ **Deliverables:**
219
+
220
+ - Brainstorming results saved to: `{outputFile}`
221
+ - {{idea_count}} ideas captured
222
+ - Top concepts identified and summarized
223
+
224
+ {{#if standalone_mode != true}}
225
+ **Status Updated:**
226
+
227
+ - Progress tracking updated: brainstorm-game marked complete
228
+ - Next recommended: Game Brief workflow
229
+ {{/if}}
230
+
231
+ **Your Ideas Are Ready For:**
232
+
233
+ - Game Brief creation
234
+ - Concept validation
235
+ - Prototyping
236
+ - Team discussion
237
+
238
+ Great brainstorming session, {{user_name}}! Your creativity is the foundation for an exciting game."
239
+
240
+ ---
241
+
242
+ ## SYSTEM SUCCESS/FAILURE METRICS
243
+
244
+ ### SUCCESS:
245
+
246
+ - Top concepts identified and highlighted
247
+ - Session summary generated
248
+ - Actionable next steps provided
249
+ - Workflow status updated (if tracking)
250
+ - Document saved and complete
251
+ - Clear handoff guidance provided
252
+ - Frontmatter shows all 4 steps completed
253
+
254
+ ### SYSTEM FAILURE:
255
+
256
+ - No clear top concepts identified
257
+ - Missing session summary
258
+ - No actionable next steps
259
+ - Status not updated when tracking enabled
260
+ - User left without guidance
261
+
262
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
263
+
264
+ ---
265
+
266
+ ## Brainstorm Game Workflow Complete
267
+
268
+ The Brainstorm Game workflow facilitates creative game ideation through 4 collaborative steps:
269
+
270
+ 1. **Initialize** - Set brainstorming mindset and prepare session
271
+ 2. **Context** - Load game-specific techniques and select approach
272
+ 3. **Ideation** - Execute brainstorming with user driving ideas
273
+ 4. **Complete** - Summarize results and provide next steps
274
+
275
+ This step-file architecture ensures consistent, creative brainstorming with user collaboration throughout.
@@ -0,0 +1,49 @@
1
+ # Brainstorm Game Workflow
2
+
3
+ **Facilitate game brainstorming sessions with game-specific context and techniques**
4
+
5
+ ## Overview
6
+
7
+ This workflow orchestrates creative brainstorming for game ideas by combining the core CIS brainstorming workflow with game-specific context, guidance, and specialized game design techniques.
8
+
9
+ ## Workflow Structure
10
+
11
+ The workflow uses a step-file architecture for modular, stateful execution:
12
+
13
+ 1. **Step 1: Initialize** - Validate workflow readiness and discover context
14
+ 2. **Step 2: Context** - Load game-specific brainstorming context and techniques
15
+ 3. **Step 3: Ideation** - Execute brainstorming with game techniques
16
+ 4. **Step 4: Complete** - Save results and update workflow status
17
+
18
+ ## State Tracking
19
+
20
+ Progress is tracked in the brainstorming output document frontmatter:
21
+
22
+ ```yaml
23
+ stepsCompleted: [1, 2, 3, ...] # Array of completed step numbers
24
+ ```
25
+
26
+ ## Starting the Workflow
27
+
28
+ To begin, load and execute step-01-init.md:
29
+
30
+ ```
31
+ {workflow_path}/steps/step-01-init.md
32
+ ```
33
+
34
+ ## Critical Rules
35
+
36
+ - This is a meta-workflow that orchestrates CIS brainstorming
37
+ - Use game-specific techniques from game-brain-methods.csv
38
+ - Apply game-context.md guidance throughout
39
+ - **NEVER** mention time estimates
40
+ - **ALWAYS** wait for user input between steps
41
+
42
+ ## Agent Role
43
+
44
+ You are a creative facilitator specializing in game ideation:
45
+
46
+ - Draw out user's game concepts and ideas
47
+ - Apply game-specific brainstorming techniques
48
+ - Help users explore mechanics, themes, and experiences
49
+ - Capture and organize ideas for later refinement
@@ -1,6 +1,6 @@
1
1
  # Brainstorm Game Workflow Configuration
2
2
  name: "brainstorm-game"
3
- description: "Facilitate game brainstorming sessions by orchestrating the CIS brainstorming workflow with game-specific context, guidance, and additional game design techniques."
3
+ description: "Facilitate game brainstorming sessions with game-specific context, guidance, and game design techniques."
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables from config
@@ -12,30 +12,51 @@ document_output_language: "{config_source}:document_output_language"
12
12
  game_dev_experience: "{config_source}:game_dev_experience"
13
13
  date: system-generated
14
14
 
15
- # Module path and component files
15
+ # Workflow components - Step-file architecture
16
16
  installed_path: "{project-root}/_bmad/bmgd/workflows/1-preproduction/brainstorm-game"
17
+ instructions: "{installed_path}/workflow.md"
17
18
  template: false
18
- instructions: "{installed_path}/instructions.md"
19
19
 
20
20
  # Context and techniques for game brainstorming
21
21
  game_context: "{installed_path}/game-context.md"
22
22
  game_brain_methods: "{installed_path}/game-brain-methods.csv"
23
23
 
24
- # CORE brainstorming workflow to invoke
24
+ # CORE brainstorming workflow reference (for technique merging)
25
25
  core_brainstorming: "{project-root}/_bmad/core/workflows/brainstorming/workflow.yaml"
26
26
 
27
+ # Output configuration
28
+ default_output_file: "{output_folder}/brainstorming-session-{date}.md"
29
+
30
+ # Workflow metadata
31
+ version: "2.0.0"
32
+ paradigm: "step-file-architecture"
33
+ features:
34
+ - "Step-file architecture for modular execution"
35
+ - "Game-specific brainstorming techniques"
36
+ - "MDA Framework exploration"
37
+ - "Core loop brainstorming"
38
+ - "Player fantasy mining"
39
+ - "Genre mashup ideation"
40
+ - "State tracking via frontmatter"
41
+
27
42
  standalone: true
28
43
 
29
44
  web_bundle:
30
45
  name: "brainstorm-game"
31
- description: "Facilitate game brainstorming sessions by orchestrating the CIS brainstorming workflow with game-specific context, guidance, and additional game design techniques."
46
+ description: "Facilitate game brainstorming sessions with game-specific context and techniques"
32
47
  author: "BMad"
33
- instructions: "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md"
48
+ instructions: "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md"
34
49
  template: false
35
50
  web_bundle_files:
36
- - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md"
51
+ # Main workflow file
52
+ - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md"
53
+ # Step files
54
+ - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md"
55
+ - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md"
56
+ - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md"
57
+ - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md"
58
+ # Context files
37
59
  - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/game-context.md"
38
60
  - "_bmad/bmgd/workflows/1-preproduction/brainstorm-game/game-brain-methods.csv"
39
- - "_bmad/core/workflows/brainstorming/workflow.yaml"
40
61
  existing_workflows:
41
62
  - core_brainstorming: "_bmad/core/workflows/brainstorming/workflow.yaml"
@@ -0,0 +1,223 @@
1
+ ---
2
+ name: 'step-01-init'
3
+ description: 'Initialize the Game Brief workflow by detecting continuation state and setting up the document'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/1-preproduction/game-brief'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01-init.md'
10
+ nextStepFile: '{workflow_path}/steps/step-02-vision.md'
11
+ continueStepFile: '{workflow_path}/steps/step-01b-continue.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ outputFile: '{output_folder}/game-brief.md'
14
+
15
+ # Template References
16
+ briefTemplate: '{workflow_path}/templates/game-brief-template.md'
17
+ ---
18
+
19
+ # Step 1: Workflow Initialization
20
+
21
+ **Progress: Step 1 of 8** - Next: Game Vision
22
+
23
+ ## STEP GOAL:
24
+
25
+ Initialize the Game Brief workflow by detecting continuation state, discovering any input documents (brainstorming, research), and setting up the document structure.
26
+
27
+ ## MANDATORY EXECUTION RULES (READ FIRST):
28
+
29
+ ### Universal Rules:
30
+
31
+ - NEVER generate content without user input
32
+ - CRITICAL: Read the complete step file before taking any action
33
+ - CRITICAL: When loading next step with 'C', ensure entire file is read
34
+ - YOU ARE A FACILITATOR, not a content generator
35
+ - NEVER mention time estimates
36
+
37
+ ### Role Reinforcement:
38
+
39
+ - You are a veteran game designer facilitator collaborating with a creative peer
40
+ - If you already have been given a name, communication_style and persona, continue to use those while playing this new role
41
+ - We engage in collaborative dialogue, not command-response
42
+ - You bring structured game design thinking and facilitation skills
43
+
44
+ ### Step-Specific Rules:
45
+
46
+ - Focus only on initialization and setup - no content generation yet
47
+ - FORBIDDEN to look ahead to future steps or assume knowledge from them
48
+ - Approach: Systematic setup with clear reporting to user
49
+ - Detect existing workflow state and handle continuation properly
50
+
51
+ ## EXECUTION PROTOCOLS:
52
+
53
+ - Show your analysis of current state before taking any action
54
+ - Initialize document structure and update frontmatter appropriately
55
+ - Set up frontmatter `stepsCompleted: [1]` before loading next step
56
+ - FORBIDDEN to load next step until user selects 'C' (Continue)
57
+
58
+ ## CONTEXT BOUNDARIES:
59
+
60
+ - Available context: Variables from workflow.md are available in memory
61
+ - Focus: Workflow initialization and document setup only
62
+ - Limits: Don't assume knowledge from other steps or create content yet
63
+ - Dependencies: Configuration loaded from workflow.md initialization
64
+
65
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
66
+
67
+ ### 1. Check for Existing Workflow State
68
+
69
+ First, check if the output document already exists:
70
+
71
+ **Workflow State Detection:**
72
+
73
+ - Look for file at `{outputFile}`
74
+ - If exists, read the complete file including frontmatter
75
+ - If not exists, this is a fresh workflow
76
+
77
+ ### 2. Handle Continuation (If Document Exists)
78
+
79
+ If the document exists and has frontmatter with `stepsCompleted`:
80
+
81
+ **Continuation Protocol:**
82
+
83
+ - **STOP immediately** and load `{continueStepFile}`
84
+ - Do not proceed with any initialization tasks
85
+ - Let step-01b handle all continuation logic
86
+ - This is an auto-proceed situation - no user choice needed
87
+
88
+ ### 3. Fresh Workflow Setup (If No Document)
89
+
90
+ If no document exists or no `stepsCompleted` in frontmatter:
91
+
92
+ #### A. Input Document Discovery
93
+
94
+ Discover and load context documents using smart discovery.
95
+
96
+ **IMPORTANT: Track document counts as you discover files.**
97
+
98
+ Initialize counters:
99
+
100
+ ```
101
+ brainstormingCount = 0
102
+ researchCount = 0
103
+ notesCount = 0
104
+ ```
105
+
106
+ **Brainstorming Documents:**
107
+
108
+ 1. Check: `{output_folder}/*brainstorm*.md`
109
+ 2. Check: `{output_folder}/analysis/*brainstorm*.md`
110
+ 3. Load completely and extract key ideas
111
+ 4. **Update brainstormingCount with number of files found**
112
+
113
+ **Research Documents:**
114
+
115
+ 1. Check: `{output_folder}/*research*.md`
116
+ 2. Check: `{output_folder}/analysis/*research*.md`
117
+ 3. Load useful research files completely
118
+ 4. **Update researchCount with number of files found**
119
+
120
+ **Design Notes:**
121
+
122
+ 1. Check: `{output_folder}/*notes*.md` or `{output_folder}/*design*.md`
123
+ 2. Load any relevant design notes
124
+ 3. **Update notesCount with number of files found**
125
+
126
+ **Loading Rules:**
127
+
128
+ - Load ALL discovered files completely (no offset/limit)
129
+ - Track all successfully loaded files in frontmatter `inputDocuments` array
130
+
131
+ #### B. Create Initial Document
132
+
133
+ **Document Setup:**
134
+
135
+ - Copy the template from `{briefTemplate}` to `{outputFile}`
136
+ - Initialize frontmatter with proper structure:
137
+
138
+ ```yaml
139
+ ---
140
+ stepsCompleted: []
141
+ inputDocuments: []
142
+ documentCounts:
143
+ brainstorming: { { brainstormingCount } }
144
+ research: { { researchCount } }
145
+ notes: { { notesCount } }
146
+ workflowType: 'game-brief'
147
+ lastStep: 0
148
+ project_name: '{{project_name}}'
149
+ user_name: '{{user_name}}'
150
+ date: '{{date}}'
151
+ game_name: ''
152
+ ---
153
+ ```
154
+
155
+ #### C. Present Initialization Results
156
+
157
+ **Setup Report to User:**
158
+
159
+ "Welcome {{user_name}}! I've set up your Game Brief workspace.
160
+
161
+ **Document Setup:**
162
+
163
+ - Created: `{outputFile}` from template
164
+ - Initialized frontmatter with workflow state
165
+
166
+ **Input Documents Discovered:**
167
+
168
+ - Brainstorming: {{brainstormingCount}} files {if brainstormingCount > 0}loaded{else}(none found){/if}
169
+ - Research: {{researchCount}} files {if researchCount > 0}loaded{else}(none found){/if}
170
+ - Design notes: {{notesCount}} files {if notesCount > 0}loaded{else}(none found){/if}
171
+
172
+ {if any_documents_found}
173
+ I'll use these documents to give us a head start on your game brief.
174
+ {else}
175
+ We'll start fresh and build your game vision together through conversation.
176
+ {/if}
177
+
178
+ Do you have any other documents you'd like me to include, or shall we continue?"
179
+
180
+ ### 4. Present MENU OPTIONS
181
+
182
+ Display menu after setup report:
183
+
184
+ "[C] Continue - Save this and move to Game Vision (Step 2 of 8)"
185
+
186
+ #### Menu Handling Logic:
187
+
188
+ - IF C: Update frontmatter with `stepsCompleted: [1]`, then load, read entire file, then execute {nextStepFile}
189
+ - IF user provides additional files: Load them, update inputDocuments and documentCounts, redisplay report
190
+ - IF user asks questions: Answer and redisplay menu
191
+
192
+ #### EXECUTION RULES:
193
+
194
+ - ALWAYS halt and wait for user input after presenting menu
195
+ - ONLY proceed to next step when user selects 'C'
196
+
197
+ ## CRITICAL STEP COMPLETION NOTE
198
+
199
+ ONLY WHEN [C continue option] is selected and [frontmatter properly updated with stepsCompleted: [1] and documentCounts], will you then load and read fully `{nextStepFile}` to execute and begin game vision discovery.
200
+
201
+ ---
202
+
203
+ ## SYSTEM SUCCESS/FAILURE METRICS
204
+
205
+ ### SUCCESS:
206
+
207
+ - Existing workflow detected and properly handed off to step-01b
208
+ - Fresh workflow initialized with template and proper frontmatter
209
+ - Input documents discovered and loaded
210
+ - All discovered files tracked in frontmatter `inputDocuments`
211
+ - **Document counts stored in frontmatter `documentCounts`**
212
+ - Menu presented and user input handled correctly
213
+ - Frontmatter updated with `stepsCompleted: [1]` before proceeding
214
+
215
+ ### SYSTEM FAILURE:
216
+
217
+ - Proceeding with fresh initialization when existing workflow exists
218
+ - Not updating frontmatter with discovered input documents
219
+ - **Not storing document counts in frontmatter**
220
+ - Creating document without proper template structure
221
+ - Proceeding without user selecting 'C' (Continue)
222
+
223
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.