bmad-method 4.4.1 → 4.5.0

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 (96) hide show
  1. package/.prettierignore +22 -0
  2. package/.prettierrc +23 -0
  3. package/CHANGELOG.md +26 -2
  4. package/README.md +46 -39
  5. package/bmad-core/agent-teams/team-all.yml +1 -1
  6. package/bmad-core/agent-teams/team-fullstack.yml +1 -1
  7. package/bmad-core/agent-teams/team-ide-minimal.yml +10 -0
  8. package/bmad-core/agent-teams/team-no-ui.yml +1 -1
  9. package/bmad-core/agents/bmad-orchestrator.md +11 -11
  10. package/bmad-core/agents/sm.md +1 -1
  11. package/bmad-core/tasks/shard-doc.md +3 -5
  12. package/bmad-core/templates/architecture-tmpl.md +2 -2
  13. package/bmad-core/templates/brownfield-architecture-tmpl.md +4 -4
  14. package/bmad-core/templates/front-end-spec-tmpl.md +4 -4
  15. package/bmad-core/templates/fullstack-architecture-tmpl.md +2 -2
  16. package/bmad-core/utils/workflow-management.md +4 -4
  17. package/{bmad-core/web-bundles → dist}/agents/bmad-master.txt +0 -176
  18. package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt → dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt} +4 -4
  19. package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +1561 -0
  20. package/dist/teams/team-all.txt +10307 -0
  21. package/dist/teams/team-fullstack.txt +9659 -0
  22. package/dist/teams/team-ide-minimal.txt +2739 -0
  23. package/dist/teams/team-no-ui.txt +8519 -0
  24. package/docs/roo-code-guide.md +2 -2
  25. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yml +12 -0
  26. package/expansion-packs/expansion-creator/README.md +8 -0
  27. package/expansion-packs/expansion-creator/agents/bmad-the-creator.md +53 -0
  28. package/expansion-packs/expansion-creator/common-tasks/create-doc.md +74 -0
  29. package/expansion-packs/expansion-creator/common-tasks/execute-checklist.md +97 -0
  30. package/expansion-packs/expansion-creator/manifest.yml +12 -0
  31. package/{creator-tools → expansion-packs/expansion-creator}/tasks/create-agent.md +4 -4
  32. package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +1026 -0
  33. package/expansion-packs/expansion-creator/templates/agent-teams-tmpl.md +154 -0
  34. package/expansion-packs/expansion-creator/templates/agent-tmpl.md +140 -0
  35. package/expansion-packs/expansion-creator/utils/template-format.md +26 -0
  36. package/expansion-packs/expansion-creator/utils/workflow-management.md +223 -0
  37. package/package.json +3 -15
  38. package/tools/builders/web-builder.js +2 -4
  39. package/tools/cli.js +0 -15
  40. package/tools/installer/bin/bmad.js +167 -27
  41. package/tools/installer/lib/config-loader.js +82 -4
  42. package/tools/installer/lib/ide-setup.js +4 -4
  43. package/tools/installer/lib/installer.js +198 -29
  44. package/tools/installer/package.json +1 -1
  45. package/.claude/commands/analyst.md +0 -63
  46. package/.claude/commands/architect.md +0 -65
  47. package/.claude/commands/bmad-master.md +0 -103
  48. package/.claude/commands/bmad-orchestrator.md +0 -132
  49. package/.claude/commands/dev.md +0 -74
  50. package/.claude/commands/pm.md +0 -63
  51. package/.claude/commands/po.md +0 -64
  52. package/.claude/commands/qa.md +0 -56
  53. package/.claude/commands/sm.md +0 -59
  54. package/.claude/commands/ux-expert.md +0 -70
  55. package/.cursor/rules/analyst.mdc +0 -77
  56. package/.cursor/rules/architect.mdc +0 -79
  57. package/.cursor/rules/bmad-master.mdc +0 -117
  58. package/.cursor/rules/bmad-orchestrator.mdc +0 -146
  59. package/.cursor/rules/dev.mdc +0 -88
  60. package/.cursor/rules/pm.mdc +0 -77
  61. package/.cursor/rules/po.mdc +0 -78
  62. package/.cursor/rules/qa.mdc +0 -70
  63. package/.cursor/rules/sm.mdc +0 -73
  64. package/.cursor/rules/ux-expert.mdc +0 -84
  65. package/.roo/.roomodes +0 -95
  66. package/.roo/README.md +0 -27
  67. package/.windsurf/rules/analyst.md +0 -71
  68. package/.windsurf/rules/architect.md +0 -73
  69. package/.windsurf/rules/bmad-master.md +0 -111
  70. package/.windsurf/rules/bmad-orchestrator.md +0 -140
  71. package/.windsurf/rules/dev.md +0 -82
  72. package/.windsurf/rules/pm.md +0 -71
  73. package/.windsurf/rules/po.md +0 -72
  74. package/.windsurf/rules/qa.md +0 -64
  75. package/.windsurf/rules/sm.md +0 -67
  76. package/.windsurf/rules/ux-expert.md +0 -78
  77. package/bmad-core/bmad-core-config.yml +0 -60
  78. package/bmad-core/templates/agent-tmpl.md +0 -58
  79. package/bmad-core/utils/agent-switcher.ide.md +0 -112
  80. package/creator-tools/tasks/generate-expansion-pack.md +0 -427
  81. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +0 -12
  82. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +0 -4395
  83. /package/{bmad-core/web-bundles → dist}/agents/analyst.txt +0 -0
  84. /package/{bmad-core/web-bundles → dist}/agents/architect.txt +0 -0
  85. /package/{bmad-core/web-bundles → dist}/agents/bmad-orchestrator.txt +0 -0
  86. /package/{bmad-core/web-bundles → dist}/agents/dev.txt +0 -0
  87. /package/{bmad-core/web-bundles → dist}/agents/pm.txt +0 -0
  88. /package/{bmad-core/web-bundles → dist}/agents/po.txt +0 -0
  89. /package/{bmad-core/web-bundles → dist}/agents/qa.txt +0 -0
  90. /package/{bmad-core/web-bundles → dist}/agents/sm.txt +0 -0
  91. /package/{bmad-core/web-bundles → dist}/agents/ux-expert.txt +0 -0
  92. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-designer.txt +0 -0
  93. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-developer.txt +0 -0
  94. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-sm.txt +0 -0
  95. /package/{expansion-packs/bmad-infrastructure-devops/web-bundles → dist/expansion-packs/bmad-infrastructure-devops}/agents/infra-devops-platform.txt +0 -0
  96. /package/{bmad-core → expansion-packs/expansion-creator}/templates/expansion-pack-plan-tmpl.md +0 -0
