bmad-method 4.27.5 → 5.0.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 (274) 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 → .bmad-core}/agents/analyst.md +23 -30
  5. package/.bmad-core/agents/architect.md +66 -0
  6. package/.bmad-core/agents/bmad-master.md +104 -0
  7. package/.bmad-core/agents/bmad-orchestrator.md +81 -0
  8. package/.bmad-core/agents/dev.md +70 -0
  9. package/{bmad-core → .bmad-core}/agents/pm.md +24 -25
  10. package/{bmad-core → .bmad-core}/agents/po.md +24 -28
  11. package/.bmad-core/agents/qa.md +52 -0
  12. package/.bmad-core/agents/sm.md +55 -0
  13. package/.bmad-core/agents/ux-expert.md +66 -0
  14. package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
  15. package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
  16. package/.bmad-core/data/bmad-kb.md +47 -0
  17. package/.bmad-core/schemas/agent-team-schema.yml +153 -0
  18. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  19. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  20. package/.bmad-core/tasks/core-dump.md +74 -0
  21. package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
  22. package/.bmad-core/tasks/create-doc.md +74 -0
  23. package/.bmad-core/tasks/create-expansion-pack.md +425 -0
  24. package/.bmad-core/tasks/create-next-story.md +206 -0
  25. package/.bmad-core/tasks/create-team.md +229 -0
  26. package/{bmad-core → .bmad-core}/tasks/doc-migration-task.md +9 -9
  27. package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
  28. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
  29. package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
  30. package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
  31. package/.bmad-core/templates/agent-tmpl.md +58 -0
  32. package/.bmad-core/templates/architecture-tmpl.md +771 -0
  33. package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
  34. package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
  35. package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
  36. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
  37. package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
  38. package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
  39. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1016 -0
  40. package/.bmad-core/templates/market-research-tmpl.md +261 -0
  41. package/.bmad-core/templates/prd-tmpl.md +200 -0
  42. package/.bmad-core/templates/project-brief-tmpl.md +228 -0
  43. package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
  44. package/.bmad-core/templates/story-tmpl.md +61 -0
  45. package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
  46. package/.bmad-core/utils/agent-switcher.ide.md +112 -0
  47. package/.bmad-core/utils/template-format.md +26 -0
  48. package/.bmad-core/utils/workflow-management.md +224 -0
  49. package/.bmad-core/web-bundles/agents/analyst.txt +1684 -0
  50. package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
  51. package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
  52. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
  53. package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
  54. package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
  55. package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
  56. package/.bmad-core/web-bundles/agents/qa.txt +129 -0
  57. package/.bmad-core/web-bundles/agents/sm.txt +658 -0
  58. package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
  59. package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
  60. package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
  61. package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -0
  62. package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
  63. package/.bmad-core/workflows/brownfield-service.yml +117 -0
  64. package/.bmad-core/workflows/brownfield-ui.yml +127 -0
  65. package/{bmad-core/workflows/greenfield-fullstack.yaml → .bmad-core/workflows/greenfield-fullstack.yml} +77 -140
  66. package/.bmad-core/workflows/greenfield-service.yml +143 -0
  67. package/.bmad-core/workflows/greenfield-ui.yml +172 -0
  68. package/.claude/commands/analyst.md +63 -0
  69. package/.claude/commands/architect.md +70 -0
  70. package/.claude/commands/bmad-master.md +108 -0
  71. package/.claude/commands/bmad-orchestrator.md +85 -0
  72. package/.claude/commands/dev.md +74 -0
  73. package/.claude/commands/pm.md +63 -0
  74. package/.claude/commands/po.md +64 -0
  75. package/.claude/commands/qa.md +56 -0
  76. package/.claude/commands/sm.md +59 -0
  77. package/.claude/commands/ux-expert.md +70 -0
  78. package/.cursor/rules/analyst.mdc +77 -0
  79. package/.cursor/rules/architect.mdc +84 -0
  80. package/.cursor/rules/bmad-master.mdc +122 -0
  81. package/.cursor/rules/bmad-orchestrator.mdc +99 -0
  82. package/.cursor/rules/dev.mdc +88 -0
  83. package/.cursor/rules/pm.mdc +77 -0
  84. package/.cursor/rules/po.mdc +78 -0
  85. package/.cursor/rules/qa.mdc +70 -0
  86. package/.cursor/rules/sm.mdc +73 -0
  87. package/.cursor/rules/ux-expert.mdc +84 -0
  88. package/.roo/.roomodes +95 -0
  89. package/.roo/README.md +38 -0
  90. package/.vscode/extensions.json +6 -0
  91. package/.vscode/settings.json +75 -49
  92. package/.windsurf/rules/analyst.md +71 -0
  93. package/.windsurf/rules/architect.md +78 -0
  94. package/.windsurf/rules/bmad-master.md +116 -0
  95. package/.windsurf/rules/bmad-orchestrator.md +93 -0
  96. package/.windsurf/rules/dev.md +82 -0
  97. package/.windsurf/rules/pm.md +71 -0
  98. package/.windsurf/rules/po.md +72 -0
  99. package/.windsurf/rules/qa.md +64 -0
  100. package/.windsurf/rules/sm.md +67 -0
  101. package/.windsurf/rules/ux-expert.md +78 -0
  102. package/CHANGELOG.md +16 -452
  103. package/CONTRIBUTING.md +5 -168
  104. package/LICENSE +1 -1
  105. package/README.md +230 -77
  106. package/docs/bmad-workflow-guide.md +15 -19
  107. package/docs/claude-code-guide.md +119 -0
  108. package/docs/cursor-guide.md +127 -0
  109. package/docs/roo-code-guide.md +140 -0
  110. package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
  111. package/docs/versioning-and-releases.md +16 -8
  112. package/docs/versions.md +5 -4
  113. package/docs/windsurf-guide.md +127 -0
  114. package/expansion-packs/README.md +112 -2
  115. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
  116. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -15
  117. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
  118. package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
  119. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
  120. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
  121. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
  122. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  123. package/package.json +11 -19
  124. package/tools/bmad-npx-wrapper.js +1 -1
  125. package/tools/builders/web-builder.js +28 -563
  126. package/tools/cli.js +22 -55
  127. package/tools/installer/README.md +53 -3
  128. package/tools/installer/bin/bmad.js +56 -294
  129. package/tools/installer/config/install.config.yml +139 -0
  130. package/tools/installer/lib/config-loader.js +34 -198
  131. package/tools/installer/lib/file-manager.js +5 -123
  132. package/tools/installer/lib/ide-setup.js +189 -545
  133. package/tools/installer/lib/installer.js +55 -1136
  134. package/tools/installer/package-lock.json +3 -3
  135. package/tools/installer/package.json +4 -4
  136. package/tools/installer/templates/claude-commands.md +7 -0
  137. package/tools/installer/templates/cursor-rules.md +22 -0
  138. package/tools/installer/templates/windsurf-rules.md +22 -0
  139. package/tools/lib/dependency-resolver.js +22 -22
  140. package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
  141. package/tools/version-bump.js +1 -1
  142. package/tools/yaml-format.js +2 -2
  143. package/.github/FUNDING.yaml +0 -15
  144. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  145. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  146. package/.prettierignore +0 -21
  147. package/.prettierrc +0 -23
  148. package/bmad-core/agent-teams/team-all.yaml +0 -14
  149. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  150. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  151. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  152. package/bmad-core/agents/architect.md +0 -63
  153. package/bmad-core/agents/bmad-master.md +0 -110
  154. package/bmad-core/agents/bmad-orchestrator.md +0 -140
  155. package/bmad-core/agents/dev.md +0 -57
  156. package/bmad-core/agents/qa.md +0 -55
  157. package/bmad-core/agents/sm.md +0 -46
  158. package/bmad-core/agents/ux-expert.md +0 -54
  159. package/bmad-core/core-config.yaml +0 -25
  160. package/bmad-core/data/bmad-kb.md +0 -803
  161. package/bmad-core/data/brainstorming-techniques.md +0 -36
  162. package/bmad-core/data/elicitation-methods.md +0 -134
  163. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  164. package/bmad-core/tasks/create-brownfield-story.md +0 -355
  165. package/bmad-core/tasks/create-next-story.md +0 -114
  166. package/bmad-core/tasks/create-workflow-plan.md +0 -289
  167. package/bmad-core/tasks/document-project.md +0 -317
  168. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  169. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  170. package/bmad-core/tasks/kb-mode-interaction.md +0 -70
  171. package/bmad-core/tasks/review-story.md +0 -145
  172. package/bmad-core/tasks/update-workflow-plan.md +0 -248
  173. package/bmad-core/tasks/validate-next-story.md +0 -134
  174. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  175. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  176. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  177. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  178. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  179. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  180. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  181. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  182. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  183. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  184. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  185. package/bmad-core/templates/story-tmpl.yaml +0 -137
  186. package/bmad-core/utils/plan-management.md +0 -219
  187. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  188. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  189. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  190. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  191. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  192. package/common/tasks/create-doc.md +0 -79
  193. package/common/utils/bmad-doc-template.md +0 -325
  194. package/common/utils/workflow-management.md +0 -69
  195. package/dist/agents/analyst.txt +0 -2849
  196. package/dist/agents/architect.txt +0 -3505
  197. package/dist/agents/bmad-master.txt +0 -9588
  198. package/dist/agents/bmad-orchestrator.txt +0 -2232
  199. package/dist/agents/qa.txt +0 -388
  200. package/dist/agents/sm.txt +0 -673
  201. package/dist/agents/ux-expert.txt +0 -987
  202. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
  203. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
  204. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
  205. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11730
  206. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
  207. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
  208. package/dist/teams/team-all.txt +0 -11799
  209. package/dist/teams/team-fullstack.txt +0 -11129
  210. package/dist/teams/team-ide-minimal.txt +0 -4573
  211. package/dist/teams/team-no-ui.txt +0 -9684
  212. package/docs/GUIDING-PRINCIPLES.md +0 -91
  213. package/docs/agentic-tools/claude-code-guide.md +0 -19
  214. package/docs/agentic-tools/cline-guide.md +0 -16
  215. package/docs/agentic-tools/cursor-guide.md +0 -14
  216. package/docs/agentic-tools/gemini-cli-guide.md +0 -32
  217. package/docs/agentic-tools/github-copilot-guide.md +0 -42
  218. package/docs/agentic-tools/roo-code-guide.md +0 -15
  219. package/docs/agentic-tools/trae-guide.md +0 -14
  220. package/docs/agentic-tools/windsurf-guide.md +0 -14
  221. package/docs/core-architecture.md +0 -219
  222. package/docs/expansion-packs.md +0 -280
  223. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  224. package/docs/template-markup-references.md +0 -86
  225. package/docs/user-guide.md +0 -1142
  226. package/docs/working-in-the-brownfield.md +0 -361
  227. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  228. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -60
  229. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -68
  230. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -53
  231. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  232. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  233. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
  234. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  235. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  236. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  237. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  238. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  239. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  240. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  241. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  242. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  243. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  244. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  245. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  246. package/expansion-packs/bmad-creator-tools/README.md +0 -8
  247. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -55
  248. package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
  249. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
  250. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
  251. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
  252. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
  253. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
  254. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  255. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  256. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  257. package/tools/bump-all-versions.js +0 -107
  258. package/tools/bump-core-version.js +0 -57
  259. package/tools/bump-expansion-version.js +0 -78
  260. package/tools/installer/config/ide-agent-config.yaml +0 -58
  261. package/tools/installer/config/install.config.yaml +0 -91
  262. package/tools/lib/yaml-utils.js +0 -29
  263. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  264. package/tools/update-expansion-version.js +0 -54
  265. /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
  266. /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
  267. /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
  268. /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
  269. /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
  270. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
  271. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
  272. /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
  273. /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  274. /package/.github/workflows/{release.yaml → release.yml} +0 -0
