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
@@ -14,7 +14,7 @@ sections:
14
14
  - id: initial-setup
15
15
  instruction: |
16
16
  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.
17
-
17
+
18
18
  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.
19
19
 
20
20
  - id: introduction
@@ -22,7 +22,7 @@ sections:
22
22
  instruction: Establish the purpose and scope of level design for this game
23
23
  content: |
24
24
  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.
25
-
25
+
26
26
  This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
27
27
  sections:
28
28
  - id: change-log
@@ -69,29 +69,29 @@ sections:
69
69
  title: "{{category_name}} Levels"
70
70
  template: |
71
71
  **Purpose:** {{gameplay_purpose}}
72
-
72
+
73
73
  **Target Duration:** {{min_time}} - {{max_time}} minutes
74
-
74
+
75
75
  **Difficulty Range:** {{difficulty_scale}}
76
-
76
+
77
77
  **Key Mechanics Featured:**
78
-
78
+
79
79
  - {{mechanic_1}} - {{usage_description}}
80
80
  - {{mechanic_2}} - {{usage_description}}
81
-
81
+
82
82
  **Player Objectives:**
83
-
83
+
84
84
  - Primary: {{primary_objective}}
85
85
  - Secondary: {{secondary_objective}}
86
86
  - Hidden: {{secret_objective}}
87
-
87
+
88
88
  **Success Criteria:**
89
-
89
+
90
90
  - {{completion_requirement_1}}
91
91
  - {{completion_requirement_2}}
92
-
92
+
93
93
  **Technical Requirements:**
94
-
94
+
95
95
  - Maximum entities: {{entity_limit}}
96
96
  - Performance target: {{fps_target}} FPS
97
97
  - Memory budget: {{memory_limit}}MB
@@ -106,11 +106,11 @@ sections:
106
106
  instruction: Based on GDD requirements, define the overall level organization
107
107
  template: |
108
108
  **Organization Type:** {{linear|hub_world|open_world}}
109
-
109
+
110
110
  **Total Level Count:** {{number}}
111
-
111
+
112
112
  **World Breakdown:**
113
-
113
+
114
114
  - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
115
115
  - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
116
116
  - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
@@ -145,7 +145,7 @@ sections:
145
145
  instruction: Define how players access new levels
146
146
  template: |
147
147
  **Progression Gates:**
148
-
148
+
149
149
  - Linear progression: Complete previous level
150
150
  - Star requirements: {{star_count}} stars to unlock
151
151
  - Skill gates: Demonstrate {{skill_requirement}}
@@ -160,17 +160,17 @@ sections:
160
160
  instruction: Define all environmental components that can be used in levels
161
161
  template: |
162
162
  **Terrain Types:**
163
-
163
+
164
164
  - {{terrain_1}}: {{properties_and_usage}}
165
165
  - {{terrain_2}}: {{properties_and_usage}}
166
-
166
+
167
167
  **Interactive Objects:**
168
-
168
+
169
169
  - {{object_1}}: {{behavior_and_purpose}}
170
170
  - {{object_2}}: {{behavior_and_purpose}}
171
-
171
+
172
172
  **Hazards and Obstacles:**
173
-
173
+
174
174
  - {{hazard_1}}: {{damage_and_behavior}}
175
175
  - {{hazard_2}}: {{damage_and_behavior}}
176
176
  - id: collectibles-rewards
@@ -178,18 +178,18 @@ sections:
178
178
  instruction: Define all collectible items and their placement rules
179
179
  template: |
180
180
  **Collectible Types:**
181
-
181
+
182
182
  - {{collectible_1}}: {{value_and_purpose}}
183
183
  - {{collectible_2}}: {{value_and_purpose}}
184
-
184
+
185
185
  **Placement Guidelines:**
186
-
186
+
187
187
  - Mandatory collectibles: {{placement_rules}}
188
188
  - Optional collectibles: {{placement_rules}}
