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
@@ -49,6 +49,7 @@ activation-instructions:
49
49
  - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
50
50
  - The customization field ALWAYS takes precedence over any conflicting instructions
51
51
  - 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
52
+ - Greet the user with your name and role, and inform of the *help command and then HALT to await instruction if not given already.
52
53
  agent:
53
54
  name: Bob
54
55
  id: sm
@@ -65,10 +66,6 @@ persona:
65
66
  - Rigorously follow `create-next-story` procedure to generate the detailed user story
66
67
  - Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
67
68
  - You are NOT allowed to implement stories or modify code EVER!
68
- startup:
69
- - Greet the user with your name and role, and inform of the *help command and then HALT to await instruction if not given already.
70
- - Offer to help with story preparation but wait for explicit user confirmation
71
- - Only execute tasks when user explicitly requests them
72
69
  commands:
73
70
  - help: Show numbered list of the following commands to allow selection
74
71
  - draft: Execute task create-next-story
@@ -77,15 +74,13 @@ commands:
77
74
  - exit: Say goodbye as the Scrum Master, and then abandon inhabiting this persona
78
75
  dependencies:
79
76
  tasks:
80
- - create-next-story
81
- - execute-checklist
82
- - correct-course
77
+ - create-next-story.md
78
+ - execute-checklist.md
79
+ - correct-course.md
83
80
  templates:
84
- - story-tmpl
81
+ - story-tmpl.yaml
85
82
  checklists:
