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,163 @@
1
+ ---
2
+ name: 'step-01b-continue'
3
+ description: 'Continue an existing narrative workflow from where it left off'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/narrative'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
10
+ workflowFile: '{workflow_path}/workflow.md'
11
+ outputFile: '{output_folder}/narrative-design.md'
12
+
13
+ # Step Files (for routing)
14
+ step02: '{workflow_path}/steps/step-02-foundation.md'
15
+ step03: '{workflow_path}/steps/step-03-story.md'
16
+ step04: '{workflow_path}/steps/step-04-characters.md'
17
+ step05: '{workflow_path}/steps/step-05-world.md'
18
+ step06: '{workflow_path}/steps/step-06-dialogue.md'
19
+ step07: '{workflow_path}/steps/step-07-environmental.md'
20
+ step08: '{workflow_path}/steps/step-08-delivery.md'
21
+ step09: '{workflow_path}/steps/step-09-integration.md'
22
+ step10: '{workflow_path}/steps/step-10-production.md'
23
+ step11: '{workflow_path}/steps/step-11-complete.md'
24
+ ---
25
+
26
+ # Step 1b: Continue Existing Narrative
27
+
28
+ **Resuming Narrative Workflow**
29
+
30
+ ## STEP GOAL:
31
+
32
+ Load the existing narrative document, determine progress, and route to the appropriate next step.
33
+
34
+ ## MANDATORY EXECUTION RULES (READ FIRST):
35
+
36
+ ### Universal Rules:
37
+
38
+ - NEVER generate content without user input
39
+ - CRITICAL: Read the complete step file before taking any action
40
+ - YOU ARE A FACILITATOR, not a content generator
41
+ - NEVER mention time estimates
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - Parse frontmatter to determine completed steps
46
+ - Present summary of current progress
47
+ - Route to correct next step based on state
48
+
49
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
50
+
51
+ ### 1. Load Existing Narrative
52
+
53
+ **Read the existing narrative document:**
54
+
55
+ Load `{outputFile}` and parse the frontmatter to extract:
56
+
57
+ - `stepsCompleted` array
58
+ - `status`
59
+ - `project` name
60
+ - `narrativeComplexity`
61
+ - GDD reference
62
+
63
+ ### 2. Analyze Progress
64
+
65
+ **Determine workflow state:**
66
+
67
+ Map completed steps to workflow progress:
68
+
69
+ - Step 1: Initialize
70
+ - Step 2: Foundation (premise, themes, structure)
71
+ - Step 3: Story (beats and pacing)
72
+ - Step 4: Characters (all characters and arcs)
73
+ - Step 5: World (world, history, locations)
74
+ - Step 6: Dialogue (dialogue systems)
75
+ - Step 7: Environmental (environmental storytelling)
76
+ - Step 8: Delivery (narrative delivery methods)
77
+ - Step 9: Integration (gameplay integration)
78
+ - Step 10: Production (scope and planning)
79
+ - Step 11: Complete
80
+
81
+ **Calculate next step:**
82
+
83
+ Find the highest completed step and determine the next step file to load.
84
+
85
+ ### 3. Present Continuation Summary
86
+
87
+ "**Resuming Narrative Workflow**
88
+
89
+ {{user_name}}, I found your existing narrative for **{{game_name}}**.
90
+
91
+ **Progress:** Steps completed: {{stepsCompleted}}
92
+
93
+ **Narrative Complexity:** {{narrativeComplexity}}
94
+
95
+ **Sections Completed:**
96
+ {{list_of_completed_sections}}
97
+
98
+ **Current Status:**
99
+
100
+ - Last completed: {{last_step_name}}
101
+ - Next step: {{next_step_name}} (Step {{next_step_number}} of 11)
102
+
103
+ Would you like to:
104
+
105
+ 1. **Continue** - Resume from {{next_step_name}}
106
+ 2. **Review** - Show me what we've written so far
107
+ 3. **Restart Step** - Redo the last completed step
108
+
109
+ Select an option:"
110
+
111
+ ### 4. Handle User Selection
112
+
113
+ **If Continue:**
114
+
115
+ - Load the next step file based on `stepsCompleted`
116
+
117
+ **If Review:**
118
+
119
+ - Present summary of all completed sections
120
+ - Show key narrative elements (premise, characters, etc.)
121
+ - Return to continuation options
122
+
123
+ **If Restart Step:**
124
+
125
+ - Decrement stepsCompleted to remove last step
126
+ - Load the step file for the step being restarted
127
+
128
+ ### 5. Route to Next Step
129
+
130
+ Based on next step number, load the appropriate step file:
131
+
132
+ | Next Step | File |
133
+ | --------- | -------- |
134
+ | 2 | {step02} |
135
+ | 3 | {step03} |
136
+ | 4 | {step04} |
137
+ | 5 | {step05} |
138
+ | 6 | {step06} |
139
+ | 7 | {step07} |
140
+ | 8 | {step08} |
141
+ | 9 | {step09} |
142
+ | 10 | {step10} |
143
+ | 11 | {step11} |
144
+
145
+ ---
146
+
147
+ ## SYSTEM SUCCESS/FAILURE METRICS
148
+
149
+ ### SUCCESS:
150
+
151
+ - Existing document loaded and parsed
152
+ - Progress accurately determined
153
+ - User presented with clear options
154
+ - Correct step file loaded based on state
155
+
156
+ ### SYSTEM FAILURE:
157
+
158
+ - Failing to parse frontmatter correctly
159
+ - Loading wrong step file
160
+ - Not presenting continuation options
161
+ - Overwriting existing progress without confirmation
162
+
163
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,262 @@
1
+ ---
2
+ name: 'step-02-foundation'
3
+ description: 'Define narrative premise, themes, tone, and story structure'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/narrative'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-02-foundation.md'
10
+ nextStepFile: '{workflow_path}/steps/step-03-story.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/narrative-design.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 2: Story Foundation
20
+
21
+ **Progress: Step 2 of 11** - Next: Story Beats
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define the narrative foundation: premise, themes, tone/atmosphere, and overall story structure. These elements form the backbone of all narrative content.
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 narrative design facilitator
40
+ - Help users articulate THEIR story vision
41
+ - The premise should come from the user
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - FORBIDDEN to generate premise without user input
46
+ - Draw out user's ideas through questions
47
+ - Themes should resonate with user's intent
48
+
49
+ ## EXECUTION PROTOCOLS:
50
+
51
+ - Show your analysis before taking any action
52
+ - Present A/P/C menu after generating content
53
+ - ONLY save when user chooses C (Continue)
54
+ - Update frontmatter `stepsCompleted: [1, 2]` before loading next step
55
+
56
+ ## COLLABORATION MENUS (A/P/C):
57
+
58
+ - **A (Advanced Elicitation)**: Explore themes deeper
59
+ - **P (Party Mode)**: Get perspectives on foundation
60
+ - **C (Continue)**: Save the content and proceed
61
+
62
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
63
+
64
+ ### 1. Narrative Premise Discovery
65
+
66
+ "Let's define the narrative foundation for **{{game_name}}**.
67
+
68
+ **First, the premise - your story's elevator pitch in 2-3 sentences.**
69
+
70
+ Good premises have:
71
+
72
+ - A protagonist with a clear goal
73
+ - An obstacle or conflict
74
+ - Stakes (what happens if they fail?)
75
+
76
+ **Examples:**
77
+
78
+ - \"A young knight discovers they're the last hope to stop an ancient evil, but must choose between saving the kingdom or their own family.\"
79
+ - \"After a mysterious pandemic, survivors must navigate a world where telling the truth is deadly but lying corrupts your soul.\"
80
+
81
+ What's the premise for {{game_name}}?"
82
+
83
+ ### 2. Theme Discovery
84
+
85
+ "**Now let's identify your core themes.**
86
+
87
+ Themes are the underlying ideas or messages woven throughout the story.
88
+
89
+ **Common game themes:**
90
+
91
+ - Redemption, sacrifice, identity
92
+ - Power and corruption
93
+ - Hope vs. despair
94
+ - Nature vs. technology
95
+ - Freedom vs. control
96
+ - Family, loyalty, betrayal
97
+
98
+ **Questions to consider:**
99
+
100
+ - What questions does your story ask?
101
+ - What will players think about after playing?
102
+ - What emotions do you want to evoke?
103
+
104
+ What are 2-4 core themes for {{game_name}}?"
105
+
106
+ ### 3. Tone and Atmosphere Discovery
107
+
108
+ "**Let's define the tone and atmosphere.**
109
+
110
+ Tone shapes how the story feels moment-to-moment.
111
+
112
+ **Tone spectrums:**
113
+
114
+ - Dark ←→ Lighthearted
115
+ - Serious ←→ Comedic
116
+ - Gritty ←→ Fantastical
117
+ - Intimate ←→ Epic
118
+ - Hopeful ←→ Melancholic
119
+
120
+ **Atmosphere elements:**
121
+
122
+ - Visual mood (colors, lighting)
123
+ - Audio mood (music style)
124
+ - Pacing (contemplative vs. urgent)
125
+ - Emotional register
126
+
127
+ Describe the tone and atmosphere for {{game_name}}:"
128
+
129
+ ### 4. Story Structure Discovery
130
+
131
+ "**What story structure will you use?**
132
+
133
+ **Common structures:**
134
+
135
+ | Structure | Description |
136
+ | ------------------ | ------------------------------------------------------ |
137
+ | **3-Act** | Setup → Confrontation → Resolution |
138
+ | **Hero's Journey** | Campbell's monomyth (departure, initiation, return) |
139
+ | **Kishōtenketsu** | 4-act: Introduction → Development → Twist → Conclusion |
140
+ | **Episodic** | Self-contained episodes with overarching arc |
141
+ | **Branching** | Multiple paths and endings |
142
+ | **Freeform** | Player-driven, emergent narrative |
143
+
144
+ What structure fits {{game_name}}?"
145
+
146
+ ### 5. Act Breakdown
147
+
148
+ "**Let's break down your story into acts/sections.**
149
+
150
+ Based on {{selected_structure}}:
151
+
152
+ {{structure_specific_prompts}}
153
+
154
+ Describe each act/section for {{game_name}}:"
155
+
156
+ ### 6. Generate Foundation Content
157
+
158
+ Based on the conversation, prepare the content:
159
+
160
+ ```markdown
161
+ ## Story Foundation
162
+
163
+ ### Narrative Premise
164
+
165
+ {{user_premise}}
166
+
167
+ ### Core Themes
168
+
169
+ {{themes_list_with_descriptions}}
170
+
171
+ ### Tone and Atmosphere
172
+
173
+ **Tone:** {{tone_description}}
174
+
175
+ **Atmosphere:** {{atmosphere_description}}
176
+
177
+ **Emotional Register:** {{emotional_goals}}
178
+
179
+ ---
180
+
181
+ ## Story Structure
182
+
183
+ ### Structure Type
184
+
185
+ **{{structure_type}}**
186
+
187
+ {{structure_description}}
188
+
189
+ ### Act Breakdown
190
+
191
+ {{act_breakdown_details}}
192
+ ```
193
+
194
+ ### 7. Present Content and Menu
195
+
196
+ Show the generated content to the user and present:
197
+
198
+ "I've drafted the Story Foundation based on our conversation.
199
+
200
+ **Here's what I'll add to the document:**
201
+
202
+ [Show the complete markdown content from step 6]
203
+
204
+ **Validation Check:**
205
+
206
+ - Does the premise capture your vision?
207
+ - Do the themes resonate with your intent?
208
+ - Does the structure fit your gameplay?
209
+
210
+ **Select an Option:**
211
+ [A] Advanced Elicitation - Explore themes and structure deeper
212
+ [P] Party Mode - Get perspectives on foundation
213
+ [C] Continue - Save this and move to Story Beats (Step 3 of 11)"
214
+
215
+ ### 8. Handle Menu Selection
216
+
217
+ #### IF A (Advanced Elicitation):
218
+
219
+ - Execute {advancedElicitationTask} with the current content
220
+ - Ask user: "Accept these changes? (y/n)"
221
+ - If yes: Update content, return to A/P/C menu
222
+ - If no: Keep original, return to A/P/C menu
223
+
224
+ #### IF P (Party Mode):
225
+
226
+ - Execute {partyModeWorkflow} with the current content
227
+ - Ask user: "Accept these changes? (y/n)"
228
+ - If yes: Update content, return to A/P/C menu
229
+ - If no: Keep original, return to A/P/C menu
230
+
231
+ #### IF C (Continue):
232
+
233
+ - Append the final content to `{outputFile}`
234
+ - Update frontmatter: `stepsCompleted: [1, 2]`
235
+ - Load `{nextStepFile}`
236
+
237
+ ## CRITICAL STEP COMPLETION NOTE
238
+
239
+ ONLY WHEN [C continue option] is selected and [foundation content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
240
+
241
+ ---
242
+
243
+ ## SYSTEM SUCCESS/FAILURE METRICS
244
+
245
+ ### SUCCESS:
246
+
247
+ - Premise captured from user input
248
+ - Themes identified and described
249
+ - Tone and atmosphere defined
250
+ - Story structure selected and broken down
251
+ - A/P/C menu presented and handled correctly
252
+ - Frontmatter updated with stepsCompleted: [1, 2]
253
+
254
+ ### SYSTEM FAILURE:
255
+
256
+ - Generating premise FOR user
257
+ - Generic themes not connected to user's vision
258
+ - Proceeding without structure breakdown
259
+ - Not presenting A/P/C menu after content
260
+ - Proceeding without user selecting 'C'
261
+
262
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,238 @@
1
+ ---
2
+ name: 'step-03-story'
3
+ description: 'Define major story beats and narrative pacing'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/narrative'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-03-story.md'
10
+ nextStepFile: '{workflow_path}/steps/step-04-characters.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/narrative-design.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 3: Story Beats
20
+
21
+ **Progress: Step 3 of 11** - Next: Characters
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define the major story beats (key narrative moments) and establish pacing and flow throughout the game experience.
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 narrative design facilitator
40
+ - Story beats are the skeleton of the narrative
41
+ - Help user identify key moments, don't create them
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - FORBIDDEN to generate story beats without user input
46
+ - Guide user through beat mapping
47
+ - Connect beats to structure defined in Step 2
48
+
49
+ ## EXECUTION PROTOCOLS:
50
+
51
+ - Show your analysis before taking any action
52
+ - Present A/P/C menu after generating content
53
+ - ONLY save when user chooses C (Continue)
54
+ - Update frontmatter `stepsCompleted: [1, 2, 3]` before loading next step
55
+
56
+ ## COLLABORATION MENUS (A/P/C):
57
+
58
+ - **A (Advanced Elicitation)**: Explore beats and connections
59
+ - **P (Party Mode)**: Get perspectives on pacing
60
+ - **C (Continue)**: Save the content and proceed
61
+
62
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
63
+
64
+ ### 1. Story Beats Discovery
65
+
66
+ "**Let's map the major story beats for {{game_name}}.**
67
+
68
+ Story beats are significant events that drive the narrative forward.
69
+
70
+ **Key beat types:**
71
+
72
+ - **Inciting Incident** - What sets the story in motion?
73
+ - **Plot Points** - Major turning points
74
+ - **Midpoint** - Central pivot moment
75
+ - **Climax** - Highest tension point
76
+ - **Resolution** - How things conclude
77
+
78
+ **Based on your {{structure_type}} structure, list 10-20 key moments.**
79
+
80
+ Format:
81
+
82
+ 1. [Beat name] - Brief description
83
+ 2. [Beat name] - Brief description
84
+
85
+ What are the major story beats for {{game_name}}?"
86
+
87
+ ### 2. Beat Placement
88
+
89
+ "**Now let's place these beats within your structure.**
90
+
91
+ For {{structure_type}}:
92
+
93
+ **Act 1 beats:**
94
+ Which of your beats belong in the setup/introduction?
95
+
96
+ **Act 2 beats:**
97
+ Which beats drive the main conflict/development?
98
+
99
+ **Act 3 beats:**
100
+ Which beats resolve the story?
101
+
102
+ Let's organize your beats:"
103
+
104
+ ### 3. Pacing Discovery
105
+
106
+ "**Let's define the pacing and flow.**
107
+
108
+ **Pacing considerations:**
109
+
110
+ | Aspect | Options |
111
+ | ------------------- | --------------------------------- |
112
+ | **Overall tempo** | Slow burn vs. fast-paced |
113
+ | **Tension pattern** | Escalating vs. waves |
114
+ | **Story density** | Heavy sections vs. light sections |
115
+ | **Player agency** | Mandatory vs. optional content |
116
+
117
+ **Questions:**
118
+
119
+ - When should tension be highest?
120
+ - Where are the breathing room moments?
121
+ - How much story per gameplay hour?
122
+
123
+ Describe the pacing for {{game_name}}:"
124
+
125
+ ### 4. Generate Story Content
126
+
127
+ Based on the conversation, prepare the content:
128
+
129
+ ```markdown
130
+ ## Story Beats
131
+
132
+ ### Major Story Beats
133
+
134
+ {{beats_list_with_descriptions}}
135
+
136
+ ### Beat Placement by Act
137
+
138
+ **Act 1: Setup**
139
+ {{act1_beats}}
140
+
141
+ **Act 2: Confrontation**
142
+ {{act2_beats}}
143
+
144
+ **Act 3: Resolution**
145
+ {{act3_beats}}
146
+
147
+ ---
148
+
149
+ ## Pacing and Flow
150
+
151
+ ### Narrative Tempo
152
+
153
+ {{pacing_description}}
154
+
155
+ ### Tension Curve
156
+
157
+ {{tension_pattern}}
158
+
159
+ ### Story Density
160
+
161
+ {{density_by_section}}
162
+
163
+ ### Key Moments
164
+
165
+ **Highest tension:** {{peak_moment}}
166
+ **Emotional climax:** {{emotional_peak}}
167
+ **Resolution beat:** {{resolution_moment}}
168
+ ```
169
+
170
+ ### 5. Present Content and Menu
171
+
172
+ Show the generated content to the user and present:
173
+
174
+ "I've mapped out the story beats and pacing.
175
+
176
+ **Here's what I'll add to the document:**
177
+
178
+ [Show the complete markdown content from step 4]
179
+
180
+ **Validation Check:**
181
+
182
+ - Are all major moments captured?
183
+ - Does pacing match your vision?
184
+ - Are beats properly distributed?
185
+
186
+ **Select an Option:**
187
+ [A] Advanced Elicitation - Explore beats and connections
188
+ [P] Party Mode - Get perspectives on pacing
189
+ [C] Continue - Save this and move to Characters (Step 4 of 11)"
190
+
191
+ ### 6. Handle Menu Selection
192
+
193
+ #### IF A (Advanced Elicitation):
194
+
195
+ - Execute {advancedElicitationTask} with the current content
196
+ - Ask user: "Accept these changes? (y/n)"
197
+ - If yes: Update content, return to A/P/C menu
198
+ - If no: Keep original, return to A/P/C menu
199
+
200
+ #### IF P (Party Mode):
201
+
202
+ - Execute {partyModeWorkflow} with the current content
203
+ - Ask user: "Accept these changes? (y/n)"
204
+ - If yes: Update content, return to A/P/C menu
205
+ - If no: Keep original, return to A/P/C menu
206
+
207
+ #### IF C (Continue):
208
+
209
+ - Append the final content to `{outputFile}`
210
+ - Update frontmatter: `stepsCompleted: [1, 2, 3]`
211
+ - Load `{nextStepFile}`
212
+
213
+ ## CRITICAL STEP COMPLETION NOTE
214
+
215
+ ONLY WHEN [C continue option] is selected and [story content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
216
+
217
+ ---
218
+
219
+ ## SYSTEM SUCCESS/FAILURE METRICS
220
+
221
+ ### SUCCESS:
222
+
223
+ - 10-20 story beats identified from user input
224
+ - Beats organized by act/structure
225
+ - Pacing and flow defined
226
+ - Tension curve established
227
+ - A/P/C menu presented and handled correctly
228
+ - Frontmatter updated with stepsCompleted: [1, 2, 3]
229
+
230
+ ### SYSTEM FAILURE:
231
+
232
+ - Generating beats FOR user
233
+ - Beats not connected to structure
234
+ - Missing pacing considerations
235
+ - Not presenting A/P/C menu after content
236
+ - Proceeding without user selecting 'C'
237
+
238
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.