189
189
  - Secret collectibles: {{placement_rules}}
190
-
190
+
191
191
  **Reward Distribution:**
192
-
192
+
193
193
  - Easy to find: {{percentage}}%
194
194
  - Moderate challenge: {{percentage}}%
195
195
  - High skill required: {{percentage}}%
@@ -198,18 +198,18 @@ sections:
198
198
  instruction: Define how enemies should be placed and balanced in levels
199
199
  template: |
200
200
  **Enemy Categories:**
201
-
201
+
202
202
  - {{enemy_type_1}}: {{behavior_and_usage}}
203
203
  - {{enemy_type_2}}: {{behavior_and_usage}}
204
-
204
+
205
205
  **Placement Principles:**
206
-
206
+
207
207
  - Introduction encounters: {{guideline}}
208
208
  - Standard encounters: {{guideline}}
209
209
  - Challenge encounters: {{guideline}}
210
-
210
+
211
211
  **Difficulty Scaling:**
212
-
212
+
213
213
  - Enemy count progression: {{scaling_rule}}
214
214
  - Enemy type introduction: {{pacing_rule}}
215
215
  - Encounter complexity: {{complexity_rule}}
@@ -222,14 +222,14 @@ sections:
222
222
  title: Level Layout Principles
223
223
  template: |
224
224
  **Spatial Design:**
225
-
225
+
226
226
  - Grid size: {{grid_dimensions}}
227
227
  - Minimum path width: {{width_units}}
228
228
  - Maximum vertical distance: {{height_units}}
229
229
  - Safe zones placement: {{safety_guidelines}}
230
-
230
+
231
231
  **Navigation Design:**
232
-
232
+
233
233
  - Clear path indication: {{visual_cues}}
234
234
  - Landmark placement: {{landmark_rules}}
235
235
  - Dead end avoidance: {{dead_end_policy}}
@@ -239,13 +239,13 @@ sections:
239
239
  instruction: Define how to control the rhythm and pace of gameplay within levels
240
240
  template: |
241
241
  **Action Sequences:**
242
-
242
+
243
243
  - High intensity duration: {{max_duration}}
244
244
  - Rest period requirement: {{min_rest_time}}
245
245
  - Intensity variation: {{pacing_pattern}}
246
-
246
+
247
247
  **Learning Sequences:**
248
-
248
+
249
249
  - New mechanic introduction: {{teaching_method}}
250
250
  - Practice opportunity: {{practice_duration}}
251
251
  - Skill application: {{application_context}}
@@ -254,14 +254,14 @@ sections:
254
254
  instruction: Define how to create appropriate challenges for each level type
255
255
  template: |
256
256
  **Challenge Types:**
257
-
257
+
258
258
  - Execution challenges: {{skill_requirements}}
259
259
  - Puzzle challenges: {{complexity_guidelines}}
260
260
  - Time challenges: {{time_pressure_rules}}
261
261
  - Resource challenges: {{resource_management}}
262
-
262
+
263
263
  **Difficulty Calibration:**
264
-
264
+
265
265
  - Skill check frequency: {{frequency_guidelines}}
266
266
  - Failure recovery: {{retry_mechanics}}
267
267
  - Hint system integration: {{help_system}}
@@ -275,7 +275,7 @@ sections:
275
275
  instruction: Define how level data should be structured for implementation
276
276
  template: |
277
277
  **Level File Format:**
278
-
278
+
279
279
  - Data format: {{json|yaml|custom}}
280
280
  - File naming: `level_{{world}}_{{number}}.{{extension}}`
281
281
  - Data organization: {{structure_description}}
@@ -313,14 +313,14 @@ sections:
313
313
  instruction: Define how level assets are organized and loaded
314
314
  template: |
315
315
  **Tilemap Requirements:**
316
-
316
+
317
317
  - Tile size: {{tile_dimensions}}px
318
318
  - Tileset organization: {{tileset_structure}}
