bmad-method 4.26.0 → 4.27.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 (109) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +29 -282
  4. package/bmad-core/agent-teams/team-all.yaml +6 -6
  5. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  6. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  7. package/bmad-core/agents/analyst.md +17 -18
  8. package/bmad-core/agents/architect.md +15 -18
  9. package/bmad-core/agents/bmad-master.md +56 -53
  10. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  11. package/bmad-core/agents/dev.md +10 -10
  12. package/bmad-core/agents/pm.md +17 -20
  13. package/bmad-core/agents/po.md +12 -15
  14. package/bmad-core/agents/qa.md +7 -8
  15. package/bmad-core/agents/sm.md +8 -13
  16. package/bmad-core/agents/ux-expert.md +7 -11
  17. package/bmad-core/core-config.yaml +1 -1
  18. package/bmad-core/data/bmad-kb.md +74 -15
  19. package/bmad-core/data/brainstorming-techniques.md +36 -0
  20. package/bmad-core/data/elicitation-methods.md +134 -0
  21. package/bmad-core/tasks/advanced-elicitation.md +82 -57
  22. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  23. package/bmad-core/templates/architecture-tmpl.yaml +658 -0
  24. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  25. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  26. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  27. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  28. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  29. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  30. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  31. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  32. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  33. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  34. package/bmad-core/templates/story-tmpl.yaml +137 -0
  35. package/bmad-core/utils/plan-management.md +9 -13
  36. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  37. package/common/tasks/create-doc.md +55 -67
  38. package/common/utils/bmad-doc-template.md +325 -0
  39. package/dist/agents/analyst.txt +1312 -1193
  40. package/dist/agents/architect.txt +2484 -2895
  41. package/dist/agents/bmad-master.txt +4680 -4897
  42. package/dist/agents/bmad-orchestrator.txt +400 -195
  43. package/dist/agents/dev.txt +21 -24
  44. package/dist/agents/pm.txt +590 -619
  45. package/dist/agents/po.txt +178 -130
  46. package/dist/agents/qa.txt +159 -48
  47. package/dist/agents/sm.txt +166 -120
  48. package/dist/agents/ux-expert.txt +436 -544
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
  50. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
  53. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
  54. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
  55. package/dist/teams/team-all.txt +4885 -4967
  56. package/dist/teams/team-fullstack.txt +5621 -5693
  57. package/dist/teams/team-ide-minimal.txt +604 -333
  58. package/dist/teams/team-no-ui.txt +5209 -5213
  59. package/docs/agentic-tools/github-copilot-guide.md +29 -9
  60. package/docs/bmad-workflow-guide.md +2 -2
  61. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  62. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  63. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  64. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  65. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
  67. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  68. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  69. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  72. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  73. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  74. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  75. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  76. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  77. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  78. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  79. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  80. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  81. package/package.json +1 -1
  82. package/tools/builders/web-builder.js +170 -95
  83. package/tools/installer/config/install.config.yaml +2 -2
  84. package/tools/installer/lib/ide-setup.js +2 -2
  85. package/tools/installer/package.json +1 -1
  86. package/tools/lib/dependency-resolver.js +11 -22
  87. package/tools/md-assets/web-agent-startup-instructions.md +10 -10
  88. package/bmad-core/tasks/brainstorming-techniques.md +0 -238
  89. package/bmad-core/templates/architecture-tmpl.md +0 -776
  90. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  91. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  92. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  93. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  94. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  95. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  96. package/bmad-core/templates/market-research-tmpl.md +0 -263
  97. package/bmad-core/templates/prd-tmpl.md +0 -202
  98. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  99. package/bmad-core/templates/story-tmpl.md +0 -58
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  102. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  103. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  104. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  105. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  106. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  107. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  108. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  109. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
8
8
 
9
9
  2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
10
10
 
11
- - `==================== START: folder#filename ====================`
12
- - `==================== END: folder#filename ====================`
11
+ - `==================== START: .bmad-2d-phaser-game-dev/folder/filename.md ====================`
12
+ - `==================== END: .bmad-2d-phaser-game-dev/folder/filename.md ====================`
13
13
 
