bmad-method 5.0.0-beta.2 → 5.0.1

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 (131) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
  3. package/.github/workflows/discord.yaml +11 -2
  4. package/.github/workflows/format-check.yaml +42 -0
  5. package/.github/workflows/manual-release.yaml +173 -0
  6. package/.husky/pre-commit +3 -0
  7. package/.vscode/settings.json +26 -1
  8. package/CHANGELOG.md +0 -11
  9. package/README.md +2 -0
  10. package/bmad-core/agent-teams/team-all.yaml +1 -1
  11. package/bmad-core/agents/bmad-orchestrator.md +1 -1
  12. package/bmad-core/agents/dev.md +4 -4
  13. package/bmad-core/data/bmad-kb.md +1 -1
  14. package/bmad-core/data/test-levels-framework.md +12 -12
  15. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  16. package/bmad-core/tasks/nfr-assess.md +10 -10
  17. package/bmad-core/tasks/qa-gate.md +23 -23
  18. package/bmad-core/tasks/review-story.md +18 -18
  19. package/bmad-core/tasks/risk-profile.md +25 -25
  20. package/bmad-core/tasks/test-design.md +9 -9
  21. package/bmad-core/tasks/trace-requirements.md +21 -21
  22. package/bmad-core/templates/architecture-tmpl.yaml +49 -49
  23. package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
  24. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
  25. package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
  26. package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
  27. package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
  28. package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
  29. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
  30. package/bmad-core/templates/market-research-tmpl.yaml +2 -2
  31. package/bmad-core/templates/prd-tmpl.yaml +9 -9
  32. package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
  33. package/bmad-core/templates/qa-gate-tmpl.yaml +9 -9
  34. package/bmad-core/templates/story-tmpl.yaml +12 -12
  35. package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
  36. package/bmad-core/workflows/brownfield-service.yaml +1 -1
  37. package/bmad-core/workflows/brownfield-ui.yaml +1 -1
  38. package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
  39. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  40. package/bmad-core/workflows/greenfield-ui.yaml +1 -1
  41. package/common/utils/bmad-doc-template.md +5 -5
  42. package/dist/agents/analyst.txt +28 -15
  43. package/dist/agents/architect.txt +220 -190
  44. package/dist/agents/bmad-master.txt +298 -255
  45. package/dist/agents/bmad-orchestrator.txt +1 -1
  46. package/dist/agents/pm.txt +20 -20
  47. package/dist/agents/po.txt +11 -11
  48. package/dist/agents/qa.txt +275 -618
  49. package/dist/agents/sm.txt +11 -11
  50. package/dist/agents/ux-expert.txt +23 -23
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -109
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -77
  53. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -41
  54. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +483 -474
  55. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +1 -1
  56. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -149
  57. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -20
  58. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +371 -358
  59. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -25
  60. package/dist/teams/team-all.txt +581 -881
  61. package/dist/teams/team-fullstack.txt +316 -273
  62. package/dist/teams/team-ide-minimal.txt +276 -619
  63. package/dist/teams/team-no-ui.txt +281 -238
  64. package/docs/versioning-and-releases.md +114 -44
  65. package/eslint.config.mjs +119 -0
  66. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +26 -26
  67. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
  68. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
  69. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
  72. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
  73. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
  74. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  75. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  76. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
  77. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
  78. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
  79. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
  80. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
  81. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
  82. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  83. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  84. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
  85. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
  86. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
  87. package/package.json +62 -39
  88. package/prettier.config.mjs +32 -0
  89. package/release_notes.md +30 -0
  90. package/tools/bmad-npx-wrapper.js +10 -10
  91. package/tools/builders/web-builder.js +124 -130
  92. package/tools/bump-all-versions.js +42 -33
  93. package/tools/bump-expansion-version.js +23 -16
  94. package/tools/cli.js +10 -12
  95. package/tools/flattener/aggregate.js +10 -10
  96. package/tools/flattener/binary.js +44 -17
  97. package/tools/flattener/discovery.js +19 -18
  98. package/tools/flattener/files.js +6 -6
  99. package/tools/flattener/ignoreRules.js +125 -125
  100. package/tools/flattener/main.js +201 -304
  101. package/tools/flattener/projectRoot.js +75 -73
  102. package/tools/flattener/prompts.js +9 -9
  103. package/tools/flattener/stats.helpers.js +131 -67
  104. package/tools/flattener/stats.js +3 -3
  105. package/tools/flattener/test-matrix.js +201 -193
  106. package/tools/flattener/xml.js +33 -31
  107. package/tools/installer/bin/bmad.js +130 -89
  108. package/tools/installer/config/ide-agent-config.yaml +1 -1
  109. package/tools/installer/config/install.config.yaml +2 -2
  110. package/tools/installer/lib/config-loader.js +46 -42
  111. package/tools/installer/lib/file-manager.js +91 -113
  112. package/tools/installer/lib/ide-base-setup.js +57 -56
  113. package/tools/installer/lib/ide-setup.js +375 -343
  114. package/tools/installer/lib/installer.js +875 -714
  115. package/tools/installer/lib/memory-profiler.js +54 -53
  116. package/tools/installer/lib/module-manager.js +19 -15
  117. package/tools/installer/lib/resource-locator.js +26 -28
  118. package/tools/installer/package.json +19 -19
  119. package/tools/lib/dependency-resolver.js +26 -30
  120. package/tools/lib/yaml-utils.js +7 -7
  121. package/tools/preview-release-notes.js +66 -0
  122. package/tools/shared/bannerArt.js +3 -3
  123. package/tools/sync-installer-version.js +7 -9
  124. package/tools/update-expansion-version.js +14 -15
  125. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  126. package/tools/version-bump.js +41 -26
  127. package/tools/yaml-format.js +56 -43
  128. package/.github/workflows/promote-to-stable.yml +0 -144
  129. package/.github/workflows/release.yaml +0 -60
  130. package/.releaserc.json +0 -21
  131. package/tools/semantic-release-sync-installer.js +0 -30
@@ -484,7 +484,7 @@ dependencies:
484
484
  ==================== START: .bmad-2d-unity-game-dev/tasks/facilitate-brainstorming-session.md ====================
485
485
  ---
486
486
  docOutputLocation: docs/brainstorming-session-results.md
487
- template: ".bmad-2d-unity-game-dev/templates/brainstorming-output-tmpl.yaml"
487
+ template: '.bmad-2d-unity-game-dev/templates/brainstorming-output-tmpl.yaml'
488
488
  ---
489
489
 
490
490
  # Facilitate Brainstorming Session Task
@@ -1495,12 +1495,12 @@ sections:
1495
1495
  - id: introduction
1496
1496
  instruction: |
1497
1497
  This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
1498
-
1498
+
1499
1499
  Start by asking the user which mode they prefer:
1500
-
1500
+
1501
1501
  1. **Interactive Mode** - Work through each section collaboratively
1502
1502
  2. **YOLO Mode** - Generate complete draft for review and refinement
1503
-
1503
+
1504
1504
  Before beginning, understand what inputs are available (brainstorming results, market research, competitive analysis, initial ideas) and gather project context.
1505
1505
 
1506
1506
  - id: executive-summary
@@ -1821,7 +1821,7 @@ sections:
1821
1821
  instruction: Map the end-to-end customer experience for primary segments
1822
1822
  template: |
1823
1823
  For primary customer segment:
1824
-
1824
+
1825
1825
  1. **Awareness:** {{discovery_process}}
1826
1826
  2. **Consideration:** {{evaluation_criteria}}
1827
1827
  3. **Purchase:** {{decision_triggers}}
@@ -2022,7 +2022,7 @@ sections:
2022
2022
  title: Competitor Prioritization Matrix
2023
2023
  instruction: |
2024
2024
  Help categorize competitors by market share and strategic threat level
2025
-
2025
+
2026
2026
  Create a 2x2 matrix:
2027
2027
  - Priority 1 (Core Competitors): High Market Share + High Threat
2028
2028
  - Priority 2 (Emerging Threats): Low Market Share + High Threat
@@ -2087,7 +2087,14 @@ sections:
2087
2087
  title: Feature Comparison Matrix
2088
2088
  instruction: Create a detailed comparison table of key features across competitors
2089
2089
  type: table
2090
- columns: ["Feature Category", "{{your_company}}", "{{competitor_1}}", "{{competitor_2}}", "{{competitor_3}}"]
2090
+ columns:
2091
+ [
2092
+ "Feature Category",
2093
+ "{{your_company}}",
2094
+ "{{competitor_1}}",
2095
+ "{{competitor_2}}",
2096
+ "{{competitor_3}}",
2097
+ ]
2091
2098
  rows:
2092
2099
  - category: "Core Functionality"
2093
2100
  items:
@@ -2099,7 +2106,13 @@ sections:
2099
2106
  - ["Onboarding Time", "{{time}}", "{{time}}", "{{time}}", "{{time}}"]
2100
2107
  - category: "Integration & Ecosystem"
2101
2108
  items:
2102
- - ["API Availability", "{{availability}}", "{{availability}}", "{{availability}}", "{{availability}}"]
2109
+ - [
2110
+ "API Availability",
2111
+ "{{availability}}",
2112
+ "{{availability}}",
2113
+ "{{availability}}",
2114
+ "{{availability}}",
2115
+ ]
2103
2116
  - ["Third-party Integrations", "{{number}}", "{{number}}", "{{number}}", "{{number}}"]
2104
2117
  - category: "Pricing & Plans"
2105
2118
  items:
@@ -2126,7 +2139,7 @@ sections:
2126
2139
  title: Positioning Map
2127
2140
  instruction: |
2128
2141
  Describe competitor positions on key dimensions
2129
-
2142
+
2130
2143
  Create a positioning description using 2 key dimensions relevant to the market, such as:
2131
2144
  - Price vs. Features
2132
2145
  - Ease of Use vs. Power
@@ -2161,7 +2174,7 @@ sections:
2161
2174
  title: Blue Ocean Opportunities
2162
2175
  instruction: |
2163
2176
  Identify uncontested market spaces
2164
-
2177
+
2165
2178
  List opportunities to create new market space:
2166
2179
  - Underserved segments
2167
2180
  - Unaddressed use cases
@@ -2265,11 +2278,11 @@ sections:
2265
2278
  - id: summary-details
2266
2279
  template: |
2267
2280
  **Topic:** {{session_topic}}
2268
-
2281
+
2269
2282
  **Session Goals:** {{stated_goals}}
2270
-
2283
+
2271
2284
  **Techniques Used:** {{techniques_list}}
2272
-
2285
+
2273
2286
  **Total Ideas Generated:** {{total_ideas}}
2274
2287
  - id: key-themes
2275
2288
  title: "Key Themes Identified:"
@@ -2394,7 +2407,7 @@ sections:
2394
2407
  - id: footer
2395
2408
  content: |
2396
2409
  ---
2397
-
2410
+
2398
2411
  *Session facilitated using the BMAD-METHOD brainstorming framework*