319
319
  - Layer organization: {{layer_system}}
320
320
  - Collision data: {{collision_format}}
321
-
321
+
322
322
  **Audio Integration:**
323
-
323
+
324
324
  - Background music: {{music_requirements}}
325
325
  - Ambient sounds: {{ambient_system}}
326
326
  - Dynamic audio: {{dynamic_audio_rules}}
@@ -329,19 +329,19 @@ sections:
329
329
  instruction: Define performance requirements for level systems
330
330
  template: |
331
331
  **Entity Limits:**
332
-
332
+
333
333
  - Maximum active entities: {{entity_limit}}
334
334
  - Maximum particles: {{particle_limit}}
335
335
  - Maximum audio sources: {{audio_limit}}
336
-
336
+
337
337
  **Memory Management:**
338
-
338
+
339
339
  - Texture memory budget: {{texture_memory}}MB
340
340
  - Audio memory budget: {{audio_memory}}MB
341
341
  - Level loading time: <{{load_time}}s
342
-
342
+
343
343
  **Culling and LOD:**
344
-
344
+
345
345
  - Off-screen culling: {{culling_distance}}
346
346
  - Level-of-detail rules: {{lod_system}}
347
347
  - Asset streaming: {{streaming_requirements}}
@@ -354,13 +354,13 @@ sections:
354
354
  title: Automated Testing
355
355
  template: |
356
356
  **Performance Testing:**
357
-
357
+
358
358
  - Frame rate validation: Maintain {{fps_target}} FPS
359
359
  - Memory usage monitoring: Stay under {{memory_limit}}MB
360
360
  - Loading time verification: Complete in <{{load_time}}s
361
-
361
+
362
362
  **Gameplay Testing:**
363
-
363
+
364
364
  - Completion path validation: All objectives achievable
365
365
  - Collectible accessibility: All items reachable
366
366
  - Softlock prevention: No unwinnable states
@@ -388,14 +388,14 @@ sections:
388
388
  title: Balance Validation
389
389
  template: |
390
390
  **Metrics Collection:**
391
-
391
+
392
392
  - Completion rate: Target {{completion_percentage}}%
393
393
  - Average completion time: {{target_time}} ± {{variance}}
394
394
  - Death count per level: <{{max_deaths}}
395
395
  - Collectible discovery rate: {{discovery_percentage}}%
396
-
396
+
397
397
  **Iteration Guidelines:**
398
-
398
+
399
399
  - Adjustment criteria: {{criteria_for_changes}}
400
400
  - Testing sample size: {{minimum_testers}}
401
401
  - Validation period: {{testing_duration}}
@@ -408,14 +408,14 @@ sections:
408
408
  title: Design Phase
409
409
  template: |
410
410
  **Concept Development:**
411
-
411
+
412
412
  1. Define level purpose and goals
413
413
  2. Create rough layout sketch
414
414
  3. Identify key mechanics and challenges
415
415
  4. Estimate difficulty and duration
416
-
416
+
417
417
  **Documentation Requirements:**
418
-
418
+
419
419
  - Level design brief
420
420
  - Layout diagrams
421
421
  - Mechanic integration notes
@@ -424,15 +424,15 @@ sections:
424
424
  title: Implementation Phase
425
425
  template: |
426
426
  **Technical Implementation:**
427
-
427
+
428
428
  1. Create level data file
429
429
  2. Build tilemap and layout
430
430
  3. Place entities and objects
431
431
  4. Configure level logic and triggers
432
432
  5. Integrate audio and visual effects
433
-
433
+
434
434
  **Quality Assurance:**
435
-
435
+
436
436
  1. Automated testing execution
437
437
  2. Internal playtesting
438
438
  3. Performance validation
@@ -441,14 +441,14 @@ sections:
441
441
  title: Integration Phase
442
442
  template: |
443
443
  **Game Integration:**
444
-
444
+
445
445
  1. Level progression integration
446
446
  2. Save system compatibility