86
- - story-draft-checklist
87
- utils:
88
- - template-format
83
+ - story-draft-checklist.md
89
84
  ```
90
85
  ==================== END: .bmad-core/agents/sm.md ====================
91
86
 
@@ -378,66 +373,145 @@ The LLM will:
378
373
  - **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
379
374
  ==================== END: .bmad-core/tasks/correct-course.md ====================
380
375
 
381
- ==================== START: .bmad-core/templates/story-tmpl.md ====================
382
- ---
383
- defaultOutput: docs/stories/{{EpicNum}}.{{StoryNum}}.{{Short Title Copied from Epic File specific story}}.md
384
- smAgent:
385
- editableSections: Status, Story, Acceptance Criteria, Tasks / Subtasks, Dev Notes, Testing, Change Log
386
- sectionSpecificInstructions:
387
- "Dev Notes":
388
- - Populate relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story
389
- - Do not invent information.
390
- - If known add Relevant Source Tree info that relates to this story.
391
- - If there were important notes from previous story that are relevant to this one, include them here.
392
- - Put enough information in this section so that the dev agent should NEVER need to read the architecture documents, these notes along with the tasks and subtasks must give the Dev Agent the complete context it needs to comprehend with the least amount of overhead the information to complete the story, meeting all AC and completing all tasks+subtasks.
393
- Testing:
394
- - List Relevant Testing Standards from Architecture the Developer needs to conform to (test file location, test standards, etc)
395
- ---
396
-
397
- # Story {{EpicNum}}.{{StoryNum}}: {{Short Title Copied from Epic File specific story}}
398
-
399
- ## Status: {{ Draft | Approved | InProgress | Review | Done }}
400
-
401
- ## Story
402
-
403
- **As a** {{role}},\
404
- **I want** {{action}},\
405
- **so that** {{benefit}}
406
-
407
- ## Acceptance Criteria
408
-
409
- {{ Copy of Acceptance Criteria numbered list }}
410
-
411
- ## Tasks / Subtasks
412
-
413
- - [ ] Task 1 (AC: # if applicable)
414
- - [ ] Subtask1.1...
415
- - [ ] Task 2 (AC: # if applicable)
416
- - [ ] Subtask 2.1...
417
- - [ ] Task 3 (AC: # if applicable)
418
- - [ ] Subtask 3.1...
419
-
420
- ## Dev Notes
421
-
422
- ### Testing
423
-
424
- ## Change Log
425
-
426
- | Date | Version | Description | Author |
427
- | :--- | :------ | :---------- | :----- |
428
-
429
- ## Dev Agent Record
430
-
431
- ### Agent Model Used: {{Agent Model Name/Version}}
432
-
433
- ### Debug Log References
434
-
435
- ### Completion Notes List
436
-
437
- ### File List
438
-
439
- ## QA Results
440
- ==================== END: .bmad-core/templates/story-tmpl.md ====================
376
+ ==================== START: .bmad-core/templates/story-tmpl.yaml ====================
377
+ template:
378
+ id: story-template-v2
379
+ name: Story Document
380
+ version: 2.0
381
+ output:
382
+ format: markdown
383
+ filename: docs/stories/{{epic_num}}.{{story_num}}.{{story_title_short}}.md
384
+ title: "Story {{epic_num}}.{{story_num}}: {{story_title_short}}"
385
+
386
+ workflow:
387
+ mode: interactive
388
+ elicitation: advanced-elicitation
389
+
390
+ agent_config:
391
+ editable_sections:
392
+ - Status
393
+ - Story
394
+ - Acceptance Criteria
395
+ - Tasks / Subtasks
396
+ - Dev Notes
397
+ - Testing
398
+ - Change Log
399
+
400
+ sections:
401
+ - id: status
402
+ title: Status
403
+ type: choice
404
+ choices: [Draft, Approved, InProgress, Review, Done]
405
+ instruction: Select the current status of the story
406
+ owner: scrum-master
407
+ editors: [scrum-master, dev-agent]
408
+
409
+ - id: story
410
+ title: Story
411
+ type: template-text
412
+ template: |
413
+ **As a** {{role}},
414
+ **I want** {{action}},
415
+ **so that** {{benefit}}
416
+ instruction: Define the user story using the standard format with role, action, and benefit
417
+ elicit: true
418
+ owner: scrum-master
419
+ editors: [scrum-master]
420
+
421
+ - id: acceptance-criteria
422
+ title: Acceptance Criteria
423
+ type: numbered-list
424
+ instruction: Copy the acceptance criteria numbered list from the epic file
425
+ elicit: true
426
+ owner: scrum-master
427
+ editors: [scrum-master]
428
+
429
+ - id: tasks-subtasks
430
+ title: Tasks / Subtasks
431
+ type: bullet-list
432
+ instruction: |
433
+ Break down the story into specific tasks and subtasks needed for implementation.
434
+ Reference applicable acceptance criteria numbers where relevant.
435
+ template: |
436
+ - [ ] Task 1 (AC: # if applicable)
437
+ - [ ] Subtask1.1...
438
+ - [ ] Task 2 (AC: # if applicable)
439
+ - [ ] Subtask 2.1...
440
+ - [ ] Task 3 (AC: # if applicable)
441
+ - [ ] Subtask 3.1...
442
+ elicit: true
443
+ owner: scrum-master
444
+ editors: [scrum-master, dev-agent]
445
+
446
+ - id: dev-notes
447
+ title: Dev Notes
448
+ instruction: |
449
+ Populate relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story:
450
+ - Do not invent information
451
+ - If known add Relevant Source Tree info that relates to this story
452
+ - If there were important notes from previous story that are relevant to this one, include them here
453
+ - Put enough information in this section so that the dev agent should NEVER need to read the architecture documents, these notes along with the tasks and subtasks must give the Dev Agent the complete context it needs to comprehend with the least amount of overhead the information to complete the story, meeting all AC and completing all tasks+subtasks
454
+ elicit: true
455
+ owner: scrum-master
456
+ editors: [scrum-master]
457
+ sections:
458
+ - id: testing-standards
459
+ title: Testing
460
+ instruction: |
461
+ List Relevant Testing Standards from Architecture the Developer needs to conform to:
462
+ - Test file location
463
+ - Test standards
464
+ - Testing frameworks and patterns to use
465
+ - Any specific testing requirements for this story
466
+ elicit: true
467
+ owner: scrum-master
468
+ editors: [scrum-master]
469
+
470
+ - id: change-log
471
+ title: Change Log
472
+ type: table
473
+ columns: [Date, Version, Description, Author]
474
+ instruction: Track changes made to this story document
475
+ owner: scrum-master
476
+ editors: [scrum-master, dev-agent, qa-agent]
477
+
478
+ - id: dev-agent-record
479
+ title: Dev Agent Record
480
+ instruction: This section is populated by the development agent during implementation
481
+ owner: dev-agent
482
+ editors: [dev-agent]
483
+ sections:
484
+ - id: agent-model
485
+ title: Agent Model Used
486
+ template: "{{agent_model_name_version}}"
487
+ instruction: Record the specific AI agent model and version used for development
488
+ owner: dev-agent
489
+ editors: [dev-agent]
490
+
491
+ - id: debug-log-references
492
+ title: Debug Log References
493
+ instruction: Reference any debug logs or traces generated during development
494
+ owner: dev-agent
495
+ editors: [dev-agent]
496
+
497
+ - id: completion-notes
498
+ title: Completion Notes List
499
+ instruction: Notes about the completion of tasks and any issues encountered
500
+ owner: dev-agent
501
+ editors: [dev-agent]
502
+
503
+ - id: file-list
504
+ title: File List
505
+ instruction: List all files created, modified, or affected during story implementation
506
+ owner: dev-agent
507
+ editors: [dev-agent]
508
+
509
+ - id: qa-results
510
+ title: QA Results
511
+ instruction: Results from QA Agent QA review of the completed story implementation
512
+ owner: qa-agent
513
+ editors: [qa-agent]
514
+ ==================== END: .bmad-core/templates/story-tmpl.yaml ====================
441
515
 
442
516
  ==================== START: .bmad-core/checklists/story-draft-checklist.md ====================
443
517
  # Story Draft Checklist
@@ -597,32 +671,3 @@ Be pragmatic - perfect documentation doesn't exist, but it must be enough to pro
597
671
  - NEEDS REVISION: The story requires updates (see issues)
598
672
  - BLOCKED: External information required (specify what information)
599
673
  ==================== END: .bmad-core/checklists/story-draft-checklist.md ====================
600
-
601
- ==================== START: .bmad-core/utils/template-format.md ====================
602
- # Template Format Conventions
603
-
604
- Templates in the BMad method use standardized markup for AI processing. These conventions ensure consistent document generation.
605
-
606
- ## Template Markup Elements
607
-
608
- - **{{placeholders}}**: Variables to be replaced with actual content
609
- - **[[LLM: instructions]]**: Internal processing instructions for AI agents (never shown to users)
610
- - **REPEAT** sections: Content blocks that may be repeated as needed
611
- - **^^CONDITION^^** blocks: Conditional content included only if criteria are met
612
- - **@{examples}**: Example content for guidance (never output to users)
613
-
614
- ## Processing Rules
615
-
616
- - Replace all {{placeholders}} with project-specific content
617
- - Execute all [[LLM: instructions]] internally without showing users
618
- - Process conditional and repeat blocks as specified
619
- - Use examples for guidance but never include them in final output
620
- - Present only clean, formatted content to users
621
-
622
- ## Critical Guidelines
623
-
624
- - **NEVER display template markup, LLM instructions, or examples to users**
625
- - Template elements are for AI processing only
626
- - Focus on faithful template execution and clean output
627
- - All template-specific instructions are embedded within templates
628
- ==================== END: .bmad-core/utils/template-format.md ====================