14
14
  When you need to reference a resource mentioned in your instructions:
15
15
 
16
16
  - Look for the corresponding START/END tags
17
- - The format is always `folder#filename` (e.g., `personas#analyst`, `tasks#create-story`)
18
- - If a section is specified (e.g., `tasks#create-story#section-name`), navigate to that section within the file
17
+ - The format is always the full path with dot prefix (e.g., `.bmad-2d-phaser-game-dev/personas/analyst.md`, `.bmad-2d-phaser-game-dev/tasks/create-story.md`)
18
+ - If a section is specified (e.g., `{root}/tasks/create-story.md#section-name`), navigate to that section within the file
19
19
 
20
20
  **Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
21
21
 
@@ -29,8 +29,8 @@ dependencies:
29
29
 
30
30
  These references map directly to bundle sections:
31
31
 
32
- - `utils: template-format` → Look for `==================== START: utils#template-format ====================`
33
- - `tasks: create-story` → Look for `==================== START: tasks#create-story ====================`
32
+ - `utils: template-format` → Look for `==================== START: .bmad-2d-phaser-game-dev/utils/template-format.md ====================`
33
+ - `tasks: create-story` → Look for `==================== START: .bmad-2d-phaser-game-dev/tasks/create-story.md ====================`
34
34
 
35
35
  3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
36
36
 
@@ -38,7 +38,8 @@ These references map directly to bundle sections:
38
38
 
39
39
  ---
40
40
 
41
- ==================== START: agents#game-sm ====================
41
+
42
+ ==================== START: .bmad-2d-phaser-game-dev/agents/game-sm.md ====================
42
43
  # game-sm
43
44
 
44
45
  CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
@@ -49,6 +50,10 @@ activation-instructions:
49
50
  - Only read the files/tasks listed here when user selects them for execution to minimize context usage
50
51
  - The customization field ALWAYS takes precedence over any conflicting instructions
51
52
  - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
53
+ - Greet the user with your name and role, and inform of the *help command
54
+ - Offer to help with game story preparation but wait for explicit user confirmation
55
+ - Only execute tasks when user explicitly requests them
56
+ - 'CRITICAL RULE: You are ONLY allowed to create/modify story files - NEVER implement! If asked to implement, tell user they MUST switch to Game Developer Agent'
52
57
  agent:
53
58
  name: Jordan
54
59
  id: game-sm
@@ -68,13 +73,6 @@ core_principles:
68
73
  - Focus on One Story at a Time - Complete one before starting next
69
74
  - Game-Specific Context - Understand Phaser 3, game mechanics, and performance requirements
70
75
  - Numbered Options Protocol - Always use numbered lists for selections
71
- startup:
72
- - Greet the user with your name and role, and inform of the *help command
73
- - CRITICAL: Do NOT automatically execute create-game-story tasks during startup
74
- - CRITICAL: Do NOT create or modify any files during startup
75
- - Offer to help with game story preparation but wait for explicit user confirmation
76
- - Only execute tasks when user explicitly requests them
77
- - 'CRITICAL RULE: You are ONLY allowed to create/modify story files - NEVER implement! If asked to implement, tell user they MUST switch to Game Developer Agent'
78
76
  commands:
79
77
  - '*help" - Show numbered list of available commands for selection'
80
78
  - '*chat-mode" - Conversational mode with advanced-elicitation for game dev advice'
@@ -83,16 +81,16 @@ commands:
83
81
  - '*exit" - Say goodbye as the Game Scrum Master, and then abandon inhabiting this persona'
84
82
  dependencies:
85
83
  tasks:
86
- - create-game-story
87
- - execute-checklist
84
+ - create-game-story.md
85
+ - execute-checklist.md
88
86
  templates:
89
- - game-story-tmpl
87
+ - game-story-tmpl.yaml
90
88
  checklists:
91
- - game-story-dod-checklist
89
+ - game-story-dod-checklist.md
92
90
  ```
93
- ==================== END: agents#game-sm ====================
91
+ ==================== END: .bmad-2d-phaser-game-dev/agents/game-sm.md ====================
94
92
 
95
- ==================== START: tasks#create-game-story ====================
93
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/create-game-story.md ====================
96
94
  # Create Game Development Story Task
97
95
 
98
96
  ## Purpose
@@ -152,7 +150,7 @@ Before creating stories, ensure you have:
152
150
  ### 3. Template Execution
153
151
 
154
152
  **Load Template:**
155
- Use `templates#game-story-tmpl` following all embedded LLM instructions
153
+ Use `.bmad-2d-phaser-game-dev/templates/game-story-tmpl.md` following all embedded LLM instructions
156
154
 
157
155
  **Key Focus Areas:**
158
156
 
@@ -188,7 +186,7 @@ Use `templates#game-story-tmpl` following all embedded LLM instructions
188
186
  ### 5. Quality Assurance
189
187
 
190
188
  **Apply Checklist:**
191
- Execute `checklists#game-story-dod-checklist` against completed story
189
+ Execute `.bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md` against completed story
192
190
 
193
191
  **Story Criteria:**
194
192
 
@@ -309,16 +307,16 @@ Execute `checklists#game-story-dod-checklist` against completed story
309
307
  - Testing → Done
310
308
 
311
309
  This task ensures game development stories are immediately actionable and enable efficient AI-driven development of game features.
312
- ==================== END: tasks#create-game-story ====================
310
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/create-game-story.md ====================
313
311
 
314
- ==================== START: tasks#execute-checklist ====================
312
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/execute-checklist.md ====================
315
313
  # Checklist Validation Task
316
314
 
317
315
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
318
316
 
319
317
  ## Available Checklists
320
318
 
321
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
319
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .bmad-2d-phaser-game-dev/checklists folder to select the appropriate one to run.
322
320
 
323
321
  ## Instructions
324
322
 
@@ -327,7 +325,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
327
325
  - If user or the task being run provides a checklist name:
328
326
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
329
327
  - If multiple matches found, ask user to clarify
330
- - Load the appropriate checklist from {root}/checklists/
328
+ - Load the appropriate checklist from .bmad-2d-phaser-game-dev/checklists/
331
329
  - If no checklist specified:
332
330
  - Ask the user which checklist they want to use
333
331
  - Present the available options from the files in the checklists folder
@@ -405,247 +403,265 @@ The LLM will:
405
403
  - Execute the complete checklist validation
406
404
  - Present a final report with pass/fail rates and key findings