447
447
  3. Analytics integration
448
448
  4. Achievement system integration
449
-
449
+
450
450
  **Final Validation:**
451
-
451
+
452
452
  1. Full game context testing
453
453
  2. Performance regression testing
454
454
  3. Platform compatibility verification
@@ -481,4 +481,4 @@ sections:
481
481
  - Difficulty curve adherence: {{curve_accuracy}}
482
482
  - Mechanic integration effectiveness: {{integration_score}}
483
483
  - Player guidance clarity: {{guidance_score}}
484
- - Content accessibility: {{accessibility_rate}}%
484
+ - Content accessibility: {{accessibility_rate}}%
@@ -17,21 +17,21 @@ workflow:
17
17
  - brainstorming_session
18
18
  - game_research_prompt
19
19
  - player_research
20
- 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.'
20
+ 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."
21
21
  - agent: game-designer
22
22
  creates: game-design-doc.md
23
23
  requires: game-brief.md
24
24
  optional_steps:
25
25
  - competitive_analysis
26
26
  - technical_research
27
- 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.'
27
+ 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."
28
28
  - agent: game-designer
29
29
  creates: level-design-doc.md
30
30
  requires: game-design-doc.md
31
31
  optional_steps:
32
32
  - level_prototyping
33
33
  - difficulty_analysis
34
- 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.'
34
+ 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."
35
35
  - agent: solution-architect
36
36
  creates: game-architecture.md
37
37
  requires:
@@ -41,7 +41,7 @@ workflow:
41
41
  - technical_research_prompt
42
42
  - performance_analysis
43
43
  - platform_research
44
- 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.'
44
+ 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."
45
45
  - agent: game-designer
46
46
  validates: design_consistency
47
47
  requires: all_design_documents
@@ -66,7 +66,7 @@ workflow:
66
66
  optional_steps:
67
67
  - quick_brainstorming
68
68
  - concept_validation
69
- 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.'
69
+ 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."
70
70
  - agent: game-designer
71
71
  creates: prototype-design.md
72
72
  uses: create-doc prototype-design OR create-game-story
@@ -44,7 +44,7 @@ workflow:
44
44
  notes: Implement stories in priority order. Test frequently in the Unity Editor and adjust design based on what feels fun. Document discoveries.
45
45
  workflow_end:
46
46
  action: prototype_evaluation
47
- notes: 'Prototype complete. Evaluate core mechanics, gather feedback, and decide next steps: iterate, expand, or archive.'
47
+ notes: "Prototype complete. Evaluate core mechanics, gather feedback, and decide next steps: iterate, expand, or archive."
48
48
  game_jam_sequence:
49
49
  - step: jam_concept
50
50
  agent: game-designer
@@ -27,18 +27,18 @@ sections:
27
27
  - id: initial-setup
28
28
  instruction: |
29
29
  Initial Setup
30
-
30
+
31
31
  1. Replace {{project_name}} with the actual project name throughout the document
32
32
  2. Gather and review required inputs:
33
33
  - Product Requirements Document (PRD) - Required for business needs and scale requirements
34
34
  - Main System Architecture - Required for infrastructure dependencies
35
35
  - Technical Preferences/Tech Stack Document - Required for technology choices
36
36
  - PRD Technical Assumptions - Required for cross-referencing repository and service architecture
37
-
37
+
38
38
  If any required documents are missing, ask user: "I need the following documents to create a comprehensive infrastructure architecture: [list missing]. Would you like to proceed with available information or provide the missing documents first?"
39
-
39
+
40
40
  3. <critical_rule>Cross-reference with PRD Technical Assumptions to ensure infrastructure decisions align with repository and service architecture decisions made in the system architecture.</critical_rule>
41
-
41
+
42
42
  Output file location: `docs/infrastructure-architecture.md`
43
43
 
44
44
  - id: infrastructure-overview
@@ -67,7 +67,7 @@ sections:
67
67
  - Repository Structure