@@ -13,7 +13,7 @@ This guide walks you through the complete BMAD workflow using Roo Code as your A
13
13
  - **Installation Type**: Choose "Complete installation (recommended)"
14
14
  - **IDE**: Select "Roo Code"
15
15
 
16
- This creates a `.bmad-core` folder with all agents and a `.roo/.roomodes` file with custom modes.
16
+ This creates a `.bmad-core` folder with all agents and a `.roomodes` file (in the project root) with custom modes.
17
17
 
18
18
  ## Step 2: Set Up Team Fullstack in Gemini
19
19
 
@@ -103,7 +103,7 @@ All BMAD agents are available as custom modes:
103
103
 
104
104
  ## Roo Code-Specific Features
105
105
 
106
- - **Custom modes are stored in**: `.roo/.roomodes` file
106
+ - **Custom modes are stored in**: `.roomodes` file (in the project root)
107
107
  - **Mode switching**: Use the mode selector in Roo Code's interface
108
108
  - **File permissions**: Each agent has specific file access permissions
109
109
  - **Documentation agents** (SM, PM, PO, Analyst): Limited to `.md` and `.txt` files
@@ -0,0 +1,12 @@
1
+ bundle:
2
+ name: Phaser 2D NodeJS Game Team
3
+ icon: 🎮
4
+ description: Game Development team specialized in 2D games using Phaser 3 and TypeScript.
5
+ agents:
6
+ - bmad-orchestrator
7
+ - game-designer
8
+ - game-developer
9
+ - game-sm
10
+ workflows:
11
+ - game-dev-greenfield
12
+ - game-prototype
@@ -0,0 +1,8 @@
1
+ # BMAD Creator Tools
2
+
3
+ Tools for creating and extending BMAD framework components.
4
+
5
+ ## Tasks
6
+
7
+ - **create-agent**: Create new AI agent definitions
8
+ - **generate-expansion-pack**: Generate new expansion pack templates
@@ -0,0 +1,53 @@
1
+ # bmad-the-creator
2
+
3
+ CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
4
+
5
+ ```yaml
6
+ activation-instructions:
7
+ - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
8
+ - Only read the files/tasks listed here when user selects them for execution to minimize context usage
9
+ - The customization field ALWAYS takes precedence over any conflicting instructions
10
+ - 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
11
+ agent:
12
+ name: The Creator
13
+ id: bmad-the-creator
14
+ title: BMAD Framework Extension Specialist
15
+ icon: 🏗️
16
+ whenToUse: Use for creating new agents, expansion packs, and extending the BMAD framework
17
+ customization: null
18
+ persona:
19
+ role: Expert BMAD Framework Architect & Creator
20
+ style: Methodical, creative, framework-aware, systematic
21
+ identity: Master builder who extends BMAD capabilities through thoughtful design and deep framework understanding
22
+ focus: Creating well-structured agents, expansion packs, and framework extensions that follow BMAD patterns and conventions
23
+ core_principles:
24
+ - Framework Consistency - All creations follow established BMAD patterns
25
+ - Modular Design - Create reusable, composable components
26
+ - Clear Documentation - Every creation includes proper documentation
27
+ - Convention Over Configuration - Follow BMAD naming and structure patterns
28
+ - Extensibility First - Design for future expansion and customization
29
+ - Numbered Options Protocol - Always use numbered lists for user selections
30
+ startup:
31
+ - Greet the user with your name and role, and inform of the *help command
32
+ - CRITICAL: Do NOT automatically create documents or execute tasks during startup
33
+ - CRITICAL: Do NOT create or modify any files during startup
34
+ - Offer to help with BMAD framework extensions but wait for explicit user confirmation
35
+ - Only execute tasks when user explicitly requests them
36
+ commands:
37
+ - '*help" - Show numbered list of available commands for selection'
38
+ - '*chat-mode" - Conversational mode with advanced-elicitation for framework design advice'
39
+ - '*create" - Show numbered list of components I can create (agents, expansion packs)'
40
+ - '*brainstorm {topic}" - Facilitate structured framework extension brainstorming session'
41
+ - '*research {topic}" - Generate deep research prompt for framework-specific investigation'
42
+ - '*elicit" - Run advanced elicitation to clarify extension requirements'
43
+ - '*exit" - Say goodbye as The Creator, and then abandon inhabiting this persona'
44
+ dependencies:
45
+ tasks:
46
+ - create-agent
47
+ - generate-expansion-pack
48
+ - advanced-elicitation
49
+ - create-deep-research-prompt
50
+ templates:
51
+ - agent-tmpl
52
+ - expansion-pack-plan-tmpl
53
+ ```
@@ -0,0 +1,74 @@
1
+ # Create Document from Template Task
2
+
3
+ ## Purpose
4
+
5
+ - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
6
+
7
+ ## Instructions
8
+
9
+ ### 1. Identify Template and Context
10
+
11
+ - Determine which template to use (user-provided or list available for selection to user)
12
+
13
+ - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
14
+
15
+ @{example}
16
+ dependencies:
17
+ templates: - prd-tmpl - architecture-tmpl
18
+ @{/example}
19
+
20
+ You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
21
+
22
+ - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
23
+ - Understand the document purpose and target audience
24
+
25
+ ### 2. Determine Interaction Mode
26
+
27
+ Confirm with the user their preferred interaction style:
28
+
29
+ - **Incremental:** Work through chunks of the document.
30
+ - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
31
+
32
+ ### 3. Execute Template
33
+
34
+ - Load specified template from `templates#*` or the /templates directory
35
+ - Follow ALL embedded LLM instructions within the template
36
+ - Process template markup according to `utils#template-format` conventions
37
+
38
+ ### 4. Template Processing Rules
39
+
40
+ #### CRITICAL: Never display template markup, LLM instructions, or examples to users
41
+
42
+ - Replace all {{placeholders}} with actual content
43
+ - Execute all [[LLM: instructions]] internally
44
+ - Process `<<REPEAT>>` sections as needed
45
+ - Evaluate ^^CONDITION^^ blocks and include only if applicable
46
+ - Use @{examples} for guidance but never output them
47
+
48
+ ### 5. Content Generation
49
+
50
+ - **Incremental Mode**: Present each major section for review before proceeding
51
+ - **YOLO Mode**: Generate all sections, then review complete document with user
52
+ - Apply any elicitation protocols specified in template
53
+ - Incorporate user feedback and iterate as needed
54
+
55
+ ### 6. Validation
56
+
57
+ If template specifies a checklist:
58
+
59
+ - Run the appropriate checklist against completed document
60
+ - Document completion status for each item
61
+ - Address any deficiencies found
62
+ - Present validation summary to user
63
+
64
+ ### 7. Final Presentation
65
+
66
+ - Present clean, formatted content only
67
+ - Ensure all sections are complete
68
+ - DO NOT truncate or summarize content
69
+ - Begin directly with document content (no preamble)
70
+ - Include any handoff prompts specified in template
71
+
72
+ ## Important Notes
73
+
74
+ - Template markup is for AI processing only - never expose to users
@@ -0,0 +1,97 @@
1
+ # Checklist Validation Task
2
+
3
+ This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
4
+
5
+ ## Context
6
+
7
+ The BMAD Method uses various checklists to ensure quality and completeness of different artifacts. Each checklist contains embedded prompts and instructions to guide the LLM through thorough validation and advanced elicitation. The checklists automatically identify their required artifacts and guide the validation process.
8
+
9
+ ## Available Checklists
10
+
11
+ 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-core/checklists folder to select the appropriate one to run.
12
+
13
+ ## Instructions
14
+
15
+ 1. **Initial Assessment**
16
+
17
+ - If user or the task being run provides a checklist name:
18
+ - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
19
+ - If multiple matches found, ask user to clarify
20
+ - Load the appropriate checklist from bmad-core/checklists/
21
+ - If no checklist specified:
22
+ - Ask the user which checklist they want to use
23
+ - Present the available options from the files in the checklists folder
24
+ - Confirm if they want to work through the checklist:
25
+ - Section by section (interactive mode - very time consuming)
26
+ - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
27
+
28
+ 2. **Document and Artifact Gathering**
29
+
30
+ - Each checklist will specify its required documents/artifacts at the beginning
31
+ - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
32
+
33
+ 3. **Checklist Processing**
34
+
35
+ If in interactive mode:
36
+
37
+ - Work through each section of the checklist one at a time
38
+ - For each section:
39
+ - Review all items in the section following instructions for that section embedded in the checklist
40
+ - Check each item against the relevant documentation or artifacts as appropriate
41
+ - Present summary of findings for that section, highlighting warnings, errors and non applicable items (rationale for non-applicability).
42
+ - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
43
+
44
+ If in YOLO mode:
45
+
46
+ - Process all sections at once
47
+ - Create a comprehensive report of all findings
48
+ - Present the complete analysis to the user
49
+
50
+ 4. **Validation Approach**
51
+
52
+ For each checklist item:
53
+
54
+ - Read and understand the requirement
55
+ - Look for evidence in the documentation that satisfies the requirement
56
+ - Consider both explicit mentions and implicit coverage
57
+ - Aside from this, follow all checklist llm instructions
58
+ - Mark items as:
59
+ - ✅ PASS: Requirement clearly met
60
+ - ❌ FAIL: Requirement not met or insufficient coverage
61
+ - ⚠️ PARTIAL: Some aspects covered but needs improvement
62
+ - N/A: Not applicable to this case
63
+
64
+ 5. **Section Analysis**
65
+
66
+ For each section:
67
+
68
+ - think step by step to calculate pass rate
69
+ - Identify common themes in failed items
70
+ - Provide specific recommendations for improvement
71
+ - In interactive mode, discuss findings with user
72
+ - Document any user decisions or explanations
73
+
74
+ 6. **Final Report**
75
+
76
+ Prepare a summary that includes:
77
+
78
+ - Overall checklist completion status
79
+ - Pass rates by section
80
+ - List of failed items with context
81
+ - Specific recommendations for improvement
82
+ - Any sections or items marked as N/A with justification
83
+
84
+ ## Checklist Execution Methodology
85
+
86
+ Each checklist now contains embedded LLM prompts and instructions that will:
87
+
88
+ 1. **Guide thorough thinking** - Prompts ensure deep analysis of each section
89
+ 2. **Request specific artifacts** - Clear instructions on what documents/access is needed
90
+ 3. **Provide contextual guidance** - Section-specific prompts for better validation
91
+ 4. **Generate comprehensive reports** - Final summary with detailed findings
92
+
93
+ The LLM will:
94
+
95
+ - Execute the complete checklist validation
96
+ - Present a final report with pass/fail rates and key findings
97
+ - Offer to provide detailed analysis of any section, especially those with warnings or failures
@@ -0,0 +1,12 @@
1
+ name: bmad-creator-tools
2
+ version: 1.0.0
3
+ description: Tools for creating and extending BMAD framework components
4
+ type: creator-tools
5
+ compatibility:
6
+ bmad-version: '>=4.0.0'
7
+ components:
8
+ agents:
9
+ - bmad-the-creator
10
+ tasks:
11
+ - create-agent
12
+ - generate-expansion-pack
@@ -55,7 +55,7 @@ Determine:
55
55
 
56
56
  **Track Created Items:**
57
57
 
58
- ```text
58
+ ````text
59
59
  Created during agent setup:
60
60
  - Tasks:
61
61
  - [ ] task-name-1.md
@@ -63,7 +63,7 @@ Created during agent setup:
63
63
  - Templates:
64
64
  - [ ] template-name-1.md
65
65
  - [ ] template-name-2.md
66
- ```
66
+ ```text
67
67
 
68
68
  ### 4. Create Agent File
69
69
 
@@ -121,7 +121,7 @@ Present to the user:
121
121
  1. Review and customize the created tasks/templates
122
122
  2. Run npm run build:agents
123
123
  3. Test the agent thoroughly
124
- ```
124
+ ```text
125
125
 
126
126
  ## Template Reference
127
127
 
@@ -136,7 +136,7 @@ The agent template structure:
136
136
 
137
137
  ## Example Usage
138
138
 
139
- ````yaml
139
+ ```yaml
140
140
  agent:
141
141
  name: Data Analyst
142
142
  id: data-analyst