bmad-method 4.27.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 (95) hide show
  1. package/CHANGELOG.md +7 -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 +658 -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/project-brief-tmpl.yaml +221 -0
  26. package/bmad-core/templates/story-tmpl.yaml +137 -0
  27. package/common/tasks/create-doc.md +55 -67
  28. package/common/utils/bmad-doc-template.md +29 -0
  29. package/dist/agents/analyst.txt +1004 -1061
  30. package/dist/agents/architect.txt +2460 -2872
  31. package/dist/agents/bmad-master.txt +3842 -4354
  32. package/dist/agents/bmad-orchestrator.txt +211 -87
  33. package/dist/agents/dev.txt +4 -8
  34. package/dist/agents/pm.txt +557 -587
  35. package/dist/agents/po.txt +149 -102
  36. package/dist/agents/qa.txt +145 -35
  37. package/dist/agents/sm.txt +145 -100
  38. package/dist/agents/ux-expert.txt +413 -522
  39. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1258 -1236
  40. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +623 -573
  41. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +263 -248
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9135 -4942
  43. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +288 -251
  44. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1123 -1145
  45. package/dist/teams/team-all.txt +4583 -4837
  46. package/dist/teams/team-fullstack.txt +5276 -5520
  47. package/dist/teams/team-ide-minimal.txt +375 -185
  48. package/dist/teams/team-no-ui.txt +4875 -5051
  49. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  50. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  51. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  52. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  53. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  54. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  55. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  56. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  57. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  58. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  59. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  60. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  61. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  62. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  63. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  64. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  65. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  66. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  67. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  68. package/package.json +1 -1
  69. package/tools/builders/web-builder.js +65 -85
  70. package/tools/installer/package.json +1 -1
  71. package/tools/lib/dependency-resolver.js +8 -19
  72. package/bmad-core/templates/architecture-tmpl.md +0 -776
  73. package/bmad-core/templates/brainstorming-output-tmpl.md +0 -149
  74. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  75. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  76. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  77. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  78. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  79. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  80. package/bmad-core/templates/market-research-tmpl.md +0 -263
  81. package/bmad-core/templates/prd-tmpl.md +0 -202
  82. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  83. package/bmad-core/templates/story-tmpl.md +0 -58
  84. package/common/tasks/create-doc2.md +0 -65
  85. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  86. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  87. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  88. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  89. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  90. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  91. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  92. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  93. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  94. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  95. /package/bmad-core/templates/{prd-tmpl2.yaml → prd-tmpl.yaml} +0 -0