68
68
  - State Management
69
69
  - Dependency Management
70
-
70
+
71
71
  <critical_rule>All infrastructure must be defined as code. No manual resource creation in production environments.</critical_rule>
72
72
 
73
73
  - id: environment-configuration
@@ -103,7 +103,7 @@ sections:
103
103
  title: Network Architecture
104
104
  instruction: |
105
105
  Design network topology considering security zones, traffic patterns, and compliance requirements. Reference main architecture for service communication patterns.
106
-
106
+
107
107
  Create Mermaid diagram showing:
108
108
  - VPC/Network structure
109
109
  - Security zones and boundaries
@@ -166,7 +166,7 @@ sections:
166
166
  title: Data Resources
167
167
  instruction: |
168
168
  Design data infrastructure based on data architecture from main system design. Consider data volumes, access patterns, compliance, and recovery requirements.
169
-
169
+
170
170
  Create data flow diagram showing:
171
171
  - Database topology
172
172
  - Replication patterns
@@ -187,7 +187,7 @@ sections:
187
187
  - Data Encryption
188
188
  - Compliance Controls
189
189
  - Security Scanning & Monitoring
190
-
190
+
191
191
  <critical_rule>Apply principle of least privilege for all access controls. Document all security exceptions with business justification.</critical_rule>
192
192
 
193
193
  - id: shared-responsibility
@@ -223,7 +223,7 @@ sections:
223
223
  title: CI/CD Pipeline
224
224
  instruction: |
225
225
  Design deployment pipeline that balances speed with safety. Include progressive deployment strategies and automated quality gates.
226
-
226
+
227
227
  Create pipeline diagram showing:
228
228
  - Build stages
229
229
  - Test gates
@@ -254,7 +254,7 @@ sections:
254
254
  - Recovery Procedures
255
255
  - RTO & RPO Targets
256
256
  - DR Testing Approach
257
-
257
+
258
258
  <critical_rule>DR procedures must be tested at least quarterly. Document test results and improvement actions.</critical_rule>
259
259
 
260
260
  - id: cost-optimization
@@ -296,15 +296,15 @@ sections:
296
296
  title: DevOps/Platform Feasibility Review
297
297
  instruction: |
298
298
  CRITICAL STEP - Present architectural blueprint summary to DevOps/Platform Engineering Agent for feasibility review. Request specific feedback on:
299
-
299
+
300
300
  - **Operational Complexity:** Are the proposed patterns implementable with current tooling and expertise?
301
301
  - **Resource Constraints:** Do infrastructure requirements align with available resources and budgets?
302
302
  - **Security Implementation:** Are security patterns achievable with current security toolchain?
303
303
  - **Operational Overhead:** Will the proposed architecture create excessive operational burden?
304
304
  - **Technology Constraints:** Are selected technologies compatible with existing infrastructure?
305
-
305
+
306
306
  Document all feasibility feedback and concerns raised. Iterate on architectural decisions based on operational constraints and feedback.
307
-
307
+
308
308
  <critical_rule>Address all critical feasibility concerns before proceeding to final architecture documentation. If critical blockers identified, revise architecture before continuing.</critical_rule>
309
309
  sections:
310
310
  - id: feasibility-results
@@ -322,7 +322,7 @@ sections:
322
322
  title: Validation Framework
323
323
  content: |
324
324
  This infrastructure architecture will be validated using the comprehensive `infrastructure-checklist.md`, with particular focus on Section 12: Architecture Documentation Validation. The checklist ensures:
325
-
325
+
326
326
  - Completeness of architecture documentation
327
327
  - Consistency with broader system architecture
328
328
  - Appropriate level of detail for different stakeholders
@@ -332,12 +332,12 @@ sections:
332
332
  title: Validation Process
333
333
  content: |
334
334
  The architecture documentation validation should be performed:
335
-
335
+
336
336
  - After initial architecture development
