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,272 @@
1
+ ---
2
+ name: 'step-08-progression'
3
+ description: 'Define player progression systems and game balance'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/gdd'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-08-progression.md'
10
+ nextStepFile: '{workflow_path}/steps/step-09-levels.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/gdd.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 8: Progression & Balance
20
+
21
+ **Progress: Step 8 of 14** - Next: Level Design
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define how players progress through the game (skill, power, narrative, etc.), the difficulty curve, and any economy or resource systems.
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
+
36
+ ### Role Reinforcement:
37
+
38
+ - You are a veteran game designer facilitator collaborating with a creative peer
39
+ - Progression is what keeps players engaged over time
40
+ - Balance determines if the game feels fair and fun
41
+
42
+ ### Step-Specific Rules:
43
+
44
+ - Focus on player growth and challenge scaling
45
+ - FORBIDDEN to generate progression systems without user input
46
+ - Some games have no explicit progression - that's valid
47
+ - Economy/resources are optional - ask before including
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, 4, 5, 6, 7, 8]` before loading next step
55
+ - FORBIDDEN to load next step until C is selected
56
+
57
+ ## COLLABORATION MENUS (A/P/C):
58
+
59
+ - **A (Advanced Elicitation)**: Deep dive into progression curves and balance
60
+ - **P (Party Mode)**: Test progression ideas with multiple perspectives
61
+ - **C (Continue)**: Save the content to the document and proceed to next step
62
+
63
+ ## CONTEXT BOUNDARIES:
64
+
65
+ - All previous context available (especially core loop and mechanics)
66
+ - Progression should reinforce the core loop
67
+ - Balance affects all previously defined mechanics
68
+
69
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
70
+
71
+ ### 1. Player Progression Discovery
72
+
73
+ **Guide user through progression definition:**
74
+
75
+ "Let's define how players grow and progress through {{game_name}}.
76
+
77
+ **Types of Progression:**
78
+
79
+ | Type | Description | Examples |
80
+ | -------------- | ------------------------------------------ | ------------------------- |
81
+ | **Skill** | Player gets better at the game | Dark Souls, Celeste |
82
+ | **Power** | Character gets stronger (stats, abilities) | RPGs, Metroidvanias |
83
+ | **Narrative** | Story unfolds and advances | Visual novels, adventures |
84
+ | **Content** | New levels, areas, or modes unlock | Most games |
85
+ | **Collection** | Gathering items, achievements | Completionist games |
86
+ | **Social** | Rank, reputation, community status | Competitive games |
87
+
88
+ **For {{game_type}} games, typical progression includes:**
89
+ {typical_progression_for_game_type}
90
+
91
+ **Questions to consider:**
92
+
93
+ 1. What type(s) of progression does {{game_name}} have?
94
+ 2. How long until players feel meaningful progress?
95
+ 3. Is there a "meta" progression (between runs/sessions)?
96
+
97
+ How do players progress in {{game_name}}?"
98
+
99
+ ### 2. Difficulty Curve Discovery
100
+
101
+ **Guide user through difficulty design:**
102
+
103
+ "Now let's design the difficulty curve.
104
+
105
+ **Difficulty Curve Patterns:**
106
+
107
+ | Pattern | Description | Best For |
108
+ | --------------------- | --------------------------------------- | ------------------------------ |
109
+ | **Linear** | Steady increase in challenge | Story games, first playthrough |
110
+ | **Sawtooth** | Build-release pattern (easy after hard) | Level-based games |
111
+ | **Exponential** | Gentle start, steep late-game | RPGs, incremental games |
112
+ | **Flat** | Consistent challenge throughout | Roguelikes, skill games |
113
+ | **Player-controlled** | User selects difficulty | Accessibility-focused |
114
+
115
+ **Questions to consider:**
116
+
117
+ 1. How does challenge increase over time?
118
+ 2. Are there difficulty spikes (bosses, skill checks)?
119
+ 3. Can players adjust difficulty? How?
120
+ 4. How do you handle players who are stuck?
121
+
122
+ Describe the difficulty curve for {{game_name}}."
123
+
124
+ ### 3. Economy/Resources Discovery (Optional)
125
+
126
+ **Ask first:**
127
+
128
+ "Does {{game_name}} have an in-game economy or resource system?
129
+
130
+ Examples:
131
+
132
+ - Currency (gold, coins, gems)
133
+ - Crafting materials
134
+ - Energy/stamina systems
135
+ - Ammunition or consumables
136
+
137
+ If yes, we'll define it. If no, we'll skip this section."
138
+
139
+ **If yes:**
140
+
141
+ "Let's define the economy/resources:
142
+
143
+ **Economy Questions:**
144
+
145
+ 1. What resources exist?
146
+ 2. How are resources earned?
147
+ 3. How are resources spent?
148
+ 4. Is there inflation/scarcity design?
149
+ 5. Are there sinks to remove resources?
150
+ 6. Premium currency? (if F2P)
151
+
152
+ Describe the economy in {{game_name}}."
153
+
154
+ ### 4. Generate Progression Content
155
+
156
+ Based on the conversation, prepare the content:
157
+
158
+ ```markdown
159
+ ## Progression and Balance
160
+
161
+ ### Player Progression
162
+
163
+ {{progression_system_description}}
164
+
165
+ #### Progression Types
166
+
167
+ {{progression_types_used}}
168
+
169
+ #### Progression Pacing
170
+
171
+ {{how_fast_players_progress}}
172
+
173
+ ### Difficulty Curve
174
+
175
+ {{difficulty_curve_description}}
176
+
177
+ #### Challenge Scaling
178
+
179
+ {{how_difficulty_increases}}
180
+
181
+ #### Difficulty Options
182
+
183
+ {{accessibility_and_difficulty_settings}}
184
+
185
+ ### Economy and Resources
186
+
187
+ {{if_has_economy}}
188
+ {{economy_system_description}}
189
+
190
+ #### Resources
191
+
192
+ {{resource_types_and_purposes}}
193
+
194
+ #### Economy Flow
195
+
196
+ {{earn_and_spend_loop}}
197
+ {{/if_has_economy}}
198
+
199
+ {{if_no_economy}}
200
+ _This game does not feature an in-game economy or resource system._
201
+ {{/if_no_economy}}
202
+ ```
203
+
204
+ ### 5. Present Content and Menu
205
+
206
+ Show the generated content to the user and present:
207
+
208
+ "I've drafted the Progression & Balance sections based on our conversation.
209
+
210
+ **Here's what I'll add to the document:**
211
+
212
+ [Show the complete markdown content from step 4]
213
+
214
+ **Validation Check:**
215
+
216
+ - Does progression reinforce your core loop?
217
+ - Is the difficulty curve appropriate for your audience?
218
+ - Does the economy (if any) feel fair?
219
+
220
+ **Select an Option:**
221
+ [A] Advanced Elicitation - Deep dive into balance and pacing
222
+ [P] Party Mode - Test these systems with other perspectives
223
+ [C] Continue - Save this and move to Level Design (Step 9 of 14)"
224
+
225
+ ### 6. Handle Menu Selection
226
+
227
+ #### IF A (Advanced Elicitation):
228
+
229
+ - Execute {advancedElicitationTask} with the current content
230
+ - Ask user: "Accept these changes? (y/n)"
231
+ - If yes: Update content, return to A/P/C menu
232
+ - If no: Keep original, return to A/P/C menu
233
+
234
+ #### IF P (Party Mode):
235
+
236
+ - Execute {partyModeWorkflow} with the current content
237
+ - Ask user: "Accept these changes? (y/n)"
238
+ - If yes: Update content, return to A/P/C menu
239
+ - If no: Keep original, return to A/P/C menu
240
+
241
+ #### IF C (Continue):
242
+
243
+ - Append the final content to `{outputFile}`
244
+ - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]`
245
+ - Load `{nextStepFile}`
246
+
247
+ ## CRITICAL STEP COMPLETION NOTE
248
+
249
+ ONLY WHEN [C continue option] is selected and [progression content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
250
+
251
+ ---
252
+
253
+ ## SYSTEM SUCCESS/FAILURE METRICS
254
+
255
+ ### SUCCESS:
256
+
257
+ - Progression system clearly defined
258
+ - Difficulty curve appropriate for game type and audience
259
+ - Economy handled correctly (defined or explicitly skipped)
260
+ - Balance considerations documented
261
+ - A/P/C menu presented and handled correctly
262
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]
263
+
264
+ ### SYSTEM FAILURE:
265
+
266
+ - Generating progression without user input
267
+ - Assuming economy exists without asking
268
+ - Difficulty curve mismatched with audience
269
+ - Not presenting A/P/C menu after content generation
270
+ - Proceeding without user selecting 'C'
271
+
272
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,264 @@
1
+ ---
2
+ name: 'step-09-levels'
3
+ description: 'Define level design framework and level progression'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmgd/workflows/2-design/gdd'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-09-levels.md'
10
+ nextStepFile: '{workflow_path}/steps/step-10-art-audio.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{output_folder}/gdd.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 9: Level Design
20
+
21
+ **Progress: Step 9 of 14** - Next: Art & Audio
22
+
23
+ ## STEP GOAL:
24
+
25
+ Define the level design framework including level types, structure, and how levels progress or unlock throughout the game.
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
+
36
+ ### Role Reinforcement:
37
+
38
+ - You are a veteran game designer facilitator collaborating with a creative peer
39
+ - Level design is where mechanics meet content
40
+ - Not all games have "levels" - some have open worlds, others are endless
41
+
42
+ ### Step-Specific Rules:
43
+
44
+ - Focus on spatial design and content structure
45
+ - FORBIDDEN to generate level designs without user input
46
+ - Adapt terminology to game type (levels, stages, areas, dungeons, etc.)
47
+ - Some games have no level structure - that's valid
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, 4, 5, 6, 7, 8, 9]` before loading next step
55
+ - FORBIDDEN to load next step until C is selected
56
+
57
+ ## COLLABORATION MENUS (A/P/C):
58
+
59
+ - **A (Advanced Elicitation)**: Deep dive into level design principles
60
+ - **P (Party Mode)**: Get perspectives on level structure
61
+ - **C (Continue)**: Save the content to the document and proceed to next step
62
+
63
+ ## CONTEXT BOUNDARIES:
64
+
65
+ - All previous context available (especially mechanics and progression)
66
+ - Level design should teach and challenge using defined mechanics
67
+ - Structure should support defined progression system
68
+
69
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
70
+
71
+ ### 1. Determine Level Structure Type
72
+
73
+ **First, establish the structural approach:**
74
+
75
+ "Let's define how {{game_name}} structures its playable content.
76
+
77
+ **Structure Types:**
78
+
79
+ | Type | Description | Examples |
80
+ | -------------------- | --------------------------------- | --------------------------- |
81
+ | **Linear Levels** | Distinct stages played in order | Mario, Celeste |
82
+ | **Hub-Based** | Central area connecting levels | Mario 64, Hollow Knight |
83
+ | **Open World** | Large continuous space | Breath of the Wild, GTA |
84
+ | **Procedural** | Generated levels each playthrough | Spelunky, Dead Cells |
85
+ | **Arena/Match** | Self-contained competitive spaces | Fighting games, MOBAs |
86
+ | **Puzzle Sets** | Collections of puzzles | Portal, The Witness |
87
+ | **Narrative Scenes** | Story-driven segments | Visual novels, adventures |
88
+ | **Endless** | Infinite generated content | Endless runners, idle games |
89
+
90
+ **For {{game_type}} games, typical structures include:**
91
+ {typical_structures_for_game_type}
92
+
93
+ What structure best fits {{game_name}}?"
94
+
95
+ ### 2. Level Types Discovery
96
+
97
+ **Based on structure choice, elicit level types:**
98
+
99
+ "Now let's define the types of {levels/areas/stages} in {{game_name}}.
100
+
101
+ **Questions to consider:**
102
+
103
+ 1. What different environments or settings exist?
104
+ 2. Are there tutorial levels? How are they integrated?
105
+ 3. Are there boss levels or climax moments?
106
+ 4. What's the shortest level? Longest?
107
+ 5. Any special or secret levels?
108
+
109
+ Describe the types of {levels/areas/stages} in {{game_name}}."
110
+
111
+ ### 3. Level Progression Discovery
112
+
113
+ **Guide user through progression structure:**
114
+
115
+ "Now let's define how players progress through {levels/areas/content}.
116
+
117
+ **Progression Models:**
118
+
119
+ | Model | Description | Best For |
120
+ | --------------------- | -------------------------------- | ---------------------- |
121
+ | **Linear Sequence** | 1 -> 2 -> 3 -> ... | Story games, tutorials |
122
+ | **Branching Paths** | Choices lead to different levels | Replayability |
123
+ | **Open Selection** | Player chooses order | Mega Man style |
124
+ | **Gated Progress** | Abilities unlock new areas | Metroidvania |
125
+ | **Score/Star Unlock** | Performance unlocks levels | Angry Birds style |
126
+ | **Story Unlock** | Narrative triggers unlock | Adventure games |
127
+
128
+ **Questions to consider:**
129
+
130
+ 1. How do players unlock new {levels/areas}?
131
+ 2. Can players replay previous {levels/areas}?
132
+ 3. Is there a "world map" or selection screen?
133
+ 4. How is the final {level/area} unlocked?
134
+
135
+ How do players progress through {{game_name}}'s content?"
136
+
137
+ ### 4. Level Design Principles (Optional)
138
+
139
+ "Would you like to establish specific level design principles or guidelines for {{game_name}}?
140
+
141
+ Examples:
142
+
143
+ - 'Teach through play, never through text'
144
+ - 'Every room has one new idea'
145
+ - '30 second rule - something interesting every 30 seconds'
146
+ - 'Left is safety, right is danger'
147
+
148
+ These can guide consistent level design throughout development."
149
+
150
+ ### 5. Generate Level Design Content
151
+
152
+ Based on the conversation, prepare the content:
153
+
154
+ ```markdown
155
+ ## Level Design Framework
156
+
157
+ ### Structure Type
158
+
159
+ {{structure_type_description}}
160
+
161
+ ### Level Types
162
+
163
+ {{level_types_list}}
164
+
165
+ #### Tutorial Integration
166
+
167
+ {{how_tutorials_work}}
168
+
169
+ #### Special Levels
170
+
171
+ {{boss_levels_secret_levels_etc}}
172
+
173
+ ### Level Progression
174
+
175
+ {{progression_model_description}}
176
+
177
+ #### Unlock System
178
+
179
+ {{how_levels_unlock}}
180
+
181
+ #### Replayability
182
+
183
+ {{replay_and_revisit_mechanics}}
184
+
185
+ ### Level Design Principles
186
+
187
+ {{if_has_principles}}
188
+ {{level_design_guidelines}}
189
+ {{/if_has_principles}}
190
+
191
+ {{if_no_principles}}
192
+ _Level design principles will be established during production._
193
+ {{/if_no_principles}}
194
+ ```
195
+
196
+ ### 6. Present Content and Menu
197
+
198
+ Show the generated content to the user and present:
199
+
200
+ "I've drafted the Level Design Framework based on our conversation.
201
+
202
+ **Here's what I'll add to the document:**
203
+
204
+ [Show the complete markdown content from step 5]
205
+
206
+ **Validation Check:**
207
+
208
+ - Does the structure support your core loop?
209
+ - Does progression feel rewarding?
210
+ - Are level types varied enough to maintain interest?
211
+
212
+ **Select an Option:**
213
+ [A] Advanced Elicitation - Deep dive into level design specifics
214
+ [P] Party Mode - Get other perspectives on level structure
215
+ [C] Continue - Save this and move to Art & Audio (Step 10 of 14)"
216
+
217
+ ### 7. Handle Menu Selection
218
+
219
+ #### IF A (Advanced Elicitation):
220
+
221
+ - Execute {advancedElicitationTask} with the current content
222
+ - Ask user: "Accept these changes? (y/n)"
223
+ - If yes: Update content, return to A/P/C menu
224
+ - If no: Keep original, return to A/P/C menu
225
+
226
+ #### IF P (Party Mode):
227
+
228
+ - Execute {partyModeWorkflow} with the current content
229
+ - Ask user: "Accept these changes? (y/n)"
230
+ - If yes: Update content, return to A/P/C menu
231
+ - If no: Keep original, return to A/P/C menu
232
+
233
+ #### IF C (Continue):
234
+
235
+ - Append the final content to `{outputFile}`
236
+ - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]`
237
+ - Load `{nextStepFile}`
238
+
239
+ ## CRITICAL STEP COMPLETION NOTE
240
+
241
+ ONLY WHEN [C continue option] is selected and [level design content saved with frontmatter updated], will you then load and read fully `{nextStepFile}`.
242
+
243
+ ---
244
+
245
+ ## SYSTEM SUCCESS/FAILURE METRICS
246
+
247
+ ### SUCCESS:
248
+
249
+ - Level structure type clearly identified
250
+ - Level types defined with variety
251
+ - Progression model documented
252
+ - Tutorial integration addressed
253
+ - A/P/C menu presented and handled correctly
254
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]
255
+
256
+ ### SYSTEM FAILURE:
257
+
258
+ - Generating level designs without user input
259
+ - Using wrong terminology for game type
260
+ - Structure doesn't support core loop
261
+ - Not presenting A/P/C menu after content generation
262
+ - Proceeding without user selecting 'C'
263
+
264
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.