bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.6

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 (225) hide show
  1. package/.claude/agents/bmad-analysis/api-documenter.md +102 -0
  2. package/.claude/agents/bmad-analysis/codebase-analyzer.md +82 -0
  3. package/.claude/agents/bmad-analysis/data-analyst.md +101 -0
  4. package/.claude/agents/bmad-analysis/pattern-detector.md +84 -0
  5. package/.claude/agents/bmad-planning/dependency-mapper.md +83 -0
  6. package/.claude/agents/bmad-planning/epic-optimizer.md +81 -0
  7. package/.claude/agents/bmad-planning/requirements-analyst.md +61 -0
  8. package/.claude/agents/bmad-planning/technical-decisions-curator.md +168 -0
  9. package/.claude/agents/bmad-planning/trend-spotter.md +115 -0
  10. package/.claude/agents/bmad-planning/user-journey-mapper.md +123 -0
  11. package/.claude/agents/bmad-planning/user-researcher.md +72 -0
  12. package/.claude/agents/bmad-research/market-researcher.md +51 -0
  13. package/.claude/agents/bmad-research/tech-debt-auditor.md +106 -0
  14. package/.claude/agents/bmad-review/document-reviewer.md +102 -0
  15. package/.claude/agents/bmad-review/technical-evaluator.md +68 -0
  16. package/.claude/agents/bmad-review/test-coverage-analyzer.md +108 -0
  17. package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
  18. package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
  19. package/.claude/commands/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
  20. package/.claude/commands/bmad/bmm/workflows/README.md +3 -3
  21. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/prd.md +1 -1
  23. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +3 -3
  24. package/.claude/settings.local.json +3 -8
  25. package/CHANGELOG.md +305 -0
  26. package/CONTRIBUTING.md +1 -13
  27. package/README.md +88 -39
  28. package/bmad/_cfg/agent-manifest.csv +1 -6
  29. package/bmad/_cfg/files-manifest.csv +40 -114
  30. package/bmad/_cfg/ides/claude-code.yaml +4 -3
  31. package/bmad/_cfg/manifest.yaml +3 -4
  32. package/bmad/_cfg/task-manifest.csv +0 -1
  33. package/bmad/_cfg/workflow-manifest.csv +3 -7
  34. package/bmad/bmb/config.yaml +2 -2
  35. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  36. package/bmad/bmm/README.md +79 -120
  37. package/bmad/bmm/agents/architect.md +0 -1
  38. package/bmad/bmm/agents/sm.md +1 -1
  39. package/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
  40. package/bmad/bmm/config.yaml +4 -3
  41. package/bmad/bmm/tasks/daily-standup.xml +1 -1
  42. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  43. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  44. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  45. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  46. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  47. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  48. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +1 -1
  49. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  50. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  51. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  52. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  53. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  54. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  55. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  56. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  57. package/bmad/bmm/workflows/techdoc/documentation-standards.md +26 -2
  58. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
  59. package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
  60. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  61. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  62. package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
  63. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  64. package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
  65. package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  66. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  67. package/bmad/core/config.yaml +2 -2
  68. package/bmad/core/tasks/workflow.xml +1 -11
  69. package/package.json +1 -1
  70. package/src/core/tasks/workflow.xml +1 -11
  71. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  72. package/src/modules/bmm/README.md +1 -1
  73. package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
  74. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  75. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  76. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  77. package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
  78. package/src/modules/bmm/docs/README.md +19 -18
  79. package/src/modules/bmm/docs/agents-guide.md +47 -99
  80. package/src/modules/bmm/docs/brownfield-guide.md +216 -96
  81. package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
  82. package/src/modules/bmm/docs/faq.md +16 -16
  83. package/src/modules/bmm/docs/glossary.md +44 -50
  84. package/src/modules/bmm/docs/party-mode.md +110 -1122
  85. package/src/modules/bmm/docs/quick-spec-flow.md +36 -36
  86. package/src/modules/bmm/docs/quick-start.md +34 -34
  87. package/src/modules/bmm/docs/scale-adaptive-system.md +304 -454
  88. package/{bmad/bmm/testarch/README.md → src/modules/bmm/docs/test-architecture.md} +56 -38
  89. package/src/modules/bmm/docs/troubleshooting.md +7 -7
  90. package/src/modules/bmm/docs/workflows-analysis.md +64 -28
  91. package/src/modules/bmm/docs/workflows-implementation.md +196 -1671
  92. package/src/modules/bmm/docs/workflows-planning.md +74 -35
  93. package/src/modules/bmm/docs/workflows-solutioning.md +47 -17
  94. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  95. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  96. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  97. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  98. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  99. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  100. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  101. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  102. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  103. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  104. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  105. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  106. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  107. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  108. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  109. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  110. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +25 -2
  111. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
  112. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  113. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  114. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  115. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
  116. package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  117. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
  118. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  119. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  120. package/tools/cli/installers/lib/core/config-collector.js +39 -11
  121. package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
  122. package/tools/cli/installers/lib/core/installer.js +20 -9
  123. package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
  124. package/tools/cli/installers/lib/core/manifest.js +6 -2
  125. package/tools/cli/installers/lib/modules/manager.js +6 -0
  126. package/tools/cli/lib/config.js +3 -1
  127. package/tools/cli/lib/ui.js +5 -5
  128. package/tools/cli/lib/yaml-format.js +2 -1
  129. package/tools/schema/agent.js +2 -0
  130. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
  131. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
  132. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
  133. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
  134. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
  135. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
  136. package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
  137. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
  138. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
  139. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
  140. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
  141. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
  142. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
  143. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
  144. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
  145. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
  146. package/bmad/bmm/docs/brownfield-guide.md +0 -1260
  147. package/bmad/bmm/docs/quick-spec-flow.md +0 -645
  148. package/bmad/bmm/docs/quick-start.md +0 -341
  149. package/bmad/bmm/docs/scale-adaptive-system.md +0 -1045
  150. package/bmad/bmm/tasks/retrospective.xml +0 -104
  151. package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  152. package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  153. package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
  154. package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
  155. package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
  156. package/bmad/bmm/workflows/3-solutioning/architecture/README.md +0 -318
  157. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  158. package/bmad/bmm/workflows/4-implementation/README.md +0 -221
  159. package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
  160. package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  161. package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
  162. package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  163. package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  164. package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  165. package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  166. package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
  167. package/bmad/bmm/workflows/README.md +0 -256
  168. package/bmad/bmm/workflows/document-project/README.md +0 -444
  169. package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
  170. package/bmad/bmm/workflows/testarch/README.md +0 -26
  171. package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
  172. package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
  173. package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
  174. package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
  175. package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  176. package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
  177. package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
  178. package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
  179. package/bmad/bmm/workflows/workflow-status/README.md +0 -260
  180. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  181. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  182. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  183. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  184. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  185. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  186. package/bmad/cis/README.md +0 -153
  187. package/bmad/cis/agents/README.md +0 -104
  188. package/bmad/cis/agents/brainstorming-coach.md +0 -62
  189. package/bmad/cis/agents/creative-problem-solver.md +0 -62
  190. package/bmad/cis/agents/design-thinking-coach.md +0 -62
  191. package/bmad/cis/agents/innovation-strategist.md +0 -62
  192. package/bmad/cis/agents/storyteller.md +0 -59
  193. package/bmad/cis/config.yaml +0 -10
  194. package/bmad/cis/teams/creative-squad.yaml +0 -6
  195. package/bmad/cis/workflows/README.md +0 -139
  196. package/bmad/cis/workflows/design-thinking/README.md +0 -56
  197. package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  198. package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
  199. package/bmad/cis/workflows/design-thinking/template.md +0 -111
  200. package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
  201. package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
  202. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  203. package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
  204. package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
  205. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
  206. package/bmad/cis/workflows/problem-solving/README.md +0 -56
  207. package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
  208. package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  209. package/bmad/cis/workflows/problem-solving/template.md +0 -165
  210. package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
  211. package/bmad/cis/workflows/storytelling/README.md +0 -58
  212. package/bmad/cis/workflows/storytelling/instructions.md +0 -291
  213. package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
  214. package/bmad/cis/workflows/storytelling/template.md +0 -113
  215. package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
  216. package/bmad/core/agents/bmad-master.md.bak +0 -69
  217. package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
  218. package/src/modules/bmm/docs/workflows-testing.md +0 -1572
  219. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  220. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  221. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  222. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  223. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  224. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  225. /package/bmad/_cfg/agents/{bmm-paige.customize.yaml → bmm-tech-writer.customize.yaml} +0 -0
