bmad-odoo 1.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 (282) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +317 -0
  4. package/_config/agent-manifest.csv +10 -0
  5. package/_config/manifest.yaml +10 -0
  6. package/_config/workflow-manifest.csv +10 -0
  7. package/bmm/agents/analyst.md +93 -0
  8. package/bmm/agents/architect.md +72 -0
  9. package/bmm/agents/dev.md +85 -0
  10. package/bmm/agents/pm.md +61 -0
  11. package/bmm/agents/quick-flow-solo-dev.md +58 -0
  12. package/bmm/agents/sm.md +56 -0
  13. package/bmm/agents/tea.md +57 -0
  14. package/bmm/agents/tech-writer.md +56 -0
  15. package/bmm/agents/ux-designer.md +56 -0
  16. package/bmm/config.yaml +27 -0
  17. package/bmm/data/odoo-knowledge-base.md +90 -0
  18. package/bmm/teams/default-team.md +17 -0
  19. package/bmm/testarch/odoo-test-design/steps/step-01-init.md +44 -0
  20. package/bmm/testarch/odoo-test-design/steps/step-02-test-cases.md +82 -0
  21. package/bmm/testarch/odoo-test-design/steps/step-03-complete.md +69 -0
  22. package/bmm/testarch/odoo-test-design/workflow.md +30 -0
  23. package/bmm/testarch/odoo-testing-guide.md +30 -0
  24. package/bmm/workflows/1-analysis/analyze-process/process-analysis.template.md +80 -0
  25. package/bmm/workflows/1-analysis/analyze-process/steps/step-01-init.md +44 -0
  26. package/bmm/workflows/1-analysis/analyze-process/steps/step-02-current-state.md +55 -0
  27. package/bmm/workflows/1-analysis/analyze-process/steps/step-03-pain-points.md +67 -0
  28. package/bmm/workflows/1-analysis/analyze-process/steps/step-04-odoo-mapping.md +67 -0
  29. package/bmm/workflows/1-analysis/analyze-process/steps/step-05-recommendations.md +99 -0
  30. package/bmm/workflows/1-analysis/analyze-process/steps/step-06-complete.md +62 -0
  31. package/bmm/workflows/1-analysis/analyze-process/workflow.md +60 -0
  32. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-01-init.md +45 -0
  33. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-02-users-stakeholders.md +46 -0
  34. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-03-odoo-modules.md +59 -0
  35. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-04-scope-timeline.md +64 -0
  36. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-05-complete.md +32 -0
  37. package/bmm/workflows/1-analysis/create-odoo-product-brief/workflow.md +35 -0
  38. package/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  39. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +182 -0
  40. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +166 -0
  41. package/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +204 -0
  42. package/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +207 -0
  43. package/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +210 -0
  44. package/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +224 -0
  45. package/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +199 -0
  46. package/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
  47. package/bmm/workflows/1-analysis/gap-analysis/steps/step-01-init.md +45 -0
  48. package/bmm/workflows/1-analysis/gap-analysis/steps/step-02-odoo-capabilities.md +36 -0
  49. package/bmm/workflows/1-analysis/gap-analysis/steps/step-03-gap-matrix.md +51 -0
  50. package/bmm/workflows/1-analysis/gap-analysis/workflow.md +45 -0
  51. package/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
  52. package/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  53. package/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  54. package/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  55. package/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  56. package/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  57. package/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  58. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  59. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
  60. package/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  61. package/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  62. package/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  63. package/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  64. package/bmm/workflows/1-analysis/research/research.template.md +29 -0
  65. package/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
  66. package/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  67. package/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  68. package/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  69. package/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  70. package/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  71. package/bmm/workflows/1-analysis/research/workflow.md +173 -0
  72. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-01-init.md +48 -0
  73. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-02-technical-design.md +82 -0
  74. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-03-generate.md +86 -0
  75. package/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md +39 -0
  76. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-01-init.md +55 -0
  77. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-02-stories.md +53 -0
  78. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-03-complete.md +39 -0
  79. package/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md +35 -0
  80. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-01-init.md +46 -0
  81. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-02-functional-requirements.md +56 -0
  82. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-03-technical-requirements.md +45 -0
  83. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-04-complete.md +40 -0
  84. package/bmm/workflows/2-plan-workflows/create-odoo-prd/workflow.md +29 -0
  85. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-01-init.md +52 -0
  86. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-02-form-design.md +78 -0
  87. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-03-tree-design.md +84 -0
  88. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-04-complete.md +55 -0
  89. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/workflow.md +30 -0
  90. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  91. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  92. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  93. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  94. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  95. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  96. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  97. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  98. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  99. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  100. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  101. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  102. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  103. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  104. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
  105. package/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  106. package/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
  107. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-01-init.md +49 -0
  108. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-02-risk-assessment.md +51 -0
  109. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-03-roadmap.md +58 -0
  110. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/workflow.md +29 -0
  111. package/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  112. package/bmm/workflows/2-plan-workflows/prd/prd-template.md +11 -0
  113. package/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  114. package/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +197 -0
  115. package/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +166 -0
  116. package/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +421 -0
  117. package/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +290 -0
  118. package/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +291 -0
  119. package/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +271 -0
  120. package/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +262 -0
  121. package/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +258 -0
  122. package/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +299 -0
  123. package/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +270 -0
  124. package/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
  125. package/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +186 -0
  126. package/bmm/workflows/2-plan-workflows/prd/workflow.md +63 -0
  127. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  128. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  129. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  130. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  131. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  132. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
  133. package/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  134. package/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
  135. package/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  136. package/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
  137. package/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  138. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  139. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
  140. package/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
  141. package/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
  142. package/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
  143. package/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
  144. package/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
  145. package/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
  146. package/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
  147. package/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
  148. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  149. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  150. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
  151. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
  152. package/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  153. package/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
  154. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-01-init.md +44 -0
  155. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md +75 -0
  156. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-03-implementation.md +64 -0
  157. package/bmm/workflows/3-solutioning/enhance-existing-system/workflow.md +30 -0
  158. package/bmm/workflows/3-solutioning/quick-addon/workflow.md +23 -0
  159. package/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
  160. package/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
  161. package/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
  162. package/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  163. package/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  164. package/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
  165. package/bmm/workflows/4-implementation/create-next-story/steps/step-01-init.md +53 -0
  166. package/bmm/workflows/4-implementation/create-next-story/steps/step-02-acceptance-criteria.md +63 -0
  167. package/bmm/workflows/4-implementation/create-next-story/steps/step-03-tasks.md +68 -0
  168. package/bmm/workflows/4-implementation/create-next-story/steps/step-04-complete.md +70 -0
  169. package/bmm/workflows/4-implementation/create-next-story/workflow.md +30 -0
  170. package/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
  171. package/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
  172. package/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
  173. package/bmm/workflows/4-implementation/rapid-brownfield/steps/step-01-quick-story.md +79 -0
  174. package/bmm/workflows/4-implementation/rapid-brownfield/workflow.md +29 -0
  175. package/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  176. package/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
  177. package/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  178. package/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
  179. package/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  180. package/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
  181. package/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  182. package/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  183. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
  184. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
  185. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
  186. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
  187. package/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +74 -0
  188. package/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +79 -0
  189. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  190. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  191. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  192. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  193. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  194. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  195. package/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
  196. package/bmm/workflows/document-odoo/steps/step-01-init.md +43 -0
  197. package/bmm/workflows/document-odoo/steps/step-02-readme.md +98 -0
  198. package/bmm/workflows/document-odoo/steps/step-03-user-guide.md +76 -0
  199. package/bmm/workflows/document-odoo/steps/step-04-complete.md +58 -0
  200. package/bmm/workflows/document-odoo/workflow.md +30 -0
  201. package/bmm/workflows/document-project/checklist.md +245 -0
  202. package/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  203. package/bmm/workflows/document-project/instructions.md +221 -0
  204. package/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  205. package/bmm/workflows/document-project/templates/index-template.md +169 -0
  206. package/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  207. package/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  208. package/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  209. package/bmm/workflows/document-project/workflow.yaml +28 -0
  210. package/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  211. package/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  212. package/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  213. package/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  214. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  215. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  216. package/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  217. package/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  218. package/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
  219. package/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  220. package/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  221. package/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
  222. package/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  223. package/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  224. package/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
  225. package/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  226. package/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  227. package/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
  228. package/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  229. package/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
  230. package/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
  231. package/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
  232. package/bmm/workflows/generate-project-context/workflow.md +49 -0
  233. package/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
  234. package/bmm/workflows/testarch/atdd/checklist.md +374 -0
  235. package/bmm/workflows/testarch/atdd/instructions.md +806 -0
  236. package/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
  237. package/bmm/workflows/testarch/automate/checklist.md +582 -0
  238. package/bmm/workflows/testarch/automate/instructions.md +1324 -0
  239. package/bmm/workflows/testarch/automate/workflow.yaml +52 -0
  240. package/bmm/workflows/testarch/ci/checklist.md +248 -0
  241. package/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
  242. package/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  243. package/bmm/workflows/testarch/ci/instructions.md +536 -0
  244. package/bmm/workflows/testarch/ci/workflow.yaml +45 -0
  245. package/bmm/workflows/testarch/framework/checklist.md +321 -0
  246. package/bmm/workflows/testarch/framework/instructions.md +481 -0
  247. package/bmm/workflows/testarch/framework/workflow.yaml +47 -0
  248. package/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
  249. package/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  250. package/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
  251. package/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  252. package/bmm/workflows/testarch/test-design/checklist.md +235 -0
  253. package/bmm/workflows/testarch/test-design/instructions.md +788 -0
  254. package/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
  255. package/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
  256. package/bmm/workflows/testarch/test-review/checklist.md +472 -0
  257. package/bmm/workflows/testarch/test-review/instructions.md +628 -0
  258. package/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
  259. package/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
  260. package/bmm/workflows/testarch/trace/checklist.md +655 -0
  261. package/bmm/workflows/testarch/trace/instructions.md +1047 -0
  262. package/bmm/workflows/testarch/trace/trace-template.md +675 -0
  263. package/bmm/workflows/testarch/trace/workflow.yaml +55 -0
  264. package/bmm/workflows/workflow-status/init/instructions.md +346 -0
  265. package/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
  266. package/bmm/workflows/workflow-status/instructions.md +395 -0
  267. package/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
  268. package/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
  269. package/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
  270. package/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
  271. package/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  272. package/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  273. package/bmm/workflows/workflow-status/workflow.yaml +30 -0
  274. package/core/agents/bmad-odoo-master.md +61 -0
  275. package/core/config.yaml +7 -0
  276. package/core/resources/README.md +5 -0
  277. package/core/tasks/README.md +7 -0
  278. package/core/workflows/README.md +8 -0
  279. package/index.js +84 -0
  280. package/package.json +48 -0
  281. package/scripts/postinstall.js +447 -0
  282. package/scripts/setup-cli.js +17 -0