2399
2412
  ==================== END: .bmad-2d-unity-game-dev/templates/brainstorming-output-tmpl.yaml ====================
2400
2413
 
@@ -2857,7 +2870,7 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic ga
2857
2870
 
2858
2871
  - **Claude Code**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
2859
2872
  - **Cursor**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
2860
- - **Windsurf**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
2873
+ - **Windsurf**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
2861
2874
  - **Trae**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
2862
2875
  - **Roo Code**: Select mode from mode selector with bmad2du prefix
2863
2876
  - **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select the appropriate game agent.
@@ -4184,7 +4197,7 @@ sections:
4184
4197
  instruction: Define the 30-60 second loop that players will repeat. Be specific about timing and player actions for Unity implementation.
4185
4198
  template: |
4186
4199
  **Primary Loop ({{duration}} seconds):**
4187
-
4200
+
4188
4201
  1. {{action_1}} ({{time_1}}s) - {{unity_component}}
4189
4202
  2. {{action_2}} ({{time_2}}s) - {{unity_component}}
4190
4203
  3. {{action_3}} ({{time_3}}s) - {{unity_component}}
@@ -4196,12 +4209,12 @@ sections:
4196
4209
  instruction: Clearly define success and failure states with Unity-specific implementation notes
4197
4210
  template: |
4198
4211
  **Victory Conditions:**
4199
-
4212
+
4200
4213
  - {{win_condition_1}} - Unity Event: {{unity_event}}
4201
4214
  - {{win_condition_2}} - Unity Event: {{unity_event}}
4202
-
4215
+
4203
4216
  **Failure States:**
4204
-
4217
+
4205
4218
  - {{loss_condition_1}} - Trigger: {{unity_trigger}}
4206
4219
  - {{loss_condition_2}} - Trigger: {{unity_trigger}}
4207
4220
  examples:
@@ -4221,22 +4234,22 @@ sections:
4221
4234
  title: "{{mechanic_name}}"
4222
4235
  template: |
4223
4236
  **Description:** {{detailed_description}}
4224
-
4237
+
4225
4238
  **Player Input:** {{input_method}} - Unity Input System: {{input_action}}
4226
-
4239
+
4227
4240
  **System Response:** {{game_response}}
4228
-
4241
+
4229
4242
  **Unity Implementation Notes:**
4230
-
4243
+
4231
4244
  - **Components Needed:** {{component_list}}
4232
4245
  - **Physics Requirements:** {{physics_2d_setup}}
4233
4246
  - **Animation States:** {{animator_states}}
4234
4247
  - **Performance Considerations:** {{optimization_notes}}
4235
-
4248
+
4236
4249
  **Dependencies:** {{other_mechanics_needed}}
4237
-
4250
+
4238
4251
  **Script Architecture:**
4239
-
4252
+
4240
4253
  - {{script_name}}.cs - {{responsibility}}
4241
4254
  - {{manager_script}}.cs - {{management_role}}
4242
4255
  examples:
@@ -4262,15 +4275,15 @@ sections:
4262
4275
  title: Player Progression
4263
4276
  template: |
4264
4277
  **Progression Type:** {{linear|branching|metroidvania}}
4265
-
4278
+
4266
4279
  **Key Milestones:**
