bmad-method 4.30.1 → 4.30.3

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 (59) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/bmad-core/core-config.yaml +0 -1
  4. package/bmad-core/data/bmad-kb.md +1 -1
  5. package/dist/agents/analyst.txt +1 -1
  6. package/dist/agents/bmad-master.txt +1 -1
  7. package/dist/agents/bmad-orchestrator.txt +1 -1
  8. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +2409 -0
  9. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +1480 -0
  10. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +826 -0
  11. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +10690 -0
  12. package/dist/teams/team-all.txt +1 -1
  13. package/dist/teams/team-fullstack.txt +1 -1
  14. package/dist/teams/team-ide-minimal.txt +1 -1
  15. package/dist/teams/team-no-ui.txt +1 -1
  16. package/docs/bmad-workflow-guide.md +2 -2
  17. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +2 -2
  18. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +13 -0
  19. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +72 -0
  20. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +78 -0
  21. package/expansion-packs/{bmad-creator-tools/agents/bmad-the-creator.md → bmad-2d-unity-game-dev/agents/game-sm.md} +26 -28
  22. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +201 -0
  23. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +160 -0
  24. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +6 -0
  25. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +251 -0
  26. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +590 -0
  27. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +111 -0
  28. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +217 -0
  29. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +308 -0
  30. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +545 -0
  31. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +356 -0
  32. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  33. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +256 -0
  34. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  35. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +183 -0
  36. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +175 -0
  37. package/expansion-packs/bmad-infrastructure-devops/config.yaml +2 -2
  38. package/package.json +4 -8
  39. package/tools/bump-all-versions.js +8 -9
  40. package/tools/bump-expansion-version.js +40 -35
  41. package/tools/installer/bin/bmad.js +8 -21
  42. package/tools/installer/lib/file-manager.js +76 -44
  43. package/tools/installer/lib/ide-base-setup.js +227 -0
  44. package/tools/installer/lib/ide-setup.js +14 -60
  45. package/tools/installer/lib/installer.js +99 -121
  46. package/tools/installer/lib/memory-profiler.js +224 -0
  47. package/tools/installer/lib/module-manager.js +110 -0
  48. package/tools/installer/lib/resource-locator.js +310 -0
  49. package/tools/installer/package.json +1 -1
  50. package/tools/semantic-release-sync-installer.js +20 -21
  51. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2008
  52. package/expansion-packs/bmad-creator-tools/README.md +0 -8
  53. package/expansion-packs/bmad-creator-tools/config.yaml +0 -6
  54. package/expansion-packs/bmad-creator-tools/tasks/create-agent.md +0 -200
  55. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
  56. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
  57. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
  58. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
  59. package/tools/bump-core-version.js +0 -57