407
405
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
408
- ==================== END: tasks#execute-checklist ====================
409
-
410
- ==================== START: templates#game-story-tmpl ====================
411
- # Story: {{Story Title}}
412
-
413
- **Epic:** {{Epic Name}}
414
- **Story ID:** {{ID}}
415
- **Priority:** {{High|Medium|Low}}
416
- **Points:** {{Story Points}}
417
- **Status:** Draft
418
-
419
- [[LLM: 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.
420
-
421
- Before starting, ensure you have access to:
422
-
423
- - Game Design Document (GDD)
424
- - Game Architecture Document
425
- - Any existing stories in this epic
426
-
427
- The story should be specific enough that a developer can implement it without requiring additional design decisions.]]
428
-
429
- ## Description
430
-
431
- [[LLM: Provide a clear, concise description of what this story implements. Focus on the specific game feature or system being built. Reference the GDD section that defines this feature.]]
432
-
433
- {{clear_description_of_what_needs_to_be_implemented}}
434
-
435
- ## Acceptance Criteria
436
-
437
- [[LLM: Define specific, testable conditions that must be met for the story to be considered complete. Each criterion should be verifiable and directly related to gameplay functionality.]]
438
-
439
- ### Functional Requirements
440
-
441
- - [ ] {{specific_functional_requirement_1}}
442
- - [ ] {{specific_functional_requirement_2}}
443
- - [ ] {{specific_functional_requirement_3}}
444
-
445
- ### Technical Requirements
446
-
447
- - [ ] Code follows TypeScript strict mode standards
448
- - [ ] Maintains 60 FPS on target devices
449
- - [ ] No memory leaks or performance degradation
450
- - [ ] {{specific_technical_requirement}}
451
-
452
- ### Game Design Requirements
453
-
454
- - [ ] {{gameplay_requirement_from_gdd}}
455
- - [ ] {{balance_requirement_if_applicable}}
456
- - [ ] {{player_experience_requirement}}
457
-
458
- ## Technical Specifications
459
-
460
- [[LLM: Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.]]
461
-
462
- ### Files to Create/Modify
463
-
464
- **New Files:**
465
-
466
- - `{{file_path_1}}` - {{purpose}}
467
- - `{{file_path_2}}` - {{purpose}}
468
-
469
- **Modified Files:**
470
-
471
- - `{{existing_file_1}}` - {{changes_needed}}
472
- - `{{existing_file_2}}` - {{changes_needed}}
473
-
474
- ### Class/Interface Definitions
475
-
476
- [[LLM: Define specific TypeScript interfaces and class structures needed]]
477
-
478
- ```typescript
479
- // {{interface_name}}
480
- interface {{InterfaceName}} {
481
- {{property_1}}: {{type}};
482
- {{property_2}}: {{type}};
483
- {{method_1}}({{params}}): {{return_type}};
484
- }
485
-
486
- // {{class_name}}
487
- class {{ClassName}} extends {{PhaseClass}} {
488
- private {{property}}: {{type}};
489
-
490
- constructor({{params}}) {
491
- // Implementation requirements
492
- }
493
-
494
- public {{method}}({{params}}): {{return_type}} {
495
- // Method requirements
496
- }
497
- }
498
- ```
499
-
500
- ### Integration Points
501
-
502
- [[LLM: Specify how this feature integrates with existing systems]]
503
-
504
- **Scene Integration:**
505
-
506
- - {{scene_name}}: {{integration_details}}
507
-
508
- **System Dependencies:**
509
-
510
- - {{system_name}}: {{dependency_description}}
511
-
512
- **Event Communication:**
513
-
514
- - Emits: `{{event_name}}` when {{condition}}
515
- - Listens: `{{event_name}}` to {{response}}
516
-
517
- ## Implementation Tasks
518
-
519
- [[LLM: Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.]]
520
-
521
- ### Dev Agent Record
522
-
523
- **Tasks:**
524
-
525
- - [ ] {{task_1_description}}
526
- - [ ] {{task_2_description}}
527
- - [ ] {{task_3_description}}
528
- - [ ] {{task_4_description}}
529
- - [ ] Write unit tests for {{component}}
530
- - [ ] Integration testing with {{related_system}}
531
- - [ ] Performance testing and optimization
532
-
533
- **Debug Log:**
534
- | Task | File | Change | Reverted? |
535
- |------|------|--------|-----------|
536
- | | | | |
537
-
538
- **Completion Notes:**
539
-
540
- <!-- Only note deviations from requirements, keep under 50 words -->
541
-
542
- **Change Log:**
543
-
544
- <!-- Only requirement changes during implementation -->
545
-
546
- ## Game Design Context
547
-
548
- [[LLM: Reference the specific sections of the GDD that this story implements]]
549
-
550
- **GDD Reference:** {{section_name}} ({{page_or_section_number}})
551
-
552
- **Game Mechanic:** {{mechanic_name}}
553
-
554
- **Player Experience Goal:** {{experience_description}}
555
-
556
- **Balance Parameters:**
557
-
558
- - {{parameter_1}}: {{value_or_range}}
559
- - {{parameter_2}}: {{value_or_range}}
560
-
561
- ## Testing Requirements
562
-
563
- [[LLM: Define specific testing criteria for this game feature]]
564
-
565
- ### Unit Tests
566
-
567
- **Test Files:**
568
-
569
- - `tests/{{component_name}}.test.ts`
570
-
571
- **Test Scenarios:**
572
-
573
- - {{test_scenario_1}}
574
- - {{test_scenario_2}}
575
- - {{edge_case_test}}
576
-
577
- ### Game Testing
578
-
579
- **Manual Test Cases:**
580
-
581
- 1. {{test_case_1_description}}
582
-
583
- - Expected: {{expected_behavior}}
584
- - Performance: {{performance_expectation}}
585
-
586
- 2. {{test_case_2_description}}
587
- - Expected: {{expected_behavior}}
588
- - Edge Case: {{edge_case_handling}}
589
-
590
- ### Performance Tests
591
-
592
- **Metrics to Verify:**
593
-
594
- - Frame rate maintains {{fps_target}} FPS
595
- - Memory usage stays under {{memory_limit}}MB
596
- - {{feature_specific_performance_metric}}
597
-
598
- ## Dependencies
599
-
600
- [[LLM: List any dependencies that must be completed before this story can be implemented]]
601
-
602
- **Story Dependencies:**
603
-
604
- - {{story_id}}: {{dependency_description}}
605
-
606
- **Technical Dependencies:**
607
-
608
- - {{system_or_file}}: {{requirement}}
609
-
610
- **Asset Dependencies:**
611
-
612
- - {{asset_type}}: {{asset_description}}
613
- - Location: `{{asset_path}}`
614
-
615
- ## Definition of Done
616
-
617
- [[LLM: Checklist that must be completed before the story is considered finished]]
618
-
619
- - [ ] All acceptance criteria met
620
- - [ ] Code reviewed and approved
621
- - [ ] Unit tests written and passing
622
- - [ ] Integration tests passing
623
- - [ ] Performance targets met
624
- - [ ] No linting errors
625
- - [ ] Documentation updated
626
- - [ ] {{game_specific_dod_item}}
627
-
628
- ## Notes
629
-
630
- [[LLM: Any additional context, design decisions, or implementation notes]]
631
-
632
- **Implementation Notes:**
633
-
634
- - {{note_1}}
635
- - {{note_2}}
636
-
637
- **Design Decisions:**
638
-
639
- - {{decision_1}}: {{rationale}}
640
- - {{decision_2}}: {{rationale}}
641
-
642
- **Future Considerations:**
643
-
644
- - {{future_enhancement_1}}
645
- - {{future_optimization_1}}
646
- ==================== END: templates#game-story-tmpl ====================
647
-
648
- ==================== START: checklists#game-story-dod-checklist ====================
406
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/execute-checklist.md ====================
407
+
408
+ ==================== START: .bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml ====================
409
+ template:
410
+ id: game-story-template-v2
411
+ name: Game Development Story
412
+ version: 2.0
413
+ output:
414
+ format: markdown
415
+ filename: "stories/{{epic_name}}/{{story_id}}-{{story_name}}.md"
416
+ title: "Story: {{story_title}}"
417
+
418
+ workflow:
419
+ mode: interactive
420
+
421
+ sections:
422
+ - id: initial-setup
423
+ instruction: |
424
+ 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.
425
+
426
+ Before starting, ensure you have access to:
427
+
428
+ - Game Design Document (GDD)
429
+ - Game Architecture Document
430
+ - Any existing stories in this epic
431
+
432
+ The story should be specific enough that a developer can implement it without requiring additional design decisions.
433
+
434
+ - id: story-header
435
+ content: |
436
+ **Epic:** {{epic_name}}
437
+ **Story ID:** {{story_id}}
438
+ **Priority:** {{High|Medium|Low}}
439
+ **Points:** {{story_points}}
440
+ **Status:** Draft
441
+
442
+ - id: description
443
+ title: Description
444
+ instruction: Provide a clear, concise description of what this story implements. Focus on the specific game feature or system being built. Reference the GDD section that defines this feature.
445
+ template: "{{clear_description_of_what_needs_to_be_implemented}}"
446
+
447
+ - id: acceptance-criteria
448
+ title: Acceptance Criteria
449
+ instruction: Define specific, testable conditions that must be met for the story to be considered complete. Each criterion should be verifiable and directly related to gameplay functionality.
450
+ sections:
451
+ - id: functional-requirements
452
+ title: Functional Requirements
453
+ type: checklist
454
+ items:
455
+ - "{{specific_functional_requirement}}"
456
+ - id: technical-requirements
457
+ title: Technical Requirements
458
+ type: checklist
459
+ items:
460
+ - "Code follows TypeScript strict mode standards"
461
+ - "Maintains 60 FPS on target devices"
462
+ - "No memory leaks or performance degradation"
463
+ - "{{specific_technical_requirement}}"
464
+ - id: game-design-requirements
465
+ title: Game Design Requirements
466
+ type: checklist
467
+ items:
468
+ - "{{gameplay_requirement_from_gdd}}"
469
+ - "{{balance_requirement_if_applicable}}"
470
+ - "{{player_experience_requirement}}"
471
+
472
+ - id: technical-specifications
473
+ title: Technical Specifications
474
+ instruction: Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.
475
+ sections:
476
+ - id: files-to-modify
477
+ title: Files to Create/Modify
478
+ template: |
479
+ **New Files:**
480
+
481
+ - `{{file_path_1}}` - {{purpose}}
482
+ - `{{file_path_2}}` - {{purpose}}
483
+
484
+ **Modified Files:**
485
+
486
+ - `{{existing_file_1}}` - {{changes_needed}}
487
+ - `{{existing_file_2}}` - {{changes_needed}}
488
+ - id: class-interface-definitions
489
+ title: Class/Interface Definitions
490
+ instruction: Define specific TypeScript interfaces and class structures needed
491
+ type: code
492
+ language: typescript
493
+ template: |
494
+ // {{interface_name}}
495
+ interface {{interface_name}} {
496
+ {{property_1}}: {{type}};
497
+ {{property_2}}: {{type}};
498
+ {{method_1}}({{params}}): {{return_type}};
499
+ }
500
+
501
+ // {{class_name}}
502
+ class {{class_name}} extends {{phaser_class}} {
503
+ private {{property}}: {{type}};
504
+
505
+ constructor({{params}}) {
506
+ // Implementation requirements
507
+ }
508
+
509
+ public {{method}}({{params}}): {{return_type}} {
510
+ // Method requirements
511
+ }
512
+ }
513
+ - id: integration-points
514
+ title: Integration Points
515
+ instruction: Specify how this feature integrates with existing systems
516
+ template: |
517
+ **Scene Integration:**
518
+
519
+ - {{scene_name}}: {{integration_details}}
520
+
521
+ **System Dependencies:**
522
+
523
+ - {{system_name}}: {{dependency_description}}
524
+
525
+ **Event Communication:**
526
+
527
+ - Emits: `{{event_name}}` when {{condition}}
528
+ - Listens: `{{event_name}}` to {{response}}
529
+
530
+ - id: implementation-tasks
531
+ title: Implementation Tasks
532
+ instruction: Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.
533
+ sections:
534
+ - id: dev-agent-record
535
+ title: Dev Agent Record
536
+ template: |
537
+ **Tasks:**
538
+
539
+ - [ ] {{task_1_description}}
540
+ - [ ] {{task_2_description}}
541
+ - [ ] {{task_3_description}}
542
+ - [ ] {{task_4_description}}
543
+ - [ ] Write unit tests for {{component}}
544
+ - [ ] Integration testing with {{related_system}}
545
+ - [ ] Performance testing and optimization
546
+
547
+ **Debug Log:**
548
+ | Task | File | Change | Reverted? |
549
+ |------|------|--------|-----------|
550
+ | | | | |
551
+
552
+ **Completion Notes:**
553
+
554
+ <!-- Only note deviations from requirements, keep under 50 words -->
555
+
556
+ **Change Log:**
557
+
558
+ <!-- Only requirement changes during implementation -->
559
+
560
+ - id: game-design-context
561
+ title: Game Design Context
562
+ instruction: Reference the specific sections of the GDD that this story implements
563
+ template: |
564
+ **GDD Reference:** {{section_name}} ({{page_or_section_number}})
565
+
566
+ **Game Mechanic:** {{mechanic_name}}
567
+
568
+ **Player Experience Goal:** {{experience_description}}
569
+
570
+ **Balance Parameters:**
571
+
572
+ - {{parameter_1}}: {{value_or_range}}
573
+ - {{parameter_2}}: {{value_or_range}}
574
+
575
+ - id: testing-requirements
576
+ title: Testing Requirements
577
+ instruction: Define specific testing criteria for this game feature
578
+ sections:
579
+ - id: unit-tests
580
+ title: Unit Tests
581
+ template: |
582
+ **Test Files:**
583
+
584
+ - `tests/{{component_name}}.test.ts`
585
+
586
+ **Test Scenarios:**
587
+
588
+ - {{test_scenario_1}}
589
+ - {{test_scenario_2}}
590
+ - {{edge_case_test}}
591
+ - id: game-testing
592
+ title: Game Testing
593
+ template: |
594
+ **Manual Test Cases:**
595
+
596
+ 1. {{test_case_1_description}}
597
+
598
+ - Expected: {{expected_behavior}}
599
+ - Performance: {{performance_expectation}}
600
+
601
+ 2. {{test_case_2_description}}
602
+ - Expected: {{expected_behavior}}
603
+ - Edge Case: {{edge_case_handling}}
604
+ - id: performance-tests
605
+ title: Performance Tests
606
+ template: |
607
+ **Metrics to Verify:**
608
+
609
+ - Frame rate maintains {{fps_target}} FPS
610
+ - Memory usage stays under {{memory_limit}}MB
611
+ - {{feature_specific_performance_metric}}
612
+
613
+ - id: dependencies
614
+ title: Dependencies
615
+ instruction: List any dependencies that must be completed before this story can be implemented
616
+ template: |
617
+ **Story Dependencies:**
618
+
619
+ - {{story_id}}: {{dependency_description}}
620
+
621
+ **Technical Dependencies:**
622
+
623
+ - {{system_or_file}}: {{requirement}}
624
+
625
+ **Asset Dependencies:**
626
+
627
+ - {{asset_type}}: {{asset_description}}
628
+ - Location: `{{asset_path}}`
629
+
630
+ - id: definition-of-done
631
+ title: Definition of Done
632
+ instruction: Checklist that must be completed before the story is considered finished
633
+ type: checklist
634
+ items:
635
+ - "All acceptance criteria met"
636
+ - "Code reviewed and approved"
637
+ - "Unit tests written and passing"
638
+ - "Integration tests passing"
639
+ - "Performance targets met"
640
+ - "No linting errors"
641
+ - "Documentation updated"
642
+ - "{{game_specific_dod_item}}"
643
+
644
+ - id: notes
645
+ title: Notes
646
+ instruction: Any additional context, design decisions, or implementation notes
647
+ template: |
648
+ **Implementation Notes:**
649
+
650
+ - {{note_1}}
651
+ - {{note_2}}
652
+
653
+ **Design Decisions:**
654
+
655
+ - {{decision_1}}: {{rationale}}
656
+ - {{decision_2}}: {{rationale}}
657
+
658
+ **Future Considerations:**
659
+
660
+ - {{future_enhancement_1}}
661
+ - {{future_optimization_1}}
662
+ ==================== END: .bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml ====================
663
+
664
+ ==================== START: .bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md ====================
649
665
  # Game Development Story Definition of Done Checklist
650
666
 
651
667
  ## Story Completeness
@@ -806,4 +822,4 @@ class {{ClassName}} extends {{PhaseClass}} {
806
822
 
807
823
  **Additional Notes:**
808
824
  _Any specific concerns, recommendations, or clarifications needed before development begins._
809
- ==================== END: checklists#game-story-dod-checklist ====================
825
+ ==================== END: .bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md ====================