bmad-method 6.0.0-alpha.12 β 6.0.0-alpha.14
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.
- package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
- package/.github/scripts/discord-helpers.sh +15 -0
- package/.github/workflows/bundle-latest.yaml +79 -27
- package/.github/workflows/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +254 -1
- package/CODE_OF_CONDUCT.md +128 -0
- package/README.md +3 -1
- package/bmad-method-6.0.0-alpha.14.tgz +0 -0
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-agent-installation.md +58 -90
- package/docs/document-sharding-guide.md +1 -1
- package/docs/ide-info/rovo-dev.md +388 -0
- package/docs/index.md +6 -81
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/example-custom-content/agents/commit-poet/commit-poet.agent.yaml +129 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
- package/example-custom-content/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
- package/example-custom-content/agents/toolsmith/toolsmith.agent.yaml +109 -0
- package/example-custom-content/custom.yaml +3 -0
- package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
- package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +4 -0
- package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
- package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
- package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
- package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
- package/package.json +9 -4
- package/src/core/_module-installer/install-config.yaml +5 -1
- package/src/core/agents/bmad-master.agent.yaml +1 -1
- package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
- package/src/core/tasks/advanced-elicitation.xml +18 -8
- package/src/core/tasks/workflow.xml +36 -71
- package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
- package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
- package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
- package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
- package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
- package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
- package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
- package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
- package/src/core/workflows/brainstorming/template.md +13 -104
- package/src/core/workflows/brainstorming/workflow.md +51 -0
- package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
- package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
- package/src/core/workflows/party-mode/workflow.md +206 -0
- package/src/modules/bmb/README.md +153 -86
- package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
- package/src/modules/bmb/_module-installer/installer.js +76 -0
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +75 -38
- package/src/modules/bmb/docs/{agent-menu-patterns.md β agents/agent-menu-patterns.md} +6 -6
- package/src/modules/bmb/docs/{expert-agent-architecture.md β agents/expert-agent-architecture.md} +20 -20
- package/src/modules/bmb/docs/agents/kb.csv +0 -0
- package/src/modules/bmb/docs/{module-agent-architecture.md β agents/module-agent-architecture.md} +46 -46
- package/src/modules/bmb/docs/{simple-agent-architecture.md β agents/simple-agent-architecture.md} +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +220 -0
- package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
- package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
- package/src/modules/bmb/docs/workflows/index.md +45 -0
- package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
- package/src/modules/bmb/docs/workflows/kb.csv +0 -0
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
- package/src/modules/bmb/docs/workflows/templates/step-file.md +139 -0
- package/src/modules/bmb/docs/workflows/templates/step-template.md +290 -0
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/docs/workflows/templates/workflow.md +58 -0
- package/src/modules/bmb/docs/workflows/terms.md +97 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
- package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +176 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +120 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +153 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +29 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
- package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
- package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
- package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
- package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
- package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
- package/src/modules/bmb/workflows/create-module/validation.md +126 -0
- package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +157 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +211 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-design.md +271 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +308 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +284 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +217 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
- package/src/modules/bmb/{workflows β workflows-legacy}/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +10 -16
- package/src/modules/bmm/agents/analyst.agent.yaml +25 -22
- package/src/modules/bmm/agents/architect.agent.yaml +12 -14
- package/src/modules/bmm/agents/dev.agent.yaml +20 -16
- package/src/modules/bmm/agents/pm.agent.yaml +14 -32
- package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
- package/src/modules/bmm/agents/sm.agent.yaml +13 -31
- package/src/modules/bmm/agents/tea.agent.yaml +10 -7
- package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
- package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
- package/src/modules/bmm/data/README.md +29 -0
- package/src/modules/bmm/data/project-context-template.md +40 -0
- package/src/modules/bmm/docs/README.md +44 -10
- package/src/modules/bmm/docs/agents-guide.md +80 -53
- package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
- package/src/modules/bmm/docs/brownfield-guide.md +25 -39
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +12 -25
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +960 -1845
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +4 -2
- package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
- package/src/modules/bmm/docs/quick-spec-flow.md +5 -5
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
- package/src/modules/bmm/docs/test-architecture.md +90 -24
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-analysis.md +36 -140
- package/src/modules/bmm/docs/workflows-implementation.md +175 -160
- package/src/modules/bmm/docs/workflows-planning.md +51 -212
- package/src/modules/bmm/docs/workflows-solutioning.md +26 -71
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/teams/default-party.csv +15 -14
- package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
- package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
- package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
- package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
- package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
- package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
- package/src/modules/bmm/testarch/knowledge/log.md +294 -0
- package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
- package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
- package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
- package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
- package/src/modules/bmm/testarch/tea-index.csv +11 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +15 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +204 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +59 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +12 -200
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +243 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +49 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +224 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
- package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +354 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
- package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +11 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +202 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +33 -0
- package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
- package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
- package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
- package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +20 -3
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +29 -9
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
- package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +4 -8
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +4 -9
- package/src/modules/cis/agents/README.md +1 -1
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
- package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
- package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
- package/src/modules/cis/teams/default-party.csv +6 -5
- package/src/utility/models/agent-activation-ide.xml +4 -4
- package/src/utility/models/agent-activation-web.xml +1 -11
- package/src/utility/models/fragments/activation-rules.xml +5 -6
- package/src/utility/models/fragments/handler-exec.xml +6 -5
- package/src/utility/models/fragments/handler-multi.xml +14 -0
- package/test/README.md +1 -1
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
- package/tools/cli/README.md +4 -3
- package/tools/cli/bundlers/web-bundler.js +3 -14
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +42 -2
- package/tools/cli/installers/lib/core/config-collector.js +94 -10
- package/tools/cli/installers/lib/core/installer.js +389 -55
- package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +266 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
- package/tools/cli/installers/lib/ide/antigravity.js +51 -7
- package/tools/cli/installers/lib/ide/auggie.js +72 -7
- package/tools/cli/installers/lib/ide/claude-code.js +1 -6
- package/tools/cli/installers/lib/ide/cline.js +49 -0
- package/tools/cli/installers/lib/ide/codex.js +2 -2
- package/tools/cli/installers/lib/ide/crush.js +66 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +96 -1
- package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
- package/tools/cli/installers/lib/ide/iflow.js +67 -1
- package/tools/cli/installers/lib/ide/kilo.js +74 -0
- package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
- package/tools/cli/installers/lib/ide/opencode.js +3 -3
- package/tools/cli/installers/lib/ide/qwen.js +54 -0
- package/tools/cli/installers/lib/ide/roo.js +145 -138
- package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
- package/tools/cli/installers/lib/ide/trae.js +47 -0
- package/tools/cli/installers/lib/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +210 -27
- package/tools/cli/lib/agent/installer.js +140 -30
- package/tools/cli/lib/agent-analyzer.js +46 -18
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +269 -13
- package/tools/cli/lib/yaml-xml-builder.js +123 -39
- package/tools/platform-codes.yaml +12 -0
- package/tools/schema/agent.js +229 -20
- package/tools/validate-svg-changes.sh +356 -0
- package/src/core/tasks/adv-elicit-methods.csv +0 -39
- package/src/core/workflows/brainstorming/README.md +0 -261
- package/src/core/workflows/brainstorming/instructions.md +0 -315
- package/src/core/workflows/brainstorming/workflow.yaml +0 -38
- package/src/core/workflows/party-mode/instructions.md +0 -183
- package/src/core/workflows/party-mode/workflow.yaml +0 -28
- package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
- package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
- package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
- package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
- package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
- package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
- package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
- package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
- package/src/modules/bmb/workflows/create-module/README.md +0 -229
- package/src/modules/bmb/workflows/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows/create-module/workflow.yaml +0 -52
- package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
- package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
- package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
- package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
- package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
- package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
- package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
- package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
- package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
- package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
- package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
- package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
- package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
- package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
- package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
- package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +0 -22
- package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
- package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
- package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
- package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
- package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
- package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
- package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -616
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -63
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
- package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
- package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
- package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
- package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
- package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
- package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
- package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
- package/tools/cli/commands/agent-install.js +0 -409
- /package/src/modules/bmb/docs/{agent-compilation.md β agents/agent-compilation.md} +0 -0
- /package/src/modules/bmb/docs/{index.md β agents/index.md} +0 -0
- /package/src/modules/bmb/docs/{understanding-agent-types.md β agents/understanding-agent-types.md} +0 -0
- /package/src/modules/bmb/reference/{readme.md β README.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md β data/agent-validation-checklist.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md β data/brainstorm-context.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv β data/communication-presets.csv} +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/edit-module/README.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/edit-module/instructions.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/edit-module/workflow.yaml +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/module-brief/README.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/module-brief/checklist.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/module-brief/instructions.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/module-brief/template.md +0 -0
- /package/src/modules/bmb/{workflows β workflows-legacy}/module-brief/workflow.yaml +0 -0
- /package/src/modules/bmm/{workflows/techdoc β data}/documentation-standards.md +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "step-{{stepNumber}}-{{stepName}}"
|
|
3
|
+
description: "{{stepDescription}}"
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: "{project-root}/{*bmad_folder*}/{{targetModule}}/workflows/{{workflowName}}"
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: "{workflow_path}/steps/step-{{stepNumber}}-{{stepName}}.md"
|
|
10
|
+
{{#hasNextStep}}
|
|
11
|
+
nextStepFile: "{workflow_path}/steps/step-{{nextStepNumber}}-{{nextStepName}}.md"
|
|
12
|
+
{{/hasNextStep}}
|
|
13
|
+
workflowFile: "{workflow_path}/workflow.md"
|
|
14
|
+
{{#hasOutput}}
|
|
15
|
+
outputFile: "{output_folder}/{{outputFileName}}-{project_name}.md"
|
|
16
|
+
{{/hasOutput}}
|
|
17
|
+
|
|
18
|
+
# Task References (list only if used in THIS step file instance and only the ones used, there might be others)
|
|
19
|
+
advancedElicitationTask: "{project-root}/{*bmad_folder*}/core/tasks/advanced-elicitation.xml"
|
|
20
|
+
partyModeWorkflow: "{project-root}/{*bmad_folder*}/core/workflows/party-mode/workflow.md"
|
|
21
|
+
|
|
22
|
+
{{#hasTemplates}}
|
|
23
|
+
# Template References
|
|
24
|
+
{{#templates}}
|
|
25
|
+
{{name}}: "{workflow_path}/templates/{{file}}"
|
|
26
|
+
{{/templates}}
|
|
27
|
+
{{/hasTemplates}}
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Step {{stepNumber}}: {{stepTitle}}
|
|
31
|
+
|
|
32
|
+
## STEP GOAL:
|
|
33
|
+
|
|
34
|
+
{{stepGoal}}
|
|
35
|
+
|
|
36
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
37
|
+
|
|
38
|
+
### Universal Rules:
|
|
39
|
+
|
|
40
|
+
- π NEVER generate content without user input
|
|
41
|
+
- π CRITICAL: Read the complete step file before taking any action
|
|
42
|
+
- π CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
43
|
+
- π YOU ARE A FACILITATOR, not a content generator
|
|
44
|
+
|
|
45
|
+
### Role Reinforcement:
|
|
46
|
+
|
|
47
|
+
- β
You are a {{aiRole}}
|
|
48
|
+
- β
If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
49
|
+
- β
We engage in collaborative dialogue, not command-response
|
|
50
|
+
- β
You bring {{aiExpertise}}, user brings {{userExpertise}}
|
|
51
|
+
- β
Maintain collaborative {{collaborationStyle}} tone throughout
|
|
52
|
+
|
|
53
|
+
### Step-Specific Rules:
|
|
54
|
+
|
|
55
|
+
- π― Focus only on {{stepFocus}}
|
|
56
|
+
- π« FORBIDDEN to {{forbiddenAction}}
|
|
57
|
+
- π¬ Approach: {{stepApproach}}
|
|
58
|
+
- π {{additionalRule}}
|
|
59
|
+
|
|
60
|
+
## EXECUTION PROTOCOLS:
|
|
61
|
+
|
|
62
|
+
{{#executionProtocols}}
|
|
63
|
+
|
|
64
|
+
- π― {{.}}
|
|
65
|
+
{{/executionProtocols}}
|
|
66
|
+
|
|
67
|
+
## CONTEXT BOUNDARIES:
|
|
68
|
+
|
|
69
|
+
- Available context: {{availableContext}}
|
|
70
|
+
- Focus: {{contextFocus}}
|
|
71
|
+
- Limits: {{contextLimits}}
|
|
72
|
+
- Dependencies: {{contextDependencies}}
|
|
73
|
+
|
|
74
|
+
## SEQUENCE OF INSTRUCTIONS (Do not deviate, skip, or optimize)
|
|
75
|
+
|
|
76
|
+
{{#instructions}}
|
|
77
|
+
|
|
78
|
+
### {{number}}. {{title}}
|
|
79
|
+
|
|
80
|
+
{{content}}
|
|
81
|
+
|
|
82
|
+
{{#hasContentToAppend}}
|
|
83
|
+
|
|
84
|
+
#### Content to Append (if applicable):
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
{{contentToAppend}}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
{{/hasContentToAppend}}
|
|
91
|
+
|
|
92
|
+
{{/instructions}}
|
|
93
|
+
|
|
94
|
+
{{#hasMenu}}
|
|
95
|
+
|
|
96
|
+
### {{menuNumber}}. Present MENU OPTIONS
|
|
97
|
+
|
|
98
|
+
Display: **{{menuDisplay}}**
|
|
99
|
+
|
|
100
|
+
#### EXECUTION RULES:
|
|
101
|
+
|
|
102
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
103
|
+
- ONLY proceed to next step when user selects 'C'
|
|
104
|
+
- After other menu items execution, return to this menu
|
|
105
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
106
|
+
- Use menu handling logic section below
|
|
107
|
+
|
|
108
|
+
#### Menu Handling Logic:
|
|
109
|
+
|
|
110
|
+
{{#menuOptions}}
|
|
111
|
+
|
|
112
|
+
- IF {{key}}: {{action}}
|
|
113
|
+
{{/menuOptions}}
|
|
114
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#{{menuNumber}}-present-menu-options)
|
|
115
|
+
{{/hasMenu}}
|
|
116
|
+
|
|
117
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
118
|
+
|
|
119
|
+
{{completionNote}}
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## π¨ SYSTEM SUCCESS/FAILURE METRICS
|
|
124
|
+
|
|
125
|
+
### β
SUCCESS:
|
|
126
|
+
|
|
127
|
+
{{#successCriteria}}
|
|
128
|
+
|
|
129
|
+
- {{.}}
|
|
130
|
+
{{/successCriteria}}
|
|
131
|
+
|
|
132
|
+
### β SYSTEM FAILURE:
|
|
133
|
+
|
|
134
|
+
{{#failureModes}}
|
|
135
|
+
|
|
136
|
+
- {{.}}
|
|
137
|
+
{{/failureModes}}
|
|
138
|
+
|
|
139
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# BMAD Workflow Step Template
|
|
2
|
+
|
|
3
|
+
This template provides the standard structure for all BMAD workflow step files. Copy and modify this template for each new step you create.
|
|
4
|
+
|
|
5
|
+
<!-- TEMPLATE START -->
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
name: 'step-[N]-[short-name]'
|
|
10
|
+
description: '[Brief description of what this step accomplishes]'
|
|
11
|
+
|
|
12
|
+
<!-- Path Definitions -->
|
|
13
|
+
|
|
14
|
+
workflow*path: '{project-root}/{\_bmad_folder*}/bmb/reference/workflows/[workflow-name]' # the folder the workflow.md file is in
|
|
15
|
+
|
|
16
|
+
# File References (all use {variable} format in file)
|
|
17
|
+
|
|
18
|
+
thisStepFile: '{workflow_path}/steps/step-[N]-[short-name].md'
|
|
19
|
+
nextStep{N+1}: '{workflow_path}/steps/step-[N+1]-[next-short-name].md' # Remove for final step or no next step
|
|
20
|
+
altStep{Y}: '{workflow_path}/steps/step-[Y]-[some-other-step].md' # if there is an alternate next story depending on logic
|
|
21
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
22
|
+
outputFile: '{output_folder}/[output-file-name]-{project_name}.md'
|
|
23
|
+
|
|
24
|
+
# Task References (IF THE workflow uses and it makes sense in this step to have these )
|
|
25
|
+
|
|
26
|
+
advancedElicitationTask: '{project-root}/{_bmad_folder_}/core/tasks/advanced-elicitation.xml'
|
|
27
|
+
partyModeWorkflow: '{project-root}/{_bmad_folder_}/core/workflows/party-mode/workflow.md'
|
|
28
|
+
|
|
29
|
+
# Template References (if this step uses a specific templates)
|
|
30
|
+
|
|
31
|
+
profileTemplate: '{workflow_path}/templates/profile-section.md'
|
|
32
|
+
assessmentTemplate: '{workflow_path}/templates/assessment-section.md'
|
|
33
|
+
strategyTemplate: '{workflow_path}/templates/strategy-section.md'
|
|
34
|
+
|
|
35
|
+
# Data (CSV for example) References (if used in this step)
|
|
36
|
+
|
|
37
|
+
someData: '{workflow_path}/data/foo.csv'
|
|
38
|
+
|
|
39
|
+
# Add more as needed - but ONLY what is used in this specific step file!
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
# Step [N]: [Step Name]
|
|
44
|
+
|
|
45
|
+
## STEP GOAL:
|
|
46
|
+
|
|
47
|
+
[State the goal in context of the overall workflow goal. Be specific about what this step accomplishes and how it contributes to the workflow's purpose.]
|
|
48
|
+
|
|
49
|
+
Example: "To analyze user requirements and document functional specifications that will guide the development process"
|
|
50
|
+
|
|
51
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
52
|
+
|
|
53
|
+
### Universal Rules:
|
|
54
|
+
|
|
55
|
+
- π NEVER generate content without user input
|
|
56
|
+
- π CRITICAL: Read the complete step file before taking any action
|
|
57
|
+
- π CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
58
|
+
- π YOU ARE A FACILITATOR, not a content generator
|
|
59
|
+
|
|
60
|
+
### Role Reinforcement:
|
|
61
|
+
|
|
62
|
+
- β
You are a [specific role, e.g., "business analyst" or "technical architect"]
|
|
63
|
+
- β
If you already have been given a name, communication_style and identity, continue to use those while playing this new role
|
|
64
|
+
- β
We engage in collaborative dialogue, not command-response
|
|
65
|
+
- β
You bring [your expertise], user brings [their expertise], and together we produce something better than we could on our own
|
|
66
|
+
- β
Maintain collaborative [adjective] tone throughout
|
|
67
|
+
|
|
68
|
+
### Step-Specific Rules:
|
|
69
|
+
|
|
70
|
+
- π― Focus only on [specific task for this step]
|
|
71
|
+
- π« FORBIDDEN to [what not to do in this step]
|
|
72
|
+
- π¬ Approach: [how to handle this specific task]
|
|
73
|
+
- π Additional rule relevant to this step
|
|
74
|
+
|
|
75
|
+
## EXECUTION PROTOCOLS:
|
|
76
|
+
|
|
77
|
+
- π― [Step-specific protocol 1]
|
|
78
|
+
- πΎ [Step-specific protocol 2 - e.g., document updates]
|
|
79
|
+
- π [Step-specific protocol 3 - e.g., tracking requirements]
|
|
80
|
+
- π« [Step-specific restriction]
|
|
81
|
+
|
|
82
|
+
## CONTEXT BOUNDARIES:
|
|
83
|
+
|
|
84
|
+
- Available context: [what context is available from previous steps]
|
|
85
|
+
- Focus: [what this step should concentrate on]
|
|
86
|
+
- Limits: [what not to assume or do]
|
|
87
|
+
- Dependencies: [what this step depends on]
|
|
88
|
+
|
|
89
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
90
|
+
|
|
91
|
+
[Detailed instructions for the step's work]
|
|
92
|
+
|
|
93
|
+
### 1. Title
|
|
94
|
+
|
|
95
|
+
[Specific instructions for first part of the work]
|
|
96
|
+
|
|
97
|
+
### 2. Title
|
|
98
|
+
|
|
99
|
+
[Specific instructions for second part of the work]
|
|
100
|
+
|
|
101
|
+
### N. Title (as many as needed)
|
|
102
|
+
|
|
103
|
+
<!-- not ever step will include advanced elicitation or party mode, in which case generally will just have the C option -->
|
|
104
|
+
<!-- for example an init step 1 that loads data, or step 1b continues a workflow would not need advanced elicitation or party mode - but any step where the user and the llm work together on content, thats where it makes sense to include them -->
|
|
105
|
+
|
|
106
|
+
### N. Present MENU OPTIONS
|
|
107
|
+
|
|
108
|
+
Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
|
|
109
|
+
|
|
110
|
+
#### Menu Handling Logic:
|
|
111
|
+
|
|
112
|
+
- IF A: Execute {advancedElicitationTask} # Or custom action
|
|
113
|
+
- IF P: Execute {partyModeWorkflow} # Or custom action
|
|
114
|
+
- IF C: Save content to {outputFile}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
115
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#n-present-menu-options)
|
|
116
|
+
|
|
117
|
+
#### EXECUTION RULES:
|
|
118
|
+
|
|
119
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
120
|
+
- ONLY proceed to next step when user selects 'C'
|
|
121
|
+
- After other menu items execution completes, redisplay the menu
|
|
122
|
+
- User can chat or ask questions - always respond when conversation ends, redisplay the menu
|
|
123
|
+
|
|
124
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
125
|
+
|
|
126
|
+
[Specific conditions for completing this step and transitioning to the next, such as output to file being created with this tasks updates]
|
|
127
|
+
|
|
128
|
+
ONLY WHEN [C continue option] is selected and [completion requirements], will you then load and read fully `[installed_path]/step-[next-number]-[name].md` to execute and begin [next step description].
|
|
129
|
+
|
|
130
|
+
## π¨ SYSTEM SUCCESS/FAILURE METRICS
|
|
131
|
+
|
|
132
|
+
### β
SUCCESS:
|
|
133
|
+
|
|
134
|
+
- [Step-specific success criteria 1]
|
|
135
|
+
- [Step-specific success criteria 2]
|
|
136
|
+
- Content properly saved/document updated
|
|
137
|
+
- Menu presented and user input handled correctly
|
|
138
|
+
- [General success criteria]
|
|
139
|
+
|
|
140
|
+
### β SYSTEM FAILURE:
|
|
141
|
+
|
|
142
|
+
- [Step-specific failure mode 1]
|
|
143
|
+
- [Step-specific failure mode 2]
|
|
144
|
+
- Proceeding without user input/selection
|
|
145
|
+
- Not updating required documents/frontmatter
|
|
146
|
+
- [Step-specific failure mode N]
|
|
147
|
+
|
|
148
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
149
|
+
|
|
150
|
+
<!-- TEMPLATE END-->
|
|
151
|
+
|
|
152
|
+
## Common Menu Patterns to use in the final sequence item in a step file
|
|
153
|
+
|
|
154
|
+
FYI Again - party mode is useful for the user to reach out and get opinions from other agents.
|
|
155
|
+
|
|
156
|
+
Advanced elicitation is use to direct you to think of alternative outputs of a sequence you just performed.
|
|
157
|
+
|
|
158
|
+
### Standard Menu - when a sequence in a step results in content produced by the agent or human that could be improved before proceeding
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
### N. Present MENU OPTIONS
|
|
162
|
+
|
|
163
|
+
Display: "**Select an Option:** [A] [Advanced Elicitation] [P] Party Mode [C] Continue"
|
|
164
|
+
|
|
165
|
+
#### Menu Handling Logic:
|
|
166
|
+
|
|
167
|
+
- IF A: Execute {advancedElicitationTask}
|
|
168
|
+
- IF P: Execute {partyModeWorkflow}
|
|
169
|
+
- IF C: Save content to {outputFile}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
170
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#n-present-menu-options)
|
|
171
|
+
|
|
172
|
+
#### EXECUTION RULES:
|
|
173
|
+
|
|
174
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
175
|
+
- ONLY proceed to next step when user selects 'C'
|
|
176
|
+
- After other menu items execution, return to this menu
|
|
177
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Optional Menu - Auto-Proceed Menu (No User Choice or confirm, just flow right to the next step once completed)
|
|
181
|
+
|
|
182
|
+
```markdown
|
|
183
|
+
### N. Present MENU OPTIONS
|
|
184
|
+
|
|
185
|
+
Display: "**Proceeding to [next action]...**"
|
|
186
|
+
|
|
187
|
+
#### Menu Handling Logic:
|
|
188
|
+
|
|
189
|
+
- After [completion condition], immediately load, read entire file, then execute {nextStepFile}
|
|
190
|
+
|
|
191
|
+
#### EXECUTION RULES:
|
|
192
|
+
|
|
193
|
+
- This is an [auto-proceed reason] step with no user choices
|
|
194
|
+
- Proceed directly to next step after setup
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Custom Menu Options
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
### N. Present MENU OPTIONS
|
|
201
|
+
|
|
202
|
+
Display: "**Select an Option:** [A] [Custom Action 1] [B] [Custom Action 2] [C] Continue"
|
|
203
|
+
|
|
204
|
+
#### Menu Handling Logic:
|
|
205
|
+
|
|
206
|
+
- IF A: [Custom handler route for option A]
|
|
207
|
+
- IF B: [Custom handler route for option B]
|
|
208
|
+
- IF C: Save content to {outputFile}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
209
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#n-present-menu-options)
|
|
210
|
+
|
|
211
|
+
#### EXECUTION RULES:
|
|
212
|
+
|
|
213
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
214
|
+
- ONLY proceed to next step when user selects 'C'
|
|
215
|
+
- After other menu items execution, return to this menu
|
|
216
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Conditional Menu (Based on Workflow State)
|
|
220
|
+
|
|
221
|
+
```markdown
|
|
222
|
+
### N. Present MENU OPTIONS
|
|
223
|
+
|
|
224
|
+
Display: "**Select an Option:** [A] [Continue to Step Foo] [A] [Continue to Step Bar]"
|
|
225
|
+
|
|
226
|
+
#### Menu Handling Logic:
|
|
227
|
+
|
|
228
|
+
- IF A: Execute {customAction}
|
|
229
|
+
- IF C: Save content to {outputFile}, update frontmatter, check [condition]:
|
|
230
|
+
- IF [condition true]: load, read entire file, then execute {pathA}
|
|
231
|
+
- IF [condition false]: load, read entire file, then execute {pathB}
|
|
232
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#n-present-menu-options)
|
|
233
|
+
|
|
234
|
+
#### EXECUTION RULES:
|
|
235
|
+
|
|
236
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
237
|
+
- ONLY proceed to next step when user selects 'C'
|
|
238
|
+
- After other menu items execution, return to this menu
|
|
239
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
## Example Step Implementations
|
|
243
|
+
|
|
244
|
+
### Initialization Step Example
|
|
245
|
+
|
|
246
|
+
See [step-01-init.md](../reference/workflows/meal-prep-nutrition/steps/step-01-init.md) for an example of:
|
|
247
|
+
|
|
248
|
+
- Detecting existing workflow state and short circuit to 1b
|
|
249
|
+
- Creating output documents from templates
|
|
250
|
+
- Auto-proceeding to the next step (this is not the normal behavior of most steps)
|
|
251
|
+
- Handling continuation scenarios
|
|
252
|
+
|
|
253
|
+
### Continuation Step Example
|
|
254
|
+
|
|
255
|
+
See [step-01b-continue.md](../reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md) for an example of:
|
|
256
|
+
|
|
257
|
+
- Handling already-in-progress workflows
|
|
258
|
+
- Detecting completion status
|
|
259
|
+
- Presenting update vs new plan options
|
|
260
|
+
- Seamless workflow resumption
|
|
261
|
+
|
|
262
|
+
### Standard Step with Menu Example
|
|
263
|
+
|
|
264
|
+
See [step-02-profile.md](../reference/workflows/meal-prep-nutrition/steps/step-02-profile.md) for an example of:
|
|
265
|
+
|
|
266
|
+
- Presenting a menu with A/P/C options
|
|
267
|
+
- Forcing halt until user selects 'C' (Continue)
|
|
268
|
+
- Writing all collected content to output file only when 'C' is selected
|
|
269
|
+
- Updating frontmatter with step completion before proceeding
|
|
270
|
+
- Using frontmatter variables for file references
|
|
271
|
+
|
|
272
|
+
### Final Step Example
|
|
273
|
+
|
|
274
|
+
See [step-06-prep-schedule.md](../reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md) for an example of:
|
|
275
|
+
|
|
276
|
+
- Completing workflow deliverables
|
|
277
|
+
- Marking workflow as complete in frontmatter
|
|
278
|
+
- Providing final success messages
|
|
279
|
+
- Ending the workflow session gracefully
|
|
280
|
+
|
|
281
|
+
## Best Practices
|
|
282
|
+
|
|
283
|
+
1. **Keep step files focused** - Each step should do one thing well
|
|
284
|
+
2. **Be explicit in instructions** - No ambiguity about what to do
|
|
285
|
+
3. **Include all critical rules** - Don't assume anything from other steps
|
|
286
|
+
4. **Use clear, concise language** - Avoid jargon unless necessary
|
|
287
|
+
5. **Ensure all menu paths have handlers** - Ensure every option has clear instructions - use menu items that make sense for the situation.
|
|
288
|
+
6. **Document dependencies** - Clearly state what this step needs with full paths in front matter
|
|
289
|
+
7. **Define success and failure clearly** - Both for the step and the workflow
|
|
290
|
+
8. **Mark completion clearly** - Ensure final steps update frontmatter to indicate workflow completion
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# BMAD Workflow Template
|
|
2
|
+
|
|
3
|
+
This template provides the standard structure for all BMAD workflow files. Copy and modify this template for each new workflow you create.
|
|
4
|
+
|
|
5
|
+
<!-- TEMPLATE START -->
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
name: [WORKFLOW_DISPLAY_NAME]
|
|
10
|
+
description: [Brief description of what this workflow accomplishes]
|
|
11
|
+
web_bundle: [true/false] # Set to true for inclusion in web bundle builds
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# [WORKFLOW_DISPLAY_NAME]
|
|
16
|
+
|
|
17
|
+
**Goal:** [State the primary goal of this workflow in one clear sentence]
|
|
18
|
+
|
|
19
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also a [role] collaborating with [user type]. This is a partnership, not a client-vendor relationship. You bring [your expertise], while the user brings [their expertise]. Work together as equals.
|
|
20
|
+
|
|
21
|
+
## WORKFLOW ARCHITECTURE
|
|
22
|
+
|
|
23
|
+
### Core Principles
|
|
24
|
+
|
|
25
|
+
- **Micro-file Design**: Each step of the overall goal is a self contained instruction file that you will adhere too 1 file as directed at a time
|
|
26
|
+
- **Just-In-Time Loading**: Only 1 current step file will be loaded, read, and executed to completion - never load future step files until told to do so
|
|
27
|
+
- **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
|
|
28
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
|
|
29
|
+
- **Append-Only Building**: Build documents by appending content as directed to the output file
|
|
30
|
+
|
|
31
|
+
### Step Processing Rules
|
|
32
|
+
|
|
33
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
34
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
35
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
36
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
37
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
38
|
+
6. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
39
|
+
|
|
40
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
41
|
+
|
|
42
|
+
- π **NEVER** load multiple step files simultaneously
|
|
43
|
+
- π **ALWAYS** read entire step file before execution
|
|
44
|
+
- π« **NEVER** skip steps or optimize the sequence
|
|
45
|
+
- πΎ **ALWAYS** update frontmatter of output files when writing the final output for a specific step
|
|
46
|
+
- π― **ALWAYS** follow the exact instructions in the step file
|
|
47
|
+
- βΈοΈ **ALWAYS** halt at menus and wait for user input
|
|
48
|
+
- π **NEVER** create mental todo lists from future steps
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## INITIALIZATION SEQUENCE
|
|
53
|
+
|
|
54
|
+
### 1. Module Configuration Loading
|
|
55
|
+
|
|
56
|
+
Load and read full config from {project-root}/{_bmad_folder_}/[MODULE FOLDER]/config.yaml and resolve:
|
|
57
|
+
|
|
58
|
+
- `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`, [MODULE VARS]
|
|
59
|
+
|
|
60
|
+
### 2. First Step EXECUTION
|
|
61
|
+
|
|
62
|
+
Load, read the full file and then execute [FIRST STEP FILE PATH] to begin the workflow.
|
|
63
|
+
|
|
64
|
+
<!-- TEMPLATE END -->
|
|
65
|
+
|
|
66
|
+
## How to Use This Template
|
|
67
|
+
|
|
68
|
+
### Step 1: Copy and Replace Placeholders
|
|
69
|
+
|
|
70
|
+
Copy the template above and replace:
|
|
71
|
+
|
|
72
|
+
- `[WORKFLOW_DISPLAY_NAME]` β Your workflow's display name
|
|
73
|
+
- `[MODULE FOLDER]` β Default is `core` unless this is for another module (such as bmm, cis, or another as directed by user)
|
|
74
|
+
- `[Brief description]` β One-sentence description
|
|
75
|
+
- `[true/false]` β Whether to include in web bundle
|
|
76
|
+
- `[role]` β AI's role in this workflow
|
|
77
|
+
- `[user type]` β Who the user is
|
|
78
|
+
- `[CONFIG_PATH]` β Path to config file (usually `bmm/config.yaml` or `bmb/config.yaml`)
|
|
79
|
+
- `[WORKFLOW_PATH]` β Path to your workflow folder
|
|
80
|
+
- `[MODULE VARS]` β Extra config variables available in a module configuration that the workflow would need to use
|
|
81
|
+
|
|
82
|
+
### Step 2: Create the Folder Structure
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
[workflow-folder]/
|
|
86
|
+
βββ workflow.md # This file
|
|
87
|
+
βββ data/ # (Optional csv or other data files)
|
|
88
|
+
βββ templates/ # template files for output
|
|
89
|
+
βββ steps/
|
|
90
|
+
βββ step-01-init.md
|
|
91
|
+
βββ step-02-[name].md
|
|
92
|
+
βββ ...
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Step 3: Configure the Initialization Path
|
|
97
|
+
|
|
98
|
+
Update the last line of the workflow.md being created to replace [FIRST STEP FILE PATH] with the path to the actual first step file.
|
|
99
|
+
|
|
100
|
+
Example: Load, read the full file and then execute `{workflow_path}/steps/step-01-init.md` to begin the workflow.
|
|
101
|
+
|
|
102
|
+
### NOTE: You can View a real example of a perfect workflow.md file that was created from this template
|
|
103
|
+
|
|
104
|
+
`{project-root}/{bmad_folder}/bmb/reference/workflows/meal-prep-nutrition/workflow.md`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: { { workflowDisplayName } }
|
|
3
|
+
description: { { workflowDescription } }
|
|
4
|
+
web_bundle: { { webBundleFlag } }
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# {{workflowDisplayName}}
|
|
8
|
+
|
|
9
|
+
**Goal:** {{workflowGoal}}
|
|
10
|
+
|
|
11
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also a {{aiRole}} collaborating with {{userType}}. This is a partnership, not a client-vendor relationship. You bring {{aiExpertise}}, while the user brings {{userExpertise}}. 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_folder_}/{{targetModule}}/config.yaml and resolve:
|
|
53
|
+
|
|
54
|
+
- `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`
|
|
55
|
+
|
|
56
|
+
### 2. First Step EXECUTION
|
|
57
|
+
|
|
58
|
+
Load, read the full file and then execute `{workflow_path}/steps/step-01-init.md` to begin the workflow.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# BMAD Workflow Terms
|
|
2
|
+
|
|
3
|
+
## Core Components
|
|
4
|
+
|
|
5
|
+
### BMAD Workflow
|
|
6
|
+
|
|
7
|
+
A facilitated, guided process where the AI acts as a facilitator working collaboratively with a human. Workflows can serve any purpose - from document creation to brainstorming, technical implementation, or decision-making. The human may be a collaborative partner, beginner seeking guidance, or someone who wants the AI to execute specific tasks. Each workflow is self-contained and follows a disciplined execution model.
|
|
8
|
+
|
|
9
|
+
### workflow.md
|
|
10
|
+
|
|
11
|
+
The master control file that defines:
|
|
12
|
+
|
|
13
|
+
- Workflow metadata (name, description, version)
|
|
14
|
+
- Step sequence and file paths
|
|
15
|
+
- Required data files and dependencies
|
|
16
|
+
- Execution rules and protocols
|
|
17
|
+
|
|
18
|
+
### Step File
|
|
19
|
+
|
|
20
|
+
An individual markdown file containing:
|
|
21
|
+
|
|
22
|
+
- One discrete step of the workflow
|
|
23
|
+
- All rules and context needed for that step
|
|
24
|
+
- Execution guardrails and validation criteria
|
|
25
|
+
- Content generation guidance
|
|
26
|
+
|
|
27
|
+
### step-01-init.md
|
|
28
|
+
|
|
29
|
+
The first step file that:
|
|
30
|
+
|
|
31
|
+
- Initializes the workflow
|
|
32
|
+
- Sets up document frontmatter
|
|
33
|
+
- Establishes initial context
|
|
34
|
+
- Defines workflow parameters
|
|
35
|
+
|
|
36
|
+
### step-01b-continue.md
|
|
37
|
+
|
|
38
|
+
A continuation step file that:
|
|
39
|
+
|
|
40
|
+
- Resumes a workflow that was paused
|
|
41
|
+
- Reloads context from saved state
|
|
42
|
+
- Validates current document state
|
|
43
|
+
- Continues from the last completed step
|
|
44
|
+
|
|
45
|
+
### CSV Data Files
|
|
46
|
+
|
|
47
|
+
Structured data files that provide:
|
|
48
|
+
|
|
49
|
+
- Domain-specific knowledge and complexity mappings
|
|
50
|
+
- Project-type-specific requirements
|
|
51
|
+
- Decision matrices and lookup tables
|
|
52
|
+
- Dynamic workflow behavior based on input
|
|
53
|
+
|
|
54
|
+
## Dialog Styles
|
|
55
|
+
|
|
56
|
+
### Prescriptive Dialog
|
|
57
|
+
|
|
58
|
+
Structured interaction with:
|
|
59
|
+
|
|
60
|
+
- Exact questions and specific options
|
|
61
|
+
- Consistent format across all executions
|
|
62
|
+
- Finite, well-defined choices
|
|
63
|
+
- High reliability and repeatability
|
|
64
|
+
|
|
65
|
+
### Intent-Based Dialog
|
|
66
|
+
|
|
67
|
+
Adaptive interaction with:
|
|
68
|
+
|
|
69
|
+
- Goals and principles instead of scripts
|
|
70
|
+
- Open-ended exploration and discovery
|
|
71
|
+
- Context-aware question adaptation
|
|
72
|
+
- Flexible, conversational flow
|
|
73
|
+
|
|
74
|
+
### Template
|
|
75
|
+
|
|
76
|
+
A markdown file that:
|
|
77
|
+
|
|
78
|
+
- Starts with frontmatter (metadata)
|
|
79
|
+
- Has content built through append-only operations
|
|
80
|
+
- Contains no placeholder tags
|
|
81
|
+
- Grows progressively as the workflow executes
|
|
82
|
+
- Used when the workflow produces a document output
|
|
83
|
+
|
|
84
|
+
## Execution Concepts
|
|
85
|
+
|
|
86
|
+
### JIT Step Loading
|
|
87
|
+
|
|
88
|
+
Just-In-Time step loading ensures:
|
|
89
|
+
|
|
90
|
+
- Only the current step file is in memory
|
|
91
|
+
- Complete focus on the step being executed
|
|
92
|
+
- Minimal context to prevent information leakage
|
|
93
|
+
- Sequential progression through workflow steps
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
_These terms form the foundation of the BMAD workflow system._
|