@@ -1,8 +0,0 @@
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
@@ -1,6 +0,0 @@
1
- name: bmad-creator-tools
2
- version: 1.9.0
3
- short-title: Tools for creating BMad framework components
4
- description: Tools for creating and extending BMad framework components.
5
- author: Brian (BMad)
6
- slashPrefix: bmadCreator
@@ -1,200 +0,0 @@
1
- # Create Agent Task
2
-
3
- This task guides you through creating a new BMad agent following the standard template.
4
-
5
- ## Prerequisites
6
-
7
- - Agent template: `../templates/agent-tmpl.md`
8
- - Target directory: `.bmad-core/agents/`
9
-
10
- ## Steps
11
-
12
- ### 1. Gather Agent Information
13
-
14
- Collect the following information from the user:
15
-
16
- - **Agent ID**: Unique identifier (lowercase, hyphens allowed, e.g., `data-analyst`)
17
- - **Agent Name**: Display name (e.g., `Data Analyst`)
18
- - **Agent Title**: Professional title (e.g., `Data Analysis Specialist`)
19
- - **Role Description**: Brief description of the agent's primary role
20
- - **Communication Style**: How the agent communicates (e.g., `analytical, data-driven, clear`)
21
- - **Identity**: Detailed description of who this agent is
22
- - **Focus Areas**: Primary areas of expertise and focus
23
- - **Core Principles**: 3-5 guiding principles for the agent
24
- - **Customization**: Optional specific behaviors or overrides
25
-
26
- ### 2. Define Agent Capabilities
27
-
28
- **IMPORTANT**:
29
-
30
- - If your agent will perform any actions → You MUST create corresponding tasks in `.bmad-core/tasks/`
31
- - If your agent will create any documents → You MUST create templates in `.bmad-core/templates/` AND include the `create-doc` task
32
-
33
- Determine:
34
-
35
- - **Custom Commands**: Agent-specific commands beyond the defaults
36
- - **Required Tasks**: Tasks from `.bmad-core/tasks/` the agent needs
37
- - For any action the agent performs, a corresponding task file must exist
38
- - Always include `create-doc` if the agent creates any documents
39
- - **Required Templates**: Templates from `.bmad-core/templates/` the agent uses
40
- - For any document the agent can create, a template must exist
41
- - **Required Checklists**: Checklists the agent references
42
- - **Required Data**: Data files the agent needs access to
43
- - **Required Utils**: Utility files the agent uses
44
-
45
- ### 3. Handle Missing Dependencies
46
-
47
- **Protocol for Missing Tasks/Templates:**
48
-
49
- 1. Check if each required task/template exists
50
- 2. For any missing items:
51
- - Create a basic version following the appropriate template
52
- - Track what was created in a list
53
- 3. Continue with agent creation
54
- 4. At the end, present a summary of all created items
55
-
56
- **Track Created Items:**
57
-
58
- ```text
59
- Created during agent setup:
60
- - Tasks:
61
- - [ ] task-name-1.md
62
- - [ ] task-name-2.md
63
- - Templates:
64
- - [ ] template-name-1.md
65
- - [ ] template-name-2.md
66
- ```
67
-
68
- ### 4. Create Agent File
69
-
70
- 1. Copy the template from `.bmad-core/templates/agent-tmpl.md`
71
- 2. Replace all placeholders with gathered information:
72
-
73
- - `[AGENT_ID]` → agent id
74
- - `[AGENT_NAME]` → agent name
75
- - `[AGENT_TITLE]` → agent title
76
- - `[AGENT_ROLE_DESCRIPTION]` → role description
77
- - `[COMMUNICATION_STYLE]` → communication style
78
- - `[AGENT_IDENTITY_DESCRIPTION]` → identity description
79
- - `[PRIMARY_FOCUS_AREAS]` → focus areas
80
- - `[PRINCIPLE_X]` → core principles
81
- - `[OPTIONAL_CUSTOMIZATION]` → customization (or remove if none)
82
- - `[DEFAULT_MODE_DESCRIPTION]` → description of default chat mode
83
- - `[STARTUP_INSTRUCTIONS]` → what the agent should do on activation
84
- - Add custom commands, tasks, templates, etc.
85
-
86
- 3. Save as `.bmad-core/agents/[agent-id].md`
87
-
88
- ### 4. Validate Agent
89
-
90
- Ensure:
91
-
92
- - All placeholders are replaced
93
- - Dependencies (tasks, templates, etc.) actually exist
94
- - Commands are properly formatted
95
- - YAML structure is valid
96
-
97
- ### 5. Build and Test
98
-
99
- 1. Run `npm run build:agents` to include in builds
100
- 2. Test agent activation and commands
101
- 3. Verify all dependencies load correctly
102
-
103
- ### 6. Final Summary
104
-
105
- Present to the user:
106
-
107
- ```text
108
- ✅ Agent Created: [agent-name]
109
- Location: .bmad-core/agents/[agent-id].md
110
-
111
- 📝 Dependencies Created:
112
- Tasks:
113
- - ✅ task-1.md - [brief description]
114
- - ✅ task-2.md - [brief description]
115
-
116
- Templates:
117
- - ✅ template-1.md - [brief description]
118
- - ✅ template-2.md - [brief description]
119
-
120
- ⚠️ Next Steps:
121
- 1. Review and customize the created tasks/templates
122
- 2. Run npm run build:agents
123
- 3. Test the agent thoroughly
124
- ```
125
-
126
- ## Template Reference
127
-
128
- The agent template structure:
129
-
130
- - **activation-instructions**: How the AI should interpret the file
131
- - **agent**: Basic agent metadata
132
- - **persona**: Character and behavior definition
133
- - **startup**: Initial actions on activation
134
- - **commands**: Available commands (always include defaults)
135
- - **dependencies**: Required resources organized by type
136
-
137
- ## Example Usage
138
-
139
- ```yaml
140
- agent:
141
- name: Data Analyst
142
- id: data-analyst
143
- title: Data Analysis Specialist
144
- persona:
145
- role: Expert in data analysis, visualization, and insights extraction
146
- style: analytical, data-driven, clear, methodical
147
- identity: I am a seasoned data analyst who transforms raw data into actionable insights
148
- focus: data exploration, statistical analysis, visualization, reporting
149
- core_principles:
150
- - Data integrity and accuracy above all
151
- - Clear communication of complex findings
152
- - Actionable insights over raw numbers
153
- ```
154
-
155
- ## Creating Missing Dependencies
156
-
157
- When a required task or template doesn't exist:
158
-
159
- 1. **For Missing Tasks**: Create using `.bmad-core/templates/task-template.md`
160
-
161
- - Name it descriptively (e.g., `analyze-metrics.md`)
162
- - Define clear steps for the action
163
- - Include any required inputs/outputs
164
-
165
- 2. **For Missing Templates**: Create a basic structure
166
-
167
- - Name it descriptively (e.g., `metrics-report-template.md`)
168
- - Include placeholders for expected content
169
- - Add sections relevant to the document type
170
-
171
- 3. **Always Track**: Keep a list of everything created to report at the end
172
-
173
- ## Important Reminders
174
-
175
- ### Tasks and Templates Requirement
176
-
177
- - **Every agent action needs a task**: If an agent can "analyze data", there must be an `analyze-data.md` task
178
- - **Every document type needs a template**: If an agent can create reports, there must be a `report-template.md`
179
- - **Document creation requires**: Both the template AND the `create-doc` task in dependencies
180
-
181
- ### Example Dependencies
182
-
183
- ```yaml
184
- dependencies:
185
- tasks:
186
- - create-doc
187
- - analyze-requirements
188
- - generate-report
189
- templates:
190
- - requirements-doc
191
- - analysis-report
192
- ```
193
-
194
- ## Notes
195
-
196
- - Keep agent definitions focused and specific
197
- - Ensure dependencies are minimal and necessary
198
- - Test thoroughly before distribution
199
- - Follow existing agent patterns for consistency
200
- - Remember: No task = agent can't do it, No template = agent can't create it