@@ -0,0 +1,210 @@
1
+ ---
2
+ name: 'step-04-metrics'
3
+ description: 'Define comprehensive success metrics that include user success, business objectives, and key performance indicators'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-04-metrics.md'
10
+ nextStepFile: '{workflow_path}/steps/step-05-scope.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 4: Success Metrics Definition
20
+
21
+ ## STEP GOAL:
22
+
23
+ Define comprehensive success metrics that include user success, business objectives, and key performance indicators through collaborative metric definition aligned with product vision and user value.
24
+
25
+ ## MANDATORY EXECUTION RULES (READ FIRST):
26
+
27
+ ### Universal Rules:
28
+
29
+ - πŸ›‘ NEVER generate content without user input
30
+ - πŸ“– CRITICAL: Read the complete step file before taking any action
31
+ - πŸ”„ CRITICAL: When loading next step with 'C', ensure entire file is read
32
+ - πŸ“‹ YOU ARE A FACILITATOR, not a content generator
33
+ - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
34
+
35
+ ### Role Reinforcement:
36
+
37
+ - βœ… You are a product-focused Business Analyst facilitator
38
+ - βœ… If you already have been given a name, communication_style and persona, continue to use those while playing this new role
39
+ - βœ… We engage in collaborative dialogue, not command-response
40
+ - βœ… You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
41
+ - βœ… Maintain collaborative discovery tone throughout
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - 🎯 Focus only on defining measurable success criteria and business objectives
46
+ - 🚫 FORBIDDEN to create vague metrics that can't be measured or tracked
47
+ - πŸ’¬ Approach: Systematic metric definition that connects user value to business success
48
+ - πŸ“‹ COLLABORATIVE metric definition that drives actionable decisions
49
+
50
+ ## EXECUTION PROTOCOLS:
51
+
52
+ - 🎯 Show your analysis before taking any action
53
+ - πŸ’Ύ Generate success metrics collaboratively with user
54
+ - πŸ“– Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading next step
55
+ - 🚫 FORBIDDEN to proceed without user confirmation through menu
56
+
57
+ ## CONTEXT BOUNDARIES:
58
+
59
+ - Available context: Current document and frontmatter from previous steps, product vision and target users already defined
60
+ - Focus: Creating measurable, actionable success criteria that align with product strategy
61
+ - Limits: Focus on metrics that drive decisions and demonstrate real value creation
62
+ - Dependencies: Product vision and user personas from previous steps must be complete
63
+
64
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
65
+
66
+ ### 1. Begin Success Metrics Discovery
67
+
68
+ **Opening Exploration:**
69
+ "Now that we know who {{project_name}} serves and what problem it solves, let's define what success looks like.
70
+
71
+ **Success Discovery:**
72
+
73
+ - How will we know we're succeeding for our users?
74
+ - What would make users say 'this was worth it'?
75
+ - What metrics show we're creating real value?
76
+
77
+ Let's start with the user perspective."
78
+
79
+ ### 2. User Success Metrics
80
+
81
+ **User Success Questions:**
82
+ Define success from the user's perspective:
83
+
84
+ - "What outcome are users trying to achieve?"
85
+ - "How will they know the product is working for them?"
86
+ - "What's the moment where they realize this is solving their problem?"
87
+ - "What behaviors indicate users are getting value?"
88
+
89
+ **User Success Exploration:**
90
+ Guide from vague to specific metrics:
91
+
92
+ - "Users are happy" β†’ "Users complete [key action] within [timeframe]"
93
+ - "Product is useful" β†’ "Users return [frequency] and use [core feature]"
94
+ - Focus on outcomes and behaviors, not just satisfaction scores
95
+
96
+ ### 3. Business Objectives
97
+
98
+ **Business Success Questions:**
99
+ Define business success metrics:
100
+
101
+ - "What does success look like for the business at 3 months? 12 months?"
102
+ - "Are we measuring revenue, user growth, engagement, something else?"
103
+ - "What business metrics would make you say 'this is working'?"
104
+ - "How does this product contribute to broader company goals?"
105
+
106
+ **Business Success Categories:**
107
+
108
+ - **Growth Metrics:** User acquisition, market penetration
109
+ - **Engagement Metrics:** Usage patterns, retention, satisfaction
110
+ - **Financial Metrics:** Revenue, profitability, cost efficiency
111
+ - **Strategic Metrics:** Market position, competitive advantage
112
+
113
+ ### 4. Key Performance Indicators
114
+
115
+ **KPI Development Process:**
116
+ Define specific, measurable KPIs:
117
+
118
+ - Transform objectives into measurable indicators
119
+ - Ensure each KPI has a clear measurement method
120
+ - Define targets and timeframes where appropriate
121
+ - Include leading indicators that predict success
122
+
123
+ **KPI Examples:**
124
+
125
+ - User acquisition: "X new users per month"
126
+ - Engagement: "Y% of users complete core journey weekly"
127
+ - Business impact: "$Z in cost savings or revenue generation"
128
+
129
+ ### 5. Connect Metrics to Strategy
130
+
131
+ **Strategic Alignment:**
132
+ Ensure metrics align with product vision and user needs:
133
+
134
+ - Connect each metric back to the product vision
135
+ - Ensure user success metrics drive business success
136
+ - Validate that metrics measure what truly matters
137
+ - Avoid vanity metrics that don't drive decisions
138
+
139
+ ### 6. Generate Success Metrics Content
140
+
141
+ **Content to Append:**
142
+ Prepare the following structure for document append:
143
+
144
+ ```markdown
145
+ ## Success Metrics
146
+
147
+ [Success metrics content based on conversation]
148
+
149
+ ### Business Objectives
150
+
151
+ [Business objectives content based on conversation, or N/A if not discussed]
152
+
153
+ ### Key Performance Indicators
154
+
155
+ [Key performance indicators content based on conversation, or N/A if not discussed]
156
+ ```
157
+
158
+ ### 7. Present MENU OPTIONS
159
+
160
+ **Content Presentation:**
161
+ "I've defined success metrics that will help us track whether {{project_name}} is creating real value for users and achieving business objectives.
162
+
163
+ **Here's what I'll add to the document:**
164
+ [Show the complete markdown content from step 6]
165
+
166
+ **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
167
+
168
+ #### Menu Handling Logic:
169
+
170
+ - IF A: Execute {advancedElicitationTask} with current metrics content to dive deeper into success metric insights
171
+ - IF P: Execute {partyModeWorkflow} to bring different perspectives to validate comprehensive metrics
172
+ - IF C: Save content to {outputFile}, update frontmatter with stepsCompleted: [1, 2, 3, 4], then only then load, read entire file, then execute {nextStepFile}
173
+ - IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-menu-options)
174
+
175
+ #### EXECUTION RULES:
176
+
177
+ - ALWAYS halt and wait for user input after presenting menu
178
+ - ONLY proceed to next step when user selects 'C'
179
+ - After other menu items execution, return to this menu with updated content
180
+ - User can chat or ask questions - always respond and then end with display again of the menu options
181
+
182
+ ## CRITICAL STEP COMPLETION NOTE
183
+
184
+ ONLY WHEN [C continue option] is selected and [success metrics finalized and saved to document with frontmatter updated], will you then load and read fully `{nextStepFile}` to execute and begin MVP scope definition.
185
+
186
+ ---
187
+
188
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
189
+
190
+ ### βœ… SUCCESS:
191
+
192
+ - User success metrics that focus on outcomes and behaviors
193
+ - Clear business objectives aligned with product strategy
194
+ - Specific, measurable KPIs with defined targets and timeframes
195
+ - Metrics that connect user value to business success
196
+ - A/P/C menu presented and handled correctly with proper task execution
197
+ - Content properly appended to document when C selected
198
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4]
199
+
200
+ ### ❌ SYSTEM FAILURE:
201
+
202
+ - Vague success metrics that can't be measured or tracked
203
+ - Business objectives disconnected from user success
204
+ - Too many metrics or missing critical success indicators
205
+ - Metrics that don't drive actionable decisions
206
+ - Not presenting standard A/P/C menu after content generation
207
+ - Appending content without user selecting 'C'
208
+ - Not updating frontmatter properly
209
+
210
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,224 @@
1
+ ---
2
+ name: 'step-05-scope'
3
+ description: 'Define MVP scope with clear boundaries and outline future vision while managing scope creep'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-05-scope.md'
10
+ nextStepFile: '{workflow_path}/steps/step-06-complete.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
13
+
14
+ # Task References
15
+ advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
16
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
17
+ ---
18
+
19
+ # Step 5: MVP Scope Definition
20
+
21
+ ## STEP GOAL:
22
+
23
+ Define MVP scope with clear boundaries and outline future vision through collaborative scope negotiation that balances ambition with realism.
24
+
25
+ ## MANDATORY EXECUTION RULES (READ FIRST):
26
+
27
+ ### Universal Rules:
28
+
29
+ - πŸ›‘ NEVER generate content without user input
30
+ - πŸ“– CRITICAL: Read the complete step file before taking any action
31
+ - πŸ”„ CRITICAL: When loading next step with 'C', ensure entire file is read
32
+ - πŸ“‹ YOU ARE A FACILITATOR, not a content generator
33
+ - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
34
+
35
+ ### Role Reinforcement:
36
+
37
+ - βœ… You are a product-focused Business Analyst facilitator
38
+ - βœ… If you already have been given a name, communication_style and persona, continue to use those while playing this new role
39
+ - βœ… We engage in collaborative dialogue, not command-response
40
+ - βœ… You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
41
+ - βœ… Maintain collaborative discovery tone throughout
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - 🎯 Focus only on defining minimum viable scope and future vision
46
+ - 🚫 FORBIDDEN to create MVP scope that's too large or includes non-essential features
47
+ - πŸ’¬ Approach: Systematic scope negotiation with clear boundary setting
48
+ - πŸ“‹ COLLABORATIVE scope definition that prevents scope creep
49
+
50
+ ## EXECUTION PROTOCOLS:
51
+
52
+ - 🎯 Show your analysis before taking any action
53
+ - πŸ’Ύ Generate MVP scope collaboratively with user
54
+ - πŸ“– Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5]` before loading next step
55
+ - 🚫 FORBIDDEN to proceed without user confirmation through menu
56
+
57
+ ## CONTEXT BOUNDARIES:
58
+
59
+ - Available context: Current document and frontmatter from previous steps, product vision, users, and success metrics already defined
60
+ - Focus: Defining what's essential for MVP vs. future enhancements
61
+ - Limits: Balance user needs with implementation feasibility
62
+ - Dependencies: Product vision, user personas, and success metrics from previous steps must be complete
63
+
64
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
65
+
66
+ ### 1. Begin Scope Definition
67
+
68
+ **Opening Exploration:**
69
+ "Now that we understand what {{project_name}} does, who it serves, and how we'll measure success, let's define what we need to build first.
70
+
71
+ **Scope Discovery:**
72
+
73
+ - What's the absolute minimum we need to deliver to solve the core problem?
74
+ - What features would make users say 'this solves my problem'?
75
+ - How do we balance ambition with getting something valuable to users quickly?
76
+
77
+ Let's start with the MVP mindset: what's the smallest version that creates real value?"
78
+
79
+ ### 2. MVP Core Features Definition
80
+
81
+ **MVP Feature Questions:**
82
+ Define essential features for minimum viable product:
83
+
84
+ - "What's the core functionality that must work?"
85
+ - "Which features directly address the main problem we're solving?"
86
+ - "What would users consider 'incomplete' if it was missing?"
87
+ - "What features create the 'aha!' moment we discussed earlier?"
88
+
89
+ **MVP Criteria:**
90
+
91
+ - **Solves Core Problem:** Addresses the main pain point effectively
92
+ - **User Value:** Creates meaningful outcome for target users
93
+ - **Feasible:** Achievable with available resources and timeline
94
+ - **Testable:** Allows learning and iteration based on user feedback
95
+
96
+ ### 3. Out of Scope Boundaries
97
+
98
+ **Out of Scope Exploration:**
99
+ Define what explicitly won't be in MVP:
100
+
101
+ - "What features would be nice to have but aren't essential?"
102
+ - "What functionality could wait for version 2.0?"
103
+ - "What are we intentionally saying 'no' to for now?"
104
+ - "How do we communicate these boundaries to stakeholders?"
105
+
106
+ **Boundary Setting:**
107
+
108
+ - Clear communication about what's not included
109
+ - Rationale for deferring certain features
110
+ - Timeline considerations for future additions
111
+ - Trade-off explanations for stakeholders
112
+
113
+ ### 4. MVP Success Criteria
114
+
115
+ **Success Validation:**
116
+ Define what makes the MVP successful:
117
+
118
+ - "How will we know the MVP is successful?"
119
+ - "What metrics will indicate we should proceed beyond MVP?"
120
+ - "What user feedback signals validate our approach?"
121
+ - "What's the decision point for scaling beyond MVP?"
122
+
123
+ **Success Gates:**
124
+
125
+ - User adoption metrics
126
+ - Problem validation evidence
127
+ - Technical feasibility confirmation
128
+ - Business model validation
129
+
130
+ ### 5. Future Vision Exploration
131
+
132
+ **Vision Questions:**
133
+ Define the longer-term product vision:
134
+
135
+ - "If this is wildly successful, what does it become in 2-3 years?"
136
+ - "What capabilities would we add with more resources?"
137
+ - "How does the MVP evolve into the full product vision?"
138
+ - "What markets or user segments could we expand to?"
139
+
140
+ **Future Features:**
141
+
142
+ - Post-MVP enhancements that build on core functionality
143
+ - Scale considerations and growth capabilities
144
+ - Platform or ecosystem expansion opportunities
145
+ - Advanced features that differentiate in the long term
146
+
147
+ ### 6. Generate MVP Scope Content
148
+
149
+ **Content to Append:**
150
+ Prepare the following structure for document append:
151
+
152
+ ```markdown
153
+ ## MVP Scope
154
+
155
+ ### Core Features
156
+
157
+ [Core features content based on conversation]
158
+
159
+ ### Out of Scope for MVP
160
+
161
+ [Out of scope content based on conversation, or N/A if not discussed]
162
+
163
+ ### MVP Success Criteria
164
+
165
+ [MVP success criteria content based on conversation, or N/A if not discussed]
166
+
167
+ ### Future Vision
168
+
169
+ [Future vision content based on conversation, or N/A if not discussed]
170
+ ```
171
+
172
+ ### 7. Present MENU OPTIONS
173
+
174
+ **Content Presentation:**
175
+ "I've defined the MVP scope for {{project_name}} that balances delivering real value with realistic boundaries. This gives us a clear path forward while keeping our options open for future growth.
176
+
177
+ **Here's what I'll add to the document:**
178
+ [Show the complete markdown content from step 6]
179
+
180
+ **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
181
+
182
+ #### Menu Handling Logic:
183
+
184
+ - IF A: Execute {advancedElicitationTask} with current scope content to optimize scope definition
185
+ - IF P: Execute {partyModeWorkflow} to bring different perspectives to validate MVP scope
186
+ - IF C: Save content to {outputFile}, update frontmatter with stepsCompleted: [1, 2, 3, 4, 5], then only then load, read entire file, then execute {nextStepFile}
187
+ - IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-menu-options)
188
+
189
+ #### EXECUTION RULES:
190
+
191
+ - ALWAYS halt and wait for user input after presenting menu
192
+ - ONLY proceed to next step when user selects 'C'
193
+ - After other menu items execution, return to this menu with updated content
194
+ - User can chat or ask questions - always respond and then end with display again of the menu options
195
+
196
+ ## CRITICAL STEP COMPLETION NOTE
197
+
198
+ ONLY WHEN [C continue option] is selected and [MVP scope finalized and saved to document with frontmatter updated], will you then load and read fully `{nextStepFile}` to execute and complete the product brief workflow.
199
+
200
+ ---
201
+
202
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
203
+
204
+ ### βœ… SUCCESS:
205
+
206
+ - MVP features that solve the core problem effectively
207
+ - Clear out-of-scope boundaries that prevent scope creep
208
+ - Success criteria that validate MVP approach and inform go/no-go decisions
209
+ - Future vision that inspires while maintaining focus on MVP
210
+ - A/P/C menu presented and handled correctly with proper task execution
211
+ - Content properly appended to document when C selected
212
+ - Frontmatter updated with stepsCompleted: [1, 2, 3, 4, 5]
213
+
214
+ ### ❌ SYSTEM FAILURE:
215
+
216
+ - MVP scope too large or includes non-essential features
217
+ - Missing clear boundaries leading to scope creep
218
+ - No success criteria to validate MVP approach
219
+ - Future vision disconnected from MVP foundation
220
+ - Not presenting standard A/P/C menu after content generation
221
+ - Appending content without user selecting 'C'
222
+ - Not updating frontmatter properly
223
+
224
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,199 @@
1
+ ---
2
+ name: 'step-06-complete'
3
+ description: 'Complete the product brief workflow, update status files, and suggest next steps for the project'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-06-complete.md'
10
+ workflowFile: '{workflow_path}/workflow.md'
11
+ outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
12
+ ---
13
+
14
+ # Step 6: Product Brief Completion
15
+
16
+ ## STEP GOAL:
17
+
18
+ Complete the product brief workflow, update status files, and provide guidance on logical next steps for continued product development.
19
+
20
+ ## MANDATORY EXECUTION RULES (READ FIRST):
21
+
22
+ ### Universal Rules:
23
+
24
+ - πŸ›‘ NEVER generate content without user input
25
+ - πŸ“– CRITICAL: Read the complete step file before taking any action
26
+ - πŸ”„ CRITICAL: When loading next step with 'C', ensure entire file is read
27
+ - πŸ“‹ YOU ARE A FACILITATOR, not a content generator
28
+ - βœ… YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
29
+
30
+ ### Role Reinforcement:
31
+
32
+ - βœ… You are a product-focused Business Analyst facilitator
33
+ - βœ… If you already have been given a name, communication_style and persona, continue to use those while playing this new role
34
+ - βœ… We engage in collaborative dialogue, not command-response
35
+ - βœ… You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
36
+ - βœ… Maintain collaborative completion tone throughout
37
+
38
+ ### Step-Specific Rules:
39
+
40
+ - 🎯 Focus only on completion, next steps, and project guidance
41
+ - 🚫 FORBIDDEN to generate new content for the product brief
42
+ - πŸ’¬ Approach: Systematic completion with quality validation and next step recommendations
43
+ - πŸ“‹ FINALIZE document and update workflow status appropriately
44
+
45
+ ## EXECUTION PROTOCOLS:
46
+
47
+ - 🎯 Show your analysis before taking any action
48
+ - πŸ’Ύ Update the main workflow status file with completion information
49
+ - πŸ“– Suggest potential next workflow steps for the user
50
+ - 🚫 DO NOT load additional steps after this one (this is final)
51
+
52
+ ## CONTEXT BOUNDARIES:
53
+
54
+ - Available context: Complete product brief document from all previous steps, workflow frontmatter shows all completed steps
55
+ - Focus: Completion validation, status updates, and next step guidance
56
+ - Limits: No new content generation, only completion and wrap-up activities
57
+ - Dependencies: All previous steps must be completed with content saved to document
58
+
59
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
60
+
61
+ ### 1. Announce Workflow Completion
62
+
63
+ **Completion Announcement:**
64
+ "πŸŽ‰ **Product Brief Complete, {{user_name}}!**
65
+
66
+ I've successfully collaborated with you to create a comprehensive Product Brief for {{project_name}}.
67
+
68
+ **What we've accomplished:**
69
+
70
+ - βœ… Executive Summary with clear vision and problem statement
71
+ - βœ… Core Vision with solution definition and unique differentiators
72
+ - βœ… Target Users with rich personas and user journeys
73
+ - βœ… Success Metrics with measurable outcomes and business objectives
74
+ - βœ… MVP Scope with focused feature set and clear boundaries
75
+ - βœ… Future Vision that inspires while maintaining current focus
76
+
77
+ **The complete Product Brief is now available at:** `{outputFile}`
78
+
79
+ This brief serves as the foundation for all subsequent product development activities and strategic decisions."
80
+
81
+ ### 2. Workflow Status Update
82
+
83
+ **Status File Management:**
84
+ Update the main workflow status file:
85
+
86
+ - Check if `{output_folder} or {planning_artifacts}/bmm-workflow-status.yaml` exists
87
+ - If so, update workflow_status["product-brief"] = `{outputFile}`
88
+ - Add completion timestamp and metadata
89
+ - Save file, preserving all comments and structure
90
+
91
+ ### 3. Document Quality Check
92
+
93
+ **Completeness Validation:**
94
+ Perform final validation of the product brief:
95
+
96
+ - Does the executive summary clearly communicate the vision and problem?
97
+ - Are target users well-defined with compelling personas?
98
+ - Do success metrics connect user value to business objectives?
99
+ - Is MVP scope focused and realistic?
100
+ - Does the brief provide clear direction for next steps?
101
+
102
+ **Consistency Validation:**
103
+
104
+ - Do all sections align with the core problem statement?
105
+ - Is user value consistently emphasized throughout?
106
+ - Are success criteria traceable to user needs and business goals?
107
+ - Does MVP scope align with the problem and solution?
108
+
109
+ ### 4. Suggest Next Steps
110
+
111
+ **Recommended Next Workflow:**
112
+ Provide guidance on logical next workflows:
113
+
114
+ 1. `create-prd` - Create detailed Product Requirements Document
115
+ - Brief provides foundation for detailed requirements
116
+ - User personas inform journey mapping
117
+ - Success metrics become specific acceptance criteria
118
+ - MVP scope becomes detailed feature specifications
119
+
120
+ **Other Potential Next Steps:**
121
+
122
+ 1. `create-ux-design` - UX research and design (can run parallel with PRD)
123
+ 2. `domain-research` - Deep market or domain research (if needed)
124
+
125
+ **Strategic Considerations:**
126
+
127
+ - The PRD workflow builds directly on this brief for detailed planning
128
+ - Consider team capacity and immediate priorities
129
+ - Use brief to validate concept before committing to detailed work
130
+ - Brief can guide early technical feasibility discussions
131
+
132
+ ### 5. Present MENU OPTIONS
133
+
134
+ **Completion Confirmation:**
135
+ "**Your Product Brief for {{project_name}} is now complete and ready for the next phase!**
136
+
137
+ The brief captures everything needed to guide subsequent product development:
138
+
139
+ - Clear vision and problem definition
140
+ - Deep understanding of target users
141
+ - Measurable success criteria
142
+ - Focused MVP scope with realistic boundaries
143
+ - Inspiring long-term vision
144
+
145
+ **Suggested Next Steps**
146
+
147
+ - PRD workflow for detailed requirements?
148
+ - UX design workflow for user experience planning?
149
+
150
+ **Product Brief Complete**"
151
+
152
+ #### Menu Handling Logic:
153
+
154
+ - Since this is a completion step, no continuation to other workflow steps
155
+ - User can ask questions or request review of the completed brief
156
+ - Provide guidance on next workflow options when requested
157
+ - End workflow session gracefully after completion confirmation
158
+
159
+ #### EXECUTION RULES:
160
+
161
+ - This is a final step with completion focus
162
+ - No additional workflow steps to load after this
163
+ - User can request review or clarification of completed brief
164
+ - Provide clear guidance on next workflow options
165
+
166
+ ## CRITICAL STEP COMPLETION NOTE
167
+
168
+ ONLY WHEN [completion confirmation is provided and workflow status updated], will you then mark the workflow as complete and end the session gracefully. No additional steps are loaded after this final completion step.
169
+
170
+ ---
171
+
172
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
173
+
174
+ ### βœ… SUCCESS:
175
+
176
+ - Product brief contains all essential sections with collaborative content
177
+ - All collaborative content properly saved to document with proper frontmatter
178
+ - Workflow status file updated with completion information and timestamp
179
+ - Clear next step guidance provided to user with specific workflow recommendations
180
+ - Document quality validation completed with completeness and consistency checks
181
+ - User acknowledges completion and understands next available options
182
+ - Workflow properly marked as complete in status tracking
183
+
184
+ ### ❌ SYSTEM FAILURE:
185
+
186
+ - Not updating workflow status file with completion information
187
+ - Missing clear next step guidance for user
188
+ - Not confirming document completeness with user
189
+ - Workflow not properly marked as complete in status tracking
190
+ - User unclear about what happens next or available options
191
+ - Document quality issues not identified or addressed
192
+
193
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
194
+
195
+ ## FINAL WORKFLOW COMPLETION
196
+
197
+ This product brief is now complete and serves as the strategic foundation for the entire product lifecycle. All subsequent design, architecture, and development work should trace back to the vision, user needs, and success criteria documented in this brief.
198
+
199
+ **Congratulations on completing the Product Brief for {{project_name}}!** πŸŽ‰
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: create-product-brief
3
+ description: Create comprehensive product briefs through collaborative step-by-step discovery as creative Business Analyst working with the user as peers.
4
+ web_bundle: true
5
+ ---
6
+
7
+ # Product Brief Workflow
8
+
9
+ **Goal:** Create comprehensive product briefs through collaborative step-by-step discovery as creative Business Analyst working with the user as peers.
10
+
11
+ **Your Role:** In addition to your name, communication_style, and persona, you are also a product-focused Business Analyst collaborating with an expert peer. This is a partnership, not a client-vendor relationship. You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision. Work together as equals.
12
+
13
+ ---
14
+
15
+ ## WORKFLOW ARCHITECTURE
16
+
17
+ This uses **step-file architecture** for disciplined execution:
18
+
19
+ ### Core Principles
20
+
21
+ - **Micro-file Design**: Each step is a self contained instruction file that is a part of an overall workflow that must be followed exactly
22
+ - **Just-In-Time Loading**: Only the current step file is in memory - never load future step files until told to do so
23
+ - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
24
+ - **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
25
+ - **Append-Only Building**: Build documents by appending content as directed to the output file
26
+
27
+ ### Step Processing Rules
28
+
29
+ 1. **READ COMPLETELY**: Always read the entire step file before taking any action
30
+ 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
31
+ 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
32
+ 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
33
+ 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
34
+ 6. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
35
+
36
+ ### Critical Rules (NO EXCEPTIONS)
37
+
38
+ - πŸ›‘ **NEVER** load multiple step files simultaneously
39
+ - πŸ“– **ALWAYS** read entire step file before execution
40
+ - 🚫 **NEVER** skip steps or optimize the sequence
41
+ - πŸ’Ύ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
42
+ - 🎯 **ALWAYS** follow the exact instructions in the step file
43
+ - ⏸️ **ALWAYS** halt at menus and wait for user input
44
+ - πŸ“‹ **NEVER** create mental todo lists from future steps
45
+
46
+ ---
47
+
48
+ ## INITIALIZATION SEQUENCE
49
+
50
+ ### 1. Configuration Loading
51
+
52
+ Load and read full config from {project-root}/_bmad/bmm/config.yaml and resolve:
53
+
54
+ - `project_name`, `output_folder`, `planning_artifacts`, `user_name`, `communication_language`, `document_output_language`, `user_skill_level`
55
+
56
+ ### 2. First Step EXECUTION
57
+
58
+ Load, read the full file and then execute `{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md` to begin the workflow.