4267
-
4280
+
4268
4281
  1. **{{milestone_1}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
4269
4282
  2. **{{milestone_2}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
4270
4283
  3. **{{milestone_3}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
4271
-
4284
+
4272
4285
  **Save Data Structure:**
4273
-
4286
+
4274
4287
  ```csharp
4275
4288
  [System.Serializable]
4276
4289
  public class PlayerProgress
@@ -4286,13 +4299,13 @@ sections:
4286
4299
  template: |
4287
4300
  **Tutorial Phase:** {{duration}} - {{difficulty_description}}
4288
4301
  - Unity Config: {{scriptable_object_values}}
4289
-
4302
+
4290
4303
  **Early Game:** {{duration}} - {{difficulty_description}}
4291
4304
  - Unity Config: {{scriptable_object_values}}
4292
-
4305
+
4293
4306
  **Mid Game:** {{duration}} - {{difficulty_description}}
4294
4307
  - Unity Config: {{scriptable_object_values}}
4295
-
4308
+
4296
4309
  **Late Game:** {{duration}} - {{difficulty_description}}
4297
4310
  - Unity Config: {{scriptable_object_values}}
4298
4311
  examples:
@@ -4325,22 +4338,22 @@ sections:
4325
4338
  **Target Duration:** {{target_time}}
4326
4339
  **Key Elements:** {{required_mechanics}}
4327
4340
  **Difficulty Rating:** {{relative_difficulty}}
4328
-
4341
+
4329
4342
  **Unity Scene Structure:**
4330
-
4343
+
4331
4344
  - **Environment:** {{tilemap_setup}}
4332
4345
  - **Gameplay Objects:** {{prefab_list}}
4333
4346
  - **Lighting:** {{lighting_setup}}
4334
4347
  - **Audio:** {{audio_sources}}
4335
-
4348
+
4336
4349
  **Level Flow Template:**
4337
-
4350
+
4338
4351
  - **Introduction:** {{intro_description}} - Area: {{unity_area_bounds}}
4339
4352
  - **Challenge:** {{main_challenge}} - Mechanics: {{active_components}}
4340
4353
  - **Resolution:** {{completion_requirement}} - Trigger: {{completion_trigger}}
4341
-
4354
+
4342
4355
  **Reusable Prefabs:**
4343
-
4356
+
4344
4357
  - {{prefab_name}} - {{prefab_purpose}}
4345
4358
  examples:
4346
4359
  - "Environment: TilemapRenderer with Platform tileset, Lighting: 2D Global Light + Point Lights"
@@ -4351,9 +4364,9 @@ sections:
4351
4364
  **Total Levels:** {{number}}
4352
4365
  **Unlock Pattern:** {{progression_method}}
4353
4366
  **Scene Management:** {{unity_scene_loading}}
4354
-
4367
+
4355
4368
  **Unity Scene Organization:**
4356
-
4369
+
4357
4370
  - Scene Naming: {{naming_convention}}
4358
4371
  - Addressable Assets: {{addressable_groups}}
4359
4372
  - Loading Screens: {{loading_implementation}}
@@ -4378,13 +4391,13 @@ sections:
4378
4391
  **Physics:** {{2D Only|3D Only|Hybrid}}
4379
4392
  **Scripting Backend:** {{Mono|IL2CPP}}
4380
4393
  **API Compatibility:** {{.NET Standard 2.1|.NET Framework}}
4381
-
4394
+
4382
4395
  **Required Packages:**
4383
-
4396
+
4384
4397
  - {{package_name}} {{version}} - {{purpose}}
4385
-
4398
+
4386
4399
  **Project Settings:**
4387
-
4400
+
4388
4401
  - Color Space: {{Linear|Gamma}}
4389
4402
  - Quality Settings: {{quality_levels}}
4390
4403
  - Physics Settings: {{physics_config}}
@@ -4398,9 +4411,9 @@ sections:
4398
4411
  **Memory Usage:** <{{memory_limit}}MB heap, <{{texture_memory}}MB textures
4399
4412
  **Load Times:** <{{load_time}}s initial, <{{level_load}}s between levels
4400
4413
  **Battery Usage:** Optimized for mobile devices - {{battery_target}} hours gameplay
4401
-
4414
+
4402
4415
  **Unity Profiler Targets:**
4403
-
4416
+
4404
4417
  - CPU Frame Time: <{{cpu_time}}ms
4405
4418
  - GPU Frame Time: <{{gpu_time}}ms
4406
4419
  - GC Allocs: <{{gc_limit}}KB per frame
@@ -4411,20 +4424,20 @@ sections:
4411
4424
  title: Platform Specific Requirements
4412
4425
  template: |
4413
4426
  **Desktop:**
4414
-
4427
+
4415
4428
  - Resolution: {{min_resolution}} - {{max_resolution}}
4416
4429
  - Input: Keyboard, Mouse, Gamepad ({{gamepad_support}})
4417
4430
  - Build Target: {{desktop_targets}}
4418
-
4431
+
4419
4432
  **Mobile:**
4420
-
4433
+
4421
4434
  - Resolution: {{mobile_min}} - {{mobile_max}}
4422
4435
  - Input: Touch, Accelerometer ({{sensor_support}})
4423
4436
  - OS: iOS {{ios_min}}+, Android {{android_min}}+ (API {{api_level}})
4424
4437
  - Device Requirements: {{device_specs}}
4425
-
4438
+
4426
4439
  **Web (if applicable):**
4427
-
4440
+
4428
4441
  - WebGL Version: {{webgl_version}}
4429
4442
  - Browser Support: {{browser_list}}
4430
4443
  - Compression: {{compression_format}}
@@ -4435,21 +4448,21 @@ sections:
4435
4448
  instruction: Define asset specifications for Unity pipeline optimization
4436
4449
  template: |
4437
4450
  **2D Art Assets:**
4438
-
4451
+
4439
4452
  - Sprites: {{sprite_resolution}} at {{ppu}} PPU
4440
4453
  - Texture Format: {{texture_compression}}
4441
4454
  - Atlas Strategy: {{sprite_atlas_setup}}
4442
4455
  - Animation: {{animation_type}} at {{framerate}} FPS
4443
-
4456
+
4444
4457
  **Audio Assets:**
4445
-
4458
+
4446
4459
  - Music: {{audio_format}} at {{sample_rate}} Hz
4447
4460
  - SFX: {{sfx_format}} at {{sfx_sample_rate}} Hz
4448
4461
  - Compression: {{audio_compression}}
4449
4462
  - 3D Audio: {{spatial_audio}}
4450
-
4463
+
4451
4464
  **UI Assets:**
4452
-
4465
+
4453
4466
  - Canvas Resolution: {{ui_resolution}}
4454
4467
  - UI Scale Mode: {{scale_mode}}
4455
4468
  - Font: {{font_requirements}}
@@ -4470,17 +4483,17 @@ sections:
4470
4483
  title: Code Architecture Pattern
4471
4484
  template: |
4472
4485
  **Architecture Pattern:** {{MVC|MVVM|ECS|Component-Based|Custom}}
4473
-
4486
+
4474
4487
  **Core Systems Required:**
4475
-
4488
+
4476
4489
  - **Scene Management:** {{scene_manager_approach}}
4477
4490
  - **State Management:** {{state_pattern_implementation}}
4478
4491
  - **Event System:** {{event_system_choice}}
4479
4492
  - **Object Pooling:** {{pooling_strategy}}
4480
4493
  - **Save/Load System:** {{save_system_approach}}
4481
-
4494
+
4482
4495
  **Folder Structure:**
4483
-
4496
+
4484
4497
  ```
4485
4498
  Assets/
4486
4499
  ├── _Project/
@@ -4490,9 +4503,9 @@ sections:
4490
4503
  │ ├── Scenes/
4491
4504
  │ └── {{additional_folders}}
4492
4505
  ```
4493
-
4506
+
4494
4507
  **Naming Conventions:**
4495
-
4508
+
4496
4509
  - Scripts: {{script_naming}}
4497
4510
  - Prefabs: {{prefab_naming}}
4498
4511
  - Scenes: {{scene_naming}}
@@ -4503,19 +4516,19 @@ sections:
4503
4516
  title: Unity Systems Integration
4504
4517
  template: |
4505
4518
  **Required Unity Systems:**
4506
-
4519
+
4507
4520
  - **Input System:** {{input_implementation}}
4508
4521
  - **Animation System:** {{animation_approach}}
4509
4522
  - **Physics Integration:** {{physics_usage}}
4510
4523
  - **Rendering Features:** {{rendering_requirements}}
4511
4524
  - **Asset Streaming:** {{asset_loading_strategy}}
4512
-
4525
+
4513
4526
  **Third-Party Integrations:**
4514
-
4527
+
4515
4528
  - {{integration_name}}: {{integration_purpose}}
4516
-
4529
+
4517
4530
  **Performance Systems:**
4518
-
4531
+
4519
4532
  - **Profiling Integration:** {{profiling_setup}}
4520
4533
  - **Memory Management:** {{memory_strategy}}
4521
4534
  - **Build Pipeline:** {{build_automation}}
@@ -4526,20 +4539,20 @@ sections:
4526
4539
  title: Data Management
4527
4540
  template: |
4528
4541
  **Save Data Architecture:**
4529
-
4542
+
4530
4543
  - **Format:** {{PlayerPrefs|JSON|Binary|Cloud}}
4531
4544
  - **Structure:** {{save_data_organization}}
4532
4545
  - **Encryption:** {{security_approach}}
4533
4546
  - **Cloud Sync:** {{cloud_integration}}
4534
-
4547
+
4535
4548
  **Configuration Data:**
4536
-
4549
+
4537
4550
  - **ScriptableObjects:** {{scriptable_object_usage}}
4538
4551
  - **Settings Management:** {{settings_system}}
4539
4552
  - **Localization:** {{localization_approach}}
4540
-
4553
+
4541
4554
  **Runtime Data:**
4542
-
4555
+
4543
4556
  - **Caching Strategy:** {{cache_implementation}}
4544
4557
  - **Memory Pools:** {{pooling_objects}}
4545
4558
  - **Asset References:** {{asset_reference_system}}
@@ -4767,15 +4780,15 @@ sections:
4767
4780
  instruction: Provide guidance for the Story Manager (SM) agent on how to break down this GDD into implementable user stories
4768
4781
  template: |
4769
4782
  **Epic Prioritization:** {{epic_order_rationale}}
4770
-
4783
+
4771
4784
  **Story Sizing Guidelines:**
4772
-
4785
+
4773
4786
  - Foundation stories: {{foundation_story_scope}}
4774
4787
  - Feature stories: {{feature_story_scope}}
4775
4788
  - Polish stories: {{polish_story_scope}}
4776
-
4789
+
4777
4790
  **Unity-Specific Story Considerations:**
4778
-
4791
+
4779
4792
  - Each story should result in testable Unity scenes or prefabs
4780
4793
  - Include specific Unity components and systems in acceptance criteria
4781
4794
  - Consider cross-platform testing requirements
@@ -4811,7 +4824,7 @@ sections:
4811
4824
  - id: initial-setup
4812
4825
  instruction: |
4813
4826
  This template creates comprehensive level design documentation that guides both content creation and technical implementation. This document should provide enough detail for developers to create level loading systems and for designers to create specific levels.
4814
-
4827
+
4815
4828
  If available, review: Game Design Document (GDD), Game Architecture Document. This document should align with the game mechanics and technical systems defined in those documents.
4816
4829
 
4817
4830
  - id: introduction
@@ -4819,7 +4832,7 @@ sections:
4819
4832
  instruction: Establish the purpose and scope of level design for this game
4820
4833
  content: |
4821
4834
  This document defines the level design framework for {{game_title}}, providing guidelines for creating engaging, balanced levels that support the core gameplay mechanics defined in the Game Design Document.
4822
-
4835
+
4823
4836
  This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
4824
4837
  sections:
4825
4838
  - id: change-log
@@ -4866,29 +4879,29 @@ sections:
4866
4879
  title: "{{category_name}} Levels"
4867
4880
  template: |
4868
4881
  **Purpose:** {{gameplay_purpose}}
4869
-
4882
+
4870
4883
  **Target Duration:** {{min_time}} - {{max_time}} minutes
4871
-
4884
+
4872
4885
  **Difficulty Range:** {{difficulty_scale}}
4873
-
4886
+
4874
4887
  **Key Mechanics Featured:**
4875
-
4888
+
4876
4889
  - {{mechanic_1}} - {{usage_description}}
4877
4890
  - {{mechanic_2}} - {{usage_description}}
4878
-
4891
+
4879
4892
  **Player Objectives:**
4880
-
4893
+
4881
4894
  - Primary: {{primary_objective}}
4882
4895
  - Secondary: {{secondary_objective}}
4883
4896
  - Hidden: {{secret_objective}}
4884
-
4897
+
4885
4898
  **Success Criteria:**
4886
-
4899
+
4887
4900
  - {{completion_requirement_1}}
4888
4901
  - {{completion_requirement_2}}
4889
-
4902
+
4890
4903
  **Technical Requirements:**
4891
-
4904
+
4892
4905
  - Maximum entities: {{entity_limit}}
4893
4906
  - Performance target: {{fps_target}} FPS
4894
4907
  - Memory budget: {{memory_limit}}MB
@@ -4903,11 +4916,11 @@ sections:
4903
4916
  instruction: Based on GDD requirements, define the overall level organization
4904
4917
  template: |
4905
4918
  **Organization Type:** {{linear|hub_world|open_world}}
4906
-
4919
+
4907
4920
  **Total Level Count:** {{number}}
4908
-
4921
+
4909
4922
  **World Breakdown:**
4910
-
4923
+
4911
4924
  - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
4912
4925
  - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
4913
4926
  - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
@@ -4942,7 +4955,7 @@ sections:
4942
4955
  instruction: Define how players access new levels
4943
4956
  template: |
4944
4957
  **Progression Gates:**
4945
-
4958
+
4946
4959
  - Linear progression: Complete previous level
4947
4960
  - Star requirements: {{star_count}} stars to unlock
4948
4961
  - Skill gates: Demonstrate {{skill_requirement}}
@@ -4957,17 +4970,17 @@ sections:
4957
4970
  instruction: Define all environmental components that can be used in levels
4958
4971
  template: |
4959
4972
  **Terrain Types:**
4960
-
4973
+
4961
4974
  - {{terrain_1}}: {{properties_and_usage}}
4962
4975
  - {{terrain_2}}: {{properties_and_usage}}
4963
-
4976
+
4964
4977
  **Interactive Objects:**
4965
-
4978
+
4966
4979
  - {{object_1}}: {{behavior_and_purpose}}
4967
4980
  - {{object_2}}: {{behavior_and_purpose}}
4968
-
4981
+
4969
4982
  **Hazards and Obstacles:**
4970
-
4983
+
4971
4984
  - {{hazard_1}}: {{damage_and_behavior}}
4972
4985
  - {{hazard_2}}: {{damage_and_behavior}}
4973
4986
  - id: collectibles-rewards
@@ -4975,18 +4988,18 @@ sections:
4975
4988
  instruction: Define all collectible items and their placement rules
4976
4989
  template: |
4977
4990
  **Collectible Types:**
4978
-
4991
+
4979
4992
  - {{collectible_1}}: {{value_and_purpose}}
4980
4993
  - {{collectible_2}}: {{value_and_purpose}}
4981
-
4994
+
4982
4995
  **Placement Guidelines:**
4983
-
4996
+
4984
4997
  - Mandatory collectibles: {{placement_rules}}
4985
4998
  - Optional collectibles: {{placement_rules}}
4986
4999
  - Secret collectibles: {{placement_rules}}
4987
-
5000
+
4988
5001
  **Reward Distribution:**
4989
-
5002
+
4990
5003
  - Easy to find: {{percentage}}%
4991
5004
  - Moderate challenge: {{percentage}}%
4992
5005
  - High skill required: {{percentage}}%
@@ -4995,18 +5008,18 @@ sections:
4995
5008
  instruction: Define how enemies should be placed and balanced in levels
4996
5009
  template: |
4997
5010
  **Enemy Categories:**
4998
-
5011
+
4999
5012
  - {{enemy_type_1}}: {{behavior_and_usage}}
5000
5013
  - {{enemy_type_2}}: {{behavior_and_usage}}
5001
-
5014
+
5002
5015
  **Placement Principles:**
5003
-
5016
+
5004
5017
  - Introduction encounters: {{guideline}}
5005
5018
  - Standard encounters: {{guideline}}
5006
5019
  - Challenge encounters: {{guideline}}
5007
-
5020
+
5008
5021
  **Difficulty Scaling:**
5009
-
5022
+
5010
5023
  - Enemy count progression: {{scaling_rule}}
5011
5024
  - Enemy type introduction: {{pacing_rule}}
5012
5025
  - Encounter complexity: {{complexity_rule}}
@@ -5019,14 +5032,14 @@ sections:
5019
5032
  title: Level Layout Principles
5020
5033
  template: |
5021
5034
  **Spatial Design:**
5022
-
5035
+
5023
5036
  - Grid size: {{grid_dimensions}}
5024
5037
  - Minimum path width: {{width_units}}
5025
5038
  - Maximum vertical distance: {{height_units}}
5026
5039
  - Safe zones placement: {{safety_guidelines}}
5027
-
5040
+
5028
5041
  **Navigation Design:**
5029
-
5042
+
5030
5043
  - Clear path indication: {{visual_cues}}
5031
5044
  - Landmark placement: {{landmark_rules}}
5032
5045
  - Dead end avoidance: {{dead_end_policy}}
@@ -5036,13 +5049,13 @@ sections:
5036
5049
  instruction: Define how to control the rhythm and pace of gameplay within levels
5037
5050
  template: |
5038
5051
  **Action Sequences:**
5039
-
5052
+
5040
5053
  - High intensity duration: {{max_duration}}
5041
5054
  - Rest period requirement: {{min_rest_time}}
5042
5055
  - Intensity variation: {{pacing_pattern}}
5043
-
5056
+
5044
5057
  **Learning Sequences:**
5045
-
5058
+
5046
5059
  - New mechanic introduction: {{teaching_method}}
5047
5060
  - Practice opportunity: {{practice_duration}}
5048
5061
  - Skill application: {{application_context}}
@@ -5051,14 +5064,14 @@ sections:
5051
5064
  instruction: Define how to create appropriate challenges for each level type
5052
5065
  template: |
5053
5066
  **Challenge Types:**
5054
-
5067
+
5055
5068
  - Execution challenges: {{skill_requirements}}
5056
5069
  - Puzzle challenges: {{complexity_guidelines}}
5057
5070
  - Time challenges: {{time_pressure_rules}}
5058
5071
  - Resource challenges: {{resource_management}}
5059
-
5072
+
5060
5073
  **Difficulty Calibration:**
5061
-
5074
+
5062
5075
  - Skill check frequency: {{frequency_guidelines}}
5063
5076
  - Failure recovery: {{retry_mechanics}}
5064
5077
  - Hint system integration: {{help_system}}
@@ -5072,7 +5085,7 @@ sections:
5072
5085
  instruction: Define how level data should be structured for implementation
5073
5086
  template: |
5074
5087
  **Level File Format:**
5075
-
5088
+
5076
5089
  - Data format: {{json|yaml|custom}}
5077
5090
  - File naming: `level_{{world}}_{{number}}.{{extension}}`
5078
5091
  - Data organization: {{structure_description}}
@@ -5110,14 +5123,14 @@ sections:
5110
5123
  instruction: Define how level assets are organized and loaded
5111
5124
  template: |
5112
5125
  **Tilemap Requirements:**
5113
-
5126
+
5114
5127
  - Tile size: {{tile_dimensions}}px
5115
5128
  - Tileset organization: {{tileset_structure}}
5116
5129
  - Layer organization: {{layer_system}}
5117
5130
  - Collision data: {{collision_format}}
5118
-
5131
+
5119
5132
  **Audio Integration:**
5120
-
5133
+
5121
5134
  - Background music: {{music_requirements}}
5122
5135
  - Ambient sounds: {{ambient_system}}
5123
5136
  - Dynamic audio: {{dynamic_audio_rules}}
@@ -5126,19 +5139,19 @@ sections:
5126
5139
  instruction: Define performance requirements for level systems
5127
5140
  template: |
5128
5141
  **Entity Limits:**
5129
-
5142
+
5130
5143
  - Maximum active entities: {{entity_limit}}
5131
5144
  - Maximum particles: {{particle_limit}}
5132
5145
  - Maximum audio sources: {{audio_limit}}
5133
-
5146
+
5134
5147
  **Memory Management:**
5135
-
5148
+
5136
5149
  - Texture memory budget: {{texture_memory}}MB
5137
5150
  - Audio memory budget: {{audio_memory}}MB
5138
5151
  - Level loading time: <{{load_time}}s
5139
-
5152
+
5140
5153
  **Culling and LOD:**
5141
-
5154
+
5142
5155
  - Off-screen culling: {{culling_distance}}
5143
5156
  - Level-of-detail rules: {{lod_system}}
5144
5157
  - Asset streaming: {{streaming_requirements}}
@@ -5151,13 +5164,13 @@ sections:
5151
5164
  title: Automated Testing
5152
5165
  template: |
5153
5166
  **Performance Testing:**
5154
-
5167
+
5155
5168
  - Frame rate validation: Maintain {{fps_target}} FPS
5156
5169
  - Memory usage monitoring: Stay under {{memory_limit}}MB
5157
5170
  - Loading time verification: Complete in <{{load_time}}s
5158
-
5171
+
5159
5172
  **Gameplay Testing:**
5160
-
5173
+
5161
5174
  - Completion path validation: All objectives achievable
5162
5175
  - Collectible accessibility: All items reachable
5163
5176
  - Softlock prevention: No unwinnable states
@@ -5185,14 +5198,14 @@ sections:
5185
5198
  title: Balance Validation
5186
5199
  template: |
5187
5200
  **Metrics Collection:**
5188
-
5201
+
5189
5202
  - Completion rate: Target {{completion_percentage}}%
5190
5203
  - Average completion time: {{target_time}} ± {{variance}}
5191
5204
  - Death count per level: <{{max_deaths}}
5192
5205
  - Collectible discovery rate: {{discovery_percentage}}%
5193
-
5206
+
5194
5207
  **Iteration Guidelines:**
5195
-
5208
+
5196
5209
  - Adjustment criteria: {{criteria_for_changes}}
5197
5210
  - Testing sample size: {{minimum_testers}}
5198
5211
  - Validation period: {{testing_duration}}
@@ -5205,14 +5218,14 @@ sections:
5205
5218
  title: Design Phase
5206
5219
  template: |
5207
5220
  **Concept Development:**
5208
-
5221
+
5209
5222
  1. Define level purpose and goals
5210
5223
  2. Create rough layout sketch
5211
5224
  3. Identify key mechanics and challenges
5212
5225
  4. Estimate difficulty and duration
5213
-
5226
+
5214
5227
  **Documentation Requirements:**
5215
-
5228
+
5216
5229
  - Level design brief
5217
5230
  - Layout diagrams
5218
5231
  - Mechanic integration notes
@@ -5221,15 +5234,15 @@ sections:
5221
5234
  title: Implementation Phase
5222
5235
  template: |
5223
5236
  **Technical Implementation:**
5224
-
5237
+
5225
5238
  1. Create level data file
5226
5239
  2. Build tilemap and layout
5227
5240
  3. Place entities and objects
5228
5241
  4. Configure level logic and triggers
5229
5242
  5. Integrate audio and visual effects
5230
-
5243
+
5231
5244
  **Quality Assurance:**
5232
-
5245
+
5233
5246
  1. Automated testing execution
5234
5247
  2. Internal playtesting
5235
5248
  3. Performance validation
@@ -5238,14 +5251,14 @@ sections:
5238
5251
  title: Integration Phase
5239
5252
  template: |
5240
5253
  **Game Integration:**
5241
-
5254
+
5242
5255
  1. Level progression integration
5243
5256
  2. Save system compatibility
5244
5257
  3. Analytics integration
5245
5258
  4. Achievement system integration
5246
-
5259
+
5247
5260
  **Final Validation:**
5248
-
5261
+
5249
5262
  1. Full game context testing
5250
5263
  2. Performance regression testing
5251
5264
  3. Platform compatibility verification
@@ -5298,7 +5311,7 @@ sections:
5298
5311
  - id: initial-setup
5299
5312
  instruction: |
5300
5313
  This template creates a comprehensive game brief that serves as the foundation for all subsequent game development work. The brief should capture the essential vision, scope, and requirements needed to create a detailed Game Design Document.
5301
-
5314
+
5302
5315
  This brief is typically created early in the ideation process, often after brainstorming sessions, to crystallize the game concept before moving into detailed design.
5303
5316
 
5304
5317
  - id: game-vision
@@ -5355,7 +5368,7 @@ sections:
5355
5368
  repeatable: true
5356
5369
  template: |
5357
5370
  **Core Mechanic: {{mechanic_name}}**
5358
-
5371
+
5359
5372
  - **Description:** {{how_it_works}}
5360
5373
  - **Player Value:** {{why_its_fun}}
5361
5374
  - **Implementation Scope:** {{complexity_estimate}}
@@ -5382,12 +5395,12 @@ sections:
5382
5395
  title: Technical Constraints
5383
5396
  template: |
5384
5397
  **Platform Requirements:**
5385
-
5398
+
5386
5399
  - Primary: {{platform_1}} - {{requirements}}
5387
5400
  - Secondary: {{platform_2}} - {{requirements}}
5388
-
5401
+
5389
5402
  **Technical Specifications:**
5390
-
5403
+
5391
5404
  - Engine: Unity & C#
5392
5405
  - Performance Target: {{fps_target}} FPS on {{target_device}}
5393
5406
  - Memory Budget: <{{memory_limit}}MB
@@ -5425,10 +5438,10 @@ sections:
5425
5438
  title: Competitive Analysis
5426
5439
  template: |
5427
5440
  **Direct Competitors:**
5428
-
5441
+
5429
5442
  - {{competitor_1}}: {{strengths_and_weaknesses}}
5430
5443
  - {{competitor_2}}: {{strengths_and_weaknesses}}
5431
-
5444
+
5432
5445
  **Differentiation Strategy:**
5433
5446
  {{how_we_differ_and_why_thats_valuable}}
5434
5447
  - id: market-opportunity
@@ -5452,16 +5465,16 @@ sections:
5452
5465
  title: Content Categories
5453
5466
  template: |
5454
5467
  **Core Content:**
5455
-
5468
+
5456
5469
  - {{content_type_1}}: {{quantity_and_description}}
5457
5470
  - {{content_type_2}}: {{quantity_and_description}}
5458
-
5471
+
5459
5472
  **Optional Content:**
5460
-
5473
+
5461
5474
  - {{optional_content_type}}: {{quantity_and_description}}
5462
-
5475
+
5463
5476
  **Replay Elements:**
5464
-
5477
+
5465
5478
  - {{replayability_features}}
5466
5479
  - id: difficulty-accessibility
5467
5480
  title: Difficulty and Accessibility
@@ -5528,13 +5541,13 @@ sections:
5528
5541
  title: Player Experience Metrics
5529
5542
  template: |
5530
5543
  **Engagement Goals:**
5531
-
5544
+
5532
5545
  - Tutorial completion rate: >{{percentage}}%
5533
5546
  - Average session length: {{duration}} minutes
5534
5547
  - Player retention: D1 {{d1}}%, D7 {{d7}}%, D30 {{d30}}%
5535
-
5548
+
5536
5549
  **Quality Benchmarks:**
5537
-
5550
+
5538
5551
  - Player satisfaction: >{{rating}}/10
5539
5552
  - Completion rate: >{{percentage}}%
5540
5553
  - Technical performance: {{fps_target}} FPS consistent
@@ -5542,13 +5555,13 @@ sections:
5542
5555
  title: Development Metrics
5543
5556
  template: |
5544
5557
  **Technical Targets:**
5545
-
5558
+
5546
5559
  - Zero critical bugs at launch
5547
5560
  - Performance targets met on all platforms
5548
5561
  - Load times under {{seconds}}s
5549
-
5562
+
5550
5563
  **Process Goals:**
5551
-
5564
+
5552
5565
  - Development timeline adherence
5553
5566
  - Feature scope completion
5554
5567
  - Quality assurance standards
@@ -5557,7 +5570,7 @@ sections:
5557
5570
  condition: has_business_goals
5558
5571
  template: |
5559
5572
  **Commercial Goals:**
5560
-
5573
+
5561
5574
  - {{revenue_target}} in first {{time_period}}
5562
5575
  - {{user_acquisition_target}} players in first {{time_period}}
5563
5576
  - {{retention_target}} monthly active users
@@ -5610,12 +5623,12 @@ sections:
5610
5623
  title: Validation Plan
5611
5624
  template: |
5612
5625
  **Concept Testing:**
5613
-
5626
+
5614
5627
  - {{validation_method_1}} - {{timeline}}
5615
5628
  - {{validation_method_2}} - {{timeline}}
5616
-
5629
+
5617
5630
  **Prototype Testing:**
5618
-
5631
+
5619
5632
  - {{testing_approach}} - {{timeline}}
5620
5633
  - {{feedback_collection_method}} - {{timeline}}
5621
5634
 
@@ -8472,13 +8485,13 @@ sections:
8472
8485
  - id: initial-setup
8473
8486
  instruction: |
8474
8487
  This template creates detailed game development stories that are immediately actionable by game developers. Each story should focus on a single, implementable feature that contributes to the overall game functionality.
8475
-
8488
+
8476
8489
  Before starting, ensure you have access to:
8477
-
8490
+
8478
8491
  - Game Design Document (GDD)
8479
8492
  - Game Architecture Document
8480
8493
  - Any existing stories in this epic
8481
-
8494
+
8482
8495
  The story should be specific enough that a developer can implement it without requiring additional design decisions.
8483
8496
 
8484
8497
  - id: story-header
@@ -8527,12 +8540,12 @@ sections:
8527
8540
  title: Files to Create/Modify
8528
8541
  template: |
8529
8542
  **New Files:**
8530
-
8543
+
8531
8544
  - `{{file_path_1}}` - {{purpose}}
8532
8545
  - `{{file_path_2}}` - {{purpose}}
8533
-
8546
+
8534
8547
  **Modified Files:**
8535
-
8548
+
8536
8549
  - `{{existing_file_1}}` - {{changes_needed}}
8537
8550
  - `{{existing_file_2}}` - {{changes_needed}}
8538
8551
  - id: class-interface-definitions
@@ -8615,13 +8628,13 @@ sections:
8615
8628
  instruction: Reference the specific sections of the GDD that this story implements
8616
8629
  template: |
8617
8630
  **GDD Reference:** {{section_name}} ({{page_or_section_number}})
8618
-
8631
+
8619
8632
  **Game Mechanic:** {{mechanic_name}}
8620
-
8633
+
8621
8634
  **Player Experience Goal:** {{experience_description}}
8622
-
8635
+
8623
8636
  **Balance Parameters:**
8624
-
8637
+
8625
8638
  - {{parameter_1}}: {{value_or_range}}
8626
8639
  - {{parameter_2}}: {{value_or_range}}
8627
8640
 
@@ -8668,15 +8681,15 @@ sections:
8668
8681
  instruction: List any dependencies that must be completed before this story can be implemented
8669
8682
  template: |
8670
8683
  **Story Dependencies:**
8671
-
8684
+
8672
8685
  - {{story_id}}: {{dependency_description}}
8673
-
8686
+
8674
8687
  **Technical Dependencies:**
8675
-
8688
+
8676
8689
  - {{system_or_file}}: {{requirement}}
8677
-
8690
+
8678
8691
  **Asset Dependencies:**
8679
-
8692
+
8680
8693
  - {{asset_type}}: {{asset_description}}
8681
8694
  - Location: `{{asset_path}}`
8682
8695
 
@@ -8699,17 +8712,17 @@ sections:
8699
8712
  instruction: Any additional context, design decisions, or implementation notes
8700
8713
  template: |
8701
8714
  **Implementation Notes:**
8702
-
8715
+
8703
8716
  - {{note_1}}
8704
8717
  - {{note_2}}
8705
-
8718
+
8706
8719
  **Design Decisions:**
8707
-
8720
+
8708
8721
  - {{decision_1}}: {{rationale}}
8709
8722
  - {{decision_2}}: {{rationale}}
8710
-
8723
+
8711
8724
  **Future Considerations:**
8712
-
8725
+
8713
8726
  - {{future_enhancement_1}}
8714
8727
  - {{future_optimization_1}}
8715
8728
  ==================== END: .bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml ====================
@@ -9970,7 +9983,7 @@ sections:
9970
9983
  - id: initial-setup
9971
9984
  instruction: |
9972
9985
  This template creates a comprehensive game brief that serves as the foundation for all subsequent game development work. The brief should capture the essential vision, scope, and requirements needed to create a detailed Game Design Document.
9973
-
9986
+
9974
9987
  This brief is typically created early in the ideation process, often after brainstorming sessions, to crystallize the game concept before moving into detailed design.
9975
9988
 
9976
9989
  - id: game-vision
@@ -10027,7 +10040,7 @@ sections:
10027
10040
  repeatable: true
10028
10041
  template: |
10029
10042
  **Core Mechanic: {{mechanic_name}}**
10030
-
10043
+
10031
10044
  - **Description:** {{how_it_works}}
10032
10045
  - **Player Value:** {{why_its_fun}}
10033
10046
  - **Implementation Scope:** {{complexity_estimate}}
@@ -10054,12 +10067,12 @@ sections:
10054
10067
  title: Technical Constraints
10055
10068
  template: |
10056
10069
  **Platform Requirements:**
10057
-
10070
+
10058
10071
  - Primary: {{platform_1}} - {{requirements}}
10059
10072
  - Secondary: {{platform_2}} - {{requirements}}
10060
-
10073
+
10061
10074
  **Technical Specifications:**
10062
-
10075
+
10063
10076
  - Engine: Unity & C#
10064
10077
  - Performance Target: {{fps_target}} FPS on {{target_device}}
10065
10078
  - Memory Budget: <{{memory_limit}}MB
@@ -10097,10 +10110,10 @@ sections:
10097
10110
  title: Competitive Analysis
10098
10111
  template: |
10099
10112
  **Direct Competitors:**
10100
-
10113
+
10101
10114
  - {{competitor_1}}: {{strengths_and_weaknesses}}
10102
10115
  - {{competitor_2}}: {{strengths_and_weaknesses}}
10103
-
10116
+
10104
10117
  **Differentiation Strategy:**
10105
10118
  {{how_we_differ_and_why_thats_valuable}}
10106
10119
  - id: market-opportunity
@@ -10124,16 +10137,16 @@ sections:
10124
10137
  title: Content Categories
10125
10138
  template: |
10126
10139
  **Core Content:**
10127
-
10140
+
10128
10141
  - {{content_type_1}}: {{quantity_and_description}}
10129
10142
  - {{content_type_2}}: {{quantity_and_description}}
10130
-
10143
+
10131
10144
  **Optional Content:**
10132
-
10145
+
10133
10146
  - {{optional_content_type}}: {{quantity_and_description}}
10134
-
10147
+
10135
10148
  **Replay Elements:**
10136
-
10149
+
10137
10150
  - {{replayability_features}}
10138
10151
  - id: difficulty-accessibility
10139
10152
  title: Difficulty and Accessibility
@@ -10200,13 +10213,13 @@ sections:
10200
10213
  title: Player Experience Metrics
10201
10214
  template: |
10202
10215
  **Engagement Goals:**
10203
-
10216
+
10204
10217
  - Tutorial completion rate: >{{percentage}}%
10205
10218
  - Average session length: {{duration}} minutes
10206
10219
  - Player retention: D1 {{d1}}%, D7 {{d7}}%, D30 {{d30}}%
10207
-
10220
+
10208
10221
  **Quality Benchmarks:**
10209
-
10222
+
10210
10223
  - Player satisfaction: >{{rating}}/10
10211
10224
  - Completion rate: >{{percentage}}%
10212
10225
  - Technical performance: {{fps_target}} FPS consistent
@@ -10214,13 +10227,13 @@ sections:
10214
10227
  title: Development Metrics
10215
10228
  template: |
10216
10229
  **Technical Targets:**
10217
-
10230
+
10218
10231
  - Zero critical bugs at launch
10219
10232
  - Performance targets met on all platforms
10220
10233
  - Load times under {{seconds}}s
10221
-
10234
+
10222
10235
  **Process Goals:**
10223
-
10236
+
10224
10237
  - Development timeline adherence
10225
10238
  - Feature scope completion
10226
10239
  - Quality assurance standards
@@ -10229,7 +10242,7 @@ sections:
10229
10242
  condition: has_business_goals
10230
10243
  template: |
10231
10244
  **Commercial Goals:**
10232
-
10245
+
10233
10246
  - {{revenue_target}} in first {{time_period}}
10234
10247
  - {{user_acquisition_target}} players in first {{time_period}}
10235
10248
  - {{retention_target}} monthly active users
@@ -10282,12 +10295,12 @@ sections:
10282
10295
  title: Validation Plan
10283
10296
  template: |
10284
10297
  **Concept Testing:**
10285
-
10298
+
10286
10299
  - {{validation_method_1}} - {{timeline}}
10287
10300
  - {{validation_method_2}} - {{timeline}}
10288
-
10301
+
10289
10302
  **Prototype Testing:**
10290
-
10303
+
10291
10304
  - {{testing_approach}} - {{timeline}}
10292
10305
  - {{feedback_collection_method}} - {{timeline}}
10293
10306
 
@@ -10410,7 +10423,7 @@ sections:
10410
10423
  instruction: Define the 30-60 second loop that players will repeat. Be specific about timing and player actions for Unity implementation.
10411
10424
  template: |
10412
10425
  **Primary Loop ({{duration}} seconds):**
10413
-
10426
+
10414
10427
  1. {{action_1}} ({{time_1}}s) - {{unity_component}}
10415
10428
  2. {{action_2}} ({{time_2}}s) - {{unity_component}}
10416
10429
  3. {{action_3}} ({{time_3}}s) - {{unity_component}}
@@ -10422,12 +10435,12 @@ sections:
10422
10435
  instruction: Clearly define success and failure states with Unity-specific implementation notes
10423
10436
  template: |
10424
10437
  **Victory Conditions:**
10425
-
10438
+
10426
10439
  - {{win_condition_1}} - Unity Event: {{unity_event}}
10427
10440
  - {{win_condition_2}} - Unity Event: {{unity_event}}
10428
-
10441
+
10429
10442
  **Failure States:**
10430
-
10443
+
10431
10444
  - {{loss_condition_1}} - Trigger: {{unity_trigger}}
10432
10445
  - {{loss_condition_2}} - Trigger: {{unity_trigger}}
10433
10446
  examples:
@@ -10447,22 +10460,22 @@ sections:
10447
10460
  title: "{{mechanic_name}}"
10448
10461
  template: |
10449
10462
  **Description:** {{detailed_description}}
10450
-
10463
+
10451
10464
  **Player Input:** {{input_method}} - Unity Input System: {{input_action}}
10452
-
10465
+
10453
10466
  **System Response:** {{game_response}}
10454
-
10467
+
10455
10468
  **Unity Implementation Notes:**
10456
-
10469
+
10457
10470
  - **Components Needed:** {{component_list}}
10458
10471
  - **Physics Requirements:** {{physics_2d_setup}}
10459
10472
  - **Animation States:** {{animator_states}}
10460
10473
  - **Performance Considerations:** {{optimization_notes}}
10461
-
10474
+
10462
10475
  **Dependencies:** {{other_mechanics_needed}}
10463
-
10476
+
10464
10477
  **Script Architecture:**
10465
-
10478
+
10466
10479
  - {{script_name}}.cs - {{responsibility}}
10467
10480
  - {{manager_script}}.cs - {{management_role}}
10468
10481
  examples:
@@ -10488,15 +10501,15 @@ sections:
10488
10501
  title: Player Progression
10489
10502
  template: |
10490
10503
  **Progression Type:** {{linear|branching|metroidvania}}
10491
-
10504
+
10492
10505
  **Key Milestones:**
10493
-
10506
+
10494
10507
  1. **{{milestone_1}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
10495
10508
  2. **{{milestone_2}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
10496
10509
  3. **{{milestone_3}}** - {{unlock_description}} - Unity: {{scriptable_object_update}}
10497
-
10510
+
10498
10511
  **Save Data Structure:**
10499
-
10512
+
10500
10513
  ```csharp
10501
10514
  [System.Serializable]
10502
10515
  public class PlayerProgress
@@ -10512,13 +10525,13 @@ sections:
10512
10525
  template: |
10513
10526
  **Tutorial Phase:** {{duration}} - {{difficulty_description}}
10514
10527
  - Unity Config: {{scriptable_object_values}}
10515
-
10528
+
10516
10529
  **Early Game:** {{duration}} - {{difficulty_description}}
10517
10530
  - Unity Config: {{scriptable_object_values}}
10518
-
10531
+
10519
10532
  **Mid Game:** {{duration}} - {{difficulty_description}}
10520
10533
  - Unity Config: {{scriptable_object_values}}
10521
-
10534
+
10522
10535
  **Late Game:** {{duration}} - {{difficulty_description}}
10523
10536
  - Unity Config: {{scriptable_object_values}}
10524
10537
  examples:
@@ -10551,22 +10564,22 @@ sections:
10551
10564
  **Target Duration:** {{target_time}}
10552
10565
  **Key Elements:** {{required_mechanics}}
10553
10566
  **Difficulty Rating:** {{relative_difficulty}}
10554
-
10567
+
10555
10568
  **Unity Scene Structure:**
10556
-
10569
+
10557
10570
  - **Environment:** {{tilemap_setup}}
10558
10571
  - **Gameplay Objects:** {{prefab_list}}
10559
10572
  - **Lighting:** {{lighting_setup}}
10560
10573
  - **Audio:** {{audio_sources}}
10561
-
10574
+
10562
10575
  **Level Flow Template:**
10563
-
10576
+
10564
10577
  - **Introduction:** {{intro_description}} - Area: {{unity_area_bounds}}
10565
10578
  - **Challenge:** {{main_challenge}} - Mechanics: {{active_components}}
10566
10579
  - **Resolution:** {{completion_requirement}} - Trigger: {{completion_trigger}}
10567
-
10580
+
10568
10581
  **Reusable Prefabs:**
10569
-
10582
+
10570
10583
  - {{prefab_name}} - {{prefab_purpose}}
10571
10584
  examples:
10572
10585
  - "Environment: TilemapRenderer with Platform tileset, Lighting: 2D Global Light + Point Lights"
@@ -10577,9 +10590,9 @@ sections:
10577
10590
  **Total Levels:** {{number}}
10578
10591
  **Unlock Pattern:** {{progression_method}}
10579
10592
  **Scene Management:** {{unity_scene_loading}}
10580
-
10593
+
10581
10594
  **Unity Scene Organization:**
10582
-
10595
+
10583
10596
  - Scene Naming: {{naming_convention}}
10584
10597
  - Addressable Assets: {{addressable_groups}}
10585
10598
  - Loading Screens: {{loading_implementation}}
@@ -10604,13 +10617,13 @@ sections:
10604
10617
  **Physics:** {{2D Only|3D Only|Hybrid}}
10605
10618
  **Scripting Backend:** {{Mono|IL2CPP}}
10606
10619
  **API Compatibility:** {{.NET Standard 2.1|.NET Framework}}
10607
-
10620
+
10608
10621
  **Required Packages:**
10609
-
10622
+
10610
10623
  - {{package_name}} {{version}} - {{purpose}}
10611
-
10624
+
10612
10625
  **Project Settings:**
10613
-
10626
+
10614
10627
  - Color Space: {{Linear|Gamma}}
10615
10628
  - Quality Settings: {{quality_levels}}
10616
10629
  - Physics Settings: {{physics_config}}
@@ -10624,9 +10637,9 @@ sections:
10624
10637
  **Memory Usage:** <{{memory_limit}}MB heap, <{{texture_memory}}MB textures
10625
10638
  **Load Times:** <{{load_time}}s initial, <{{level_load}}s between levels
10626
10639
  **Battery Usage:** Optimized for mobile devices - {{battery_target}} hours gameplay
10627
-
10640
+
10628
10641
  **Unity Profiler Targets:**
10629
-
10642
+
10630
10643
  - CPU Frame Time: <{{cpu_time}}ms
10631
10644
  - GPU Frame Time: <{{gpu_time}}ms
10632
10645
  - GC Allocs: <{{gc_limit}}KB per frame
@@ -10637,20 +10650,20 @@ sections:
10637
10650
  title: Platform Specific Requirements
10638
10651
  template: |
10639
10652
  **Desktop:**
10640
-
10653
+
10641
10654
  - Resolution: {{min_resolution}} - {{max_resolution}}
10642
10655
  - Input: Keyboard, Mouse, Gamepad ({{gamepad_support}})
10643
10656
  - Build Target: {{desktop_targets}}
10644
-
10657
+
10645
10658
  **Mobile:**
10646
-
10659
+
10647
10660
  - Resolution: {{mobile_min}} - {{mobile_max}}
10648
10661
  - Input: Touch, Accelerometer ({{sensor_support}})
10649
10662
  - OS: iOS {{ios_min}}+, Android {{android_min}}+ (API {{api_level}})
10650
10663
  - Device Requirements: {{device_specs}}
10651
-
10664
+
10652
10665
  **Web (if applicable):**
10653
-
10666
+
10654
10667
  - WebGL Version: {{webgl_version}}
10655
10668
  - Browser Support: {{browser_list}}
10656
10669
  - Compression: {{compression_format}}
@@ -10661,21 +10674,21 @@ sections:
10661
10674
  instruction: Define asset specifications for Unity pipeline optimization
10662
10675
  template: |
10663
10676
  **2D Art Assets:**
10664
-
10677
+
10665
10678
  - Sprites: {{sprite_resolution}} at {{ppu}} PPU
10666
10679
  - Texture Format: {{texture_compression}}
10667
10680
  - Atlas Strategy: {{sprite_atlas_setup}}
10668
10681
  - Animation: {{animation_type}} at {{framerate}} FPS
10669
-
10682
+
10670
10683
  **Audio Assets:**
10671
-
10684
+
10672
10685
  - Music: {{audio_format}} at {{sample_rate}} Hz
10673
10686
  - SFX: {{sfx_format}} at {{sfx_sample_rate}} Hz
10674
10687
  - Compression: {{audio_compression}}
10675
10688
  - 3D Audio: {{spatial_audio}}
10676
-
10689
+
10677
10690
  **UI Assets:**
10678
-
10691
+
10679
10692
  - Canvas Resolution: {{ui_resolution}}
10680
10693
  - UI Scale Mode: {{scale_mode}}
10681
10694
  - Font: {{font_requirements}}
@@ -10696,17 +10709,17 @@ sections:
10696
10709
  title: Code Architecture Pattern
10697
10710
  template: |
10698
10711
  **Architecture Pattern:** {{MVC|MVVM|ECS|Component-Based|Custom}}
10699
-
10712
+
10700
10713
  **Core Systems Required:**
10701
-
10714
+
10702
10715
  - **Scene Management:** {{scene_manager_approach}}
10703
10716
  - **State Management:** {{state_pattern_implementation}}
10704
10717
  - **Event System:** {{event_system_choice}}
10705
10718
  - **Object Pooling:** {{pooling_strategy}}
10706
10719
  - **Save/Load System:** {{save_system_approach}}
10707
-
10720
+
10708
10721
  **Folder Structure:**
10709
-
10722
+
10710
10723
  ```
10711
10724
  Assets/
10712
10725
  ├── _Project/
@@ -10716,9 +10729,9 @@ sections:
10716
10729
  │ ├── Scenes/
10717
10730
  │ └── {{additional_folders}}
10718
10731
  ```
10719
-
10732
+
10720
10733
  **Naming Conventions:**
10721
-
10734
+
10722
10735
  - Scripts: {{script_naming}}
10723
10736
  - Prefabs: {{prefab_naming}}
10724
10737
  - Scenes: {{scene_naming}}
@@ -10729,19 +10742,19 @@ sections:
10729
10742
  title: Unity Systems Integration
10730
10743
  template: |
10731
10744
  **Required Unity Systems:**
10732
-
10745
+
10733
10746
  - **Input System:** {{input_implementation}}
10734
10747
  - **Animation System:** {{animation_approach}}
10735
10748
  - **Physics Integration:** {{physics_usage}}
10736
10749
  - **Rendering Features:** {{rendering_requirements}}
10737
10750
  - **Asset Streaming:** {{asset_loading_strategy}}
10738
-
10751
+
10739
10752
  **Third-Party Integrations:**
10740
-
10753
+
10741
10754
  - {{integration_name}}: {{integration_purpose}}
10742
-
10755
+
10743
10756
  **Performance Systems:**
10744
-
10757
+
10745
10758
  - **Profiling Integration:** {{profiling_setup}}
10746
10759
  - **Memory Management:** {{memory_strategy}}
10747
10760
  - **Build Pipeline:** {{build_automation}}
@@ -10752,20 +10765,20 @@ sections:
10752
10765
  title: Data Management
10753
10766
  template: |
10754
10767
  **Save Data Architecture:**
10755
-
10768
+
10756
10769
  - **Format:** {{PlayerPrefs|JSON|Binary|Cloud}}
10757
10770
  - **Structure:** {{save_data_organization}}
10758
10771
  - **Encryption:** {{security_approach}}
10759
10772
  - **Cloud Sync:** {{cloud_integration}}
10760
-
10773
+
10761
10774
  **Configuration Data:**
10762
-
10775
+
10763
10776
  - **ScriptableObjects:** {{scriptable_object_usage}}
10764
10777
  - **Settings Management:** {{settings_system}}
10765
10778
  - **Localization:** {{localization_approach}}
10766
-
10779
+
10767
10780
  **Runtime Data:**
10768
-
10781
+
10769
10782
  - **Caching Strategy:** {{cache_implementation}}
10770
10783
  - **Memory Pools:** {{pooling_objects}}
10771
10784
  - **Asset References:** {{asset_reference_system}}
@@ -10993,15 +11006,15 @@ sections:
10993
11006
  instruction: Provide guidance for the Story Manager (SM) agent on how to break down this GDD into implementable user stories
10994
11007
  template: |
10995
11008
  **Epic Prioritization:** {{epic_order_rationale}}
10996
-
11009
+
10997
11010
  **Story Sizing Guidelines:**
10998
-
11011
+
10999
11012
  - Foundation stories: {{foundation_story_scope}}
11000
11013
  - Feature stories: {{feature_story_scope}}
11001
11014
  - Polish stories: {{polish_story_scope}}
11002
-
11015
+
11003
11016
  **Unity-Specific Story Considerations:**
11004
-
11017
+
11005
11018
  - Each story should result in testable Unity scenes or prefabs
11006
11019
  - Include specific Unity components and systems in acceptance criteria
11007
11020
  - Consider cross-platform testing requirements
@@ -11037,13 +11050,13 @@ sections:
11037
11050
  - id: initial-setup
11038
11051
  instruction: |
11039
11052
  This template creates detailed game development stories that are immediately actionable by game developers. Each story should focus on a single, implementable feature that contributes to the overall game functionality.
11040
-
11053
+
11041
11054
  Before starting, ensure you have access to:
11042
-
11055
+
11043
11056
  - Game Design Document (GDD)
11044
11057
  - Game Architecture Document
11045
11058
  - Any existing stories in this epic
11046
-
11059
+
11047
11060
  The story should be specific enough that a developer can implement it without requiring additional design decisions.
11048
11061
 
11049
11062
  - id: story-header
@@ -11092,12 +11105,12 @@ sections:
11092
11105
  title: Files to Create/Modify
11093
11106
  template: |
11094
11107
  **New Files:**
11095
-
11108
+
11096
11109
  - `{{file_path_1}}` - {{purpose}}
11097
11110
  - `{{file_path_2}}` - {{purpose}}
11098
-
11111
+
11099
11112
  **Modified Files:**
11100
-
11113
+
11101
11114
  - `{{existing_file_1}}` - {{changes_needed}}
11102
11115
  - `{{existing_file_2}}` - {{changes_needed}}
11103
11116
  - id: class-interface-definitions
@@ -11180,13 +11193,13 @@ sections:
11180
11193
  instruction: Reference the specific sections of the GDD that this story implements
11181
11194
  template: |
11182
11195
  **GDD Reference:** {{section_name}} ({{page_or_section_number}})
11183
-
11196
+
11184
11197
  **Game Mechanic:** {{mechanic_name}}
11185
-
11198
+
11186
11199
  **Player Experience Goal:** {{experience_description}}
11187
-
11200
+
11188
11201
  **Balance Parameters:**
11189
-
11202
+
11190
11203
  - {{parameter_1}}: {{value_or_range}}
11191
11204
  - {{parameter_2}}: {{value_or_range}}
11192
11205
 
@@ -11233,15 +11246,15 @@ sections:
11233
11246
  instruction: List any dependencies that must be completed before this story can be implemented
11234
11247
  template: |
11235
11248
  **Story Dependencies:**
11236
-
11249
+
11237
11250
  - {{story_id}}: {{dependency_description}}
11238
-
11251
+
11239
11252
  **Technical Dependencies:**
11240
-
11253
+
11241
11254
  - {{system_or_file}}: {{requirement}}
11242
-
11255
+
11243
11256
  **Asset Dependencies:**
11244
-
11257
+
11245
11258
  - {{asset_type}}: {{asset_description}}
11246
11259
  - Location: `{{asset_path}}`
11247
11260
 
@@ -11264,17 +11277,17 @@ sections:
11264
11277
  instruction: Any additional context, design decisions, or implementation notes
11265
11278
  template: |
11266
11279
  **Implementation Notes:**
11267
-
11280
+
11268
11281
  - {{note_1}}
11269
11282
  - {{note_2}}
11270
-
11283
+
11271
11284
  **Design Decisions:**
11272
-
11285
+
11273
11286
  - {{decision_1}}: {{rationale}}
11274
11287
  - {{decision_2}}: {{rationale}}
11275
-
11288
+
11276
11289
  **Future Considerations:**
11277
-
11290
+
11278
11291
  - {{future_enhancement_1}}
11279
11292
  - {{future_optimization_1}}
11280
11293
  ==================== END: .bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml ====================
@@ -11296,7 +11309,7 @@ sections:
11296
11309
  - id: initial-setup
11297
11310
  instruction: |
11298
11311
  This template creates comprehensive level design documentation that guides both content creation and technical implementation. This document should provide enough detail for developers to create level loading systems and for designers to create specific levels.
11299
-
11312
+
11300
11313
  If available, review: Game Design Document (GDD), Game Architecture Document. This document should align with the game mechanics and technical systems defined in those documents.
11301
11314
 
11302
11315
  - id: introduction
@@ -11304,7 +11317,7 @@ sections:
11304
11317
  instruction: Establish the purpose and scope of level design for this game
11305
11318
  content: |
11306
11319
  This document defines the level design framework for {{game_title}}, providing guidelines for creating engaging, balanced levels that support the core gameplay mechanics defined in the Game Design Document.
11307
-
11320
+
11308
11321
  This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
11309
11322
  sections:
11310
11323
  - id: change-log
@@ -11351,29 +11364,29 @@ sections:
11351
11364
  title: "{{category_name}} Levels"
11352
11365
  template: |
11353
11366
  **Purpose:** {{gameplay_purpose}}
11354
-
11367
+
11355
11368
  **Target Duration:** {{min_time}} - {{max_time}} minutes
11356
-
11369
+
11357
11370
  **Difficulty Range:** {{difficulty_scale}}
11358
-
11371
+
11359
11372
  **Key Mechanics Featured:**
11360
-
11373
+
11361
11374
  - {{mechanic_1}} - {{usage_description}}
11362
11375
  - {{mechanic_2}} - {{usage_description}}
11363
-
11376
+
11364
11377
  **Player Objectives:**
11365
-
11378
+
11366
11379
  - Primary: {{primary_objective}}
11367
11380
  - Secondary: {{secondary_objective}}
11368
11381
  - Hidden: {{secret_objective}}
11369
-
11382
+
11370
11383
  **Success Criteria:**
11371
-
11384
+
11372
11385
  - {{completion_requirement_1}}
11373
11386
  - {{completion_requirement_2}}
11374
-
11387
+
11375
11388
  **Technical Requirements:**
11376
-
11389
+
11377
11390
  - Maximum entities: {{entity_limit}}
11378
11391
  - Performance target: {{fps_target}} FPS
11379
11392
  - Memory budget: {{memory_limit}}MB
@@ -11388,11 +11401,11 @@ sections:
11388
11401
  instruction: Based on GDD requirements, define the overall level organization
11389
11402
  template: |
11390
11403
  **Organization Type:** {{linear|hub_world|open_world}}
11391
-
11404
+
11392
11405
  **Total Level Count:** {{number}}
11393
-
11406
+
11394
11407
  **World Breakdown:**
11395
-
11408
+
11396
11409
  - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
11397
11410
  - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
11398
11411
  - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
@@ -11427,7 +11440,7 @@ sections:
11427
11440
  instruction: Define how players access new levels
11428
11441
  template: |
11429
11442
  **Progression Gates:**
11430
-
11443
+
11431
11444
  - Linear progression: Complete previous level
11432
11445
  - Star requirements: {{star_count}} stars to unlock
11433
11446
  - Skill gates: Demonstrate {{skill_requirement}}
@@ -11442,17 +11455,17 @@ sections:
11442
11455
  instruction: Define all environmental components that can be used in levels
11443
11456
  template: |
11444
11457
  **Terrain Types:**
11445
-
11458
+
11446
11459
  - {{terrain_1}}: {{properties_and_usage}}
11447
11460
  - {{terrain_2}}: {{properties_and_usage}}
11448
-
11461
+
11449
11462
  **Interactive Objects:**
11450
-
11463
+
11451
11464
  - {{object_1}}: {{behavior_and_purpose}}
11452
11465
  - {{object_2}}: {{behavior_and_purpose}}
11453
-
11466
+
11454
11467
  **Hazards and Obstacles:**
11455
-
11468
+
11456
11469
  - {{hazard_1}}: {{damage_and_behavior}}
11457
11470
  - {{hazard_2}}: {{damage_and_behavior}}
11458
11471
  - id: collectibles-rewards
@@ -11460,18 +11473,18 @@ sections:
11460
11473
  instruction: Define all collectible items and their placement rules
11461
11474
  template: |
11462
11475
  **Collectible Types:**
11463
-
11476
+
11464
11477
  - {{collectible_1}}: {{value_and_purpose}}
11465
11478
  - {{collectible_2}}: {{value_and_purpose}}
11466
-
11479
+
11467
11480
  **Placement Guidelines:**
11468
-
11481
+
11469
11482
  - Mandatory collectibles: {{placement_rules}}
11470
11483
  - Optional collectibles: {{placement_rules}}
11471
11484
  - Secret collectibles: {{placement_rules}}
11472
-
11485
+
11473
11486
  **Reward Distribution:**
11474
-
11487
+
11475
11488
  - Easy to find: {{percentage}}%
11476
11489
  - Moderate challenge: {{percentage}}%
11477
11490
  - High skill required: {{percentage}}%
@@ -11480,18 +11493,18 @@ sections:
11480
11493
  instruction: Define how enemies should be placed and balanced in levels
11481
11494
  template: |
11482
11495
  **Enemy Categories:**
11483
-
11496
+
11484
11497
  - {{enemy_type_1}}: {{behavior_and_usage}}
11485
11498
  - {{enemy_type_2}}: {{behavior_and_usage}}
11486
-
11499
+
11487
11500
  **Placement Principles:**
11488
-
11501
+
11489
11502
  - Introduction encounters: {{guideline}}
11490
11503
  - Standard encounters: {{guideline}}
11491
11504
  - Challenge encounters: {{guideline}}
11492
-
11505
+
11493
11506
  **Difficulty Scaling:**
11494
-
11507
+
11495
11508
  - Enemy count progression: {{scaling_rule}}
11496
11509
  - Enemy type introduction: {{pacing_rule}}
11497
11510
  - Encounter complexity: {{complexity_rule}}
@@ -11504,14 +11517,14 @@ sections:
11504
11517
  title: Level Layout Principles
11505
11518
  template: |
11506
11519
  **Spatial Design:**
11507
-
11520
+
11508
11521
  - Grid size: {{grid_dimensions}}
11509
11522
  - Minimum path width: {{width_units}}
11510
11523
  - Maximum vertical distance: {{height_units}}
11511
11524
  - Safe zones placement: {{safety_guidelines}}
11512
-
11525
+
11513
11526
  **Navigation Design:**
11514
-
11527
+
11515
11528
  - Clear path indication: {{visual_cues}}
11516
11529
  - Landmark placement: {{landmark_rules}}
11517
11530
  - Dead end avoidance: {{dead_end_policy}}
@@ -11521,13 +11534,13 @@ sections:
11521
11534
  instruction: Define how to control the rhythm and pace of gameplay within levels
11522
11535
  template: |
11523
11536
  **Action Sequences:**
11524
-
11537
+
11525
11538
  - High intensity duration: {{max_duration}}
11526
11539
  - Rest period requirement: {{min_rest_time}}
11527
11540
  - Intensity variation: {{pacing_pattern}}
11528
-
11541
+
11529
11542
  **Learning Sequences:**
11530
-
11543
+
11531
11544
  - New mechanic introduction: {{teaching_method}}
11532
11545
  - Practice opportunity: {{practice_duration}}
11533
11546
  - Skill application: {{application_context}}
@@ -11536,14 +11549,14 @@ sections:
11536
11549
  instruction: Define how to create appropriate challenges for each level type
11537
11550
  template: |
11538
11551
  **Challenge Types:**
11539
-
11552
+
11540
11553
  - Execution challenges: {{skill_requirements}}
11541
11554
  - Puzzle challenges: {{complexity_guidelines}}
11542
11555
  - Time challenges: {{time_pressure_rules}}
11543
11556
  - Resource challenges: {{resource_management}}
11544
-
11557
+
11545
11558
  **Difficulty Calibration:**
11546
-
11559
+
11547
11560
  - Skill check frequency: {{frequency_guidelines}}
11548
11561
  - Failure recovery: {{retry_mechanics}}
11549
11562
  - Hint system integration: {{help_system}}
@@ -11557,7 +11570,7 @@ sections:
11557
11570
  instruction: Define how level data should be structured for implementation
11558
11571
  template: |
11559
11572
  **Level File Format:**
11560
-
11573
+
11561
11574
  - Data format: {{json|yaml|custom}}
11562
11575
  - File naming: `level_{{world}}_{{number}}.{{extension}}`
11563
11576
  - Data organization: {{structure_description}}
@@ -11595,14 +11608,14 @@ sections:
11595
11608
  instruction: Define how level assets are organized and loaded
11596
11609
  template: |
11597
11610
  **Tilemap Requirements:**
11598
-
11611
+
11599
11612
  - Tile size: {{tile_dimensions}}px
11600
11613
  - Tileset organization: {{tileset_structure}}
11601
11614
  - Layer organization: {{layer_system}}
11602
11615
  - Collision data: {{collision_format}}
11603
-
11616
+
11604
11617
  **Audio Integration:**
11605
-
11618
+
11606
11619
  - Background music: {{music_requirements}}
11607
11620
  - Ambient sounds: {{ambient_system}}
11608
11621
  - Dynamic audio: {{dynamic_audio_rules}}
@@ -11611,19 +11624,19 @@ sections:
11611
11624
  instruction: Define performance requirements for level systems
11612
11625
  template: |
11613
11626
  **Entity Limits:**
11614
-
11627
+
11615
11628
  - Maximum active entities: {{entity_limit}}
11616
11629
  - Maximum particles: {{particle_limit}}
11617
11630
  - Maximum audio sources: {{audio_limit}}
11618
-
11631
+
11619
11632
  **Memory Management:**
11620
-
11633
+
11621
11634
  - Texture memory budget: {{texture_memory}}MB
11622
11635
  - Audio memory budget: {{audio_memory}}MB
11623
11636
  - Level loading time: <{{load_time}}s
11624
-
11637
+
11625
11638
  **Culling and LOD:**
11626
-
11639
+
11627
11640
  - Off-screen culling: {{culling_distance}}
11628
11641
  - Level-of-detail rules: {{lod_system}}
11629
11642
  - Asset streaming: {{streaming_requirements}}
@@ -11636,13 +11649,13 @@ sections:
11636
11649
  title: Automated Testing
11637
11650
  template: |
11638
11651
  **Performance Testing:**
11639
-
11652
+
11640
11653
  - Frame rate validation: Maintain {{fps_target}} FPS
11641
11654
  - Memory usage monitoring: Stay under {{memory_limit}}MB
11642
11655
  - Loading time verification: Complete in <{{load_time}}s
11643
-
11656
+
11644
11657
  **Gameplay Testing:**
11645
-
11658
+
11646
11659
  - Completion path validation: All objectives achievable
11647
11660
  - Collectible accessibility: All items reachable
11648
11661
  - Softlock prevention: No unwinnable states
@@ -11670,14 +11683,14 @@ sections:
11670
11683
  title: Balance Validation
11671
11684
  template: |
11672
11685
  **Metrics Collection:**
11673
-
11686
+
11674
11687
  - Completion rate: Target {{completion_percentage}}%
11675
11688
  - Average completion time: {{target_time}} ± {{variance}}
11676
11689
  - Death count per level: <{{max_deaths}}
11677
11690
  - Collectible discovery rate: {{discovery_percentage}}%
11678
-
11691
+
11679
11692
  **Iteration Guidelines:**
11680
-
11693
+
11681
11694
  - Adjustment criteria: {{criteria_for_changes}}
11682
11695
  - Testing sample size: {{minimum_testers}}
11683
11696
  - Validation period: {{testing_duration}}
@@ -11690,14 +11703,14 @@ sections:
11690
11703
  title: Design Phase
11691
11704
  template: |
11692
11705
  **Concept Development:**
11693
-
11706
+
11694
11707
  1. Define level purpose and goals
11695
11708
  2. Create rough layout sketch
11696
11709
  3. Identify key mechanics and challenges
11697
11710
  4. Estimate difficulty and duration
11698
-
11711
+
11699
11712
  **Documentation Requirements:**
11700
-
11713
+
11701
11714
  - Level design brief
11702
11715
  - Layout diagrams
11703
11716
  - Mechanic integration notes
@@ -11706,15 +11719,15 @@ sections:
11706
11719
  title: Implementation Phase
11707
11720
  template: |
11708
11721
  **Technical Implementation:**
11709
-
11722
+
11710
11723
  1. Create level data file
11711
11724
  2. Build tilemap and layout
11712
11725
  3. Place entities and objects
11713
11726
  4. Configure level logic and triggers
11714
11727
  5. Integrate audio and visual effects
11715
-
11728
+
11716
11729
  **Quality Assurance:**
11717
-
11730
+
11718
11731
  1. Automated testing execution
11719
11732
  2. Internal playtesting
11720
11733
  3. Performance validation
@@ -11723,14 +11736,14 @@ sections:
11723
11736
  title: Integration Phase
11724
11737
  template: |
11725
11738
  **Game Integration:**
11726
-
11739
+
11727
11740
  1. Level progression integration
11728
11741
  2. Save system compatibility
11729
11742
  3. Analytics integration
11730
11743
  4. Achievement system integration
11731
-
11744
+
11732
11745
  **Final Validation:**
11733
-
11746
+
11734
11747
  1. Full game context testing
11735
11748
  2. Performance regression testing
11736
11749
  3. Platform compatibility verification
@@ -13657,21 +13670,21 @@ workflow:
13657
13670
  - brainstorming_session
13658
13671
  - game_research_prompt
13659
13672
  - player_research
13660
- notes: 'Start with brainstorming game concepts, then create comprehensive game brief. SAVE OUTPUT: Copy final game-brief.md to your project''s docs/design/ folder.'
13673
+ notes: "Start with brainstorming game concepts, then create comprehensive game brief. SAVE OUTPUT: Copy final game-brief.md to your project's docs/design/ folder."
13661
13674
  - agent: game-designer
13662
13675
  creates: game-design-doc.md
13663
13676
  requires: game-brief.md
13664
13677
  optional_steps:
13665
13678
  - competitive_analysis
13666
13679
  - technical_research
13667
- notes: 'Create detailed Game Design Document using game-design-doc-tmpl. Defines all gameplay mechanics, progression, and technical requirements. SAVE OUTPUT: Copy final game-design-doc.md to your project''s docs/design/ folder.'
13680
+ notes: "Create detailed Game Design Document using game-design-doc-tmpl. Defines all gameplay mechanics, progression, and technical requirements. SAVE OUTPUT: Copy final game-design-doc.md to your project's docs/design/ folder."
13668
13681
  - agent: game-designer
13669
13682
  creates: level-design-doc.md
13670
13683
  requires: game-design-doc.md
13671
13684
  optional_steps:
13672
13685
  - level_prototyping
13673
13686
  - difficulty_analysis
13674
- notes: 'Create level design framework using level-design-doc-tmpl. Establishes content creation guidelines and performance requirements. SAVE OUTPUT: Copy final level-design-doc.md to your project''s docs/design/ folder.'
13687
+ notes: "Create level design framework using level-design-doc-tmpl. Establishes content creation guidelines and performance requirements. SAVE OUTPUT: Copy final level-design-doc.md to your project's docs/design/ folder."
13675
13688
  - agent: solution-architect
13676
13689
  creates: game-architecture.md
13677
13690
  requires:
@@ -13681,7 +13694,7 @@ workflow:
13681
13694
  - technical_research_prompt
13682
13695
  - performance_analysis
13683
13696
  - platform_research
13684
- notes: 'Create comprehensive technical architecture using game-architecture-tmpl. Defines Unity systems, performance optimization, and code structure. SAVE OUTPUT: Copy final game-architecture.md to your project''s docs/architecture/ folder.'
13697
+ notes: "Create comprehensive technical architecture using game-architecture-tmpl. Defines Unity systems, performance optimization, and code structure. SAVE OUTPUT: Copy final game-architecture.md to your project's docs/architecture/ folder."
13685
13698
  - agent: game-designer
13686
13699
  validates: design_consistency
13687
13700
  requires: all_design_documents
@@ -13706,7 +13719,7 @@ workflow:
13706
13719
  optional_steps:
13707
13720
  - quick_brainstorming
13708
13721
  - concept_validation
13709
- notes: 'Create focused game brief for prototype. Emphasize core mechanics and immediate playability. SAVE OUTPUT: Copy final game-brief.md to your project''s docs/ folder.'
13722
+ notes: "Create focused game brief for prototype. Emphasize core mechanics and immediate playability. SAVE OUTPUT: Copy final game-brief.md to your project's docs/ folder."
13710
13723
  - agent: game-designer
13711
13724
  creates: prototype-design.md
13712
13725
  uses: create-doc prototype-design OR create-game-story
@@ -13870,7 +13883,7 @@ workflow:
13870
13883
  notes: Implement stories in priority order. Test frequently in the Unity Editor and adjust design based on what feels fun. Document discoveries.
13871
13884
  workflow_end:
13872
13885
  action: prototype_evaluation
13873
- notes: 'Prototype complete. Evaluate core mechanics, gather feedback, and decide next steps: iterate, expand, or archive.'
13886
+ notes: "Prototype complete. Evaluate core mechanics, gather feedback, and decide next steps: iterate, expand, or archive."
13874
13887
  game_jam_sequence:
13875
13888
  - step: jam_concept
13876
13889
  agent: game-designer
@@ -14460,7 +14473,7 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic ga
14460
14473
 
14461
14474
  - **Claude Code**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
14462
14475
  - **Cursor**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
14463
- - **Windsurf**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
14476
+ - **Windsurf**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
14464
14477
  - **Trae**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
14465
14478
  - **Roo Code**: Select mode from mode selector with bmad2du prefix
14466
14479
  - **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select the appropriate game agent.