bmad-method 1.0.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 (147) hide show
  1. package/.bmad-core/agent-teams/team-all.yml +16 -0
  2. package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
  3. package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
  4. package/.bmad-core/agents/analyst.md +65 -0
  5. package/.bmad-core/agents/architect.md +66 -0
  6. package/.bmad-core/agents/bmad-master.md +107 -0
  7. package/.bmad-core/agents/bmad-orchestrator.md +81 -0
  8. package/.bmad-core/agents/dev.md +69 -0
  9. package/.bmad-core/agents/pm.md +64 -0
  10. package/.bmad-core/agents/po.md +60 -0
  11. package/.bmad-core/agents/qa.md +52 -0
  12. package/.bmad-core/agents/sm.md +60 -0
  13. package/.bmad-core/agents/ux-expert.md +66 -0
  14. package/.bmad-core/checklists/architect-checklist.md +443 -0
  15. package/.bmad-core/checklists/change-checklist.md +182 -0
  16. package/.bmad-core/checklists/pm-checklist.md +375 -0
  17. package/.bmad-core/checklists/po-master-checklist.md +441 -0
  18. package/.bmad-core/checklists/story-dod-checklist.md +101 -0
  19. package/.bmad-core/checklists/story-draft-checklist.md +156 -0
  20. package/.bmad-core/data/bmad-kb.md +36 -0
  21. package/.bmad-core/data/technical-preferences.md +3 -0
  22. package/.bmad-core/schemas/agent-team-schema.yml +153 -0
  23. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  24. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  25. package/.bmad-core/tasks/brownfield-create-epic.md +160 -0
  26. package/.bmad-core/tasks/brownfield-create-story.md +147 -0
  27. package/.bmad-core/tasks/core-dump.md +74 -0
  28. package/.bmad-core/tasks/correct-course.md +73 -0
  29. package/.bmad-core/tasks/create-agent.md +202 -0
  30. package/.bmad-core/tasks/create-deep-research-prompt.md +301 -0
  31. package/.bmad-core/tasks/create-doc.md +74 -0
  32. package/.bmad-core/tasks/create-expansion-pack.md +425 -0
  33. package/.bmad-core/tasks/create-next-story.md +206 -0
  34. package/.bmad-core/tasks/create-team.md +229 -0
  35. package/.bmad-core/tasks/doc-migration-task.md +198 -0
  36. package/.bmad-core/tasks/execute-checklist.md +97 -0
  37. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
  38. package/.bmad-core/tasks/index-docs.md +180 -0
  39. package/.bmad-core/tasks/shard-doc.md +173 -0
  40. package/.bmad-core/templates/agent-tmpl.md +58 -0
  41. package/.bmad-core/templates/architecture-tmpl.md +771 -0
  42. package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
  43. package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
  44. package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
  45. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
  46. package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
  47. package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
  48. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1034 -0
  49. package/.bmad-core/templates/market-research-tmpl.md +261 -0
  50. package/.bmad-core/templates/prd-tmpl.md +200 -0
  51. package/.bmad-core/templates/project-brief-tmpl.md +228 -0
  52. package/.bmad-core/templates/story-tmpl.md +61 -0
  53. package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
  54. package/.bmad-core/utils/agent-switcher.ide.md +112 -0
  55. package/.bmad-core/utils/template-format.md +26 -0
  56. package/.bmad-core/utils/workflow-management.md +224 -0
  57. package/.bmad-core/web-bundles/agents/analyst.txt +1679 -0
  58. package/.bmad-core/web-bundles/agents/architect.txt +3602 -0
  59. package/.bmad-core/web-bundles/agents/bmad-master.txt +9496 -0
  60. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1455 -0
  61. package/.bmad-core/web-bundles/agents/dev.txt +315 -0
  62. package/.bmad-core/web-bundles/agents/pm.txt +2196 -0
  63. package/.bmad-core/web-bundles/agents/po.txt +1489 -0
  64. package/.bmad-core/web-bundles/agents/qa.txt +129 -0
  65. package/.bmad-core/web-bundles/agents/sm.txt +663 -0
  66. package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
  67. package/.bmad-core/web-bundles/teams/team-all.txt +10315 -0
  68. package/.bmad-core/web-bundles/teams/team-fullstack.txt +9663 -0
  69. package/.bmad-core/web-bundles/teams/team-no-ui.txt +8504 -0
  70. package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
  71. package/.bmad-core/workflows/brownfield-service.yml +117 -0
  72. package/.bmad-core/workflows/brownfield-ui.yml +127 -0
  73. package/.bmad-core/workflows/greenfield-fullstack.yml +177 -0
  74. package/.bmad-core/workflows/greenfield-service.yml +143 -0
  75. package/.bmad-core/workflows/greenfield-ui.yml +172 -0
  76. package/.claude/commands/analyst.md +69 -0
  77. package/.claude/commands/architect.md +70 -0
  78. package/.claude/commands/bmad-master.md +111 -0
  79. package/.claude/commands/bmad-orchestrator.md +85 -0
  80. package/.claude/commands/dev.md +73 -0
  81. package/.claude/commands/pm.md +68 -0
  82. package/.claude/commands/po.md +64 -0
  83. package/.claude/commands/qa.md +56 -0
  84. package/.claude/commands/sm.md +64 -0
  85. package/.claude/commands/ux-expert.md +70 -0
  86. package/.cursor/rules/analyst.mdc +83 -0
  87. package/.cursor/rules/architect.mdc +84 -0
  88. package/.cursor/rules/bmad-master.mdc +125 -0
  89. package/.cursor/rules/bmad-orchestrator.mdc +99 -0
  90. package/.cursor/rules/dev.mdc +87 -0
  91. package/.cursor/rules/pm.mdc +82 -0
  92. package/.cursor/rules/po.mdc +78 -0
  93. package/.cursor/rules/qa.mdc +70 -0
  94. package/.cursor/rules/sm.mdc +78 -0
  95. package/.cursor/rules/ux-expert.mdc +84 -0
  96. package/.github/workflows/release.yml +59 -0
  97. package/.husky/pre-commit +2 -0
  98. package/.releaserc.json +17 -0
  99. package/.roo/.roomodes +95 -0
  100. package/.roo/README.md +38 -0
  101. package/.vscode/extensions.json +6 -0
  102. package/.vscode/settings.json +72 -0
  103. package/.windsurf/rules/analyst.md +77 -0
  104. package/.windsurf/rules/architect.md +78 -0
  105. package/.windsurf/rules/bmad-master.md +119 -0
  106. package/.windsurf/rules/bmad-orchestrator.md +93 -0
  107. package/.windsurf/rules/dev.md +81 -0
  108. package/.windsurf/rules/pm.md +76 -0
  109. package/.windsurf/rules/po.md +72 -0
  110. package/.windsurf/rules/qa.md +64 -0
  111. package/.windsurf/rules/sm.md +72 -0
  112. package/.windsurf/rules/ux-expert.md +78 -0
  113. package/CHANGELOG.md +22 -0
  114. package/CONTRIBUTING.md +46 -0
  115. package/LICENSE +21 -0
  116. package/README.md +283 -0
  117. package/docs/versioning-and-releases.md +85 -0
  118. package/docs/versions.md +49 -0
  119. package/expansion-packs/README.md +113 -0
  120. package/expansion-packs/infrastructure-devops/README.md +147 -0
  121. package/expansion-packs/infrastructure-devops/agents/infra-devops-platform.md +59 -0
  122. package/expansion-packs/infrastructure-devops/checklists/infrastructure-checklist.md +484 -0
  123. package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
  124. package/expansion-packs/infrastructure-devops/tasks/review-infrastructure.md +160 -0
  125. package/expansion-packs/infrastructure-devops/tasks/validate-infrastructure.md +154 -0
  126. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
  127. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  128. package/package.json +73 -0
  129. package/tools/bmad-npx-wrapper.js +41 -0
  130. package/tools/builders/web-builder.js +145 -0
  131. package/tools/cli.js +119 -0
  132. package/tools/installer/README.md +58 -0
  133. package/tools/installer/bin/bmad.js +179 -0
  134. package/tools/installer/config/install.config.yml +139 -0
  135. package/tools/installer/lib/config-loader.js +89 -0
  136. package/tools/installer/lib/file-manager.js +169 -0
  137. package/tools/installer/lib/ide-setup.js +419 -0
  138. package/tools/installer/lib/installer.js +534 -0
  139. package/tools/installer/package-lock.json +704 -0
  140. package/tools/installer/package.json +43 -0
  141. package/tools/installer/templates/claude-commands.md +7 -0
  142. package/tools/installer/templates/cursor-rules.md +22 -0
  143. package/tools/installer/templates/windsurf-rules.md +22 -0
  144. package/tools/lib/dependency-resolver.js +179 -0
  145. package/tools/upgraders/v3-to-v4-upgrader.js +766 -0
  146. package/tools/version-bump.js +72 -0
  147. package/tools/yaml-format.js +211 -0