@@ -1,454 +0,0 @@
1
- # Research Workflow - Multi-Type Research System
2
-
3
- ## Overview
4
-
5
- The Research Workflow is a comprehensive, adaptive research system that supports multiple research types through an intelligent router pattern. This workflow consolidates various research methodologies into a single, powerful tool that adapts to your specific research needs - from market analysis to technical evaluation to AI prompt generation.
6
-
7
- **Version 2.0.0** - Multi-type research system with router-based architecture
8
-
9
- ## Key Features
10
-
11
- ### 🔀 Intelligent Research Router
12
-
13
- - **6 Research Types**: Market, Deep Prompt, Technical, Competitive, User, Domain
14
- - **Dynamic Instructions**: Loads appropriate instruction set based on research type
15
- - **Adaptive Templates**: Selects optimal output format for research goal
16
- - **Context-Aware**: Adjusts frameworks and methods per research type
17
-
18
- ### 🔍 Market Research (Type: `market`)
19
-
20
- - Real-time web research for current market data
21
- - TAM/SAM/SOM calculations with multiple methodologies
22
- - Competitive landscape analysis and positioning
23
- - Customer persona development and Jobs-to-be-Done
24
- - Porter's Five Forces and strategic frameworks
25
- - Go-to-market strategy recommendations
26
-
27
- ### 🤖 Deep Research Prompt Generation (Type: `deep_prompt`)
28
-
29
- - **Optimized for AI Research Platforms**: ChatGPT Deep Research, Gemini, Grok DeepSearch, Claude Projects
30
- - **Prompt Engineering Best Practices**: Multi-stage research workflows, iterative refinement
31
- - **Platform-Specific Optimization**: Tailored prompts for each AI research tool
32
- - **Context Packaging**: Structures background information for optimal AI understanding
33
- - **Research Question Refinement**: Transforms vague questions into precise research prompts
34
-
35
- ### 🏗️ Technical/Architecture Research (Type: `technical`)
36
-
37
- - Technology evaluation and comparison matrices
38
- - Architecture pattern research and trade-off analysis
39
- - Framework/library assessment with pros/cons
40
- - Technical feasibility studies
41
- - Cost-benefit analysis for technology decisions
42
- - Architecture Decision Records (ADR) generation
43
-
44
- ### 🎯 Competitive Intelligence (Type: `competitive`)
45
-
46
- - Deep competitor analysis and profiling
47
- - Competitive positioning and gap analysis
48
- - Strategic group mapping
49
- - Feature comparison matrices
50
- - Pricing strategy analysis
51
- - Market share and growth tracking
52
-
53
- ### 👥 User Research (Type: `user`)
54
-
55
- - Customer insights and behavioral analysis
56
- - Persona development with demographics and psychographics
57
- - Jobs-to-be-Done framework application
58
- - Customer journey mapping
59
- - Pain point identification
60
- - Willingness-to-pay analysis
61
-
62
- ### 🌐 Domain/Industry Research (Type: `domain`)
63
-
64
- - Industry deep dives and trend analysis
65
- - Regulatory landscape assessment
66
- - Domain expertise synthesis
67
- - Best practices identification
68
- - Standards and compliance requirements
69
- - Emerging patterns and disruptions
70
-
71
- ## Usage
72
-
73
- ### Basic Invocation
74
-
75
- ```bash
76
- workflow research
77
- ```
78
-
79
- The workflow will prompt you to select a research type.
80
-
81
- ### Direct Research Type Selection
82
-
83
- ```bash
84
- # Market research
85
- workflow research --type market
86
-
87
- # Deep research prompt generation
88
- workflow research --type deep_prompt
89
-
90
- # Technical evaluation
91
- workflow research --type technical
92
-
93
- # Competitive intelligence
94
- workflow research --type competitive
95
-
96
- # User research
97
- workflow research --type user
98
-
99
- # Domain analysis
100
- workflow research --type domain
101
- ```
102
-
103
- ### With Input Documents
104
-
105
- ```bash
106
- workflow research --type market --input product-brief.md --input competitor-list.md
107
- workflow research --type technical --input requirements.md --input architecture.md
108
- workflow research --type deep_prompt --input research-question.md
109
- ```
110
-
111
- ### Configuration Options
112
-
113
- Can be customized through `workflow.yaml`:
114
-
115
- - **research_depth**: `quick`, `standard`, or `comprehensive`
116
- - **enable_web_research**: `true`/`false` for real-time data gathering
117
- - **enable_competitor_analysis**: `true`/`false` (market/competitive types)
118
- - **enable_financial_modeling**: `true`/`false` (market type)
119
-
120
- ## Workflow Structure
121
-
122
- ### Files Included
123
-
124
- ```
125
- research/
126
- ├── workflow.yaml # Multi-type configuration
127
- ├── instructions-router.md # Router logic (loads correct instructions)
128
- ├── instructions-market.md # Market research workflow
129
- ├── instructions-deep-prompt.md # Deep prompt generation workflow
130
- ├── instructions-technical.md # Technical evaluation workflow
131
- ├── template-market.md # Market research report template
132
- ├── template-deep-prompt.md # Research prompt template
133
- ├── template-technical.md # Technical evaluation template
134
- ├── checklist.md # Universal validation criteria
135
- ├── README.md # This file
136
- └── claude-code/ # Claude Code enhancements (optional)
137
- ├── injections.yaml # Integration configuration
138
- └── sub-agents/ # Specialized research agents
139
- ├── bmm-market-researcher.md
140
- ├── bmm-trend-spotter.md
141
- ├── bmm-data-analyst.md
142
- ├── bmm-competitor-analyzer.md
143
- ├── bmm-user-researcher.md
144
- └── bmm-technical-evaluator.md
145
- ```
146
-
147
- ## Workflow Process
148
-
149
- ### Phase 1: Research Type Selection and Setup
150
-
151
- 1. Router presents research type menu
152
- 2. User selects research type (market, deep_prompt, technical, competitive, user, domain)
153
- 3. Router loads appropriate instructions and template
154
- 4. Gather research parameters and inputs
155
-
156
- ### Phase 2: Research Type-Specific Execution
157
-
158
- **For Market Research:**
159
-
160
- 1. Define research objectives and market boundaries
161
- 2. Conduct web research across multiple sources
162
- 3. Calculate TAM/SAM/SOM with triangulation
163
- 4. Develop customer segments and personas
164
- 5. Analyze competitive landscape
165
- 6. Apply industry frameworks (Porter's Five Forces, etc.)
166
- 7. Identify trends and opportunities
167
- 8. Develop strategic recommendations
168
- 9. Create financial projections (optional)
169
- 10. Compile comprehensive report
170
-
171
- **For Deep Prompt Generation:**
172
-
173
- 1. Analyze research question or topic
174
- 2. Identify optimal AI research platform (ChatGPT, Gemini, Grok, Claude)
175
- 3. Structure research context and background
176
- 4. Generate platform-optimized prompt
177
- 5. Create multi-stage research workflow
178
- 6. Define iteration and refinement strategy
179
- 7. Package with context documents
180
- 8. Provide execution guidance
181
-
182
- **For Technical Research:**
183
-
184
- 1. Define technical requirements and constraints
185
- 2. Identify technologies/frameworks to evaluate
186
- 3. Research each option (documentation, community, maturity)
187
- 4. Create comparison matrix with criteria
188
- 5. Perform trade-off analysis
189
- 6. Calculate cost-benefit for each option
190
- 7. Generate Architecture Decision Record (ADR)
191
- 8. Provide recommendation with rationale
192
-
193
- **For Competitive/User/Domain:**
194
-
195
- - Uses market research workflow with specific focus
196
- - Adapts questions and frameworks to research type
197
- - Customizes output format for target audience
198
-
199
- ### Phase 3: Validation and Delivery
200
-
201
- 1. Review outputs against checklist
202
- 2. Validate completeness and quality
203
- 3. Generate final report/document
204
- 4. Provide next steps and recommendations
205
-
206
- ## Output
207
-
208
- ### Generated Files by Research Type
209
-
210
- **Market Research:**
211
-
212
- - `market-research-{product_name}-{date}.md`
213
- - Comprehensive market analysis report (10+ sections)
214
-
215
- **Deep Research Prompt:**
216
-
217
- - `deep-research-prompt-{date}.md`
218
- - Optimized AI research prompt with context and instructions
219
-
220
- **Technical Research:**
221
-
222
- - `technical-research-{date}.md`
223
- - Technology evaluation with comparison matrix and ADR
224
-
225
- **Competitive Intelligence:**
226
-
227
- - `competitive-intelligence-{date}.md`
228
- - Detailed competitor analysis and positioning
229
-
230
- **User Research:**
231
-
232
- - `user-research-{date}.md`
233
- - Customer insights and persona documentation
234
-
235
- **Domain Research:**
236
-
237
- - `domain-research-{date}.md`
238
- - Industry deep dive with trends and best practices
239
-
240
- ## Requirements
241
-
242
- ### All Research Types
243
-
244
- - BMAD Core v6 project structure
245
- - Web search capability (for real-time research)
246
- - Access to research data sources
247
-
248
- ### Market Research
249
-
250
- - Product or business description
251
- - Target customer hypotheses (optional)
252
- - Known competitors list (optional)
253
-
254
- ### Deep Prompt Research
255
-
256
- - Research question or topic
257
- - Background context documents (optional)
258
- - Target AI platform preference (optional)
259
-
260
- ### Technical Research
261
-
262
- - Technical requirements document
263
- - Current architecture (if brownfield)
264
- - Technical constraints list
265
-
266
- ## Best Practices
267
-
268
- ### Before Starting
269
-
270
- 1. **Know Your Research Goal**: Select the most appropriate research type
271
- 2. **Gather Context**: Collect relevant documents before starting
272
- 3. **Set Depth Level**: Choose appropriate research_depth (quick/standard/comprehensive)
273
- 4. **Define Success Criteria**: What decisions will this research inform?
274
-
275
- ### During Execution
276
-
277
- **Market Research:**
278
-
279
- - Provide specific product/service details
280
- - Validate market boundaries carefully
281
- - Review TAM/SAM/SOM assumptions
282
- - Challenge competitive positioning
283
-
284
- **Deep Prompt Generation:**
285
-
286
- - Be specific about research platform target
287
- - Provide rich context documents
288
- - Clarify expected research outcome
289
- - Define iteration strategy
290
-
291
- **Technical Research:**
292
-
293
- - List all evaluation criteria upfront
294
- - Weight criteria by importance
295
- - Consider long-term implications
296
- - Include cost analysis
297
-
298
- ### After Completion
299
-
300
- 1. Review using the validation checklist
301
- 2. Update with any missing information
302
- 3. Share with stakeholders for feedback
303
- 4. Schedule follow-up research if needed
304
- 5. Document decisions made based on research
305
-
306
- ## Research Frameworks Available
307
-
308
- ### Market Research Frameworks
309
-
310
- - TAM/SAM/SOM Analysis
311
- - Porter's Five Forces
312
- - Jobs-to-be-Done (JTBD)
313
- - Technology Adoption Lifecycle
314
- - SWOT Analysis
315
- - Value Chain Analysis
316
-
317
- ### Technical Research Frameworks
318
-
319
- - Trade-off Analysis Matrix
320
- - Architecture Decision Records (ADR)
321
- - Technology Radar
322
- - Comparison Matrix
323
- - Cost-Benefit Analysis
324
- - Technical Risk Assessment
325
-
326
- ### Deep Prompt Frameworks
327
-
328
- - ChatGPT Deep Research Best Practices
329
- - Gemini Deep Research Framework
330
- - Grok DeepSearch Optimization
331
- - Claude Projects Methodology
332
- - Iterative Prompt Refinement
333
-
334
- ## Data Sources
335
-
336
- The workflow leverages multiple data sources:
337
-
338
- - Industry reports and publications
339
- - Government statistics and databases
340
- - Financial reports and SEC filings
341
- - News articles and press releases
342
- - Academic research papers
343
- - Technical documentation and RFCs
344
- - GitHub repositories and discussions
345
- - Stack Overflow and developer forums
346
- - Market research firm reports
347
- - Social media and communities
348
- - Patent databases
349
- - Benchmarking studies
350
-
351
- ## Claude Code Enhancements
352
-
353
- ### Available Subagents
354
-
355
- 1. **bmm-market-researcher** - Market intelligence gathering
356
- 2. **bmm-trend-spotter** - Emerging trends and weak signals
357
- 3. **bmm-data-analyst** - Quantitative analysis and modeling
358
- 4. **bmm-competitor-analyzer** - Competitive intelligence
359
- 5. **bmm-user-researcher** - Customer insights and personas
360
- 6. **bmm-technical-evaluator** - Technology assessment
361
-
362
- These are automatically invoked during workflow execution if Claude Code integration is configured.
363
-
364
- ## Troubleshooting
365
-
366
- ### Issue: Don't know which research type to choose
367
-
368
- - **Solution**: Start with research question - "What do I need to know?"
369
- - Market viability? → `market`
370
- - Best technology? → `technical`
371
- - Need AI to research deeper? → `deep_prompt`
372
- - Who are competitors? → `competitive`
373
- - Who are users? → `user`
374
- - Industry understanding? → `domain`
375
-
376
- ### Issue: Market research results seem incomplete
377
-
378
- - **Solution**: Increase research_depth to `comprehensive`
379
- - **Check**: Enable web_research in workflow.yaml
380
- - **Try**: Run competitive and user research separately for more depth
381
-
382
- ### Issue: Deep prompt doesn't work with target platform
383
-
384
- - **Solution**: Review platform-specific best practices in generated prompt
385
- - **Check**: Ensure context documents are included
386
- - **Try**: Regenerate with different platform selection
387
-
388
- ### Issue: Technical comparison is subjective
389
-
390
- - **Solution**: Add more objective criteria (performance metrics, cost, community size)
391
- - **Check**: Weight criteria by business importance
392
- - **Try**: Run pilot implementations for top 2 options
393
-
394
- ## Customization
395
-
396
- ### Adding New Research Types
397
-
398
- 1. Create new instructions file: `instructions-{type}.md`
399
- 2. Create new template file: `template-{type}.md`
400
- 3. Add research type to `workflow.yaml` `research_types` section
401
- 4. Update router logic in `instructions-router.md`
402
-
403
- ### Modifying Existing Research Types
404
-
405
- 1. Edit appropriate `instructions-{type}.md` file
406
- 2. Update corresponding `template-{type}.md` if needed
407
- 3. Adjust validation criteria in `checklist.md`
408
-
409
- ### Creating Custom Frameworks
410
-
411
- Add to `workflow.yaml` `frameworks` section under appropriate research type.
412
-
413
- ## Version History
414
-
415
- - **v2.0.0** - Multi-type research system with router architecture
416
- - Added deep_prompt research type for AI research platform optimization
417
- - Added technical research type for technology evaluation
418
- - Consolidated competitive, user, domain under market with focus variants
419
- - Router-based instruction loading
420
- - Template selection by research type
421
- - Enhanced Claude Code subagent support
422
-
423
- - **v1.0.0** - Initial market research only implementation
424
- - Single-purpose market research workflow
425
- - Now deprecated in favor of v2.0.0 multi-type system
426
-
427
- ## Support
428
-
429
- For issues or questions:
430
-
431
- - Review workflow creation guide at `/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md`
432
- - Check validation against `checklist.md`
433
- - Examine router logic in `instructions-router.md`
434
- - Review research type-specific instructions
435
- - Consult BMAD Method v6 documentation
436
-
437
- ## Migration from v1.0 market-research
438
-
439
- If you're used to the standalone `market-research` workflow:
440
-
441
- ```bash
442
- # Old way
443
- workflow market-research
444
-
445
- # New way
446
- workflow research --type market
447
- # Or just: workflow research (then select market)
448
- ```
449
-
450
- All market research functionality is preserved and enhanced in v2.0.0.
451
-
452
- ---
453
-
454
- _Part of the BMad Method v6 - BMM (BMad Method) Module - Empowering systematic research and analysis_
@@ -1,258 +0,0 @@
1
- ---
2
- last-redoc-date: 2025-10-01
3
- ---
4
-
5
- # Project Planning Workflow (Phase 2)
6
-
7
- The Phase 2 Planning workflow is **scale-adaptive**, meaning it automatically determines the right level of planning documentation based on project complexity (Levels 0-4). This ensures planning overhead matches project value—from minimal tech specs for bug fixes to comprehensive PRDs for enterprise platforms.
8
-
9
- ## Scale-Adaptive Flow (Levels 0-4)
10
-
11
- The workflow routes to different planning approaches based on project level:
12
-
13
- ### Level 0 - Single File Change / Bug Fix
14
-
15
- **Planning:** Tech-spec only (lightweight implementation plan)
16
- **Output:** `tech-spec.md` with single story
17
- **Next Phase:** Direct to implementation (Phase 4)
18
-
19
- ### Level 1 - Small Feature (1-3 files, 2-5 stories)
20
-
21
- **Planning:** Tech-spec only (implementation-focused)
22
- **Output:** `tech-spec.md` with epic breakdown and stories
23
- **Next Phase:** Direct to implementation (Phase 4)
24
-
25
- ### Level 2 - Feature Set / Small Project (5-15 stories, 1-2 epics)
26
-
27
- **Planning:** PRD (product-focused) + Tech-spec (technical planning)
28
- **Output:** `PRD.md`, `epics.md`, `tech-spec.md`
29
- **Next Phase:** Tech-spec workflow (lightweight solutioning), then implementation (Phase 4)
30
- **Note:** Level 2 uses tech-spec instead of full architecture to keep planning lightweight
31
-
32
- ### Level 3 - Medium Project (15-40 stories, 2-5 epics)
33
-
34
- **Planning:** PRD (strategic product document)
35
- **Output:** `PRD.md`, `epics.md`
36
- **Next Phase:** create-architecture workflow (Phase 3), then implementation (Phase 4)
37
-
38
- ### Level 4 - Large/Enterprise Project (40-100+ stories, 5-10 epics)
39
-
40
- **Planning:** PRD (comprehensive product specification)
41
- **Output:** `PRD.md`, `epics.md`
42
- **Next Phase:** create-architecture workflow (Phase 3), then implementation (Phase 4)
43
-
44
- **Critical Distinction:**
45
-
46
- - **Levels 0-1:** No PRD, tech-spec only
47
- - **Level 2:** PRD + tech-spec (skips full architecture)
48
- - **Levels 3-4:** PRD → full create-architecture workflow
49
-
50
- Critical to v6's flow improvement is this workflow's integration with the bmm-workflow-status.md tracking document, which maintains project state across sessions, tracks which agents participate in each phase, and provides continuity for multi-session planning efforts. The workflow can resume from any point, intelligently detecting existing artifacts and determining next steps without redundant work. For UX-heavy projects, it can generate standalone UX specifications or AI frontend prompts from existing specs.
51
-
52
- ## Key Features
53
-
54
- - **Scale-adaptive planning** - Automatically determines output based on project complexity
55
- - **Intelligent routing** - Uses router system to load appropriate instruction sets
56
- - **Continuation support** - Can resume from previous sessions and handle incremental work
57
- - **Multi-level outputs** - Supports 5 project levels (0-4) with appropriate artifacts
58
- - **Input integration** - Leverages product briefs and market research when available
59
- - **Template-driven** - Uses validated templates for consistent output structure
60
-
61
- ### Configuration
62
-
63
- The workflow adapts automatically based on project assessment, but key configuration options include:
64
-
65
- - **scale_parameters**: Defines story/epic counts for each project level
66
- - **output_folder**: Where all generated documents are stored
67
- - **project_name**: Used in document names and templates
68
-
69
- ## Workflow Structure
70
-
71
- ### Files Included
72
-
73
- ```
74
- 2-plan-workflows/
75
- ├── README.md # Overview and usage details
76
- ├── checklist.md # Shared validation criteria
77
- ├── prd/
78
- │ ├── epics-template.md # Epic breakdown template
79
- │ ├── instructions.md # Level 2-4 PRD instructions
80
- │ ├── prd-template.md # Product Requirements Document template
81
- │ └── workflow.yaml
82
- ├── tech-spec/
83
- │ ├── epics-template.md # Epic-to-story handoff template
84
- │ ├── instructions-level0-story.md
85
- │ ├── instructions-level1-stories.md
86
- │ ├── instructions.md # Level 0-1 tech-spec instructions
87
- │ ├── tech-spec-template.md # Technical Specification template
88
- │ ├── user-story-template.md # Story template for Level 0/1
89
- │ └── workflow.yaml
90
- ├── gdd/
91
- │ ├── instructions-gdd.md # Game Design Document instructions
92
- │ ├── gdd-template.md # GDD template
93
- │ ├── game-types.csv # Genre catalog
94
- │ ├── game-types/ # Genre-specific templates
95
- │ └── workflow.yaml
96
- ├── narrative/
97
- │ ├── instructions-narrative.md # Narrative design instructions
98
- │ ├── narrative-template.md # Narrative planning template
99
- │ └── workflow.yaml
100
- └── create-ux-design/
101
- ├── instructions.md # UX design instructions
102
- ├── ux-design-template.md # UX design template
103
- ├── checklist.md # UX design validation checklist
104
- └── workflow.yaml
105
- ```
106
-
107
- ## Workflow Process
108
-
109
- ### Phase 1: Assessment and Routing (Steps 1-5)
110
-
111
- - **Project Analysis**: Determines project type (greenfield/brownfield/legacy)
112
- - **Scope Assessment**: Classifies into 5 levels based on complexity
113
- - **Document Discovery**: Identifies existing inputs and documentation
114
- - **Workflow Routing**: Loads appropriate instruction set based on level
115
- - **Continuation Handling**: Resumes from previous work when applicable
116
-
117
- ### Phase 2: Level-Specific Planning (Steps vary by level)
118
-
119
- **Level 0 (Single File Change / Bug Fix)**:
120
-
121
- - Tech-spec only workflow
122
- - Single story implementation plan
123
- - Direct to Phase 4 (implementation)
124
-
125
- **Level 1 (Small Feature)**:
126
-
127
- - Tech-spec only workflow
128
- - Epic breakdown with 2-5 stories
129
- - Direct to Phase 4 (implementation)
130
-
131
- **Level 2 (Feature Set / Small Project)**:
132
-
133
- - PRD workflow (strategic product document)
134
- - Generates `PRD.md` and `epics.md`
135
- - Then runs tech-spec workflow (lightweight solutioning)
136
- - Then to Phase 4 (implementation)
137
-
138
- **Level 3-4 (Medium to Enterprise Projects)**:
139
-
140
- - PRD workflow (comprehensive product specification)
141
- - Generates `PRD.md` and `epics.md`
142
- - Hands off to Phase 3 (create-architecture workflow)
143
- - Full architecture design before implementation
144
-
145
- ### Phase 3: Validation and Handoff (Final steps)
146
-
147
- - **Document Review**: Validates outputs against checklists
148
- - **Architect Preparation**: For Level 3-4, prepares handoff materials
149
- - **Next Steps**: Provides guidance for development phase
150
-
151
- ## Output
152
-
153
- ### Generated Files
154
-
155
- - **Primary output**: PRD.md (except Level 0), tech-spec.md, bmm-workflow-status.md
156
- - **Supporting files**: epics.md (Level 2-4), PRD-validation-report.md (if validation run)
157
-
158
- ### Output Structure by Level
159
-
160
- **Level 0 - Tech Spec Only**:
161
-
162
- - `tech-spec.md` - Single story implementation plan
163
- - Direct to implementation
164
-
165
- **Level 1 - Tech Spec with Epic Breakdown**:
166
-
167
- - `tech-spec.md` - Epic breakdown with 2-5 stories
168
- - Direct to implementation
169
-
170
- **Level 2 - PRD + Tech Spec**:
171
-
172
- - `PRD.md` - Strategic product document (goals, requirements, user journeys, UX principles, UI goals, epic list, scope)
173
- - `epics.md` - Tactical implementation roadmap (detailed story breakdown)
174
- - `tech-spec.md` - Lightweight technical planning (generated after PRD)
175
- - Then to implementation
176
-
177
- **Level 3-4 - PRD + Full Architecture**:
178
-
179
- - `PRD.md` - Comprehensive product specification
180
- - `epics.md` - Complete epic/story breakdown
181
- - Hands off to create-architecture workflow (Phase 3)
182
- - `architecture.md` - Generated by architect workflow
183
- - Then to implementation
184
-
185
- ## Requirements
186
-
187
- - **Input Documents**: Product brief and/or market research (recommended but not required)
188
- - **Project Configuration**: Valid config.yaml with project_name and output_folder
189
- - **Assessment Readiness**: Clear understanding of project scope and objectives
190
-
191
- ## Best Practices
192
-
193
- ### Before Starting
194
-
195
- 1. **Gather Context**: Collect any existing product briefs, market research, or requirements
196
- 2. **Define Scope**: Have a clear sense of project boundaries and complexity
197
- 3. **Prepare Stakeholders**: Ensure key stakeholders are available for input if needed
198
-
199
- ### During Execution
200
-
201
- 1. **Be Honest About Scope**: Accurate assessment ensures appropriate planning depth
202
- 2. **Leverage Existing Work**: Reference previous documents and avoid duplication
203
- 3. **Think Incrementally**: Remember that planning can evolve - start with what you know
204
-
205
- ### After Completion
206
-
207
- 1. **Validate Against Checklist**: Use included validation criteria to ensure completeness
208
- 2. **Share with Stakeholders**: Distribute appropriate documents to relevant team members
209
- 3. **Prepare for Architecture**: For Level 3-4 projects, ensure architect has complete context
210
-
211
- ## Troubleshooting
212
-
213
- ### Common Issues
214
-
215
- **Issue**: Workflow creates wrong level of documentation
216
-
217
- - **Solution**: Review project assessment and restart with correct scope classification
218
- - **Check**: Verify the bmm-workflow-status.md reflects actual project complexity
219
-
220
- **Issue**: Missing input documents cause incomplete planning
221
-
222
- - **Solution**: Gather recommended inputs or proceed with manual context gathering
223
- - **Check**: Ensure critical business context is captured even without formal documents
224
-
225
- **Issue**: Continuation from previous session fails
226
-
227
- - **Solution**: Check for existing bmm-workflow-status.md and ensure output folder is correct
228
- - **Check**: Verify previous session completed at a valid checkpoint
229
-
230
- ## Customization
231
-
232
- To customize this workflow:
233
-
234
- 1. **Modify Assessment Logic**: Update instructions-router.md to adjust level classification
235
- 2. **Adjust Templates**: Customize PRD, tech-spec, or epic templates for organizational needs
236
- 3. **Add Validation**: Extend checklist.md with organization-specific quality criteria
237
- 4. **Configure Outputs**: Modify workflow.yaml to change file naming or structure
238
-
239
- ## Version History
240
-
241
- - **v6.0.0** - Scale-adaptive architecture with intelligent routing
242
- - Multi-level project support (0-4)
243
- - Continuation and resumption capabilities
244
- - Template-driven output generation
245
- - Input document integration
246
-
247
- ## Support
248
-
249
- For issues or questions:
250
-
251
- - Review the workflow creation guide at `/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md`
252
- - Validate output using `checklist.md`
253
- - Consult project assessment in `bmm-workflow-status.md`
254
- - Check continuation status in existing output documents
255
-
256
- ---
257
-
258
- _Part of the BMad Method v6 - BMM (Method) Module_