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
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
# Create Story - Workflow Instructions (Spec-compliant, non-interactive by default)
|
|
2
|
-
|
|
3
|
-
````xml
|
|
4
|
-
<critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
5
|
-
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
6
|
-
<critical>Generate all documents in {document_output_language}</critical>
|
|
7
|
-
<critical>This workflow creates or updates the next user story from epics/PRD and architecture context, saving to the configured stories directory and optionally invoking Story Context.</critical>
|
|
8
|
-
<critical>DOCUMENT OUTPUT: Concise, technical, actionable story specifications. Use tables/lists for acceptance criteria and tasks.</critical>
|
|
9
|
-
|
|
10
|
-
<workflow>
|
|
11
|
-
|
|
12
|
-
<step n="1" goal="Load config and initialize">
|
|
13
|
-
<action>Resolve variables from config_source: story_dir (sprint_artifacts), output_folder, user_name, communication_language. If story_dir missing → ASK user to provide a stories directory and update variable.</action>
|
|
14
|
-
<action>Create {{story_dir}} if it does not exist</action>
|
|
15
|
-
<action>Resolve installed component paths from workflow.yaml: template, instructions, validation</action>
|
|
16
|
-
<action>Load architecture/standards docs: For each file name in {{arch_docs_file_names}} within {{arch_docs_search_dirs}}, read if exists. Collect testing, coding standards, security, and architectural patterns.</action>
|
|
17
|
-
</step>
|
|
18
|
-
|
|
19
|
-
<step n="1.5" goal="Discover and load project documents">
|
|
20
|
-
<invoke-protocol name="discover_inputs" />
|
|
21
|
-
<note>After discovery, these content variables are available: {prd_content}, {tech_spec_content}, {architecture_content}, {ux_design_content}, {epics_content}, {document_project_content}</note>
|
|
22
|
-
</step>
|
|
23
|
-
|
|
24
|
-
<step n="2" goal="Discover previous story context">
|
|
25
|
-
<critical>PREVIOUS STORY CONTINUITY: Essential for maintaining context and learning from prior development</critical>
|
|
26
|
-
|
|
27
|
-
<action>Find the previous completed story to extract dev agent learnings and review findings:
|
|
28
|
-
1. Load {{output_folder}}/sprint-status.yaml COMPLETELY
|
|
29
|
-
2. Find current {{story_key}} in development_status section
|
|
30
|
-
3. Identify the story entry IMMEDIATELY ABOVE current story (previous row in file order)
|
|
31
|
-
4. If previous story exists:
|
|
32
|
-
- Extract {{previous_story_key}}
|
|
33
|
-
- Check previous story status (done, in-progress, review, etc.)
|
|
34
|
-
- If status is "done", "review", or "in-progress" (has some completion):
|
|
35
|
-
* Construct path: {{story_dir}}/{{previous_story_key}}.md
|
|
36
|
-
* Load the COMPLETE previous story file
|
|
37
|
-
* Parse ALL sections comprehensively:
|
|
38
|
-
|
|
39
|
-
A) Dev Agent Record → Completion Notes List:
|
|
40
|
-
- New patterns/services created (to reuse, not recreate)
|
|
41
|
-
- Architectural deviations or decisions made
|
|
42
|
-
- Technical debt deferred to future stories
|
|
43
|
-
- Warnings or recommendations for next story
|
|
44
|
-
- Interfaces/methods created for reuse
|
|
45
|
-
|
|
46
|
-
B) Dev Agent Record → Debug Log References:
|
|
47
|
-
- Issues encountered and solutions
|
|
48
|
-
- Gotchas or unexpected challenges
|
|
49
|
-
- Workarounds applied
|
|
50
|
-
|
|
51
|
-
C) Dev Agent Record → File List:
|
|
52
|
-
- Files created (NEW) - understand new capabilities
|
|
53
|
-
- Files modified (MODIFIED) - track evolving components
|
|
54
|
-
- Files deleted (DELETED) - removed functionality
|
|
55
|
-
|
|
56
|
-
D) Dev Notes:
|
|
57
|
-
- Any "future story" notes or TODOs
|
|
58
|
-
- Patterns established
|
|
59
|
-
- Constraints discovered
|
|
60
|
-
|
|
61
|
-
E) Senior Developer Review (AI) section (if present):
|
|
62
|
-
- Review outcome (Approve/Changes Requested/Blocked)
|
|
63
|
-
- Unresolved action items (unchecked [ ] items)
|
|
64
|
-
- Key findings that might affect this story
|
|
65
|
-
- Architectural concerns raised
|
|
66
|
-
|
|
67
|
-
F) Senior Developer Review → Action Items (if present):
|
|
68
|
-
- Check for unchecked [ ] items still pending
|
|
69
|
-
- Note any systemic issues that apply to multiple stories
|
|
70
|
-
|
|
71
|
-
G) Review Follow-ups (AI) tasks (if present):
|
|
72
|
-
- Check for unchecked [ ] review tasks still pending
|
|
73
|
-
- Determine if they're epic-wide concerns
|
|
74
|
-
|
|
75
|
-
H) Story Status:
|
|
76
|
-
- If "review" or "in-progress" - incomplete, note what's pending
|
|
77
|
-
- If "done" - confirmed complete
|
|
78
|
-
* Store ALL findings as {{previous_story_learnings}} with structure:
|
|
79
|
-
- new_files: [list]
|
|
80
|
-
- modified_files: [list]
|
|
81
|
-
- new_services: [list with descriptions]
|
|
82
|
-
- architectural_decisions: [list]
|
|
83
|
-
- technical_debt: [list]
|
|
84
|
-
- warnings_for_next: [list]
|
|
85
|
-
- review_findings: [list if review exists]
|
|
86
|
-
- pending_items: [list of unchecked action items]
|
|
87
|
-
- If status is "backlog" or "drafted":
|
|
88
|
-
* Set {{previous_story_learnings}} = "Previous story not yet implemented"
|
|
89
|
-
5. If no previous story exists (first story in epic):
|
|
90
|
-
- Set {{previous_story_learnings}} = "First story in epic - no predecessor context"
|
|
91
|
-
</action>
|
|
92
|
-
|
|
93
|
-
<action>If {{tech_spec_file}} empty: derive from {{tech_spec_glob_template}} with {{epic_num}} and search {{tech_spec_search_dir}} recursively. If multiple, pick most recent by modified time.</action>
|
|
94
|
-
<action>Build a prioritized document set for this epic - search and load from {input_file_patterns} list of potential locations:
|
|
95
|
-
1) tech_spec_file (epic-scoped)
|
|
96
|
-
2) epics_file (acceptance criteria and breakdown) the specific epic the story will be part of
|
|
97
|
-
3) prd_file (business requirements and constraints) whole or sharded
|
|
98
|
-
4) architecture_file (architecture constraints) whole or sharded
|
|
99
|
-
</action>
|
|
100
|
-
<action>READ COMPLETE FILES for all items found in the prioritized set. Store content and paths for citation.</action>
|
|
101
|
-
</step>
|
|
102
|
-
|
|
103
|
-
<step n="3" goal="Find next backlog story to draft" tag="sprint-status">
|
|
104
|
-
<critical>MUST read COMPLETE {sprint_status} file from start to end to preserve order</critical>
|
|
105
|
-
<action>Read ALL lines from beginning to end - do not skip any content</action>
|
|
106
|
-
<action>Parse the development_status section completely to understand story order</action>
|
|
107
|
-
|
|
108
|
-
<action>Find the FIRST story (by reading in order from top to bottom) where:
|
|
109
|
-
- Key matches pattern: number-number-name (e.g., "1-2-user-auth")
|
|
110
|
-
- NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
|
|
111
|
-
- Status value equals "backlog"
|
|
112
|
-
</action>
|
|
113
|
-
|
|
114
|
-
<check if="no backlog story found">
|
|
115
|
-
<output>📋 No backlog stories found in sprint-status.yaml
|
|
116
|
-
|
|
117
|
-
All stories are either already drafted or completed.
|
|
118
|
-
|
|
119
|
-
**Options:**
|
|
120
|
-
1. Run sprint-planning to refresh story tracking
|
|
121
|
-
2. Load PM agent and run correct-course to add more stories
|
|
122
|
-
3. Check if current sprint is complete
|
|
123
|
-
</output>
|
|
124
|
-
<action>HALT</action>
|
|
125
|
-
</check>
|
|
126
|
-
|
|
127
|
-
<action>Extract from found story key (e.g., "1-2-user-authentication"):
|
|
128
|
-
- epic_num: first number before dash (e.g., "1")
|
|
129
|
-
- story_num: second number after first dash (e.g., "2")
|
|
130
|
-
- story_title: remainder after second dash (e.g., "user-authentication")
|
|
131
|
-
</action>
|
|
132
|
-
<action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
|
|
133
|
-
<action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
|
|
134
|
-
|
|
135
|
-
<action>Verify story is enumerated in {{epics_file}}. If not found, HALT with message:</action>
|
|
136
|
-
<action>"Story {{story_key}} not found in epics.md. Please load PM agent and run correct-course to sync epics, then rerun create-story."</action>
|
|
137
|
-
|
|
138
|
-
<action>Check if story file already exists at expected path in {{story_dir}}</action>
|
|
139
|
-
<check if="story file exists">
|
|
140
|
-
<output>ℹ️ Story file already exists: {{story_file_path}}
|
|
141
|
-
Will update existing story file rather than creating new one.
|
|
142
|
-
</output>
|
|
143
|
-
<action>Set update_mode = true</action>
|
|
144
|
-
</check>
|
|
145
|
-
</step>
|
|
146
|
-
|
|
147
|
-
<step n="4" goal="Extract requirements and derive story statement">
|
|
148
|
-
<action>From tech_spec_file (preferred) or epics_file: extract epic {{epic_num}} title/summary, acceptance criteria for the next story, and any component references. If not present, fall back to PRD sections mapping to this epic/story.</action>
|
|
149
|
-
<action>From architecture and architecture docs: extract constraints, patterns, component boundaries, and testing guidance relevant to the extracted ACs. ONLY capture information that directly informs implementation of this story.</action>
|
|
150
|
-
<action>Derive a clear user story statement (role, action, benefit) grounded strictly in the above sources. If ambiguous and {{non_interactive}} == false → ASK user to clarify. If {{non_interactive}} == true → generate the best grounded statement WITHOUT inventing domain facts.</action>
|
|
151
|
-
<template-output file="{default_output_file}">requirements_context_summary</template-output>
|
|
152
|
-
</step>
|
|
153
|
-
|
|
154
|
-
<step n="5" goal="Project structure alignment and lessons learned">
|
|
155
|
-
<action>Review {{previous_story_learnings}} and extract actionable intelligence:
|
|
156
|
-
- New patterns/services created → Note for reuse (DO NOT recreate)
|
|
157
|
-
- Architectural deviations → Understand and maintain consistency
|
|
158
|
-
- Technical debt items → Assess if this story should address them
|
|
159
|
-
- Files modified → Understand current state of evolving components
|
|
160
|
-
- Warnings/recommendations → Apply to this story's approach
|
|
161
|
-
- Review findings → Learn from issues found in previous story
|
|
162
|
-
- Pending action items → Determine if epic-wide concerns affect this story
|
|
163
|
-
</action>
|
|
164
|
-
|
|
165
|
-
<action>If unified-project-structure.md present: align expected file paths, module names, and component locations; note any potential conflicts.</action>
|
|
166
|
-
|
|
167
|
-
<action>Cross-reference {{previous_story_learnings}}.new_files with project structure to understand where new capabilities are located.</action>
|
|
168
|
-
|
|
169
|
-
<template-output file="{default_output_file}">structure_alignment_summary</template-output>
|
|
170
|
-
</step>
|
|
171
|
-
|
|
172
|
-
<step n="6" goal="Assemble acceptance criteria and tasks">
|
|
173
|
-
<action>Assemble acceptance criteria list from tech_spec or epics. If gaps exist, derive minimal, testable criteria from PRD verbatim phrasing (NO invention).</action>
|
|
174
|
-
<action>Create tasks/subtasks directly mapped to ACs. Include explicit testing subtasks per testing-strategy and existing tests framework. Cite architecture/source documents for any technical mandates.</action>
|
|
175
|
-
<template-output file="{default_output_file}">acceptance_criteria</template-output>
|
|
176
|
-
<template-output file="{default_output_file}">tasks_subtasks</template-output>
|
|
177
|
-
</step>
|
|
178
|
-
|
|
179
|
-
<step n="7" goal="Create or update story document">
|
|
180
|
-
<action>Resolve output path: {default_output_file} using current {{epic_num}} and {{story_num}}. If targeting an existing story for update, use its path.</action>
|
|
181
|
-
<action>Initialize from template.md if creating a new file; otherwise load existing file for edit.</action>
|
|
182
|
-
<action>Compute a concise story_title from epic/story context; if missing, synthesize from PRD feature name and epic number.</action>
|
|
183
|
-
<template-output file="{default_output_file}">story_header</template-output>
|
|
184
|
-
<template-output file="{default_output_file}">story_body</template-output>
|
|
185
|
-
<template-output file="{default_output_file}">dev_notes_with_citations</template-output>
|
|
186
|
-
|
|
187
|
-
<action>If {{previous_story_learnings}} contains actionable items (not "First story" or "not yet implemented"):
|
|
188
|
-
- Add "Learnings from Previous Story" subsection to Dev Notes
|
|
189
|
-
- Include relevant completion notes, new files/patterns, deviations
|
|
190
|
-
- Cite previous story file as reference [Source: stories/{{previous_story_key}}.md]
|
|
191
|
-
- Highlight interfaces/services to REUSE (not recreate)
|
|
192
|
-
- Note any technical debt to address in this story
|
|
193
|
-
- List pending review items that affect this story (if any)
|
|
194
|
-
- Reference specific files created: "Use {{file_path}} for {{purpose}}"
|
|
195
|
-
- Format example:
|
|
196
|
-
```
|
|
197
|
-
### Learnings from Previous Story
|
|
198
|
-
|
|
199
|
-
**From Story {{previous_story_key}} (Status: {{previous_status}})**
|
|
200
|
-
|
|
201
|
-
- **New Service Created**: `AuthService` base class available at `src/services/AuthService.js` - use `AuthService.register()` method
|
|
202
|
-
- **Architectural Change**: Switched from session-based to JWT authentication
|
|
203
|
-
- **Schema Changes**: User model now includes `passwordHash` field, migration applied
|
|
204
|
-
- **Technical Debt**: Email verification skipped, should be included in this or subsequent story
|
|
205
|
-
- **Testing Setup**: Auth test suite initialized at `tests/integration/auth.test.js` - follow patterns established there
|
|
206
|
-
- **Pending Review Items**: Rate limiting mentioned in review - consider for this story
|
|
207
|
-
|
|
208
|
-
[Source: stories/{{previous_story_key}}.md#Dev-Agent-Record]
|
|
209
|
-
```
|
|
210
|
-
</action>
|
|
211
|
-
|
|
212
|
-
<template-output file="{default_output_file}">change_log</template-output>
|
|
213
|
-
</step>
|
|
214
|
-
|
|
215
|
-
<step n="8" goal="Validate, save, and mark story drafted" tag="sprint-status">
|
|
216
|
-
<invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
|
|
217
|
-
<action>Save document unconditionally (non-interactive default). In interactive mode, allow user confirmation.</action>
|
|
218
|
-
|
|
219
|
-
<!-- Mark story as drafted in sprint status -->
|
|
220
|
-
<action>Update {{output_folder}}/sprint-status.yaml</action>
|
|
221
|
-
<action>Load the FULL file and read all development_status entries</action>
|
|
222
|
-
<action>Find development_status key matching {{story_key}}</action>
|
|
223
|
-
<action>Verify current status is "backlog" (expected previous state)</action>
|
|
224
|
-
<action>Update development_status[{{story_key}}] = "drafted"</action>
|
|
225
|
-
<action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
|
|
226
|
-
|
|
227
|
-
<check if="story key not found in file">
|
|
228
|
-
<output>⚠️ Could not update story status: {{story_key}} not found in sprint-status.yaml
|
|
229
|
-
|
|
230
|
-
Story file was created successfully, but sprint-status.yaml was not updated.
|
|
231
|
-
You may need to run sprint-planning to refresh tracking, or manually set the story row status to `drafted`.
|
|
232
|
-
</output>
|
|
233
|
-
</check>
|
|
234
|
-
|
|
235
|
-
<action>Report created/updated story path</action>
|
|
236
|
-
<output>**✅ Story Created Successfully, {user_name}!**
|
|
237
|
-
|
|
238
|
-
**Story Details:**
|
|
239
|
-
|
|
240
|
-
- Story ID: {{story_id}}
|
|
241
|
-
- Story Key: {{story_key}}
|
|
242
|
-
- File: {{story_file}}
|
|
243
|
-
- Status: drafted (was backlog)
|
|
244
|
-
|
|
245
|
-
**⚠️ Important:** The following workflows are context-intensive. It's recommended to clear context and restart the SM agent before running the next command.
|
|
246
|
-
|
|
247
|
-
**Next Steps:**
|
|
248
|
-
|
|
249
|
-
1. Review the drafted story in {{story_file}}
|
|
250
|
-
2. **[RECOMMENDED]** Run `story-context` to generate technical context XML and mark story ready for development (combines context + ready in one step)
|
|
251
|
-
3. Or run `story-ready` to manually mark the story ready without generating technical context
|
|
252
|
-
</output>
|
|
253
|
-
</step>
|
|
254
|
-
|
|
255
|
-
</workflow>
|
|
256
|
-
````
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
# Develop Story - Workflow Instructions
|
|
2
|
-
|
|
3
|
-
```xml
|
|
4
|
-
<critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
5
|
-
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
6
|
-
<critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
|
|
7
|
-
<critical>Generate all documents in {document_output_language}</critical>
|
|
8
|
-
<critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status</critical>
|
|
9
|
-
<critical>Execute ALL steps in exact order; do NOT skip steps</critical>
|
|
10
|
-
<critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives other instruction.</critical>
|
|
11
|
-
<critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.</critical>
|
|
12
|
-
|
|
13
|
-
<critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
|
|
14
|
-
|
|
15
|
-
<workflow>
|
|
16
|
-
|
|
17
|
-
<step n="1" goal="Find next ready story and load it" tag="sprint-status">
|
|
18
|
-
<check if="{{story_path}} is provided">
|
|
19
|
-
<action>Use {{story_path}} directly</action>
|
|
20
|
-
<action>Read COMPLETE story file</action>
|
|
21
|
-
<action>Extract story_key from filename or metadata</action>
|
|
22
|
-
<goto>task_check</goto>
|
|
23
|
-
</check>
|
|
24
|
-
|
|
25
|
-
<critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
|
|
26
|
-
<action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
|
|
27
|
-
<action>Read ALL lines from beginning to end - do not skip any content</action>
|
|
28
|
-
<action>Parse the development_status section completely to understand story order</action>
|
|
29
|
-
|
|
30
|
-
<action>Find the FIRST story (by reading in order from top to bottom) where:
|
|
31
|
-
- Key matches pattern: number-number-name (e.g., "1-2-user-auth")
|
|
32
|
-
- NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
|
|
33
|
-
- Status value equals "ready-for-dev"
|
|
34
|
-
</action>
|
|
35
|
-
|
|
36
|
-
<check if="no ready-for-dev or in-progress story found">
|
|
37
|
-
<output>📋 No ready-for-dev stories found in sprint-status.yaml
|
|
38
|
-
**Options:**
|
|
39
|
-
1. Run `story-context` to generate context file and mark drafted stories as ready
|
|
40
|
-
2. Run `story-ready` to quickly mark drafted stories as ready without generating context
|
|
41
|
-
3. Run `create-story` if no incomplete stories are drafted yet
|
|
42
|
-
4. Check {output_folder}/sprint-status.yaml to see current sprint status
|
|
43
|
-
</output>
|
|
44
|
-
<action>HALT</action>
|
|
45
|
-
</check>
|
|
46
|
-
|
|
47
|
-
<action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
|
|
48
|
-
<action>Find matching story file in {{story_dir}} using story_key pattern: {{story_key}}.md</action>
|
|
49
|
-
<action>Read COMPLETE story file from discovered path</action>
|
|
50
|
-
|
|
51
|
-
<anchor id="task_check" />
|
|
52
|
-
|
|
53
|
-
<action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
|
|
54
|
-
|
|
55
|
-
<action>Check if context file exists at: {{story_dir}}/{{story_key}}.context.xml</action>
|
|
56
|
-
<check if="context file exists">
|
|
57
|
-
<action>Read COMPLETE context file</action>
|
|
58
|
-
<action>Parse all sections: story details, artifacts (docs, code, dependencies), interfaces, constraints, tests</action>
|
|
59
|
-
<action>Use this context to inform implementation decisions and approaches</action>
|
|
60
|
-
</check>
|
|
61
|
-
<check if="context file does NOT exist">
|
|
62
|
-
<output>ℹ️ No context file found for {{story_key}}
|
|
63
|
-
|
|
64
|
-
Proceeding with story file only. For better context, consider running `story-context` workflow first.
|
|
65
|
-
</output>
|
|
66
|
-
</check>
|
|
67
|
-
|
|
68
|
-
<action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
|
|
69
|
-
|
|
70
|
-
<action if="no incomplete tasks"><goto step="6">Completion sequence</goto></action>
|
|
71
|
-
<action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
|
|
72
|
-
<action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
|
|
73
|
-
</step>
|
|
74
|
-
|
|
75
|
-
<step n="0.5" goal="Discover and load project documents">
|
|
76
|
-
<invoke-protocol name="discover_inputs" />
|
|
77
|
-
<note>After discovery, these content variables are available: {architecture_content}, {tech_spec_content}, {ux_design_content}, {epics_content} (selective load), {document_project_content}</note>
|
|
78
|
-
</step>
|
|
79
|
-
|
|
80
|
-
<step n="1.5" goal="Detect review continuation and extract review context">
|
|
81
|
-
<critical>Determine if this is a fresh start or continuation after code review</critical>
|
|
82
|
-
|
|
83
|
-
<action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
|
|
84
|
-
<action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
|
|
85
|
-
|
|
86
|
-
<check if="Senior Developer Review section exists">
|
|
87
|
-
<action>Set review_continuation = true</action>
|
|
88
|
-
<action>Extract from "Senior Developer Review (AI)" section:
|
|
89
|
-
- Review outcome (Approve/Changes Requested/Blocked)
|
|
90
|
-
- Review date
|
|
91
|
-
- Total action items with checkboxes (count checked vs unchecked)
|
|
92
|
-
- Severity breakdown (High/Med/Low counts)
|
|
93
|
-
</action>
|
|
94
|
-
<action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
|
|
95
|
-
<action>Store list of unchecked review items as {{pending_review_items}}</action>
|
|
96
|
-
|
|
97
|
-
<output>⏯️ **Resuming Story After Code Review** ({{review_date}})
|
|
98
|
-
|
|
99
|
-
**Review Outcome:** {{review_outcome}}
|
|
100
|
-
**Action Items:** {{unchecked_review_count}} remaining to address
|
|
101
|
-
**Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
|
|
102
|
-
|
|
103
|
-
**Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
|
|
104
|
-
</output>
|
|
105
|
-
</check>
|
|
106
|
-
|
|
107
|
-
<check if="Senior Developer Review section does NOT exist">
|
|
108
|
-
<action>Set review_continuation = false</action>
|
|
109
|
-
<action>Set {{pending_review_items}} = empty</action>
|
|
110
|
-
|
|
111
|
-
<output>🚀 **Starting Fresh Implementation**
|
|
112
|
-
|
|
113
|
-
Story: {{story_key}}
|
|
114
|
-
Context file: {{context_available}}
|
|
115
|
-
First incomplete task: {{first_task_description}}
|
|
116
|
-
</output>
|
|
117
|
-
</check>
|
|
118
|
-
</step>
|
|
119
|
-
|
|
120
|
-
<step n="1.6" goal="Mark story in-progress" tag="sprint-status">
|
|
121
|
-
<action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
|
|
122
|
-
<action>Read all development_status entries to find {{story_key}}</action>
|
|
123
|
-
<action>Get current status value for development_status[{{story_key}}]</action>
|
|
124
|
-
|
|
125
|
-
<check if="current status == 'ready-for-dev'">
|
|
126
|
-
<action>Update the story in the sprint status report to = "in-progress"</action>
|
|
127
|
-
<output>🚀 Starting work on story {{story_key}}
|
|
128
|
-
Status updated: ready-for-dev → in-progress
|
|
129
|
-
</output>
|
|
130
|
-
</check>
|
|
131
|
-
|
|
132
|
-
<check if="current status == 'in-progress'">
|
|
133
|
-
<output>⏯️ Resuming work on story {{story_key}}
|
|
134
|
-
Story is already marked in-progress
|
|
135
|
-
</output>
|
|
136
|
-
</check>
|
|
137
|
-
|
|
138
|
-
<check if="current status is neither ready-for-dev nor in-progress">
|
|
139
|
-
<output>⚠️ Unexpected story status: {{current_status}}
|
|
140
|
-
Expected ready-for-dev or in-progress. Continuing anyway...
|
|
141
|
-
</output>
|
|
142
|
-
</check>
|
|
143
|
-
</step>
|
|
144
|
-
|
|
145
|
-
<step n="2" goal="Plan and implement task">
|
|
146
|
-
<action>Review acceptance criteria and dev notes for the selected task</action>
|
|
147
|
-
<action>Plan implementation steps and edge cases; write down a brief plan in Dev Agent Record → Debug Log</action>
|
|
148
|
-
<action>Implement the task COMPLETELY including all subtasks, critically following best practices, coding patterns and coding standards in this repo you have learned about from the story and context file or your own critical agent instructions</action>
|
|
149
|
-
<action>Handle error conditions and edge cases appropriately</action>
|
|
150
|
-
<action if="new or different than what is documented dependencies are needed">ASK user for approval before adding</action>
|
|
151
|
-
<action if="3 consecutive implementation failures occur">HALT and request guidance</action>
|
|
152
|
-
<action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
|
|
153
|
-
<critical>Do not stop after partial progress; continue iterating tasks until all ACs are satisfied and tested or a HALT condition triggers</critical>
|
|
154
|
-
<critical>Do NOT propose to pause for review, stand-ups, or validation until Step 6 gates are satisfied</critical>
|
|
155
|
-
</step>
|
|
156
|
-
|
|
157
|
-
<step n="3" goal="Author comprehensive tests">
|
|
158
|
-
<action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
|
|
159
|
-
<action>Add integration tests for component interactions where desired by test plan or story notes</action>
|
|
160
|
-
<action>Include end-to-end tests for critical user flows where desired by test plan or story notes</action>
|
|
161
|
-
<action>Cover edge cases and error handling scenarios noted in the test plan or story notes</action>
|
|
162
|
-
</step>
|
|
163
|
-
|
|
164
|
-
<step n="4" goal="Run validations and tests">
|
|
165
|
-
<action>Determine how to run tests for this repo (infer or use {{run_tests_command}} if provided)</action>
|
|
166
|
-
<action>Run all existing tests to ensure no regressions</action>
|
|
167
|
-
<action>Run the new tests to verify implementation correctness</action>
|
|
168
|
-
<action>Run linting and code quality checks if configured</action>
|
|
169
|
-
<action>Validate implementation meets ALL story acceptance criteria; if ACs include quantitative thresholds (e.g., test pass rate), ensure they are met before marking complete</action>
|
|
170
|
-
<action if="regression tests fail">STOP and fix before continuing, consider how current changes made broke regression</action>
|
|
171
|
-
<action if="new tests fail">STOP and fix before continuing</action>
|
|
172
|
-
</step>
|
|
173
|
-
|
|
174
|
-
<step n="5" goal="Mark task complete, track review resolutions, and update story">
|
|
175
|
-
<critical>If task is a review follow-up, must mark BOTH the task checkbox AND the corresponding action item in the review section</critical>
|
|
176
|
-
|
|
177
|
-
<action>Check if completed task has [AI-Review] prefix (indicates review follow-up task)</action>
|
|
178
|
-
|
|
179
|
-
<check if="task is review follow-up">
|
|
180
|
-
<action>Extract review item details (severity, description, related AC/file)</action>
|
|
181
|
-
<action>Add to resolution tracking list: {{resolved_review_items}}</action>
|
|
182
|
-
|
|
183
|
-
<!-- Mark task in Review Follow-ups section -->
|
|
184
|
-
<action>Mark task checkbox [x] in "Tasks/Subtasks → Review Follow-ups (AI)" section</action>
|
|
185
|
-
|
|
186
|
-
<!-- CRITICAL: Also mark corresponding action item in review section -->
|
|
187
|
-
<action>Find matching action item in "Senior Developer Review (AI) → Action Items" section by matching description</action>
|
|
188
|
-
<action>Mark that action item checkbox [x] as resolved</action>
|
|
189
|
-
|
|
190
|
-
<action>Add to Dev Agent Record → Completion Notes: "✅ Resolved review finding [{{severity}}]: {{description}}"</action>
|
|
191
|
-
</check>
|
|
192
|
-
|
|
193
|
-
<action>ONLY mark the task (and subtasks) checkbox with [x] if ALL tests pass and validation succeeds</action>
|
|
194
|
-
<action>Update File List section with any new, modified, or deleted files (paths relative to repo root)</action>
|
|
195
|
-
<action>Add completion notes to Dev Agent Record if significant changes were made (summarize intent, approach, and any follow-ups)</action>
|
|
196
|
-
|
|
197
|
-
<check if="review_continuation == true and {{resolved_review_items}} is not empty">
|
|
198
|
-
<action>Count total resolved review items in this session</action>
|
|
199
|
-
<action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
|
|
200
|
-
</check>
|
|
201
|
-
|
|
202
|
-
<action>Save the story file</action>
|
|
203
|
-
<action>Determine if more incomplete tasks remain</action>
|
|
204
|
-
<action if="more tasks remain"><goto step="2">Next task</goto></action>
|
|
205
|
-
<action if="no tasks remain"><goto step="6">Completion</goto></action>
|
|
206
|
-
</step>
|
|
207
|
-
|
|
208
|
-
<step n="6" goal="Story completion and mark for review" tag="sprint-status">
|
|
209
|
-
<action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
|
|
210
|
-
<action>Run the full regression suite (do not skip)</action>
|
|
211
|
-
<action>Confirm File List includes every changed file</action>
|
|
212
|
-
<action>Execute story definition-of-done checklist, if the story includes one</action>
|
|
213
|
-
<action>Update the story Status to: review</action>
|
|
214
|
-
|
|
215
|
-
<!-- Mark story ready for review -->
|
|
216
|
-
<action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
|
|
217
|
-
<action>Find development_status key matching {{story_key}}</action>
|
|
218
|
-
<action>Verify current status is "in-progress" (expected previous state)</action>
|
|
219
|
-
<action>Update development_status[{{story_key}}] = "review"</action>
|
|
220
|
-
<action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
|
|
221
|
-
|
|
222
|
-
<check if="story key not found in file">
|
|
223
|
-
<output>⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found
|
|
224
|
-
|
|
225
|
-
Story is marked Ready for Review in file, but sprint-status.yaml may be out of sync.
|
|
226
|
-
</output>
|
|
227
|
-
</check>
|
|
228
|
-
|
|
229
|
-
<action if="any task is incomplete">Return to step 1 to complete remaining work (Do NOT finish with partial progress)</action>
|
|
230
|
-
<action if="regression failures exist">STOP and resolve before completing</action>
|
|
231
|
-
<action if="File List is incomplete">Update it before completing</action>
|
|
232
|
-
</step>
|
|
233
|
-
|
|
234
|
-
<step n="7" goal="Completion communication and user support">
|
|
235
|
-
<action>Optionally run the workflow validation task against the story using {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml</action>
|
|
236
|
-
<action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
|
|
237
|
-
|
|
238
|
-
<action>Communicate to {user_name} that story implementation is complete and ready for review</action>
|
|
239
|
-
<action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
|
|
240
|
-
<action>Provide the story file path and current status (now "review", was "in-progress")</action>
|
|
241
|
-
|
|
242
|
-
<action>Based on {user_skill_level}, ask if user needs any explanations about:
|
|
243
|
-
- What was implemented and how it works
|
|
244
|
-
- Why certain technical decisions were made
|
|
245
|
-
- How to test or verify the changes
|
|
246
|
-
- Any patterns, libraries, or approaches used
|
|
247
|
-
- Anything else they'd like clarified
|
|
248
|
-
</action>
|
|
249
|
-
|
|
250
|
-
<check if="user asks for explanations">
|
|
251
|
-
<action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
|
|
252
|
-
<action>Use examples and references to specific code when helpful</action>
|
|
253
|
-
</check>
|
|
254
|
-
|
|
255
|
-
<action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
|
|
256
|
-
<action>Common next steps to suggest (but allow user flexibility):
|
|
257
|
-
- Review the implemented story yourself and test the changes
|
|
258
|
-
- Verify all acceptance criteria are met
|
|
259
|
-
- Ensure deployment readiness if applicable
|
|
260
|
-
- Run `code-review` workflow for peer review
|
|
261
|
-
- Check sprint-status.yaml to see project progress
|
|
262
|
-
</action>
|
|
263
|
-
<action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
|
|
264
|
-
</step>
|
|
265
|
-
|
|
266
|
-
</workflow>
|
|
267
|
-
```
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Tech Spec Validation Checklist
|
|
2
|
-
|
|
3
|
-
```xml
|
|
4
|
-
<checklist id="{bmad_folder}/bmm/workflows/4-implementation/epic-tech-context/checklist">
|
|
5
|
-
<item>Overview clearly ties to PRD goals</item>
|
|
6
|
-
<item>Scope explicitly lists in-scope and out-of-scope</item>
|
|
7
|
-
<item>Design lists all services/modules with responsibilities</item>
|
|
8
|
-
<item>Data models include entities, fields, and relationships</item>
|
|
9
|
-
<item>APIs/interfaces are specified with methods and schemas</item>
|
|
10
|
-
<item>NFRs: performance, security, reliability, observability addressed</item>
|
|
11
|
-
<item>Dependencies/integrations enumerated with versions where known</item>
|
|
12
|
-
<item>Acceptance criteria are atomic and testable</item>
|
|
13
|
-
<item>Traceability maps AC → Spec → Components → Tests</item>
|
|
14
|
-
<item>Risks/assumptions/questions listed with mitigation/next steps</item>
|
|
15
|
-
<item>Test strategy covers all ACs and critical paths</item>
|
|
16
|
-
</checklist>
|
|
17
|
-
```
|