bmad-method 4.27.0 → 4.27.2

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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/bmad-core/agent-teams/team-all.yaml +6 -6
  3. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  4. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  5. package/bmad-core/agents/analyst.md +17 -20
  6. package/bmad-core/agents/architect.md +15 -18
  7. package/bmad-core/agents/bmad-master.md +55 -56
  8. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  9. package/bmad-core/agents/dev.md +10 -10
  10. package/bmad-core/agents/pm.md +17 -20
  11. package/bmad-core/agents/po.md +12 -15
  12. package/bmad-core/agents/qa.md +7 -8
  13. package/bmad-core/agents/sm.md +8 -13
  14. package/bmad-core/agents/ux-expert.md +7 -11
  15. package/bmad-core/core-config.yaml +1 -1
  16. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  17. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  18. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  19. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  20. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  21. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  22. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  23. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  24. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  25. package/bmad-core/templates/{prd-tmpl2.yaml → prd-tmpl.yaml} +3 -3
  26. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  27. package/bmad-core/templates/story-tmpl.yaml +137 -0
  28. package/common/tasks/create-doc.md +55 -67
  29. package/common/utils/bmad-doc-template.md +29 -0
  30. package/dist/agents/analyst.txt +1004 -1061
  31. package/dist/agents/architect.txt +2460 -2872
  32. package/dist/agents/bmad-master.txt +3842 -4354
  33. package/dist/agents/bmad-orchestrator.txt +211 -87
  34. package/dist/agents/dev.txt +4 -8
  35. package/dist/agents/pm.txt +557 -587
  36. package/dist/agents/po.txt +149 -102
  37. package/dist/agents/qa.txt +145 -35
  38. package/dist/agents/sm.txt +145 -100
  39. package/dist/agents/ux-expert.txt +413 -522
  40. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1258 -1236
  41. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +623 -573
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +263 -248
  43. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9135 -4942
  44. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +288 -251
  45. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1123 -1145
  46. package/dist/teams/team-all.txt +4583 -4837
  47. package/dist/teams/team-fullstack.txt +5276 -5520
  48. package/dist/teams/team-ide-minimal.txt +375 -185
  49. package/dist/teams/team-no-ui.txt +4875 -5051
  50. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  51. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  52. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  53. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  54. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  55. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  56. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  57. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  58. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  59. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  60. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  61. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  62. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  63. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  64. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  65. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  66. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  67. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  68. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  69. package/package.json +1 -1
  70. package/tools/builders/web-builder.js +65 -85
  71. package/tools/installer/package.json +1 -1
  72. package/tools/lib/dependency-resolver.js +8 -19
  73. package/zoo/docs/architecture.md +812 -0
  74. package/zoo/docs/brief.md +253 -0
  75. package/zoo/docs/prd.md +500 -0
  76. package/zoo/docs/stories/1.1.story.md +278 -0
  77. package/bmad-core/templates/architecture-tmpl.md +0 -776
  78. package/bmad-core/templates/brainstorming-output-tmpl.md +0 -149
  79. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  80. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  81. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  82. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  83. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  84. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  85. package/bmad-core/templates/market-research-tmpl.md +0 -263
  86. package/bmad-core/templates/prd-tmpl.md +0 -202
  87. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  88. package/bmad-core/templates/story-tmpl.md +0 -58
  89. package/common/tasks/create-doc2.md +0 -65
  90. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  91. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  92. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  93. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  94. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  95. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  96. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  97. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  98. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  99. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -50,6 +50,10 @@ activation-instructions:
50
50
  - Only read the files/tasks listed here when user selects them for execution to minimize context usage
51
51
  - The customization field ALWAYS takes precedence over any conflicting instructions
52
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'
53
57
  agent:
54
58
  name: Jordan
55
59
  id: game-sm
@@ -69,13 +73,6 @@ core_principles:
69
73
  - Focus on One Story at a Time - Complete one before starting next
70
74
  - Game-Specific Context - Understand Phaser 3, game mechanics, and performance requirements
71
75
  - Numbered Options Protocol - Always use numbered lists for selections
72
- startup:
73
- - Greet the user with your name and role, and inform of the *help command
74
- - CRITICAL: Do NOT automatically execute create-game-story tasks during startup
75
- - CRITICAL: Do NOT create or modify any files during startup
76
- - Offer to help with game story preparation but wait for explicit user confirmation
77
- - Only execute tasks when user explicitly requests them
78
- - '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'
79
76
  commands:
80
77
  - '*help" - Show numbered list of available commands for selection'
81
78
  - '*chat-mode" - Conversational mode with advanced-elicitation for game dev advice'
@@ -84,12 +81,12 @@ commands:
84
81
  - '*exit" - Say goodbye as the Game Scrum Master, and then abandon inhabiting this persona'
85
82
  dependencies:
86
83
  tasks:
87
- - create-game-story
88
- - execute-checklist
84
+ - create-game-story.md
85
+ - execute-checklist.md
89
86
  templates:
90
- - game-story-tmpl
87
+ - game-story-tmpl.yaml
91
88
  checklists:
92
- - game-story-dod-checklist
89
+ - game-story-dod-checklist.md
93
90
  ```
94
91
  ==================== END: .bmad-2d-phaser-game-dev/agents/game-sm.md ====================
95
92
 
@@ -408,243 +405,261 @@ The LLM will:
408
405
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
409
406
  ==================== END: .bmad-2d-phaser-game-dev/tasks/execute-checklist.md ====================
410
407
 
411
- ==================== START: .bmad-2d-phaser-game-dev/templates/game-story-tmpl.md ====================
412
- # Story: {{Story Title}}
413
-
414
- **Epic:** {{Epic Name}}
415
- **Story ID:** {{ID}}
416
- **Priority:** {{High|Medium|Low}}
417
- **Points:** {{Story Points}}
418
- **Status:** Draft
419
-
420
- [[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.
421
-
422
- Before starting, ensure you have access to:
423
-
424
- - Game Design Document (GDD)
425
- - Game Architecture Document
426
- - Any existing stories in this epic
427
-
428
- The story should be specific enough that a developer can implement it without requiring additional design decisions.]]
429
-
430
- ## Description
431
-
432
- [[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.]]
433
-
434
- {{clear_description_of_what_needs_to_be_implemented}}
435
-
436
- ## Acceptance Criteria
437
-
438
- [[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.]]
439
-
440
- ### Functional Requirements
441
-
442
- - [ ] {{specific_functional_requirement_1}}
443
- - [ ] {{specific_functional_requirement_2}}
444
- - [ ] {{specific_functional_requirement_3}}
445
-
446
- ### Technical Requirements
447
-
448
- - [ ] Code follows TypeScript strict mode standards
449
- - [ ] Maintains 60 FPS on target devices
450
- - [ ] No memory leaks or performance degradation
451
- - [ ] {{specific_technical_requirement}}
452
-
453
- ### Game Design Requirements
454
-
455
- - [ ] {{gameplay_requirement_from_gdd}}
456
- - [ ] {{balance_requirement_if_applicable}}
457
- - [ ] {{player_experience_requirement}}
458
-
459
- ## Technical Specifications
460
-
461
- [[LLM: Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.]]
462
-
463
- ### Files to Create/Modify
464
-
465
- **New Files:**
466
-
467
- - `{{file_path_1}}` - {{purpose}}
468
- - `{{file_path_2}}` - {{purpose}}
469
-
470
- **Modified Files:**
471
-
472
- - `{{existing_file_1}}` - {{changes_needed}}
473
- - `{{existing_file_2}}` - {{changes_needed}}
474
-
475
- ### Class/Interface Definitions
476
-
477
- [[LLM: Define specific TypeScript interfaces and class structures needed]]
478
-
479
- ```typescript
480
- // {{interface_name}}
481
- interface {{InterfaceName}} {
482
- {{property_1}}: {{type}};
483
- {{property_2}}: {{type}};
484
- {{method_1}}({{params}}): {{return_type}};
485
- }
486
-
487
- // {{class_name}}
488
- class {{ClassName}} extends {{PhaseClass}} {
489
- private {{property}}: {{type}};
490
-
491
- constructor({{params}}) {
492
- // Implementation requirements
493
- }
494
-
495
- public {{method}}({{params}}): {{return_type}} {
496
- // Method requirements
497
- }
498
- }
499
- ```
500
-
501
- ### Integration Points
502
-
503
- [[LLM: Specify how this feature integrates with existing systems]]
504
-
505
- **Scene Integration:**
506
-
507
- - {{scene_name}}: {{integration_details}}
508
-
509
- **System Dependencies:**
510
-
511
- - {{system_name}}: {{dependency_description}}
512
-
513
- **Event Communication:**
514
-
515
- - Emits: `{{event_name}}` when {{condition}}
516
- - Listens: `{{event_name}}` to {{response}}
517
-
518
- ## Implementation Tasks
519
-
520
- [[LLM: Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.]]
521
-
522
- ### Dev Agent Record
523
-
524
- **Tasks:**
525
-
526
- - [ ] {{task_1_description}}
527
- - [ ] {{task_2_description}}
528
- - [ ] {{task_3_description}}
529
- - [ ] {{task_4_description}}
530
- - [ ] Write unit tests for {{component}}
531
- - [ ] Integration testing with {{related_system}}
532
- - [ ] Performance testing and optimization
533
-
534
- **Debug Log:**
535
- | Task | File | Change | Reverted? |
536
- |------|------|--------|-----------|
537
- | | | | |
538
-
539
- **Completion Notes:**
540
-
541
- <!-- Only note deviations from requirements, keep under 50 words -->
542
-
543
- **Change Log:**
544
-
545
- <!-- Only requirement changes during implementation -->
546
-
547
- ## Game Design Context
548
-
549
- [[LLM: Reference the specific sections of the GDD that this story implements]]
550
-
551
- **GDD Reference:** {{section_name}} ({{page_or_section_number}})
552
-
553
- **Game Mechanic:** {{mechanic_name}}
554
-
555
- **Player Experience Goal:** {{experience_description}}
556
-
557
- **Balance Parameters:**
558
-
559
- - {{parameter_1}}: {{value_or_range}}
560
- - {{parameter_2}}: {{value_or_range}}
561
-
562
- ## Testing Requirements
563
-
564
- [[LLM: Define specific testing criteria for this game feature]]
565
-
566
- ### Unit Tests
567
-
568
- **Test Files:**
569
-
570
- - `tests/{{component_name}}.test.ts`
571
-
572
- **Test Scenarios:**
573
-
574
- - {{test_scenario_1}}
575
- - {{test_scenario_2}}
576
- - {{edge_case_test}}
577
-
578
- ### Game Testing
579
-
580
- **Manual Test Cases:**
581
-
582
- 1. {{test_case_1_description}}
583
-
584
- - Expected: {{expected_behavior}}
585
- - Performance: {{performance_expectation}}
586
-
587
- 2. {{test_case_2_description}}
588
- - Expected: {{expected_behavior}}
589
- - Edge Case: {{edge_case_handling}}
590
-
591
- ### Performance Tests
592
-
593
- **Metrics to Verify:**
594
-
595
- - Frame rate maintains {{fps_target}} FPS
596
- - Memory usage stays under {{memory_limit}}MB
597
- - {{feature_specific_performance_metric}}
598
-
599
- ## Dependencies
600
-
601
- [[LLM: List any dependencies that must be completed before this story can be implemented]]
602
-
603
- **Story Dependencies:**
604
-
605
- - {{story_id}}: {{dependency_description}}
606
-
607
- **Technical Dependencies:**
608
-
609
- - {{system_or_file}}: {{requirement}}
610
-
611
- **Asset Dependencies:**
612
-
613
- - {{asset_type}}: {{asset_description}}
614
- - Location: `{{asset_path}}`
615
-
616
- ## Definition of Done
617
-
618
- [[LLM: Checklist that must be completed before the story is considered finished]]
619
-
620
- - [ ] All acceptance criteria met
621
- - [ ] Code reviewed and approved
622
- - [ ] Unit tests written and passing
623
- - [ ] Integration tests passing
624
- - [ ] Performance targets met
625
- - [ ] No linting errors
626
- - [ ] Documentation updated
627
- - [ ] {{game_specific_dod_item}}
628
-
629
- ## Notes
630
-
631
- [[LLM: Any additional context, design decisions, or implementation notes]]
632
-
633
- **Implementation Notes:**
634
-
635
- - {{note_1}}
636
- - {{note_2}}
637
-
638
- **Design Decisions:**
639
-
640
- - {{decision_1}}: {{rationale}}
641
- - {{decision_2}}: {{rationale}}
642
-
643
- **Future Considerations:**
644
-
645
- - {{future_enhancement_1}}
646
- - {{future_optimization_1}}
647
- ==================== END: .bmad-2d-phaser-game-dev/templates/game-story-tmpl.md ====================
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 ====================
648
663
 
649
664
  ==================== START: .bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md ====================
650
665
  # Game Development Story Definition of Done Checklist