337
337
  - After significant architecture changes
338
338
  - Before major implementation phases
339
339
  - During periodic architecture reviews
340
-
340
+
341
341
  The Platform Engineer should use the infrastructure checklist to systematically validate all aspects of this architecture document.
342
342
 
343
343
  - id: implementation-handoff
@@ -348,7 +348,7 @@ sections:
348
348
  title: Architecture Decision Records (ADRs)
349
349
  content: |
350
350
  Create ADRs for key infrastructure decisions:
351
-
351
+
352
352
  - Cloud provider selection rationale
353
353
  - Container orchestration platform choice
354
354
  - Networking architecture decisions
@@ -358,7 +358,7 @@ sections:
358
358
  title: Implementation Validation Criteria
359
359
  content: |
360
360
  Define specific criteria for validating correct implementation:
361
-
361
+
362
362
  - Infrastructure as Code quality gates
363
363
  - Security compliance checkpoints
364
364
  - Performance benchmarks
@@ -418,7 +418,7 @@ sections:
418
418
  instruction: Final Review - Ensure all sections are complete and consistent. Verify feasibility review was conducted and all concerns addressed. Apply final validation against infrastructure checklist.
419
419
  content: |
420
420
  ---
421
-
421
+
422
422
  _Document Version: 1.0_
423
423
  _Last Updated: {{current_date}}_
424
- _Next Review: {{review_date}}_
424
+ _Next Review: {{review_date}}_
@@ -28,7 +28,7 @@ sections:
28
28
  - id: initial-setup
29
29
  instruction: |
30
30
  Initial Setup
31
-
31
+
32
32
  1. Replace {{project_name}} with the actual project name throughout the document
33
33
  2. Gather and review required inputs:
34
34
  - **Infrastructure Architecture Document** (Primary input - REQUIRED)
@@ -37,10 +37,10 @@ sections:
37
37
  - Technology Stack Document
38
38
  - Infrastructure Checklist
39
39
  - NOTE: If Infrastructure Architecture Document is missing, HALT and request: "I need the Infrastructure Architecture Document to proceed with platform implementation. This document defines the infrastructure design that we'll be implementing."
40
-
40
+
41
41
  3. Validate that the infrastructure architecture has been reviewed and approved
42
42
  4. <critical_rule>All platform implementation must align with the approved infrastructure architecture. Any deviations require architect approval.</critical_rule>
43
-
43
+
44
44
  Output file location: `docs/platform-infrastructure/platform-implementation.md`
45
45
 
46
46
  - id: executive-summary
@@ -113,7 +113,7 @@ sections:
113
113
  # Example Terraform for VPC setup
114
114
  module "vpc" {
115
115
  source = "./modules/vpc"
116
-
116
+
117
117
  cidr_block = "{{vpc_cidr}}"
118
118
  availability_zones = {{availability_zones}}
119
119
  public_subnets = {{public_subnets}}
@@ -508,7 +508,7 @@ sections:
508
508
  // K6 Load Test Example
509
509
  import http from 'k6/http';
510
510
  import { check } from 'k6';
511
-
511
+
512
512
  export let options = {
513
513
  stages: [
514
514
  { duration: '5m', target: {{target_users}} },
@@ -622,8 +622,8 @@ sections:
622
622
  instruction: Final Review - Ensure all platform layers are properly implemented, integrated, and documented. Verify that the implementation fully supports the BMAD methodology and all agent workflows. Confirm successful validation against the infrastructure checklist.
623
623
  content: |
624
624
  ---
625
-
625
+
626
626
  _Platform Version: 1.0_
627
627
  _Implementation Date: {{implementation_date}}_
628
628
  _Next Review: {{review_date}}_
629
- _Approved by: {{architect_name}} (Architect), {{devops_name}} (DevOps/Platform Engineer)_
629
+ _Approved by: {{architect_name}} (Architect), {{devops_name}} (DevOps/Platform Engineer)_