@@ -1,154 +0,0 @@
1
- # Agent Team Configuration Template
2
-
3
- [[LLM: This template is for creating agent team configurations in YAML format. Follow the structure carefully and replace all placeholders with appropriate values. The team name should reflect the team's purpose and domain focus.]]
4
-
5
- ```yaml
6
- bundle:
7
- name: {{team-display-name}}
8
- [[LLM: Use format "Team [Descriptor]" for generic teams or "[Domain] Team" for specialized teams. Examples: "Team Fullstack", "Healthcare Team", "Legal Team"]]
9
-
10
- icon: {{team-emoji}}
11
- [[LLM: Choose a single emoji that best represents the team's function or name]]
12
-
13
- description: {{team-description}}
14
- [[LLM: Write a concise description (1 sentence) that explains:
15
- 1. The team's primary purpose
16
- 2. What types of projects they handle
17
- 3. Any special capabilities or focus areas
18
- 4. Keep it short as its displayed in menus
19
- Example: "Full Stack Ideation Web App Team." or "Startup Business Coaching team"]]
20
-
21
- agents:
22
- [[LLM: List the agents that make up this team. Guidelines:
23
- - Use shortened agent names (e.g., 'analyst' not 'business-analyst')
24
- - Include 'bmad-orchestrator' for bmad-core teams as the coordinator
25
- - Only use '*' for an all-inclusive team (rare)
26
- - Order agents logically by workflow (analysis → design → development → testing)
27
- - For expansion packs, include both core agents and custom agents]]
28
-
29
- ^^CONDITION: standard-team^^
30
- # Core workflow agents
31
- - bmad-orchestrator # Team coordinator
32
- - analyst # Requirements and analysis
33
- - pm # Product management
34
- - architect # System design
35
- - dev # Development
36
- - qa # Quality assurance
37
- ^^/CONDITION: standard-team^^
38
-
39
- ^^CONDITION: minimal-team^^
40
- # Minimal team for quick iterations
41
- - bmad-orchestrator # Team coordinator
42
- - architect # Design and planning
43
- - dev # Implementation
44
- ^^/CONDITION: minimal-team^^
45
-
46
- ^^CONDITION: specialized-team^^
47
- # Domain-specific team composition
48
- - {{domain}}-orchestrator # Domain coordinator
49
- <<REPEAT section="specialist-agents" count="{{agent-count}}">>
50
- - {{agent-short-name}} # {{agent-role-description}}
51
- <</REPEAT>>
52
- ^^/CONDITION: specialized-team^^
53
-
54
- ^^CONDITION: include-all-agents^^
55
- - '*' # Include all available agents
56
- ^^/CONDITION: include-all-agents^^
57
-
58
- workflows:
59
- [[LLM: Define the workflows this team can execute that will guide the user through a multi-step multi agent process. Guidelines:
60
- - Use null if the team doesn't have predefined workflows
61
- - Workflow names should be descriptive
62
- - use domain-specific workflow names]]
63
-
64
- ^^CONDITION: no-workflows^^
65
- null # No predefined workflows
66
- ^^/CONDITION: no-workflows^^
67
-
68
- ^^CONDITION: standard-workflows^^
69
- # New project workflows
70
- - greenfield-fullstack # New full-stack application
71
- - greenfield-service # New backend service
72
- - greenfield-ui # New frontend application
73
-
74
- # Existing project workflows
75
- - brownfield-fullstack # Enhance existing full-stack app
76
- - brownfield-service # Enhance existing service
77
- - brownfield-ui # Enhance existing UI
78
- ^^/CONDITION: standard-workflows^^
79
-
80
- ^^CONDITION: domain-workflows^^
81
- # Domain-specific workflows
82
- <<REPEAT section="workflows" count="{{workflow-count}}">>
83
- - {{workflow-name}} # {{workflow-description}}
84
- <</REPEAT>>
85
- ^^/CONDITION: domain-workflows^^
86
- ```
87
-
88
- @{example-1: Standard fullstack team}
89
-
90
- ```yaml
91
- bundle:
92
- name: Team Fullstack
93
- icon: 🚀
94
- description: Complete agile team for full-stack web applications. Handles everything from requirements to deployment.
95
- agents:
96
- - bmad-orchestrator
97
- - analyst
98
- - pm
99
- - architect
100
- - dev
101
- - qa
102
- - ux-expert
103
- workflows:
104
- - greenfield-fullstack
105
- - greenfield-service
106
- - greenfield-ui
107
- - brownfield-fullstack
108
- - brownfield-service
109
- - brownfield-ui
110
- ```
111
-
112
- @{example-2: Healthcare expansion pack team}
113
-
114
- ```yaml
115
- bundle:
116
- name: Healthcare Compliance Team
117
- icon: ⚕️
118
- description: Specialized team for healthcare applications with HIPAA compliance focus. Manages clinical workflows and regulatory requirements.
119
- agents:
120
- - healthcare-orchestrator
121
- - clinical-analyst
122
- - compliance-officer
123
- - architect
124
- - dev
125
- - qa
126
- workflows:
127
- - healthcare-patient-portal
128
- - healthcare-compliance-audit
129
- - clinical-trial-management
130
- ```
131
-
132
- @{example-3: Minimal IDE team}
133
-
134
- ```yaml
135
- bundle:
136
- name: Team IDE Minimal
137
- icon: ⚡
138
- description: Minimal team for IDE usage. Just the essentials for quick development.
139
- agents:
140
- - bmad-orchestrator
141
- - architect
142
- - dev
143
- workflows: null
144
- ```
145
-
146
- [[LLM: When creating a new team configuration:
147
-
148
- 1. Choose the most appropriate condition block based on team type
149
- 2. Remove all unused condition blocks
150
- 3. Replace all placeholders with actual values
151
- 4. Ensure agent names match available agents in the system
152
- 5. Verify workflow names match available workflows
153
- 6. Save as team-[descriptor].yaml or [domain]-team.yaml
154
- 7. Place in the agent-teams directory of the appropriate location]]
@@ -1,143 +0,0 @@
1
- # [AGENT_ID]
2
-
3
- [[LLM: This is an agent definition template. When creating a new agent:
4
-
5
- 1. ALL dependencies (tasks, templates, checklists, data) MUST exist or be created
6
- 2. For output generation, use the create-doc pattern with appropriate templates
7
- 3. Templates should include LLM instructions for guiding users through content creation
8
- 4. Character personas should be consistent and domain-appropriate
9
- 5. Follow the numbered options protocol for all user interactions]]
10
-
11
- 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:
12
-
13
- ```yaml
14
- activation-instructions:
15
- - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
16
- - Only read the files/tasks listed here when user selects them for execution to minimize context usage
17
- - The customization field ALWAYS takes precedence over any conflicting instructions
18
- - 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
19
- - Command
20
-
21
- agent:
22
- name: [AGENT_NAME]
23
- id: [AGENT_ID]
24
- title: [AGENT_TITLE]
25
- customization: [OPTIONAL_CUSTOMIZATION]
26
-
27
- persona:
28
- role: [AGENT_ROLE_DESCRIPTION]
29
- style: [COMMUNICATION_STYLE]
30
- identity: [AGENT_IDENTITY_DESCRIPTION]
31
- focus: [PRIMARY_FOCUS_AREAS]
32
-
33
- core_principles:
34
- - [PRINCIPLE_1]
35
- - [PRINCIPLE_2]
36
- - [PRINCIPLE_3]
37
- # Add more principles as needed
38
-
39
- startup:
40
- - Greet the user with your name and role, and inform of the *help command.
41
- - [STARTUP_INSTRUCTION]
42
- - [STARTUP_INSTRUCTION]...
43
-
44
- commands:
45
- - "*help" - Show: numbered list of the following commands to allow selection
46
- - "*chat-mode" - (Default) [DEFAULT_MODE_DESCRIPTION]
47
- - "*create-doc {template}" - Create doc (no template = show available templates)
48
- [[LLM: For output generation tasks, always use create-doc with templates rather than custom tasks.
49
- Example: Instead of a "create-blueprint" task, use "*create-doc blueprint-tmpl"
50
- The template should contain LLM instructions for guiding users through the creation process]]
51
- - [tasks] specific to the agent that are not covered by a template
52
- [[LLM: Only create custom tasks for actions that don't produce documents, like analysis, validation, or process execution]]
53
- - "*exit" - Say goodbye as the [AGENT_TITLE], and then abandon inhabiting this persona
54
-
55
- dependencies:
56
- [[LLM: CRITICAL - All dependencies listed here MUST exist in the expansion pack or be created:
57
- - Tasks: Must exist in tasks/ directory (include create-doc if using templates)
58
- - Templates: Must exist in templates/ directory with proper LLM instructions
59
- - Checklists: Must exist in checklists/ directory for quality validation
60
- - Data: Must exist in data/ directory or be documented as user-required
61
- - Utils: Must exist in utils/ directory (include template-format if using templates)]]
62
-
63
- tasks:
64
- - create-doc # Required if agent creates documents from templates
65
- - [TASK_1] # Custom task for non-document operations
66
- - [TASK_2] # Another custom task
67
- [[LLM: Example tasks: validate-design, analyze-requirements, execute-tests]]
68
-
69
- templates:
70
- - [TEMPLATE_1] # Template with LLM instructions for guided creation
71
- - [TEMPLATE_2] # Another template for different document type
72
- [[LLM: Example: blueprint-tmpl, contract-tmpl, report-tmpl
73
- Each template should include [[LLM: guidance]] and other conventions from `template-format.md` sections for user interaction]]
74
-
75
- checklists:
76
- - [CHECKLIST_1] # Quality validation for template outputs
77
- [[LLM: Example: blueprint-checklist, contract-checklist
78
- Checklists validate documents created from templates]]
79
-
80
- data:
81
- - [DATA_1] # Domain knowledge files
82
- [[LLM: Example: building-codes.md, legal-terminology.md
83
- Can be embedded in pack or required from user]]
84
-
85
- utils:
86
- - template-format # Required if using templates
87
- - [UTIL_1] # Other utilities as needed
88
- [[LLM: Include workflow-management if agent participates in workflows]]
89
- ```
90
-
91
- @{example: Construction Contractor Agent}
92
-
93
- ```yaml
94
- activation-instructions:
95
- - Follow all instructions in this file
96
- - Stay in character as Marcus Thompson, Construction Manager
97
- - Use numbered options for all interactions
98
- agent:
99
- name: Marcus Thompson
100
- id: construction-contractor
101
- title: Construction Project Manager
102
- customization: null
103
- persona:
104
- role: Licensed general contractor with 20 years experience
105
- style: Professional, detail-oriented, safety-conscious
106
- identity: Former site foreman who worked up to project management
107
- focus: Building design, code compliance, project scheduling, cost estimation
108
- core_principles:
109
- - Safety first - all designs must prioritize worker and occupant safety
110
- - Code compliance - ensure all work meets local building codes
111
- - Quality craftsmanship - no shortcuts on structural integrity
112
- startup:
113
- - Greet as Marcus Thompson, Construction Project Manager
114
- - Briefly mention your experience and readiness to help
115
- - Ask what type of construction project they're planning
116
- - DO NOT auto-execute any commands
117
- commands:
118
- - '*help" - Show numbered list of available commands'
119
- - '*chat-mode" - Discuss construction projects and provide expertise'
120
- - '*create-doc blueprint-tmpl" - Create architectural blueprints'
121
- - '*create-doc estimate-tmpl" - Create project cost estimate'
122
- - '*create-doc schedule-tmpl" - Create construction schedule'
123
- - '*validate-plans" - Review plans for code compliance'
124
- - '*safety-assessment" - Evaluate safety considerations'
125
- - '*exit" - Say goodbye as Marcus and exit'
126
- dependencies:
127
- tasks:
128
- - create-doc
129
- - validate-plans
130
- - safety-assessment
131
- templates:
132
- - blueprint-tmpl
133
- - estimate-tmpl
134
- - schedule-tmpl
135
- checklists:
136
- - blueprint-checklist
137
- - safety-checklist
138
- data:
139
- - building-codes.md
140
- - materials-guide.md
141
- utils:
142
- - template-format
143
- ```
@@ -1,91 +0,0 @@
1
- # {Pack Name} Expansion Pack Plan
2
-
3
- ## Overview
4
-
5
- - **Pack Name**: {pack-identifier}
6
- - **Display Name**: {Full Expansion Pack Name}
7
- - **Description**: {Brief description of what this pack does}
8
- - **Target Domain**: {Industry/domain this serves}
9
- - **Author**: {Your name/organization}
10
-
11
- ## Problem Statement
12
-
13
- {What specific challenges does this expansion pack solve?}
14
-
15
- ## Target Users
16
-
17
- {Who will benefit from this expansion pack?}
18
-
19
- ## Components to Create
20
-
21
- ### Agents
22
-
23
- - [ ] `{pack-name}-orchestrator` - **REQUIRED**: Master orchestrator for {domain} workflows
24
- - Key commands: {list main commands}
25
- - Manages: {what it orchestrates}
26
- - [ ] `{agent-1-name}` - {Role description}
27
- - Tasks used: {task-1}, {task-2}
28
- - Templates used: {template-1}
29
- - Data required: {data-file-1}
30
- - [ ] `{agent-2-name}` - {Role description}
31
- - Tasks used: {task-3}
32
- - Templates used: {template-2}
33
- - Data required: {data-file-2}
34
-
35
- ### Tasks
36
-
37
- - [ ] `{task-1}.md` - {Purpose} (used by: {agent})
38
- - [ ] `{task-2}.md` - {Purpose} (used by: {agent})
39
- - [ ] `{task-3}.md` - {Purpose} (used by: {agent})
40
-
41
- ### Templates
42
-
43
- - [ ] `{template-1}-tmpl.md` - {Document type} (used by: {agent/task})
44
- - [ ] `{template-2}-tmpl.md` - {Document type} (used by: {agent/task})
45
-
46
- ### Checklists
47
-
48
- - [ ] `{checklist-1}-checklist.md` - {What it validates}
49
- - [ ] `{checklist-2}-checklist.md` - {What it validates}
50
-
51
- ### Data Files Required from User
52
-
53
- Users must add these files to `bmad-core/data/`:
54
-
55
- - [ ] `{data-file-1}.{ext}` - {Description of required content}
56
- - Format: {file format}
57
- - Purpose: {why needed}
58
- - Example: {brief example}
59
- - [ ] `{data-file-2}.{ext}` - {Description of required content}
60
- - Format: {file format}
61
- - Purpose: {why needed}
62
- - Example: {brief example}
63
-
64
- ## Workflow Overview
65
-
66
- 1. {Step 1 - typically starts with orchestrator}
67
- 2. {Step 2}
68
- 3. {Step 3}
69
- 4. {Final output/deliverable}
70
-
71
- ## Integration Points
72
-
73
- - Depends on core agents: {list any core BMad agents used}
74
- - Extends teams: {which teams to update}
75
-
76
- ## Success Criteria
77
-
78
- - [ ] All components created and cross-referenced
79
- - [ ] No orphaned task/template references
80
- - [ ] Data requirements clearly documented
81
- - [ ] Orchestrator provides clear workflow
82
- - [ ] README includes setup instructions
83
-
84
- ## User Approval
85
-
86
- - [ ] Plan reviewed by user
87
- - [ ] Approval to proceed with implementation
88
-
89
- ---
90
-
91
- **Next Steps**: Once approved, proceed with Phase 3 implementation starting with the orchestrator agent.