@@ -0,0 +1,301 @@
1
+ # Create Deep Research Prompt Task
2
+
3
+ This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
4
+
5
+ ## Purpose
6
+
7
+ Generate well-structured research prompts that:
8
+
9
+ - Define clear research objectives and scope
10
+ - Specify appropriate research methodologies
11
+ - Outline expected deliverables and formats
12
+ - Guide systematic investigation of complex topics
13
+ - Ensure actionable insights are captured
14
+
15
+ ## Research Type Selection
16
+
17
+ [[LLM: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.]]
18
+
19
+ ### 1. Research Focus Options
20
+
21
+ Present these numbered options to the user:
22
+
23
+ 1. **Product Validation Research**
24
+
25
+ - Validate product hypotheses and market fit
26
+ - Test assumptions about user needs and solutions
27
+ - Assess technical and business feasibility
28
+ - Identify risks and mitigation strategies
29
+
30
+ 2. **Market Opportunity Research**
31
+
32
+ - Analyze market size and growth potential
33
+ - Identify market segments and dynamics
34
+ - Assess market entry strategies
35
+ - Evaluate timing and market readiness
36
+
37
+ 3. **User & Customer Research**
38
+
39
+ - Deep dive into user personas and behaviors
40
+ - Understand jobs-to-be-done and pain points
41
+ - Map customer journeys and touchpoints
42
+ - Analyze willingness to pay and value perception
43
+
44
+ 4. **Competitive Intelligence Research**
45
+
46
+ - Detailed competitor analysis and positioning
47
+ - Feature and capability comparisons
48
+ - Business model and strategy analysis
49
+ - Identify competitive advantages and gaps
50
+
51
+ 5. **Technology & Innovation Research**
52
+
53
+ - Assess technology trends and possibilities
54
+ - Evaluate technical approaches and architectures
55
+ - Identify emerging technologies and disruptions
56
+ - Analyze build vs. buy vs. partner options
57
+
58
+ 6. **Industry & Ecosystem Research**
59
+
60
+ - Map industry value chains and dynamics
61
+ - Identify key players and relationships
62
+ - Analyze regulatory and compliance factors
63
+ - Understand partnership opportunities
64
+
65
+ 7. **Strategic Options Research**
66
+
67
+ - Evaluate different strategic directions
68
+ - Assess business model alternatives
69
+ - Analyze go-to-market strategies
70
+ - Consider expansion and scaling paths
71
+
72
+ 8. **Risk & Feasibility Research**
73
+
74
+ - Identify and assess various risk factors
75
+ - Evaluate implementation challenges
76
+ - Analyze resource requirements
77
+ - Consider regulatory and legal implications
78
+
79
+ 9. **Custom Research Focus**
80
+ [[LLM: Allow user to define their own specific research focus.]]
81
+ - User-defined research objectives
82
+ - Specialized domain investigation
83
+ - Cross-functional research needs
84
+
85
+ ### 2. Input Processing
86
+
87
+ [[LLM: Based on the selected research type and any provided inputs (project brief, brainstorming results, etc.), extract relevant context and constraints.]]
88
+
89
+ **If Project Brief provided:**
90
+
91
+ - Extract key product concepts and goals
92
+ - Identify target users and use cases
93
+ - Note technical constraints and preferences
94
+ - Highlight uncertainties and assumptions
95
+
96
+ **If Brainstorming Results provided:**
97
+
98
+ - Synthesize main ideas and themes
99
+ - Identify areas needing validation
100
+ - Extract hypotheses to test
101
+ - Note creative directions to explore
102
+
103
+ **If Market Research provided:**
104
+
105
+ - Build on identified opportunities
106
+ - Deepen specific market insights
107
+ - Validate initial findings
108
+ - Explore adjacent possibilities
109
+
110
+ **If Starting Fresh:**
111
+
112
+ - Gather essential context through questions
113
+ - Define the problem space
114
+ - Clarify research objectives
115
+ - Establish success criteria
116
+
117
+ ## Process
118
+
119
+ ### 3. Research Prompt Structure
120
+
121
+ [[LLM: Based on the selected research type and context, collaboratively develop a comprehensive research prompt with these components.]]
122
+
123
+ #### A. Research Objectives
124
+
125
+ [[LLM: Work with the user to articulate clear, specific objectives for the research.]]
126
+
127
+ - Primary research goal and purpose
128
+ - Key decisions the research will inform
129
+ - Success criteria for the research
130
+ - Constraints and boundaries
131
+
132
+ #### B. Research Questions
133
+
134
+ [[LLM: Develop specific, actionable research questions organized by theme.]]
135
+
136
+ **Core Questions:**
137
+
138
+ - Central questions that must be answered
139
+ - Priority ranking of questions
140
+ - Dependencies between questions
141
+
142
+ **Supporting Questions:**
143
+
144
+ - Additional context-building questions
145
+ - Nice-to-have insights
146
+ - Future-looking considerations
147
+
148
+ #### C. Research Methodology
149
+
150
+ [[LLM: Specify appropriate research methods based on the type and objectives.]]
151
+
152
+ **Data Collection Methods:**
153
+
154
+ - Secondary research sources
155
+ - Primary research approaches (if applicable)
156
+ - Data quality requirements
157
+ - Source credibility criteria
158
+
159
+ **Analysis Frameworks:**
160
+
161
+ - Specific frameworks to apply
162
+ - Comparison criteria
163
+ - Evaluation methodologies
164
+ - Synthesis approaches
165
+
166
+ #### D. Output Requirements
167
+
168
+ [[LLM: Define how research findings should be structured and presented.]]
169
+
170
+ **Format Specifications:**
171
+
172
+ - Executive summary requirements
173
+ - Detailed findings structure
174
+ - Visual/tabular presentations
175
+ - Supporting documentation
176
+
177
+ **Key Deliverables:**
178
+
179
+ - Must-have sections and insights
180
+ - Decision-support elements
181
+ - Action-oriented recommendations
182
+ - Risk and uncertainty documentation
183
+
184
+ ### 4. Prompt Generation
185
+
186
+ [[LLM: Synthesize all elements into a comprehensive, ready-to-use research prompt.]]
187
+
188
+ **Research Prompt Template:**
189
+
190
+ ```markdown
191
+ ## Research Objective
192
+
193
+ [Clear statement of what this research aims to achieve]
194
+
195
+ ## Background Context
196
+
197
+ [Relevant information from project brief, brainstorming, or other inputs]
198
+
199
+ ## Research Questions
200
+
201
+ ### Primary Questions (Must Answer)
202
+
203
+ 1. [Specific, actionable question]
204
+ 2. [Specific, actionable question]
205
+ ...
206
+
207
+ ### Secondary Questions (Nice to Have)
208
+
209
+ 1. [Supporting question]
210
+ 2. [Supporting question]
211
+ ...
212
+
213
+ ## Research Methodology
214
+
215
+ ### Information Sources
216
+
217
+ - [Specific source types and priorities]
218
+
219
+ ### Analysis Frameworks
220
+
221
+ - [Specific frameworks to apply]
222
+
223
+ ### Data Requirements
224
+
225
+ - [Quality, recency, credibility needs]
226
+
227
+ ## Expected Deliverables
228
+
229
+ ### Executive Summary
230
+
231
+ - Key findings and insights
232
+ - Critical implications
233
+ - Recommended actions
234
+
235
+ ### Detailed Analysis
236
+
237
+ [Specific sections needed based on research type]
238
+
239
+ ### Supporting Materials
240
+
241
+ - Data tables
242
+ - Comparison matrices
243
+ - Source documentation
244
+
245
+ ## Success Criteria
246
+
247
+ [How to evaluate if research achieved its objectives]
248
+
249
+ ## Timeline and Priority
250
+
251
+ [If applicable, any time constraints or phasing]
252
+ ```
253
+
254
+ ### 5. Review and Refinement
255
+
256
+ [[LLM: Present the draft research prompt for user review and refinement.]]
257
+
258
+ 1. **Present Complete Prompt**
259
+
260
+ - Show the full research prompt
261
+ - Explain key elements and rationale
262
+ - Highlight any assumptions made
263
+
264
+ 2. **Gather Feedback**
265
+
266
+ - Are the objectives clear and correct?
267
+ - Do the questions address all concerns?
268
+ - Is the scope appropriate?
269
+ - Are output requirements sufficient?
270
+
271
+ 3. **Refine as Needed**
272
+ - Incorporate user feedback
273
+ - Adjust scope or focus
274
+ - Add missing elements
275
+ - Clarify ambiguities
276
+
277
+ ### 6. Next Steps Guidance
278
+
279
+ [[LLM: Provide clear guidance on how to use the research prompt.]]
280
+
281
+ **Execution Options:**
282
+
283
+ 1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities
284
+ 2. **Guide Human Research**: Use as a framework for manual research efforts
285
+ 3. **Hybrid Approach**: Combine AI and human research using this structure
286
+
287
+ **Integration Points:**
288
+
289
+ - How findings will feed into next phases
290
+ - Which team members should review results
291
+ - How to validate findings
292
+ - When to revisit or expand research
293
+
294
+ ## Important Notes
295
+
296
+ - The quality of the research prompt directly impacts the quality of insights gathered
297
+ - Be specific rather than general in research questions
298
+ - Consider both current state and future implications
299
+ - Balance comprehensiveness with focus
300
+ - Document assumptions and limitations clearly
301
+ - Plan for iterative refinement based on initial findings
@@ -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