bmad-method 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/.github/FUNDING.yaml +15 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
  4. package/.github/workflows/discord.yaml +25 -0
  5. package/.github/workflows/format-check.yaml +42 -0
  6. package/.github/workflows/manual-release.yaml +173 -0
  7. package/.husky/pre-commit +3 -2
  8. package/.vscode/settings.json +67 -74
  9. package/CHANGELOG.md +564 -19
  10. package/CONTRIBUTING.md +168 -5
  11. package/LICENSE +1 -1
  12. package/README.md +146 -218
  13. package/bmad-core/agent-teams/team-all.yaml +14 -0
  14. package/bmad-core/agent-teams/team-fullstack.yaml +18 -0
  15. package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
  16. package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
  17. package/bmad-core/agents/analyst.md +81 -0
  18. package/bmad-core/agents/architect.md +83 -0
  19. package/bmad-core/agents/bmad-master.md +107 -0
  20. package/bmad-core/agents/bmad-orchestrator.md +149 -0
  21. package/bmad-core/agents/dev.md +75 -0
  22. package/bmad-core/agents/pm.md +81 -0
  23. package/bmad-core/agents/po.md +76 -0
  24. package/bmad-core/agents/qa.md +88 -0
  25. package/bmad-core/agents/sm.md +62 -0
  26. package/bmad-core/agents/ux-expert.md +66 -0
  27. package/{.bmad-core → bmad-core}/checklists/architect-checklist.md +0 -5
  28. package/{.bmad-core → bmad-core}/checklists/change-checklist.md +2 -2
  29. package/{.bmad-core → bmad-core}/checklists/pm-checklist.md +0 -5
  30. package/{.bmad-core → bmad-core}/checklists/po-master-checklist.md +0 -9
  31. package/{.bmad-core → bmad-core}/checklists/story-dod-checklist.md +0 -7
  32. package/{.bmad-core → bmad-core}/checklists/story-draft-checklist.md +1 -4
  33. package/bmad-core/core-config.yaml +20 -0
  34. package/bmad-core/data/bmad-kb.md +806 -0
  35. package/bmad-core/data/brainstorming-techniques.md +36 -0
  36. package/bmad-core/data/elicitation-methods.md +154 -0
  37. package/bmad-core/data/test-levels-framework.md +146 -0
  38. package/bmad-core/data/test-priorities-matrix.md +172 -0
  39. package/bmad-core/tasks/advanced-elicitation.md +117 -0
  40. package/{.bmad-core → bmad-core}/tasks/correct-course.md +9 -12
  41. package/bmad-core/tasks/create-brownfield-story.md +312 -0
  42. package/{.bmad-core → bmad-core}/tasks/create-deep-research-prompt.md +4 -27
  43. package/bmad-core/tasks/create-next-story.md +112 -0
  44. package/bmad-core/tasks/document-project.md +343 -0
  45. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  46. package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
  47. package/{.bmad-core → bmad-core}/tasks/index-docs.md +3 -13
  48. package/bmad-core/tasks/kb-mode-interaction.md +75 -0
  49. package/bmad-core/tasks/nfr-assess.md +343 -0
  50. package/bmad-core/tasks/qa-gate.md +159 -0
  51. package/bmad-core/tasks/review-story.md +314 -0
  52. package/bmad-core/tasks/risk-profile.md +353 -0
  53. package/{.bmad-core → bmad-core}/tasks/shard-doc.md +27 -15
  54. package/bmad-core/tasks/test-design.md +174 -0
  55. package/bmad-core/tasks/trace-requirements.md +264 -0
  56. package/bmad-core/tasks/validate-next-story.md +134 -0
  57. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  58. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  59. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  60. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  61. package/bmad-core/templates/competitor-analysis-tmpl.yaml +306 -0
  62. package/bmad-core/templates/front-end-architecture-tmpl.yaml +218 -0
  63. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  64. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +823 -0
  65. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  66. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  67. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  68. package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
  69. package/bmad-core/templates/story-tmpl.yaml +137 -0
  70. package/bmad-core/workflows/brownfield-fullstack.yaml +297 -0
  71. package/bmad-core/workflows/brownfield-service.yaml +187 -0
  72. package/bmad-core/workflows/brownfield-ui.yaml +197 -0
  73. package/{.bmad-core/workflows/greenfield-fullstack.yml → bmad-core/workflows/greenfield-fullstack.yaml} +140 -77
  74. package/bmad-core/workflows/greenfield-service.yaml +206 -0
  75. package/bmad-core/workflows/greenfield-ui.yaml +235 -0
  76. package/common/tasks/create-doc.md +101 -0
  77. package/{.bmad-core → common}/tasks/execute-checklist.md +2 -13
  78. package/common/utils/bmad-doc-template.md +325 -0
  79. package/common/utils/workflow-management.md +69 -0
  80. package/dist/agents/analyst.txt +2889 -0
  81. package/dist/agents/architect.txt +3552 -0
  82. package/dist/agents/bmad-master.txt +8769 -0
  83. package/dist/agents/bmad-orchestrator.txt +1513 -0
  84. package/dist/agents/dev.txt +414 -0
  85. package/{.bmad-core/web-bundles → dist}/agents/pm.txt +668 -1119
  86. package/{.bmad-core/web-bundles → dist}/agents/po.txt +341 -484
  87. package/dist/agents/qa.txt +1987 -0
  88. package/dist/agents/sm.txt +658 -0
  89. package/dist/agents/ux-expert.txt +694 -0
  90. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2371 -0
  91. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +1620 -0
  92. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +815 -0
  93. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +10952 -0
  94. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4012 -0
  95. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3698 -0
  96. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +450 -0
  97. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +973 -0
  98. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +15376 -0
  99. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2075 -0
  100. package/dist/teams/team-all.txt +12682 -0
  101. package/dist/teams/team-fullstack.txt +10421 -0
  102. package/dist/teams/team-ide-minimal.txt +5103 -0
  103. package/dist/teams/team-no-ui.txt +8980 -0
  104. package/docs/GUIDING-PRINCIPLES.md +91 -0
  105. package/docs/core-architecture.md +219 -0
  106. package/docs/enhanced-ide-development-workflow.md +248 -0
  107. package/docs/expansion-packs.md +280 -0
  108. package/docs/how-to-contribute-with-pull-requests.md +158 -0
  109. package/docs/user-guide.md +504 -0
  110. package/docs/versioning-and-releases.md +115 -53
  111. package/docs/versions.md +4 -5
  112. package/docs/working-in-the-brownfield.md +597 -0
  113. package/eslint.config.mjs +119 -0
  114. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +102 -0
  115. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +13 -0
  116. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +13 -0
  117. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +25 -0
  118. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +34 -0
  119. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +70 -0
  120. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +26 -0
  121. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +109 -0
  122. package/expansion-packs/README.md +2 -112
  123. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +13 -0
  124. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +71 -0
  125. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +78 -0
  126. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +64 -0
  127. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +201 -0
  128. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +160 -0
  129. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +8 -0
  130. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +250 -0
  131. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +647 -0
  132. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +110 -0
  133. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +216 -0
  134. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +290 -0
  135. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  136. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  137. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  138. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  139. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  140. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +183 -0
  141. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +175 -0
  142. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +14 -0
  143. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
  144. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +77 -0
  145. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +78 -0
  146. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +65 -0
  147. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +391 -0
  148. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
  149. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +201 -0
  150. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +124 -0
  151. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +6 -0
  152. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +769 -0
  153. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +586 -0
  154. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +110 -0
  155. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +141 -0
  156. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +184 -0
  157. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +290 -0
  158. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
  159. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +1030 -0
  160. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +356 -0
  161. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +705 -0
  162. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +256 -0
  163. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  164. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +183 -0
  165. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +175 -0
  166. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/README.md +9 -9
  167. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/agents/infra-devops-platform.md +30 -18
  168. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
  169. package/expansion-packs/bmad-infrastructure-devops/config.yaml +9 -0
  170. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +305 -0
  171. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/review-infrastructure.md +4 -5
  172. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/validate-infrastructure.md +4 -5
  173. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  174. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  175. package/package.json +74 -42
  176. package/prettier.config.mjs +32 -0
  177. package/release_notes.md +30 -0
  178. package/tools/bmad-npx-wrapper.js +13 -15
  179. package/tools/builders/web-builder.js +544 -15
  180. package/tools/bump-all-versions.js +115 -0
  181. package/tools/bump-expansion-version.js +90 -0
  182. package/tools/cli.js +65 -32
  183. package/tools/flattener/aggregate.js +76 -0
  184. package/tools/flattener/binary.js +80 -0
  185. package/tools/flattener/discovery.js +71 -0
  186. package/tools/flattener/files.js +35 -0
  187. package/tools/flattener/ignoreRules.js +176 -0
  188. package/tools/flattener/main.js +573 -0
  189. package/tools/flattener/projectRoot.js +206 -0
  190. package/tools/flattener/prompts.js +44 -0
  191. package/tools/flattener/stats.helpers.js +395 -0
  192. package/tools/flattener/stats.js +80 -0
  193. package/tools/flattener/test-matrix.js +413 -0
  194. package/tools/flattener/xml.js +88 -0
  195. package/tools/installer/README.md +3 -53
  196. package/tools/installer/bin/bmad.js +475 -90
  197. package/tools/installer/config/ide-agent-config.yaml +58 -0
  198. package/tools/installer/config/install.config.yaml +123 -0
  199. package/tools/installer/lib/config-loader.js +208 -40
  200. package/tools/installer/lib/file-manager.js +258 -55
  201. package/tools/installer/lib/ide-base-setup.js +228 -0
  202. package/tools/installer/lib/ide-setup.js +1265 -253
  203. package/tools/installer/lib/installer.js +1651 -310
  204. package/tools/installer/lib/memory-profiler.js +225 -0
  205. package/tools/installer/lib/module-manager.js +114 -0
  206. package/tools/installer/lib/resource-locator.js +308 -0
  207. package/tools/installer/package.json +25 -24
  208. package/tools/lib/dependency-resolver.js +44 -48
  209. package/tools/lib/yaml-utils.js +29 -0
  210. package/tools/md-assets/web-agent-startup-instructions.md +39 -0
  211. package/tools/preview-release-notes.js +66 -0
  212. package/tools/shared/bannerArt.js +105 -0
  213. package/tools/sync-installer-version.js +7 -9
  214. package/tools/update-expansion-version.js +53 -0
  215. package/tools/upgraders/v3-to-v4-upgrader.js +221 -320
  216. package/tools/version-bump.js +42 -27
  217. package/tools/yaml-format.js +57 -44
  218. package/.bmad-core/agent-teams/team-all.yml +0 -16
  219. package/.bmad-core/agent-teams/team-fullstack.yml +0 -26
  220. package/.bmad-core/agent-teams/team-no-ui.yml +0 -15
  221. package/.bmad-core/agents/analyst.md +0 -59
  222. package/.bmad-core/agents/architect.md +0 -66
  223. package/.bmad-core/agents/bmad-master.md +0 -104
  224. package/.bmad-core/agents/bmad-orchestrator.md +0 -81
  225. package/.bmad-core/agents/dev.md +0 -70
  226. package/.bmad-core/agents/pm.md +0 -59
  227. package/.bmad-core/agents/po.md +0 -60
  228. package/.bmad-core/agents/qa.md +0 -52
  229. package/.bmad-core/agents/sm.md +0 -55
  230. package/.bmad-core/agents/ux-expert.md +0 -66
  231. package/.bmad-core/data/bmad-kb.md +0 -47
  232. package/.bmad-core/schemas/agent-team-schema.yml +0 -153
  233. package/.bmad-core/tasks/advanced-elicitation.md +0 -92
  234. package/.bmad-core/tasks/brainstorming-techniques.md +0 -238
  235. package/.bmad-core/tasks/core-dump.md +0 -74
  236. package/.bmad-core/tasks/create-agent.md +0 -202
  237. package/.bmad-core/tasks/create-doc.md +0 -74
  238. package/.bmad-core/tasks/create-expansion-pack.md +0 -425
  239. package/.bmad-core/tasks/create-next-story.md +0 -206
  240. package/.bmad-core/tasks/create-team.md +0 -229
  241. package/.bmad-core/tasks/doc-migration-task.md +0 -143
  242. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -58
  243. package/.bmad-core/templates/agent-tmpl.md +0 -58
  244. package/.bmad-core/templates/architecture-tmpl.md +0 -771
  245. package/.bmad-core/templates/brownfield-architecture-tmpl.md +0 -542
  246. package/.bmad-core/templates/brownfield-prd-tmpl.md +0 -240
  247. package/.bmad-core/templates/competitor-analysis-tmpl.md +0 -289
  248. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +0 -91
  249. package/.bmad-core/templates/front-end-architecture-tmpl.md +0 -173
  250. package/.bmad-core/templates/front-end-spec-tmpl.md +0 -411
  251. package/.bmad-core/templates/fullstack-architecture-tmpl.md +0 -1016
  252. package/.bmad-core/templates/market-research-tmpl.md +0 -261
  253. package/.bmad-core/templates/prd-tmpl.md +0 -200
  254. package/.bmad-core/templates/project-brief-tmpl.md +0 -228
  255. package/.bmad-core/templates/simple-project-prd-tmpl.md +0 -461
  256. package/.bmad-core/templates/story-tmpl.md +0 -61
  257. package/.bmad-core/templates/web-agent-startup-instructions-template.md +0 -39
  258. package/.bmad-core/utils/agent-switcher.ide.md +0 -112
  259. package/.bmad-core/utils/template-format.md +0 -26
  260. package/.bmad-core/utils/workflow-management.md +0 -224
  261. package/.bmad-core/web-bundles/agents/analyst.txt +0 -1684
  262. package/.bmad-core/web-bundles/agents/architect.txt +0 -3584
  263. package/.bmad-core/web-bundles/agents/bmad-master.txt +0 -9491
  264. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +0 -1466
  265. package/.bmad-core/web-bundles/agents/dev.txt +0 -316
  266. package/.bmad-core/web-bundles/agents/qa.txt +0 -129
  267. package/.bmad-core/web-bundles/agents/sm.txt +0 -658
  268. package/.bmad-core/web-bundles/agents/ux-expert.txt +0 -1099
  269. package/.bmad-core/web-bundles/teams/team-all.txt +0 -10757
  270. package/.bmad-core/web-bundles/teams/team-fullstack.txt +0 -10109
  271. package/.bmad-core/web-bundles/teams/team-no-ui.txt +0 -8950
  272. package/.bmad-core/workflows/brownfield-fullstack.yml +0 -116
  273. package/.bmad-core/workflows/brownfield-service.yml +0 -117
  274. package/.bmad-core/workflows/brownfield-ui.yml +0 -127
  275. package/.bmad-core/workflows/greenfield-service.yml +0 -143
  276. package/.bmad-core/workflows/greenfield-ui.yml +0 -172
  277. package/.claude/commands/analyst.md +0 -63
  278. package/.claude/commands/architect.md +0 -70
  279. package/.claude/commands/bmad-master.md +0 -108
  280. package/.claude/commands/bmad-orchestrator.md +0 -85
  281. package/.claude/commands/dev.md +0 -74
  282. package/.claude/commands/pm.md +0 -63
  283. package/.claude/commands/po.md +0 -64
  284. package/.claude/commands/qa.md +0 -56
  285. package/.claude/commands/sm.md +0 -59
  286. package/.claude/commands/ux-expert.md +0 -70
  287. package/.cursor/rules/analyst.mdc +0 -77
  288. package/.cursor/rules/architect.mdc +0 -84
  289. package/.cursor/rules/bmad-master.mdc +0 -122
  290. package/.cursor/rules/bmad-orchestrator.mdc +0 -99
  291. package/.cursor/rules/dev.mdc +0 -88
  292. package/.cursor/rules/pm.mdc +0 -77
  293. package/.cursor/rules/po.mdc +0 -78
  294. package/.cursor/rules/qa.mdc +0 -70
  295. package/.cursor/rules/sm.mdc +0 -73
  296. package/.cursor/rules/ux-expert.mdc +0 -84
  297. package/.github/workflows/release.yml +0 -59
  298. package/.releaserc.json +0 -18
  299. package/.roo/.roomodes +0 -95
  300. package/.roo/README.md +0 -38
  301. package/.vscode/extensions.json +0 -6
  302. package/.windsurf/rules/analyst.md +0 -71
  303. package/.windsurf/rules/architect.md +0 -78
  304. package/.windsurf/rules/bmad-master.md +0 -116
  305. package/.windsurf/rules/bmad-orchestrator.md +0 -93
  306. package/.windsurf/rules/dev.md +0 -82
  307. package/.windsurf/rules/pm.md +0 -71
  308. package/.windsurf/rules/po.md +0 -72
  309. package/.windsurf/rules/qa.md +0 -64
  310. package/.windsurf/rules/sm.md +0 -67
  311. package/.windsurf/rules/ux-expert.md +0 -78
  312. package/docs/bmad-workflow-guide.md +0 -161
  313. package/docs/claude-code-guide.md +0 -119
  314. package/docs/cursor-guide.md +0 -127
  315. package/docs/roo-code-guide.md +0 -140
  316. package/docs/sample-output/simple-fullstack-greenfield/prd.md +0 -42
  317. package/docs/windsurf-guide.md +0 -127
  318. package/expansion-packs/infrastructure-devops/manifest.yml +0 -38
  319. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  320. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  321. package/tools/installer/config/install.config.yml +0 -139
  322. package/tools/installer/package-lock.json +0 -906
  323. package/tools/installer/templates/claude-commands.md +0 -7
  324. package/tools/installer/templates/cursor-rules.md +0 -22
  325. package/tools/installer/templates/windsurf-rules.md +0 -22
  326. package/tools/semantic-release-sync-installer.js +0 -31
  327. /package/{.bmad-core → bmad-core}/data/technical-preferences.md +0 -0
  328. /package/{.bmad-core → bmad-core}/tasks/brownfield-create-epic.md +0 -0
  329. /package/{.bmad-core → bmad-core}/tasks/brownfield-create-story.md +0 -0