@@ -0,0 +1,261 @@
1
+ # Market Research Report: {{Project/Product Name}}
2
+
3
+ [[LLM: This template guides the creation of a comprehensive market research report. Begin by understanding what market insights the user needs and why. Work through each section systematically, using the appropriate analytical frameworks based on the research objectives.]]
4
+
5
+ ## Executive Summary
6
+
7
+ {{Provide a high-level overview of key findings, market opportunity assessment, and strategic recommendations. Write this section LAST after completing all other sections.}}
8
+
9
+ ## Research Objectives & Methodology
10
+
11
+ ### Research Objectives
12
+
13
+ {{List the primary objectives of this market research:
14
+
15
+ - What decisions will this research inform?
16
+ - What specific questions need to be answered?
17
+ - What are the success criteria for this research?}}
18
+
19
+ ### Research Methodology
20
+
21
+ {{Describe the research approach:
22
+
23
+ - Data sources used (primary/secondary)
24
+ - Analysis frameworks applied
25
+ - Data collection timeframe
26
+ - Limitations and assumptions}}
27
+
28
+ ## Market Overview
29
+
30
+ ### Market Definition
31
+
32
+ {{Define the market being analyzed:
33
+
34
+ - Product/service category
35
+ - Geographic scope
36
+ - Customer segments included
37
+ - Value chain position}}
38
+
39
+ ### Market Size & Growth
40
+
41
+ [[LLM: Guide through TAM, SAM, SOM calculations with clear assumptions. Use one or more approaches:
42
+
43
+ - Top-down: Start with industry data, narrow down
44
+ - Bottom-up: Build from customer/unit economics
45
+ - Value theory: Based on value provided vs. alternatives]]
46
+
47
+ #### Total Addressable Market (TAM)
48
+
49
+ {{Calculate and explain the total market opportunity}}
50
+
51
+ #### Serviceable Addressable Market (SAM)
52
+
53
+ {{Define the portion of TAM you can realistically reach}}
54
+
55
+ #### Serviceable Obtainable Market (SOM)
56
+
57
+ {{Estimate the portion you can realistically capture}}
58
+
59
+ ### Market Trends & Drivers
60
+
61
+ [[LLM: Analyze key trends shaping the market using appropriate frameworks like PESTEL]]
62
+
63
+ #### Key Market Trends
64
+
65
+ {{List and explain 3-5 major trends:
66
+
67
+ - Trend 1: Description and impact
68
+ - Trend 2: Description and impact
69
+ - etc.}}
70
+
71
+ #### Growth Drivers
72
+
73
+ {{Identify primary factors driving market growth}}
74
+
75
+ #### Market Inhibitors
76
+
77
+ {{Identify factors constraining market growth}}
78
+
79
+ ## Customer Analysis
80
+
81
+ ### Target Segment Profiles
82
+
83
+ [[LLM: For each segment, create detailed profiles including demographics/firmographics, psychographics, behaviors, needs, and willingness to pay]]
84
+
85
+ #### Segment 1: {{Segment Name}}
86
+
87
+ - **Description:** {{Brief overview}}
88
+ - **Size:** {{Number of customers/market value}}
89
+ - **Characteristics:** {{Key demographics/firmographics}}
90
+ - **Needs & Pain Points:** {{Primary problems they face}}
91
+ - **Buying Process:** {{How they make purchasing decisions}}
92
+ - **Willingness to Pay:** {{Price sensitivity and value perception}}
93
+
94
+ <<REPEAT for each additional segment>>
95
+
96
+ ### Jobs-to-be-Done Analysis
97
+
98
+ [[LLM: Uncover what customers are really trying to accomplish]]
99
+
100
+ #### Functional Jobs
101
+
102
+ {{List practical tasks and objectives customers need to complete}}
103
+
104
+ #### Emotional Jobs
105
+
106
+ {{Describe feelings and perceptions customers seek}}
107
+
108
+ #### Social Jobs
109
+
110
+ {{Explain how customers want to be perceived by others}}
111
+
112
+ ### Customer Journey Mapping
113
+
114
+ [[LLM: Map the end-to-end customer experience for primary segments]]
115
+
116
+ {{For primary customer segment:
117
+
118
+ 1. **Awareness:** How they discover solutions
119
+ 2. **Consideration:** Evaluation criteria and process
120
+ 3. **Purchase:** Decision triggers and barriers
121
+ 4. **Onboarding:** Initial experience expectations
122
+ 5. **Usage:** Ongoing interaction patterns
123
+ 6. **Advocacy:** Referral and expansion behaviors}}
124
+
125
+ ## Competitive Landscape
126
+
127
+ ### Market Structure
128
+
129
+ {{Describe the overall competitive environment:
130
+
131
+ - Number of competitors
132
+ - Market concentration
133
+ - Competitive intensity}}
134
+
135
+ ### Major Players Analysis
136
+
137
+ {{For top 3-5 competitors:
138
+
139
+ - Company name and brief description
140
+ - Market share estimate
141
+ - Key strengths and weaknesses
142
+ - Target customer focus
143
+ - Pricing strategy}}
144
+
145
+ ### Competitive Positioning
146
+
147
+ {{Analyze how competitors are positioned:
148
+
149
+ - Value propositions
150
+ - Differentiation strategies
151
+ - Market gaps and opportunities}}
152
+
153
+ ## Industry Analysis
154
+
155
+ ### Porter's Five Forces Assessment
156
+
157
+ [[LLM: Analyze each force with specific evidence and implications]]
158
+
159
+ #### Supplier Power: {{Low/Medium/High}}
160
+
161
+ {{Analysis and implications}}
162
+
163
+ #### Buyer Power: {{Low/Medium/High}}
164
+
165
+ {{Analysis and implications}}
166
+
167
+ #### Competitive Rivalry: {{Low/Medium/High}}
168
+
169
+ {{Analysis and implications}}
170
+
171
+ #### Threat of New Entry: {{Low/Medium/High}}
172
+
173
+ {{Analysis and implications}}
174
+
175
+ #### Threat of Substitutes: {{Low/Medium/High}}
176
+
177
+ {{Analysis and implications}}
178
+
179
+ ### Technology Adoption Lifecycle Stage
180
+
181
+ {{Identify where the market is in the adoption curve:
182
+
183
+ - Current stage and evidence
184
+ - Implications for strategy
185
+ - Expected progression timeline}}
186
+
187
+ ## Opportunity Assessment
188
+
189
+ ### Market Opportunities
190
+
191
+ [[LLM: Identify specific opportunities based on the analysis]]
192
+
193
+ #### Opportunity 1: {{Name}}
194
+
195
+ - **Description:** {{What is the opportunity?}}
196
+ - **Size/Potential:** {{Quantify if possible}}
197
+ - **Requirements:** {{What's needed to capture it?}}
198
+ - **Risks:** {{Key challenges or barriers}}
199
+
200
+ <<REPEAT for additional opportunities>>
201
+
202
+ ### Strategic Recommendations
203
+
204
+ #### Go-to-Market Strategy
205
+
206
+ {{Recommend approach for market entry/expansion:
207
+
208
+ - Target segment prioritization
209
+ - Positioning strategy
210
+ - Channel strategy
211
+ - Partnership opportunities}}
212
+
213
+ #### Pricing Strategy
214
+
215
+ {{Based on willingness to pay analysis and competitive landscape:
216
+
217
+ - Recommended pricing model
218
+ - Price points/ranges
219
+ - Value metric
220
+ - Competitive positioning}}
221
+
222
+ #### Risk Mitigation
223
+
224
+ {{Key risks and mitigation strategies:
225
+
226
+ - Market risks
227
+ - Competitive risks
228
+ - Execution risks
229
+ - Regulatory/compliance risks}}
230
+
231
+ ## Appendices
232
+
233
+ ### A. Data Sources
234
+
235
+ {{List all sources used in the research}}
236
+
237
+ ### B. Detailed Calculations
238
+
239
+ {{Include any complex calculations or models}}
240
+
241
+ ### C. Additional Analysis
242
+
243
+ {{Any supplementary analysis not included in main body}}
244
+
245
+ ---
246
+
247
+ [[LLM: After completing the document, offer advanced elicitation with these custom options for market research:
248
+
249
+ **Market Research Elicitation Actions** 0. Expand market sizing calculations with sensitivity analysis
250
+
251
+ 1. Deep dive into a specific customer segment
252
+ 2. Analyze an emerging market trend in detail
253
+ 3. Compare this market to an analogous market
254
+ 4. Stress test market assumptions
255
+ 5. Explore adjacent market opportunities
256
+ 6. Challenge market definition and boundaries
257
+ 7. Generate strategic scenarios (best/base/worst case)
258
+ 8. If only we had considered [X market factor]...
259
+ 9. Proceed to next section
260
+
261
+ These replace the standard elicitation options when working on market research documents.]]
@@ -0,0 +1,200 @@
1
+ # {{Project Name}} Product Requirements Document (PRD)
2
+
3
+ [[LLM: If available, review any provided document or ask if any are optionally available: Project Brief]]
4
+
5
+ ## Goals and Background Context
6
+
7
+ [[LLM: Populate the 2 child sections based on what we have received from user description or the provided brief. Allow user to review the 2 sections and offer changes before proceeding]]
8
+
9
+ ### Goals
10
+
11
+ [[LLM: Bullet list of 1 line desired outcomes the PRD will deliver if successful - user and project desires]]
12
+
13
+ ### Background Context
14
+
15
+ [[LLM: 1-2 short paragraphs summarizing the background context, such as what we learned in the brief without being redundant with the goals, what and why this solves a problem, what the current landscape or need is etc...]]
16
+
17
+ ### Change Log
18
+
19
+ [[LLM: Track document versions and changes]]
20
+
21
+ | Date | Version | Description | Author |
22
+ | :--- | :------ | :---------- | :----- |
23
+
24
+ ## Requirements
25
+
26
+ [[LLM: Draft the list of functional and non functional requirements under the two child sections, and immediately execute tasks#advanced-elicitation display]]
27
+
28
+ ### Functional
29
+
30
+ [[LLM: Each Requirement will be a bullet markdown and an identifier sequence starting with FR`.]]
31
+ @{example: - FR6: The Todo List uses AI to detect and warn against adding potentially duplicate todo items that are worded differently.}
32
+
33
+ ### Non Functional
34
+
35
+ [[LLM: Each Requirement will be a bullet markdown and an identifier sequence starting with NFR`.]]
36
+ @{example: - NFR1: AWS service usage **must** aim to stay within free-tier limits where feasible.}
37
+
38
+ ^^CONDITION: has_ui^^
39
+
40
+ ## User Interface Design Goals
41
+
42
+ [[LLM: Capture high-level UI/UX vision to guide Design Architect and to inform story creation. Steps:
43
+
44
+ 1. Pre-fill all subsections with educated guesses based on project context
45
+ 2. Present the complete rendered section to user
46
+ 3. Clearly let the user know where assumptions were made
47
+ 4. Ask targeted questions for unclear/missing elements or areas needing more specification
48
+ 5. This is NOT detailed UI spec - focus on product vision and user goals
49
+ 6. After section completion, immediately apply `tasks#advanced-elicitation` protocol]]
50
+
51
+ ### Overall UX Vision
52
+
53
+ ### Key Interaction Paradigms
54
+
55
+ ### Core Screens and Views
56
+
57
+ [[LLM: From a product perspective, what are the most critical screens or views necessary to deliver the the PRD values and goals? This is meant to be Conceptual High Level to Drive Rough Epic or User Stories]]
58
+
59
+ @{example}
60
+
61
+ - Login Screen
62
+ - Main Dashboard
63
+ - Item Detail Page
64
+ - Settings Page
65
+ @{/example}
66
+
67
+ ### Accessibility: { None, WCAG, etc }
68
+
69
+ ### Branding
70
+
71
+ [[LLM: Any known branding elements or style guides that must be incorporated?]]
72
+
73
+ @{example}
74
+
75
+ - Replicate the look and feel of early 1900s black and white cinema, including animated effects replicating film damage or projector glitches during page or state transitions.
76
+ - Attached is the full color pallet and tokens for our corporate branding.
77
+ @{/example}
78
+
79
+ ### Target Device and Platforms
80
+
81
+ @{example}
82
+ "Web Responsive, and all mobile platforms", "IPhone Only", "ASCII Windows Desktop"
83
+ @{/example}
84
+
85
+ ^^/CONDITION: has_ui^^
86
+
87
+ ## Technical Assumptions
88
+
89
+ [[LLM: Gather technical decisions that will guide the Architect. Steps:
90
+
91
+ 1. Check if `data#technical-preferences` file exists - use it to pre-populate choices
92
+ 2. Ask user about: languages, frameworks, starter templates, libraries, APIs, deployment targets
93
+ 3. For unknowns, offer guidance based on project goals and MVP scope
94
+ 4. Document ALL technical choices with rationale (why this choice fits the project)
95
+ 5. These become constraints for the Architect - be specific and complete
96
+ 6. After section completion, apply `tasks#advanced-elicitation` protocol.]]
97
+
98
+ ### Repository Structure: { Monorepo, Polyrepo, etc...}
99
+
100
+ ### Service Architecture
101
+
102
+ [[LLM: CRITICAL DECISION - Document the high-level service architecture (e.g., Monolith, Microservices, Serverless functions within a Monorepo).]]
103
+
104
+ ### Testing requirements
105
+
106
+ [[LLM: CRITICAL DECISION - Document the testing requirements, unit only, integration, e2e, manual, need for manual testing convenience methods).]]
107
+
108
+ ### Additional Technical Assumptions and Requests
109
+
110
+ [[LLM: Throughout the entire process of drafting this document, if any other technical assumptions are raised or discovered appropriate for the architect, add them here as additional bulleted items]]
111
+
112
+ ## Epics
113
+
114
+ [[LLM: First, present a high-level list of all epics for user approval, the epic_list and immediately execute tasks#advanced-elicitation display. Each epic should have a title and a short (1 sentence) goal statement. This allows the user to review the overall structure before diving into details.
115
+
116
+ CRITICAL: Epics MUST be logically sequential following agile best practices:
117
+
118
+ - Each epic should deliver a significant, end-to-end, fully deployable increment of testable functionality
119
+ - Epic 1 must establish foundational project infrastructure (app setup, Git, CI/CD, core services) unless we are adding new functionality to an existing app, while also delivering an initial piece of functionality, even as simple as a health-check route or display of a simple canary page
120
+ - Each subsequent epic builds upon previous epics' functionality delivering major blocks of functionality that provide tangible value to users or business when deployed
121
+ - Not every project needs multiple epics, an epic needs to deliver value. For example, an API completed can deliver value even if a UI is not complete and planned for a separate epic.
122
+ - Err on the side of less epics, but let the user know your rationale and offer options for splitting them if it seems some are too large or focused on disparate things.
123
+ - Cross Cutting Concerns should flow through epics and stories and not be final stories. For example, adding a logging framework as a last story of an epic, or at the end of a project as a final epic or story would be terrible as we would not have logging from the beginning.]]
124
+
125
+ <<REPEAT: epic_list>>
126
+
127
+ - Epic{{epic_number}} {{epic_title}}: {{short_goal}}
128
+
129
+ <</REPEAT>>
130
+
131
+ @{example: epic_list}
132
+
133
+ 1. Foundation & Core Infrastructure: Establish project setup, authentication, and basic user management
134
+ 2. Core Business Entities: Create and manage primary domain objects with CRUD operations
135
+ 3. User Workflows & Interactions: Enable key user journeys and business processes
136
+ 4. Reporting & Analytics: Provide insights and data visualization for users
137
+
138
+ @{/example}
139
+
140
+ [[LLM: After the epic list is approved, present each `epic_details` with all its stories and acceptance criteria as a complete review unit and immediately execute tasks#advanced-elicitation display, before moving on to the next epic.]]
141
+
142
+ <<REPEAT: epic_details>>
143
+
144
+ ## Epic {{epic_number}} {{epic_title}}
145
+
146
+ {{epic_goal}} [[LLM: Expanded goal - 2-3 sentences describing the objective and value all the stories will achieve]]
147
+
148
+ [[LLM: CRITICAL STORY SEQUENCING REQUIREMENTS:
149
+
150
+ - Stories within each epic MUST be logically sequential
151
+ - Each story should be a "vertical slice" delivering complete functionality
152
+ - No story should depend on work from a later story or epic
153
+ - Identify and note any direct prerequisite stories
154
+ - Focus on "what" and "why" not "how" (leave technical implementation to Architect) yet be precise enough to support a logical sequential order of operations from story to story.
155
+ - Ensure each story delivers clear user or business value, try to avoid enablers and build them into stories that deliver value.
156
+ - Size stories for AI agent execution: Each story must be completable by a single AI agent in one focused session without context overflow
157
+ - Think "junior developer working for 2-4 hours" - stories must be small, focused, and self-contained
158
+ - If a story seems complex, break it down further as long as it can deliver a vertical slice
159
+ - Each story should result in working, testable code before the agent's context window fills]]
160
+
161
+ <<REPEAT: story>>
162
+
163
+ ### Story {{epic_number}}.{{story_number}} {{story_title}}
164
+
165
+ As a {{user_type}},
166
+ I want {{action}},
167
+ so that {{benefit}}.
168
+
169
+ #### Acceptance Criteria
170
+
171
+ [[LLM: Define clear, comprehensive, and testable acceptance criteria that:
172
+
173
+ - Precisely define what "done" means from a functional perspective
174
+ - Are unambiguous and serve as basis for verification
175
+ - Include any critical non-functional requirements from the PRD
176
+ - Consider local testability for backend/data components
177
+ - Specify UI/UX requirements and framework adherence where applicable
178
+ - Avoid cross-cutting concerns that should be in other stories or PRD sections]]
179
+
180
+ <<REPEAT: criteria>>
181
+
182
+ - {{criterion number}}: {{criteria}}
183
+
184
+ <</REPEAT>>
185
+ <</REPEAT>>
186
+ <</REPEAT>>
187
+
188
+ ## Checklist Results Report
189
+
190
+ [[LLM: Before running the checklist and drafting the prompts, offer to output the full updated PRD. If outputting it, confirm with the user that you will be proceeding to run the checklist and produce the report. Once the user confirms, execute the `pm-checklist` and populate the results in this section.]]
191
+
192
+ ## Next Steps
193
+
194
+ ### Design Architect Prompt
195
+
196
+ [[LLM: This section will contain the prompt for the Design Architect, keep it short and to the point to initiate create architecture mode using this document as input.]]
197
+
198
+ ### Architect Prompt
199
+
200
+ [[LLM: This section will contain the prompt for the Architect, keep it short and to the point to initiate create architecture mode using this document as input.]]
@@ -0,0 +1,228 @@
1
+ # Project Brief: {{Project Name}}
2
+
3
+ [[LLM: This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
4
+
5
+ Start by asking the user which mode they prefer:
6
+
7
+ 1. **Interactive Mode** - Work through each section collaboratively
8
+ 2. **YOLO Mode** - Generate complete draft for review and refinement
9
+
10
+ Before beginning, understand what inputs are available (brainstorming results, market research, competitive analysis, initial ideas) and gather project context.]]
11
+
12
+ ## Executive Summary
13
+
14
+ [[LLM: Create a concise overview that captures the essence of the project. Include:
15
+
16
+ - Product concept in 1-2 sentences
17
+ - Primary problem being solved
18
+ - Target market identification
19
+ - Key value proposition]]
20
+
21
+ {{Write executive summary based on information gathered}}
22
+
23
+ ## Problem Statement
24
+
25
+ [[LLM: Articulate the problem with clarity and evidence. Address:
26
+
27
+ - Current state and pain points
28
+ - Impact of the problem (quantify if possible)
29
+ - Why existing solutions fall short
30
+ - Urgency and importance of solving this now]]
31
+
32
+ {{Detailed problem description with supporting evidence}}
33
+
34
+ ## Proposed Solution
35
+
36
+ [[LLM: Describe the solution approach at a high level. Include:
37
+
38
+ - Core concept and approach
39
+ - Key differentiators from existing solutions
40
+ - Why this solution will succeed where others haven't
41
+ - High-level vision for the product]]
42
+
43
+ {{Solution description focusing on the "what" and "why", not implementation details}}
44
+
45
+ ## Target Users
46
+
47
+ [[LLM: Define and characterize the intended users with specificity. For each user segment include:
48
+
49
+ - Demographic/firmographic profile
50
+ - Current behaviors and workflows
51
+ - Specific needs and pain points
52
+ - Goals they're trying to achieve]]
53
+
54
+ ### Primary User Segment: {{Segment Name}}
55
+
56
+ {{Detailed description of primary users}}
57
+
58
+ ### Secondary User Segment: {{Segment Name}}
59
+
60
+ {{Description of secondary users if applicable}}
61
+
62
+ ## Goals & Success Metrics
63
+
64
+ [[LLM: Establish clear objectives and how to measure success. Make goals SMART (Specific, Measurable, Achievable, Relevant, Time-bound)]]
65
+
66
+ ### Business Objectives
67
+
68
+ - {{Objective 1 with metric}}
69
+ - {{Objective 2 with metric}}
70
+ - {{Objective 3 with metric}}
71
+
72
+ ### User Success Metrics
73
+
74
+ - {{How users will measure value}}
75
+ - {{Engagement metrics}}
76
+ - {{Satisfaction indicators}}
77
+
78
+ ### Key Performance Indicators (KPIs)
79
+
80
+ - {{KPI 1: Definition and target}}
81
+ - {{KPI 2: Definition and target}}
82
+ - {{KPI 3: Definition and target}}
83
+
84
+ ## MVP Scope
85
+
86
+ [[LLM: Define the minimum viable product clearly. Be specific about what's in and what's out. Help user distinguish must-haves from nice-to-haves.]]
87
+
88
+ ### Core Features (Must Have)
89
+
90
+ - **Feature 1:** {{Brief description and why it's essential}}
91
+ - **Feature 2:** {{Brief description and why it's essential}}
92
+ - **Feature 3:** {{Brief description and why it's essential}}
93
+
94
+ ### Out of Scope for MVP
95
+
96
+ - {{Feature/capability explicitly not in MVP}}
97
+ - {{Feature/capability to be considered post-MVP}}
98
+
99
+ ### MVP Success Criteria
100
+
101
+ {{Define what constitutes a successful MVP launch}}
102
+
103
+ ## Post-MVP Vision
104
+
105
+ [[LLM: Outline the longer-term product direction without overcommitting to specifics]]
106
+
107
+ ### Phase 2 Features
108
+
109
+ {{Next priority features after MVP success}}
110
+
111
+ ### Long-term Vision
112
+
113
+ {{Where this product could go in 1-2 years}}
114
+
115
+ ### Expansion Opportunities
116
+
117
+ {{Potential new markets, use cases, or integrations}}
118
+
119
+ ## Technical Considerations
120
+
121
+ [[LLM: Document known technical constraints and preferences. Note these are initial thoughts, not final decisions.]]
122
+
123
+ ### Platform Requirements
124
+
125
+ - **Target Platforms:** {{Web, mobile, desktop, etc.}}
126
+ - **Browser/OS Support:** {{Specific requirements}}
127
+ - **Performance Requirements:** {{Load times, concurrent users, etc.}}
128
+
129
+ ### Technology Preferences
130
+
131
+ - **Frontend:** {{If any preferences exist}}
132
+ - **Backend:** {{If any preferences exist}}
133
+ - **Database:** {{If any preferences exist}}
134
+ - **Hosting/Infrastructure:** {{Cloud preferences, on-prem requirements}}
135
+
136
+ ### Architecture Considerations
137
+
138
+ - **Repository Structure:** {{Initial thoughts on monorepo vs. polyrepo}}
139
+ - **Service Architecture:** {{Initial thoughts on monolith vs. microservices}}
140
+ - **Integration Requirements:** {{Third-party services, APIs}}
141
+ - **Security/Compliance:** {{Any specific requirements}}
142
+
143
+ ## Constraints & Assumptions
144
+
145
+ [[LLM: Clearly state limitations and assumptions to set realistic expectations]]
146
+
147
+ ### Constraints
148
+
149
+ - **Budget:** {{If known}}
150
+ - **Timeline:** {{Target launch date or development timeframe}}
151
+ - **Resources:** {{Team size, skill constraints}}
152
+ - **Technical:** {{Legacy systems, required tech stack}}
153
+
154
+ ### Key Assumptions
155
+
156
+ - {{Assumption about users, market, or technology}}
157
+ - {{Assumption about resources or support}}
158
+ - {{Assumption about external dependencies}}
159
+
160
+ ## Risks & Open Questions
161
+
162
+ [[LLM: Identify unknowns and potential challenges proactively]]
163
+
164
+ ### Key Risks
165
+
166
+ - **Risk 1:** {{Description and potential impact}}
167
+ - **Risk 2:** {{Description and potential impact}}
168
+ - **Risk 3:** {{Description and potential impact}}
169
+
170
+ ### Open Questions
171
+
172
+ - {{Question needing research or decision}}
173
+ - {{Question about technical approach}}
174
+ - {{Question about market or users}}
175
+
176
+ ### Areas Needing Further Research
177
+
178
+ - {{Topic requiring deeper investigation}}
179
+ - {{Validation needed before proceeding}}
180
+
181
+ ## Appendices
182
+
183
+ ### A. Research Summary
184
+
185
+ {{If applicable, summarize key findings from:
186
+
187
+ - Market research
188
+ - Competitive analysis
189
+ - User interviews
190
+ - Technical feasibility studies}}
191
+
192
+ ### B. Stakeholder Input
193
+
194
+ {{Key feedback or requirements from stakeholders}}
195
+
196
+ ### C. References
197
+
198
+ {{Links to relevant documents, research, or examples}}
199
+
200
+ ## Next Steps
201
+
202
+ ### Immediate Actions
203
+
204
+ 1. {{First concrete next step}}
205
+ 2. {{Second concrete next step}}
206
+ 3. {{Third concrete next step}}
207
+
208
+ ### PM Handoff
209
+
210
+ This Project Brief provides the full context for {{Project Name}}. Please start in 'PRD Generation Mode', review the brief thoroughly to work with the user to create the PRD section by section as the template indicates, asking for any necessary clarification or suggesting improvements.
211
+
212
+ ---
213
+
214
+ [[LLM: After completing each major section (not subsections), offer advanced elicitation with these custom options for project briefs:
215
+
216
+ **Project Brief Elicitation Actions** 0. Expand section with more specific details
217
+
218
+ 1. Validate against similar successful products
219
+ 2. Stress test assumptions with edge cases
220
+ 3. Explore alternative solution approaches
221
+ 4. Analyze resource/constraint trade-offs
222
+ 5. Generate risk mitigation strategies
223
+ 6. Challenge scope from MVP minimalist view
224
+ 7. Brainstorm creative feature possibilities
225
+ 8. If only we had [resource/capability/time]...
226
+ 9. Proceed to next section
227
+
228
+ These replace the standard elicitation options when working on project brief documents.]]