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.
- package/.vscode/settings.json +2 -0
- package/CHANGELOG.md +22 -0
- package/README.md +29 -282
- package/bmad-core/agent-teams/team-all.yaml +6 -6
- package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
- package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
- package/bmad-core/agents/analyst.md +17 -18
- package/bmad-core/agents/architect.md +15 -18
- package/bmad-core/agents/bmad-master.md +56 -53
- package/bmad-core/agents/bmad-orchestrator.md +24 -23
- package/bmad-core/agents/dev.md +10 -10
- package/bmad-core/agents/pm.md +17 -20
- package/bmad-core/agents/po.md +12 -15
- package/bmad-core/agents/qa.md +7 -8
- package/bmad-core/agents/sm.md +8 -13
- package/bmad-core/agents/ux-expert.md +7 -11
- package/bmad-core/core-config.yaml +1 -1
- package/bmad-core/data/bmad-kb.md +74 -15
- package/bmad-core/data/brainstorming-techniques.md +36 -0
- package/bmad-core/data/elicitation-methods.md +134 -0
- package/bmad-core/tasks/advanced-elicitation.md +82 -57
- package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
- package/bmad-core/templates/architecture-tmpl.yaml +658 -0
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
- package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
- package/bmad-core/templates/market-research-tmpl.yaml +252 -0
- package/bmad-core/templates/prd-tmpl.yaml +202 -0
- package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
- package/bmad-core/templates/story-tmpl.yaml +137 -0
- package/bmad-core/utils/plan-management.md +9 -13
- package/bmad-core/workflows/greenfield-service.yaml +1 -1
- package/common/tasks/create-doc.md +55 -67
- package/common/utils/bmad-doc-template.md +325 -0
- package/dist/agents/analyst.txt +1312 -1193
- package/dist/agents/architect.txt +2484 -2895
- package/dist/agents/bmad-master.txt +4680 -4897
- package/dist/agents/bmad-orchestrator.txt +400 -195
- package/dist/agents/dev.txt +21 -24
- package/dist/agents/pm.txt +590 -619
- package/dist/agents/po.txt +178 -130
- package/dist/agents/qa.txt +159 -48
- package/dist/agents/sm.txt +166 -120
- package/dist/agents/ux-expert.txt +436 -544
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
- package/dist/teams/team-all.txt +4885 -4967
- package/dist/teams/team-fullstack.txt +5621 -5693
- package/dist/teams/team-ide-minimal.txt +604 -333
- package/dist/teams/team-no-ui.txt +5209 -5213
- package/docs/agentic-tools/github-copilot-guide.md +29 -9
- package/docs/bmad-workflow-guide.md +2 -2
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
- package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
- package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
- package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
- package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
- package/package.json +1 -1
- package/tools/builders/web-builder.js +170 -95
- package/tools/installer/config/install.config.yaml +2 -2
- package/tools/installer/lib/ide-setup.js +2 -2
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +11 -22
- package/tools/md-assets/web-agent-startup-instructions.md +10 -10
- package/bmad-core/tasks/brainstorming-techniques.md +0 -238
- package/bmad-core/templates/architecture-tmpl.md +0 -776
- package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
- package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
- package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
- package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
- package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
- package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
- package/bmad-core/templates/market-research-tmpl.md +0 -263
- package/bmad-core/templates/prd-tmpl.md +0 -202
- package/bmad-core/templates/project-brief-tmpl.md +0 -232
- package/bmad-core/templates/story-tmpl.md +0 -58
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
- package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
- 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
|
|
12
|
-
- `==================== END: folder
|
|
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
|
|
18
|
-
- If a section is specified (e.g., `tasks
|
|
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
|
|
33
|
-
- `tasks: create-story` → Look for `==================== START: tasks
|
|
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
|
-
|
|
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
|
|
91
|
+
==================== END: .bmad-2d-phaser-game-dev/agents/game-sm.md ====================
|
|
94
92
|
|
|
95
|
-
==================== START: tasks
|
|
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
|
|
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
|
|
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
|
|
310
|
+
==================== END: .bmad-2d-phaser-game-dev/tasks/create-game-story.md ====================
|
|
313
311
|
|
|
314
|
-
==================== START: tasks
|
|
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
|
|
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
|
|
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
|
|
409
|
-
|
|
410
|
-
==================== START: templates
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
-
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
**
|
|
524
|
-
|
|
525
|
-
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
-
|
|
530
|
-
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
**
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
- {{
|
|
575
|
-
- {{
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
-
|
|
613
|
-
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
-
|
|
640
|
-
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
- {{
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
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
|
|
825
|
+
==================== END: .bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md ====================
|