@@ -1,116 +0,0 @@
1
- workflow:
2
- id: brownfield-fullstack
3
- name: Brownfield Full-Stack Enhancement
4
- description: >-
5
- Agent workflow for enhancing existing full-stack applications with new features,
6
- modernization, or significant changes. Handles existing system analysis and safe integration.
7
- type: brownfield
8
- project_types:
9
- - feature-addition
10
- - refactoring
11
- - modernization
12
- - integration-enhancement
13
-
14
- # For Complex Enhancements (Multiple Stories, Architectural Changes)
15
- complex_enhancement_sequence:
16
- - step: scope_assessment
17
- agent: any
18
- action: assess complexity
19
- notes: "First, assess if this is a simple change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
20
-
21
- - step: project_analysis
22
- agent: analyst
23
- action: analyze existing project
24
- notes: "Review existing documentation, codebase structure, and identify integration points. Document current system understanding before proceeding."
25
-
26
- - agent: pm
27
- creates: brownfield-prd.md
28
- uses: brownfield-prd-tmpl
29
- requires: existing_project_analysis
30
- notes: "Creates comprehensive brownfield PRD with existing system analysis and enhancement planning. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
31
-
32
- - agent: architect
33
- creates: brownfield-architecture.md
34
- uses: brownfield-architecture-tmpl
35
- requires: brownfield-prd.md
36
- notes: "Creates brownfield architecture with integration strategy and existing system constraints. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
37
-
38
- - agent: po
39
- validates: all_artifacts
40
- uses: po-master-checklist
41
- notes: "Validates all brownfield documents for integration safety and completeness. May require updates to any document."
42
-
43
- - agent: various
44
- updates: any_flagged_documents
45
- condition: po_checklist_issues
46
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
47
-
48
- - workflow_end:
49
- action: move_to_ide
50
- notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
51
-
52
- # For Simple Enhancements (1-3 Stories, Following Existing Patterns)
53
- simple_enhancement_sequence:
54
- - step: enhancement_type
55
- action: choose approach
56
- notes: "Choose between creating single story (very small change) or epic (1-3 related stories)."
57
-
58
- - agent: pm|po|sm
59
- creates: brownfield_epic OR brownfield_story
60
- uses: brownfield-create-epic OR brownfield-create-story
61
- notes: "Create focused enhancement with existing system integration. Choose agent based on team preference and context."
62
-
63
- - workflow_end:
64
- action: move_to_ide
65
- notes: "Enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
66
-
67
- flow_diagram: |
68
- ```mermaid
69
- graph TD
70
- A[Start: Brownfield Enhancement] --> B{Enhancement Complexity?}
71
- B -->|Complex/Significant| C[analyst: analyze existing project]
72
- B -->|Simple| D{1 Story or 2-3 Stories?}
73
-
74
- C --> E[pm: brownfield-prd.md]
75
- E --> F[architect: brownfield-architecture.md]
76
- F --> G[po: validate with po-master-checklist]
77
- G --> H{PO finds issues?}
78
- H -->|Yes| I[Return to relevant agent for fixes]
79
- H -->|No| J[Move to IDE Environment]
80
- I --> G
81
-
82
- D -->|1 Story| K[pm/po/sm: brownfield-create-story]
83
- D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
84
- K --> M[Move to IDE Environment]
85
- L --> M
86
-
87
- style J fill:#90EE90
88
- style M fill:#90EE90
89
- style E fill:#FFE4B5
90
- style F fill:#FFE4B5
91
- style K fill:#FFB6C1
92
- style L fill:#FFB6C1
93
- ```
94
-
95
- decision_guidance:
96
- use_complex_sequence_when:
97
- - Enhancement requires multiple coordinated stories (4+)
98
- - Architectural changes are needed
99
- - Significant integration work required
100
- - Risk assessment and mitigation planning necessary
101
- - Multiple team members will work on related changes
102
-
103
- use_simple_sequence_when:
104
- - Enhancement can be completed in 1-3 stories
105
- - Follows existing project patterns
106
- - Integration complexity is minimal
107
- - Risk to existing system is low
108
- - Change is isolated with clear boundaries
109
-
110
- handoff_prompts:
111
- analyst_to_pm: "Existing project analysis complete. Create comprehensive brownfield PRD with integration strategy."
112
- pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the integration architecture."
113
- architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for integration safety."
114
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
115
- simple_to_ide: "Enhancement defined with existing system integration. Move to IDE environment to begin development."
116
- complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
@@ -1,117 +0,0 @@
1
- workflow:
2
- id: brownfield-service
3
- name: Brownfield Service/API Enhancement
4
- description: >-
5
- Agent workflow for enhancing existing backend services and APIs with new features,
6
- modernization, or performance improvements. Handles existing system analysis and safe integration.
7
- type: brownfield
8
- project_types:
9
- - service-modernization
10
- - api-enhancement
11
- - microservice-extraction
12
- - performance-optimization
13
- - integration-enhancement
14
-
15
- # For Complex Service Enhancements (Multiple Stories, Architectural Changes)
16
- complex_enhancement_sequence:
17
- - step: scope_assessment
18
- agent: any
19
- action: assess complexity
20
- notes: "First, assess if this is a simple service change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
21
-
22
- - step: service_analysis
23
- agent: analyst
24
- action: analyze existing service
25
- notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
26
-
27
- - agent: pm
28
- creates: brownfield-prd.md
29
- uses: brownfield-prd-tmpl
30
- requires: existing_service_analysis
31
- notes: "Creates comprehensive brownfield PRD focused on service enhancement with existing system analysis. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
32
-
33
- - agent: architect
34
- creates: brownfield-architecture.md
35
- uses: brownfield-architecture-tmpl
36
- requires: brownfield-prd.md
37
- notes: "Creates brownfield architecture with service integration strategy and API evolution planning. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
38
-
39
- - agent: po
40
- validates: all_artifacts
41
- uses: po-master-checklist
42
- notes: "Validates all brownfield documents for service integration safety and API compatibility. May require updates to any document."
43
-
44
- - agent: various
45
- updates: any_flagged_documents
46
- condition: po_checklist_issues
47
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
48
-
49
- - workflow_end:
50
- action: move_to_ide
51
- notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
52
-
53
- # For Simple Service Enhancements (1-3 Stories, Following Existing Patterns)
54
- simple_enhancement_sequence:
55
- - step: enhancement_type
56
- action: choose approach
57
- notes: "Choose between creating single story (simple API endpoint) or epic (1-3 related service changes)."
58
-
59
- - agent: pm|po|sm
60
- creates: brownfield_epic OR brownfield_story
61
- uses: brownfield-create-epic OR brownfield-create-story
62
- notes: "Create focused service enhancement with existing API integration. Choose agent based on team preference and context."
63
-
64
- - workflow_end:
65
- action: move_to_ide
66
- notes: "Service enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
67
-
68
- flow_diagram: |
69
- ```mermaid
70
- graph TD
71
- A[Start: Service Enhancement] --> B{Enhancement Complexity?}
72
- B -->|Complex/Significant| C[analyst: analyze existing service]
73
- B -->|Simple| D{1 Story or 2-3 Stories?}
74
-
75
- C --> E[pm: brownfield-prd.md]
76
- E --> F[architect: brownfield-architecture.md]
77
- F --> G[po: validate with po-master-checklist]
78
- G --> H{PO finds issues?}
79
- H -->|Yes| I[Return to relevant agent for fixes]
80
- H -->|No| J[Move to IDE Environment]
81
- I --> G
82
-
83
- D -->|1 Story| K[pm/po/sm: brownfield-create-story]
84
- D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
85
- K --> M[Move to IDE Environment]
86
- L --> M
87
-
88
- style J fill:#90EE90
89
- style M fill:#90EE90
90
- style E fill:#FFE4B5
91
- style F fill:#FFE4B5
92
- style K fill:#FFB6C1
93
- style L fill:#FFB6C1
94
- ```
95
-
96
- decision_guidance:
97
- use_complex_sequence_when:
98
- - Service enhancement requires multiple coordinated stories (4+)
99
- - API versioning or breaking changes needed
100
- - Database schema changes required
101
- - Performance or scalability improvements needed
102
- - Multiple integration points affected
103
-
104
- use_simple_sequence_when:
105
- - Adding simple endpoints or modifying existing ones
106
- - Enhancement follows existing service patterns
107
- - API compatibility maintained
108
- - Risk to existing service is low
109
- - Change is isolated with clear boundaries
110
-
111
- handoff_prompts:
112
- analyst_to_pm: "Service analysis complete. Create comprehensive brownfield PRD with service integration strategy."
113
- pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the service architecture."
114
- architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for service integration safety."
115
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
116
- simple_to_ide: "Service enhancement defined with existing API integration. Move to IDE environment to begin development."
117
- complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
@@ -1,127 +0,0 @@
1
- workflow:
2
- id: brownfield-ui
3
- name: Brownfield UI/Frontend Enhancement
4
- description: >-
5
- Agent workflow for enhancing existing frontend applications with new features,
6
- modernization, or design improvements. Handles existing UI analysis and safe integration.
7
- type: brownfield
8
- project_types:
9
- - ui-modernization
10
- - framework-migration
11
- - design-refresh
12
- - frontend-enhancement
13
-
14
- # For Complex UI Enhancements (Multiple Stories, Design Changes)
15
- complex_enhancement_sequence:
16
- - step: scope_assessment
17
- agent: any
18
- action: assess complexity
19
- notes: "First, assess if this is a simple UI change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
20
-
21
- - step: ui_analysis
22
- agent: analyst
23
- action: analyze existing UI
24
- notes: "Review existing frontend application, user feedback, analytics data, and identify improvement areas."
25
-
26
- - agent: pm
27
- creates: brownfield-prd.md
28
- uses: brownfield-prd-tmpl
29
- requires: existing_ui_analysis
30
- notes: "Creates comprehensive brownfield PRD focused on UI enhancement with existing system analysis. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
31
-
32
- - agent: ux-expert
33
- creates: front-end-spec.md
34
- uses: front-end-spec-tmpl
35
- requires: brownfield-prd.md
36
- notes: "Creates UI/UX specification for brownfield enhancement that integrates with existing design patterns. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
37
-
38
- - agent: architect
39
- creates: brownfield-architecture.md
40
- uses: brownfield-architecture-tmpl
41
- requires:
42
- - brownfield-prd.md
43
- - front-end-spec.md
44
- notes: "Creates brownfield frontend architecture with component integration strategy and migration planning. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
45
-
46
- - agent: po
47
- validates: all_artifacts
48
- uses: po-master-checklist
49
- notes: "Validates all brownfield documents for UI integration safety and design consistency. May require updates to any document."
50
-
51
- - agent: various
52
- updates: any_flagged_documents
53
- condition: po_checklist_issues
54
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
55
-
56
- - workflow_end:
57
- action: move_to_ide
58
- notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
59
-
60
- # For Simple UI Enhancements (1-3 Stories, Following Existing Design)
61
- simple_enhancement_sequence:
62
- - step: enhancement_type
63
- action: choose approach
64
- notes: "Choose between creating single story (simple component change) or epic (1-3 related UI changes)."
65
-
66
- - agent: pm|po|sm
67
- creates: brownfield_epic OR brownfield_story
68
- uses: brownfield-create-epic OR brownfield-create-story
69
- notes: "Create focused UI enhancement with existing design system integration. Choose agent based on team preference and context."
70
-
71
- - workflow_end:
72
- action: move_to_ide
73
- notes: "UI enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
74
-
75
- flow_diagram: |
76
- ```mermaid
77
- graph TD
78
- A[Start: UI Enhancement] --> B{Enhancement Complexity?}
79
- B -->|Complex/Significant| C[analyst: analyze existing UI]
80
- B -->|Simple| D{1 Story or 2-3 Stories?}
81
-
82
- C --> E[pm: brownfield-prd.md]
83
- E --> F[ux-expert: front-end-spec.md]
84
- F --> G[architect: brownfield-architecture.md]
85
- G --> H[po: validate with po-master-checklist]
86
- H --> I{PO finds issues?}
87
- I -->|Yes| J[Return to relevant agent for fixes]
88
- I -->|No| K[Move to IDE Environment]
89
- J --> H
90
-
91
- D -->|1 Story| L[pm/po/sm: brownfield-create-story]
92
- D -->|2-3 Stories| M[pm/po/sm: brownfield-create-epic]
93
- L --> N[Move to IDE Environment]
94
- M --> N
95
-
96
- style K fill:#90EE90
97
- style N fill:#90EE90
98
- style E fill:#FFE4B5
99
- style F fill:#FFE4B5
100
- style G fill:#FFE4B5
101
- style L fill:#FFB6C1
102
- style M fill:#FFB6C1
103
- ```
104
-
105
- decision_guidance:
106
- use_complex_sequence_when:
107
- - UI enhancement requires multiple coordinated stories (4+)
108
- - Design system changes needed
109
- - New component patterns required
110
- - User research and testing needed
111
- - Multiple team members will work on related changes
112
-
113
- use_simple_sequence_when:
114
- - Enhancement can be completed in 1-3 stories
115
- - Follows existing design patterns exactly
116
- - Component changes are isolated
117
- - Risk to existing UI is low
118
- - Change maintains current user experience
119
-
120
- handoff_prompts:
121
- analyst_to_pm: "UI analysis complete. Create comprehensive brownfield PRD with UI integration strategy."
122
- pm_to_ux: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the UI/UX specification."
123
- ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md, then create the frontend architecture."
124
- architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for UI integration safety."
125
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
126
- simple_to_ide: "UI enhancement defined with existing design integration. Move to IDE environment to begin development."
127
- complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
@@ -1,143 +0,0 @@
1
- workflow:
2
- id: greenfield-service
3
- name: Greenfield Service/API Development
4
- description: >-
5
- Agent workflow for building backend services from concept to development.
6
- Supports both comprehensive planning for complex services and rapid prototyping for simple APIs.
7
- type: greenfield
8
- project_types:
9
- - rest-api
10
- - graphql-api
11
- - microservice
12
- - backend-service
13
- - api-prototype
14
- - simple-service
15
-
16
- # For Complex Services (Production APIs, Multiple Endpoints)
17
- complex_service_sequence:
18
- - agent: analyst
19
- creates: project-brief.md
20
- optional_steps:
21
- - brainstorming_session
22
- - market_research_prompt
23
- notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
24
-
25
- - agent: pm
26
- creates: prd.md
27
- requires: project-brief.md
28
- notes: "Creates PRD from project brief using prd-tmpl, focused on API/service requirements. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
29
-
30
- - agent: architect
31
- creates: architecture.md
32
- requires: prd.md
33
- optional_steps:
34
- - technical_research_prompt
35
- notes: "Creates backend/service architecture using architecture-tmpl. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
36
-
37
- - agent: pm
38
- updates: prd.md (if needed)
39
- requires: architecture.md
40
- condition: architecture_suggests_prd_changes
41
- notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
42
-
43
- - agent: po
44
- validates: all_artifacts
45
- uses: po-master-checklist
46
- notes: "Validates all documents for consistency and completeness. May require updates to any document."
47
-
48
- - agent: various
49
- updates: any_flagged_documents
50
- condition: po_checklist_issues
51
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
52
-
53
- - workflow_end:
54
- action: move_to_ide
55
- notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
56
-
57
- # For Simple Services (Simple APIs, Single Purpose Services)
58
- simple_service_sequence:
59
- - step: service_scope
60
- action: assess complexity
61
- notes: "First, assess if this needs full planning (use complex_service_sequence) or can be a simple API/service."
62
-
63
- - agent: analyst
64
- creates: project-brief.md
65
- optional_steps:
66
- - brainstorming_session
67
- notes: "Creates focused project brief for simple service. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
68
-
69
- - agent: pm
70
- creates: simple_epic OR single_story
71
- uses: create-epic OR create-story
72
- requires: project-brief.md
73
- notes: "Create simple epic or story for API endpoints instead of full PRD for rapid development."
74
-
75
- - workflow_end:
76
- action: move_to_ide
77
- notes: "Simple service defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
78
-
79
- flow_diagram: |
80
- ```mermaid
81
- graph TD
82
- A[Start: Service Development] --> B{Service Complexity?}
83
- B -->|Complex/Production| C[analyst: project-brief.md]
84
- B -->|Simple/Prototype| D[analyst: focused project-brief.md]
85
-
86
- C --> E[pm: prd.md]
87
- E --> F[architect: architecture.md]
88
- F --> G{Architecture suggests PRD changes?}
89
- G -->|Yes| H[pm: update prd.md]
90
- G -->|No| I[po: validate all artifacts]
91
- H --> I
92
- I --> J{PO finds issues?}
93
- J -->|Yes| K[Return to relevant agent for fixes]
94
- J -->|No| L[Move to IDE Environment]
95
- K --> I
96
-
97
- D --> M[pm: simple epic or story]
98
- M --> N[Move to IDE Environment]
99
-
100
- C -.-> C1[Optional: brainstorming]
101
- C -.-> C2[Optional: market research]
102
- F -.-> F1[Optional: technical research]
103
- D -.-> D1[Optional: brainstorming]
104
-
105
- style L fill:#90EE90
106
- style N fill:#90EE90
107
- style C fill:#FFE4B5
108
- style E fill:#FFE4B5
109
- style F fill:#FFE4B5
110
- style D fill:#FFB6C1
111
- style M fill:#FFB6C1
112
- ```
113
-
114
- decision_guidance:
115
- use_complex_sequence_when:
116
- - Building production APIs or microservices
117
- - Multiple endpoints and complex business logic
118
- - Need comprehensive documentation and testing
119
- - Multiple team members will be involved
120
- - Long-term maintenance expected
121
- - Enterprise or external-facing APIs
122
-
123
- use_simple_sequence_when:
124
- - Building simple APIs or single-purpose services
125
- - Few endpoints with straightforward logic
126
- - Prototyping or proof-of-concept APIs
127
- - Solo developer or small team
128
- - Internal tools or utilities
129
- - Learning or experimental projects
130
-
131
- handoff_prompts:
132
- # Complex sequence prompts
133
- analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
134
- pm_to_architect: "PRD is ready. Save it as docs/prd.md in your project, then create the service architecture."
135
- architect_review: "Architecture complete. Save it as docs/architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
136
- architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
137
- updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
138
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
139
- complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
140
-
141
- # Simple sequence prompts
142
- simple_analyst_to_pm: "Focused project brief complete. Save it as docs/project-brief.md, then create simple epic or story for API development."
143
- simple_complete: "Simple service defined. Move to IDE environment to begin development."
@@ -1,172 +0,0 @@
1
- workflow:
2
- id: greenfield-ui
3
- name: Greenfield UI/Frontend Development
4
- description: >-
5
- Agent workflow for building frontend applications from concept to development.
6
- Supports both comprehensive planning for complex UIs and rapid prototyping for simple interfaces.
7
- type: greenfield
8
- project_types:
9
- - spa
10
- - mobile-app
11
- - micro-frontend
12
- - static-site
13
- - ui-prototype
14
- - simple-interface
15
-
16
- # For Complex UIs (Production Apps, Multiple Views)
17
- complex_ui_sequence:
18
- - agent: analyst
19
- creates: project-brief.md
20
- optional_steps:
21
- - brainstorming_session
22
- - market_research_prompt
23
- notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
24
-
25
- - agent: pm
26
- creates: prd.md
27
- requires: project-brief.md
28
- notes: "Creates PRD from project brief using prd-tmpl, focused on UI/frontend requirements. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
29
-
30
- - agent: ux-expert
31
- creates: front-end-spec.md
32
- requires: prd.md
33
- optional_steps:
34
- - user_research_prompt
35
- notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
36
-
37
- - agent: ux-expert
38
- creates: v0_prompt (optional)
39
- requires: front-end-spec.md
40
- condition: user_wants_ai_generation
41
- notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
42
-
43
- - agent: architect
44
- creates: front-end-architecture.md
45
- requires: front-end-spec.md
46
- optional_steps:
47
- - technical_research_prompt
48
- - review_generated_ui_structure
49
- notes: "Creates frontend architecture using front-end-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final front-end-architecture.md to your project's docs/ folder."
50
-
51
- - agent: pm
52
- updates: prd.md (if needed)
53
- requires: front-end-architecture.md
54
- condition: architecture_suggests_prd_changes
55
- notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
56
-
57
- - agent: po
58
- validates: all_artifacts
59
- uses: po-master-checklist
60
- notes: "Validates all documents for consistency and completeness. May require updates to any document."
61
-
62
- - agent: various
63
- updates: any_flagged_documents
64
- condition: po_checklist_issues
65
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
66
-
67
- - project_setup_guidance:
68
- action: guide_project_structure
69
- condition: user_has_generated_ui
70
- notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
71
-
72
- - workflow_end:
73
- action: move_to_ide
74
- notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
75
-
76
- # For Simple UIs (Simple Interfaces, Few Components)
77
- simple_ui_sequence:
78
- - step: ui_scope
79
- action: assess complexity
80
- notes: "First, assess if this needs full planning (use complex_ui_sequence) or can be a simple interface."
81
-
82
- - agent: analyst
83
- creates: project-brief.md
84
- optional_steps:
85
- - brainstorming_session
86
- notes: "Creates focused project brief for simple UI. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
87
-
88
- - agent: ux-expert
89
- creates: simple_wireframes OR quick_spec
90
- uses: create-epic OR create-story
91
- requires: project-brief.md
92
- notes: "Create simple wireframes and component list instead of full UI/UX spec for rapid development."
93
-
94
- - workflow_end:
95
- action: move_to_ide
96
- notes: "Simple UI defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
97
-
98
- flow_diagram: |
99
- ```mermaid
100
- graph TD
101
- A[Start: UI Development] --> B{UI Complexity?}
102
- B -->|Complex/Production| C[analyst: project-brief.md]
103
- B -->|Simple/Prototype| D[analyst: focused project-brief.md]
104
-
105
- C --> E[pm: prd.md]
106
- E --> F[ux-expert: front-end-spec.md]
107
- F --> F2{Generate v0 prompt?}
108
- F2 -->|Yes| F3[ux-expert: create v0 prompt]
109
- F2 -->|No| G[architect: front-end-architecture.md]
110
- F3 --> F4[User: generate UI in v0/Lovable]
111
- F4 --> G
112
- G --> H{Architecture suggests PRD changes?}
113
- H -->|Yes| I[pm: update prd.md]
114
- H -->|No| J[po: validate all artifacts]
115
- I --> J
116
- J --> K{PO finds issues?}
117
- K -->|Yes| L[Return to relevant agent for fixes]
118
- K -->|No| M[Move to IDE Environment]
119
- L --> J
120
-
121
- D --> N[ux-expert: simple wireframes]
122
- N --> O[Move to IDE Environment]
123
-
124
- C -.-> C1[Optional: brainstorming]
125
- C -.-> C2[Optional: market research]
126
- F -.-> F1[Optional: user research]
127
- G -.-> G1[Optional: technical research]
128
- D -.-> D1[Optional: brainstorming]
129
-
130
- style M fill:#90EE90
131
- style O fill:#90EE90
132
- style F3 fill:#E6E6FA
133
- style F4 fill:#E6E6FA
134
- style C fill:#FFE4B5
135
- style E fill:#FFE4B5
136
- style F fill:#FFE4B5
137
- style G fill:#FFE4B5
138
- style D fill:#FFB6C1
139
- style N fill:#FFB6C1
140
- ```
141
-
142
- decision_guidance:
143
- use_complex_sequence_when:
144
- - Building production frontend applications
145
- - Multiple views/pages with complex interactions
146
- - Need comprehensive UI/UX design and testing
147
- - Multiple team members will be involved
148
- - Long-term maintenance expected
149
- - Customer-facing applications
150
-
151
- use_simple_sequence_when:
152
- - Building simple interfaces or prototypes
153
- - Few views with straightforward interactions
154
- - Internal tools or admin interfaces
155
- - Solo developer or small team
156
- - Quick experiments or proof-of-concepts
157
- - Learning or educational projects
158
-
159
- handoff_prompts:
160
- # Complex sequence prompts
161
- analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
162
- pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
163
- ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the frontend architecture."
164
- architect_review: "Frontend architecture complete. Save it as docs/front-end-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
165
- architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
166
- updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
167
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
168
- complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
169
-
170
- # Simple sequence prompts
171
- simple_analyst_to_ux: "Focused project brief complete. Save it as docs/project-brief.md, then create simple wireframes for rapid development."
172
- simple_complete: "Simple UI defined. Move to IDE environment to begin development."