bmad-method 6.0.0-alpha.13 → 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/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +95 -0
- package/CODE_OF_CONDUCT.md +128 -0
- 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 +56 -102
- package/docs/document-sharding-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
- 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/resources/excalidraw/library-loader.md +2 -2
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
- package/src/core/workflows/party-mode/workflow.md +2 -3
- package/src/modules/bmb/README.md +1 -1
- 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 +32 -9
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- 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/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
- package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
- 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/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
- package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
- 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 +45 -56
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
- 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-09-design.md → step-06-design.md} +76 -44
- package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
- package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
- package/src/modules/bmm/agents/architect.agent.yaml +1 -5
- package/src/modules/bmm/agents/pm.agent.yaml +5 -5
- package/src/modules/bmm/docs/README.md +23 -1
- package/src/modules/bmm/docs/agents-guide.md +16 -35
- package/src/modules/bmm/docs/brownfield-guide.md +17 -30
- package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +11 -24
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/test-architecture.md +6 -6
- 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-implementation.md +143 -3
- package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
- 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/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
- 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 +10 -10
- 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/quick-dev/instructions.md +104 -7
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -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/workflow.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- 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 +2 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
- package/tools/cli/README.md +3 -3
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +1 -6
- package/tools/cli/installers/lib/core/config-collector.js +70 -10
- package/tools/cli/installers/lib/core/installer.js +153 -388
- 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/auggie.js +19 -7
- package/tools/cli/installers/lib/ide/crush.js +19 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +49 -1
- package/tools/cli/installers/lib/ide/iflow.js +20 -1
- 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/roo.js +120 -184
- package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
- 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/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +54 -5
- package/tools/cli/lib/agent/installer.js +127 -27
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +65 -4
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/schema/agent.js +149 -89
- package/tools/validate-svg-changes.sh +356 -0
- package/custom/src/agents/commit-poet/installation-guide.md +0 -36
- package/custom/src/agents/toolsmith/installation-guide.md +0 -36
- package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
- package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
- package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
- 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 -387
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
- 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/tools/cli/commands/agent-install.js +0 -409
- package/tools/cli/commands/cleanup.js +0 -141
- /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: create-prd
|
|
3
3
|
description: Creates a comprehensive PRDs through collaborative step-by-step discovery between two product managers working as peers.
|
|
4
|
-
main_config:
|
|
4
|
+
main_config: '{project-root}/{bmad_folder}/bmm/config.yaml'
|
|
5
5
|
web_bundle: true
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
- ✅ ALWAYS treat this as collaborative discovery between architectural peers
|
|
7
7
|
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
8
8
|
- 💬 FOCUS on evaluating starter template options with current versions
|
|
9
|
-
- 🌐 ALWAYS verify current versions
|
|
9
|
+
- 🌐 ALWAYS search the web to verify current versions - NEVER trust hardcoded versions
|
|
10
10
|
- ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
|
|
11
11
|
- 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete architecture
|
|
12
12
|
- 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
## EXECUTION PROTOCOLS:
|
|
15
15
|
|
|
16
16
|
- 🎯 Show your analysis before taking any action
|
|
17
|
-
- 🌐
|
|
17
|
+
- 🌐 Search the web to verify current versions and options
|
|
18
18
|
- ⚠️ Present A/P/C menu after generating starter template analysis
|
|
19
19
|
- 💾 ONLY save when user chooses C (Continue)
|
|
20
20
|
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3]` before loading next step
|
|
@@ -118,12 +118,12 @@ If UX specification was loaded, consider UX requirements when selecting starter:
|
|
|
118
118
|
|
|
119
119
|
### 3. Research Current Starter Options
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
Search the web to find current, maintained starter templates:
|
|
122
122
|
|
|
123
123
|
```
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
Search the web: "{{primary_technology}} starter template CLI create command latest"
|
|
125
|
+
Search the web: "{{primary_technology}} boilerplate generator latest options"
|
|
126
|
+
Search the web: "{{primary_technology}} production-ready starter best practices"
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
### 4. Investigate Top Starter Options
|
|
@@ -131,10 +131,10 @@ WebSearch: {{primary_technology}} production-ready starter best practices 2024
|
|
|
131
131
|
For each promising starter found, investigate details:
|
|
132
132
|
|
|
133
133
|
```
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
Search the web: "{{starter_name}} default setup technologies included latest"
|
|
135
|
+
Search the web: "{{starter_name}} project structure file organization"
|
|
136
|
+
Search the web: "{{starter_name}} production deployment capabilities"
|
|
137
|
+
Search the web: "{{starter_name}} recent updates maintenance status"
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
### 5. Analyze What Each Starter Provides
|
|
@@ -200,8 +200,8 @@ This is a great starting point that follows best practices and saves us from mak
|
|
|
200
200
|
If user shows interest in a starter, get the exact current commands:
|
|
201
201
|
|
|
202
202
|
```
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
Search the web: "{{starter_name}} CLI command options flags latest"
|
|
204
|
+
Search the web: "{{starter_name}} create new project command examples"
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
### 8. Generate Starter Template Content
|
|
@@ -304,7 +304,7 @@ When user selects 'C', append the content directly to the document using the str
|
|
|
304
304
|
|
|
305
305
|
✅ Primary technology domain correctly identified from project context
|
|
306
306
|
✅ Current, maintained starter templates researched and evaluated
|
|
307
|
-
✅ All versions verified using
|
|
307
|
+
✅ All versions verified using web search, not hardcoded
|
|
308
308
|
✅ Architectural implications of starter choice clearly documented
|
|
309
309
|
✅ User provided with clear rationale for starter selection
|
|
310
310
|
✅ A/P/C menu presented and handled correctly
|
|
@@ -312,7 +312,7 @@ When user selects 'C', append the content directly to the document using the str
|
|
|
312
312
|
|
|
313
313
|
## FAILURE MODES:
|
|
314
314
|
|
|
315
|
-
❌ Not verifying current versions with
|
|
315
|
+
❌ Not verifying current versions with web search
|
|
316
316
|
❌ Ignoring UX requirements when evaluating starters
|
|
317
317
|
❌ Not documenting what architectural decisions the starter makes
|
|
318
318
|
❌ Failing to consider maintenance status of starter templates
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
- ✅ ALWAYS treat this as collaborative discovery between architectural peers
|
|
10
10
|
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
11
11
|
- 💬 FOCUS on making critical architectural decisions collaboratively
|
|
12
|
-
- 🌐 ALWAYS verify current technology versions
|
|
12
|
+
- 🌐 ALWAYS search the web to verify current technology versions
|
|
13
13
|
- ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
|
|
14
14
|
|
|
15
15
|
## EXECUTION PROTOCOLS:
|
|
16
16
|
|
|
17
17
|
- 🎯 Show your analysis before taking any action
|
|
18
|
-
- 🌐
|
|
18
|
+
- 🌐 Search the web to verify technology versions and options
|
|
19
19
|
- ⚠️ Present A/P/C menu after each major decision category
|
|
20
20
|
- 💾 ONLY save when user chooses C (Continue)
|
|
21
21
|
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading next step
|
|
@@ -163,9 +163,9 @@ What feels right to you?"
|
|
|
163
163
|
If decision involves specific technology:
|
|
164
164
|
|
|
165
165
|
```
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
Search the web: "{{technology}} latest stable version"
|
|
167
|
+
Search the web: "{{technology}} current LTS version"
|
|
168
|
+
Search the web: "{{technology}} production readiness"
|
|
169
169
|
```
|
|
170
170
|
|
|
171
171
|
**Get User Input:**
|
|
@@ -290,7 +290,7 @@ When user selects 'C', append the content directly to the document using the str
|
|
|
290
290
|
## SUCCESS METRICS:
|
|
291
291
|
|
|
292
292
|
✅ All critical architectural decisions made collaboratively
|
|
293
|
-
✅ Technology versions verified using
|
|
293
|
+
✅ Technology versions verified using web search
|
|
294
294
|
✅ Decision rationale clearly documented
|
|
295
295
|
✅ Cascading implications identified and addressed
|
|
296
296
|
✅ User provided appropriate level of explanation for skill level
|
|
@@ -300,7 +300,7 @@ When user selects 'C', append the content directly to the document using the str
|
|
|
300
300
|
## FAILURE MODES:
|
|
301
301
|
|
|
302
302
|
❌ Making recommendations instead of facilitating decisions
|
|
303
|
-
❌ Not verifying technology versions with
|
|
303
|
+
❌ Not verifying technology versions with web search
|
|
304
304
|
❌ Missing cascading implications between decisions
|
|
305
305
|
❌ Not adapting explanations to user skill level
|
|
306
306
|
❌ Forgetting to document decisions made by starter template
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: create-architecture
|
|
3
3
|
description: Collaborative architectural decision facilitation for AI-agent consistency. Replaces template-driven architecture with intelligent, adaptive conversation that produces a decision-focused architecture document optimized for preventing agent conflicts.
|
|
4
|
+
web_bundle: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Architecture Workflow
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-validate-prerequisites'
|
|
3
|
+
description: 'Validate required documents exist and extract all requirements for epic and story creation'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-01-validate-prerequisites.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-02-design-epics.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
outputFile: '{output_folder}/epics.md'
|
|
13
|
+
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
14
|
+
|
|
15
|
+
# Task References
|
|
16
|
+
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
|
17
|
+
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
|
18
|
+
|
|
19
|
+
# Template References
|
|
20
|
+
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Step 1: Validate Prerequisites and Extract Requirements
|
|
24
|
+
|
|
25
|
+
## STEP GOAL:
|
|
26
|
+
|
|
27
|
+
To validate that all required input documents exist and extract all requirements (FRs, NFRs, and additional requirements from UX/Architecture) needed for epic and story creation.
|
|
28
|
+
|
|
29
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
30
|
+
|
|
31
|
+
### Universal Rules:
|
|
32
|
+
|
|
33
|
+
- 🛑 NEVER generate content without user input
|
|
34
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
35
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
36
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
37
|
+
|
|
38
|
+
### Role Reinforcement:
|
|
39
|
+
|
|
40
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
41
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
42
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
43
|
+
- ✅ You bring requirements extraction expertise
|
|
44
|
+
- ✅ User brings their product vision and context
|
|
45
|
+
|
|
46
|
+
### Step-Specific Rules:
|
|
47
|
+
|
|
48
|
+
- 🎯 Focus ONLY on extracting and organizing requirements
|
|
49
|
+
- 🚫 FORBIDDEN to start creating epics or stories in this step
|
|
50
|
+
- 💬 Extract requirements from ALL available documents
|
|
51
|
+
- 🚪 POPULATE the template sections exactly as needed
|
|
52
|
+
|
|
53
|
+
## EXECUTION PROTOCOLS:
|
|
54
|
+
|
|
55
|
+
- 🎯 Extract requirements systematically from all documents
|
|
56
|
+
- 💾 Populate {outputFile} with extracted requirements
|
|
57
|
+
- 📖 Update frontmatter with extraction progress
|
|
58
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C' and requirements are extracted
|
|
59
|
+
|
|
60
|
+
## REQUIREMENTS EXTRACTION PROCESS:
|
|
61
|
+
|
|
62
|
+
### 1. Welcome and Overview
|
|
63
|
+
|
|
64
|
+
Welcome {user_name} to comprehensive epic and story creation!
|
|
65
|
+
|
|
66
|
+
**CRITICAL PREREQUISITE VALIDATION:**
|
|
67
|
+
|
|
68
|
+
Verify required documents exist and are complete:
|
|
69
|
+
|
|
70
|
+
1. **PRD.md** - Contains requirements (FRs and NFRs) and product scope
|
|
71
|
+
2. **Architecture.md** - Contains technical decisions, API contracts, data models
|
|
72
|
+
3. **UX Design.md** (if UI exists) - Contains interaction patterns, mockups, user flows
|
|
73
|
+
|
|
74
|
+
### 2. Document Discovery and Validation
|
|
75
|
+
|
|
76
|
+
Search for required documents using these patterns (sharded means a large document was split into multiple small files with an index.md into a folder) - if the whole document is found, use that instead of the sharded version:
|
|
77
|
+
|
|
78
|
+
**PRD Document Search Priority:**
|
|
79
|
+
|
|
80
|
+
1. `{output_folder}/*prd*.md` (whole document)
|
|
81
|
+
2. `{output_folder}/*prd*/index.md` (sharded version)
|
|
82
|
+
|
|
83
|
+
**Architecture Document Search Priority:**
|
|
84
|
+
|
|
85
|
+
1. `{output_folder}/*architecture*.md` (whole document)
|
|
86
|
+
2. `{output_folder}/*architecture*/index.md` (sharded version)
|
|
87
|
+
|
|
88
|
+
**UX Design Document Search (Optional):**
|
|
89
|
+
|
|
90
|
+
1. `{output_folder}/*ux*.md` (whole document)
|
|
91
|
+
2. `{output_folder}/*ux*/index.md` (sharded version)
|
|
92
|
+
|
|
93
|
+
Ask the user if there are any other documents, or if what you have found is all there is [Yes/No]. Wait for user confirmation. Once confirmed, create the {outputFile} from the {epicsTemplate} and in the front matter list the files in the array of `inputDocuments: []`.
|
|
94
|
+
|
|
95
|
+
### 3. Extract Functional Requirements (FRs)
|
|
96
|
+
|
|
97
|
+
From the PRD document (full or sharded), extract ALL functional requirements:
|
|
98
|
+
|
|
99
|
+
**Extraction Method:**
|
|
100
|
+
|
|
101
|
+
- Look for numbered items like "FR1:", "Functional Requirement 1:", or similar
|
|
102
|
+
- Identify requirement statements that describe what the system must DO
|
|
103
|
+
- Include user actions, system behaviors, and business rules
|
|
104
|
+
|
|
105
|
+
**Format the FR list as:**
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
FR1: [Clear, testable requirement description]
|
|
109
|
+
FR2: [Clear, testable requirement description]
|
|
110
|
+
...
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### 4. Extract Non-Functional Requirements (NFRs)
|
|
114
|
+
|
|
115
|
+
From the PRD document, extract ALL non-functional requirements:
|
|
116
|
+
|
|
117
|
+
**Extraction Method:**
|
|
118
|
+
|
|
119
|
+
- Look for performance, security, usability, reliability requirements
|
|
120
|
+
- Identify constraints and quality attributes
|
|
121
|
+
- Include technical standards and compliance requirements
|
|
122
|
+
|
|
123
|
+
**Format the NFR list as:**
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
NFR1: [Performance/Security/Usability requirement]
|
|
127
|
+
NFR2: [Performance/Security/Usability requirement]
|
|
128
|
+
...
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 5. Extract Additional Requirements from Architecture
|
|
132
|
+
|
|
133
|
+
Review the Architecture document for technical requirements that impact epic and story creation:
|
|
134
|
+
|
|
135
|
+
**Look for:**
|
|
136
|
+
|
|
137
|
+
- **Starter Template**: Does Architecture specify a starter/greenfield template? If YES, document this for Epic 1 Story 1
|
|
138
|
+
- Infrastructure and deployment requirements
|
|
139
|
+
- Integration requirements with external systems
|
|
140
|
+
- Data migration or setup requirements
|
|
141
|
+
- Monitoring and logging requirements
|
|
142
|
+
- API versioning or compatibility requirements
|
|
143
|
+
- Security implementation requirements
|
|
144
|
+
|
|
145
|
+
**IMPORTANT**: If a starter template is mentioned in Architecture, note it prominently. This will impact Epic 1 Story 1.
|
|
146
|
+
|
|
147
|
+
**Format Additional Requirements as:**
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
- [Technical requirement from Architecture that affects implementation]
|
|
151
|
+
- [Infrastructure setup requirement]
|
|
152
|
+
- [Integration requirement]
|
|
153
|
+
...
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### 6. Extract Additional Requirements from UX (if exists)
|
|
157
|
+
|
|
158
|
+
Review the UX document for requirements that affect epic and story creation:
|
|
159
|
+
|
|
160
|
+
**Look for:**
|
|
161
|
+
|
|
162
|
+
- Responsive design requirements
|
|
163
|
+
- Accessibility requirements
|
|
164
|
+
- Browser/device compatibility
|
|
165
|
+
- User interaction patterns that need implementation
|
|
166
|
+
- Animation or transition requirements
|
|
167
|
+
- Error handling UX requirements
|
|
168
|
+
|
|
169
|
+
**Add these to Additional Requirements list.**
|
|
170
|
+
|
|
171
|
+
### 7. Load and Initialize Template
|
|
172
|
+
|
|
173
|
+
Load {epicsTemplate} and initialize {outputFile}:
|
|
174
|
+
|
|
175
|
+
1. Copy the entire template to {outputFile}
|
|
176
|
+
2. Replace {{project_name}} with the actual project name
|
|
177
|
+
3. Replace placeholder sections with extracted requirements:
|
|
178
|
+
- {{fr_list}} → extracted FRs
|
|
179
|
+
- {{nfr_list}} → extracted NFRs
|
|
180
|
+
- {{additional_requirements}} → extracted additional requirements
|
|
181
|
+
4. Leave {{requirements_coverage_map}} and {{epics_list}} as placeholders for now
|
|
182
|
+
|
|
183
|
+
### 8. Present Extracted Requirements
|
|
184
|
+
|
|
185
|
+
Display to user:
|
|
186
|
+
|
|
187
|
+
**Functional Requirements Extracted:**
|
|
188
|
+
|
|
189
|
+
- Show count of FRs found
|
|
190
|
+
- Display the first few FRs as examples
|
|
191
|
+
- Ask if any FRs are missing or incorrectly captured
|
|
192
|
+
|
|
193
|
+
**Non-Functional Requirements Extracted:**
|
|
194
|
+
|
|
195
|
+
- Show count of NFRs found
|
|
196
|
+
- Display key NFRs
|
|
197
|
+
- Ask if any constraints were missed
|
|
198
|
+
|
|
199
|
+
**Additional Requirements:**
|
|
200
|
+
|
|
201
|
+
- Summarize technical requirements from Architecture
|
|
202
|
+
- Summarize UX requirements (if applicable)
|
|
203
|
+
- Verify completeness
|
|
204
|
+
|
|
205
|
+
### 9. Get User Confirmation
|
|
206
|
+
|
|
207
|
+
Ask: "Do these extracted requirements accurately represent what needs to be built? Any additions or corrections?"
|
|
208
|
+
|
|
209
|
+
Update the requirements based on user feedback until confirmation is received.
|
|
210
|
+
|
|
211
|
+
## CONTENT TO SAVE TO DOCUMENT:
|
|
212
|
+
|
|
213
|
+
After extraction and confirmation, update {outputFile} with:
|
|
214
|
+
|
|
215
|
+
- Complete FR list in {{fr_list}} section
|
|
216
|
+
- Complete NFR list in {{nfr_list}} section
|
|
217
|
+
- All additional requirements in {{additional_requirements}} section
|
|
218
|
+
|
|
219
|
+
### 10. Present MENU OPTIONS
|
|
220
|
+
|
|
221
|
+
Display: `**Confirm the Requirements are complete and correct to [C] continue:**`
|
|
222
|
+
|
|
223
|
+
#### EXECUTION RULES:
|
|
224
|
+
|
|
225
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
226
|
+
- ONLY proceed to next step when user selects 'C'
|
|
227
|
+
- User can chat or ask questions - always respond and then end with display again of the menu option
|
|
228
|
+
|
|
229
|
+
#### Menu Handling Logic:
|
|
230
|
+
|
|
231
|
+
- IF C: Save all to {outputFile}, update frontmatter, only then load, read entire file, then execute {nextStepFile}
|
|
232
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#10-present-menu-options)
|
|
233
|
+
|
|
234
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
235
|
+
|
|
236
|
+
ONLY WHEN C is selected and all requirements are saved to document and frontmatter is updated, will you then load, read entire file, then execute {nextStepFile} to execute and begin epic design step.
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
241
|
+
|
|
242
|
+
### ✅ SUCCESS:
|
|
243
|
+
|
|
244
|
+
- All required documents found and validated
|
|
245
|
+
- All FRs extracted and formatted correctly
|
|
246
|
+
- All NFRs extracted and formatted correctly
|
|
247
|
+
- Additional requirements from Architecture/UX identified
|
|
248
|
+
- Template initialized with requirements
|
|
249
|
+
- User confirms requirements are complete and accurate
|
|
250
|
+
|
|
251
|
+
### ❌ SYSTEM FAILURE:
|
|
252
|
+
|
|
253
|
+
- Missing required documents
|
|
254
|
+
- Incomplete requirements extraction
|
|
255
|
+
- Template not properly initialized
|
|
256
|
+
- Not saving requirements to output file
|
|
257
|
+
|
|
258
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-02-design-epics'
|
|
3
|
+
description: 'Design and approve the epics_list that will organize all requirements into user-value-focused epics'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-02-design-epics.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-03-create-stories.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
outputFile: '{output_folder}/epics.md'
|
|
13
|
+
|
|
14
|
+
# Task References
|
|
15
|
+
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
|
16
|
+
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
|
17
|
+
|
|
18
|
+
# Template References
|
|
19
|
+
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Step 2: Design Epic List
|
|
23
|
+
|
|
24
|
+
## STEP GOAL:
|
|
25
|
+
|
|
26
|
+
To design and get approval for the epics_list that will organize all requirements into user-value-focused epics.
|
|
27
|
+
|
|
28
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
29
|
+
|
|
30
|
+
### Universal Rules:
|
|
31
|
+
|
|
32
|
+
- 🛑 NEVER generate content without user input
|
|
33
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
34
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
35
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
36
|
+
|
|
37
|
+
### Role Reinforcement:
|
|
38
|
+
|
|
39
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
40
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
41
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
42
|
+
- ✅ You bring product strategy and epic design expertise
|
|
43
|
+
- ✅ User brings their product vision and priorities
|
|
44
|
+
|
|
45
|
+
### Step-Specific Rules:
|
|
46
|
+
|
|
47
|
+
- 🎯 Focus ONLY on creating the epics_list
|
|
48
|
+
- 🚫 FORBIDDEN to create individual stories in this step
|
|
49
|
+
- 💬 Organize epics around user value, not technical layers
|
|
50
|
+
- 🚪 GET explicit approval for the epics_list
|
|
51
|
+
- 🔗 **CRITICAL: Each epic must be standalone and enable future epics without requiring future epics to function**
|
|
52
|
+
|
|
53
|
+
## EXECUTION PROTOCOLS:
|
|
54
|
+
|
|
55
|
+
- 🎯 Design epics collaboratively based on extracted requirements
|
|
56
|
+
- 💾 Update {{epics_list}} in {outputFile}
|
|
57
|
+
- 📖 Document the FR coverage mapping
|
|
58
|
+
- 🚫 FORBIDDEN to load next step until user approves epics_list
|
|
59
|
+
|
|
60
|
+
## EPIC DESIGN PROCESS:
|
|
61
|
+
|
|
62
|
+
### 1. Review Extracted Requirements
|
|
63
|
+
|
|
64
|
+
Load {outputFile} and review:
|
|
65
|
+
|
|
66
|
+
- **Functional Requirements:** Count and review FRs from Step 1
|
|
67
|
+
- **Non-Functional Requirements:** Review NFRs that need to be addressed
|
|
68
|
+
- **Additional Requirements:** Review technical and UX requirements
|
|
69
|
+
|
|
70
|
+
### 2. Explain Epic Design Principles
|
|
71
|
+
|
|
72
|
+
**EPIC DESIGN PRINCIPLES:**
|
|
73
|
+
|
|
74
|
+
1. **User-Value First**: Each epic must enable users to accomplish something meaningful
|
|
75
|
+
2. **Requirements Grouping**: Group related FRs that deliver cohesive user outcomes
|
|
76
|
+
3. **Incremental Delivery**: Each epic should deliver value independently
|
|
77
|
+
4. **Logical Flow**: Natural progression from user's perspective
|
|
78
|
+
5. **🔗 Dependency-Free Within Epic**: Stories within an epic must NOT depend on future stories
|
|
79
|
+
|
|
80
|
+
**⚠️ CRITICAL PRINCIPLE:**
|
|
81
|
+
Organize by USER VALUE, not technical layers:
|
|
82
|
+
|
|
83
|
+
**✅ CORRECT Epic Examples (Standalone & Enable Future Epics):**
|
|
84
|
+
|
|
85
|
+
- Epic 1: User Authentication & Profiles (users can register, login, manage profiles) - **Standalone: Complete auth system**
|
|
86
|
+
- Epic 2: Content Creation (users can create, edit, publish content) - **Standalone: Uses auth, creates content**
|
|
87
|
+
- Epic 3: Social Interaction (users can follow, comment, like content) - **Standalone: Uses auth + content**
|
|
88
|
+
- Epic 4: Search & Discovery (users can find content and other users) - **Standalone: Uses all previous**
|
|
89
|
+
|
|
90
|
+
**❌ WRONG Epic Examples (Technical Layers or Dependencies):**
|
|
91
|
+
|
|
92
|
+
- Epic 1: Database Setup (creates all tables upfront) - **No user value**
|
|
93
|
+
- Epic 2: API Development (builds all endpoints) - **No user value**
|
|
94
|
+
- Epic 3: Frontend Components (creates reusable components) - **No user value**
|
|
95
|
+
- Epic 4: Deployment Pipeline (CI/CD setup) - **No user value**
|
|
96
|
+
|
|
97
|
+
**🔗 DEPENDENCY RULES:**
|
|
98
|
+
|
|
99
|
+
- Each epic must deliver COMPLETE functionality for its domain
|
|
100
|
+
- Epic 2 must not require Epic 3 to function
|
|
101
|
+
- Epic 3 can build upon Epic 1 & 2 but must stand alone
|
|
102
|
+
|
|
103
|
+
### 3. Design Epic Structure Collaboratively
|
|
104
|
+
|
|
105
|
+
**Step A: Identify User Value Themes**
|
|
106
|
+
|
|
107
|
+
- Look for natural groupings in the FRs
|
|
108
|
+
- Identify user journeys or workflows
|
|
109
|
+
- Consider user types and their goals
|
|
110
|
+
|
|
111
|
+
**Step B: Propose Epic Structure**
|
|
112
|
+
For each proposed epic:
|
|
113
|
+
|
|
114
|
+
1. **Epic Title**: User-centric, value-focused
|
|
115
|
+
2. **User Outcome**: What users can accomplish after this epic
|
|
116
|
+
3. **FR Coverage**: Which FR numbers this epic addresses
|
|
117
|
+
4. **Implementation Notes**: Any technical or UX considerations
|
|
118
|
+
|
|
119
|
+
**Step C: Create the epics_list**
|
|
120
|
+
|
|
121
|
+
Format the epics_list as:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
## Epic List
|
|
125
|
+
|
|
126
|
+
### Epic 1: [Epic Title]
|
|
127
|
+
[Epic goal statement - what users can accomplish]
|
|
128
|
+
**FRs covered:** FR1, FR2, FR3, etc.
|
|
129
|
+
|
|
130
|
+
### Epic 2: [Epic Title]
|
|
131
|
+
[Epic goal statement - what users can accomplish]
|
|
132
|
+
**FRs covered:** FR4, FR5, FR6, etc.
|
|
133
|
+
|
|
134
|
+
[Continue for all epics]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### 4. Present Epic List for Review
|
|
138
|
+
|
|
139
|
+
Display the complete epics_list to user with:
|
|
140
|
+
|
|
141
|
+
- Total number of epics
|
|
142
|
+
- FR coverage per epic
|
|
143
|
+
- User value delivered by each epic
|
|
144
|
+
- Any natural dependencies
|
|
145
|
+
|
|
146
|
+
### 5. Create Requirements Coverage Map
|
|
147
|
+
|
|
148
|
+
Create {{requirements_coverage_map}} showing how each FR maps to an epic:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
### FR Coverage Map
|
|
152
|
+
|
|
153
|
+
FR1: Epic 1 - [Brief description]
|
|
154
|
+
FR2: Epic 1 - [Brief description]
|
|
155
|
+
FR3: Epic 2 - [Brief description]
|
|
156
|
+
...
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
This ensures no FRs are missed.
|
|
160
|
+
|
|
161
|
+
### 6. Collaborative Refinement
|
|
162
|
+
|
|
163
|
+
Ask user:
|
|
164
|
+
|
|
165
|
+
- "Does this epic structure align with your product vision?"
|
|
166
|
+
- "Are all user outcomes properly captured?"
|
|
167
|
+
- "Should we adjust any epic groupings?"
|
|
168
|
+
- "Are there natural dependencies we've missed?"
|
|
169
|
+
|
|
170
|
+
### 7. Get Final Approval
|
|
171
|
+
|
|
172
|
+
**CRITICAL:** Must get explicit user approval:
|
|
173
|
+
"Do you approve this epic structure for proceeding to story creation?"
|
|
174
|
+
|
|
175
|
+
If user wants changes:
|
|
176
|
+
|
|
177
|
+
- Make the requested adjustments
|
|
178
|
+
- Update the epics_list
|
|
179
|
+
- Re-present for approval
|
|
180
|
+
- Repeat until approval is received
|
|
181
|
+
|
|
182
|
+
## CONTENT TO UPDATE IN DOCUMENT:
|
|
183
|
+
|
|
184
|
+
After approval, update {outputFile}:
|
|
185
|
+
|
|
186
|
+
1. Replace {{epics_list}} placeholder with the approved epic list
|
|
187
|
+
2. Replace {{requirements_coverage_map}} with the coverage map
|
|
188
|
+
3. Ensure all FRs are mapped to epics
|
|
189
|
+
|
|
190
|
+
### 8. Present MENU OPTIONS
|
|
191
|
+
|
|
192
|
+
Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
|
|
193
|
+
|
|
194
|
+
#### Menu Handling Logic:
|
|
195
|
+
|
|
196
|
+
- IF A: Execute {advancedElicitationTask}
|
|
197
|
+
- IF P: Execute {partyModeWorkflow}
|
|
198
|
+
- IF C: Save approved epics_list to {outputFile}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
199
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#8-present-menu-options)
|
|
200
|
+
|
|
201
|
+
#### EXECUTION RULES:
|
|
202
|
+
|
|
203
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
204
|
+
- ONLY proceed to next step when user selects 'C'
|
|
205
|
+
- After other menu items execution completes, redisplay the menu
|
|
206
|
+
- User can chat or ask questions - always respond when conversation ends, redisplay the menu options
|
|
207
|
+
|
|
208
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
209
|
+
|
|
210
|
+
ONLY WHEN C is selected and the approved epics_list is saved to document, will you then load, read entire file, then execute {nextStepFile} to execute and begin story creation step.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
215
|
+
|
|
216
|
+
### ✅ SUCCESS:
|
|
217
|
+
|
|
218
|
+
- Epics designed around user value
|
|
219
|
+
- All FRs mapped to specific epics
|
|
220
|
+
- epics_list created and formatted correctly
|
|
221
|
+
- Requirements coverage map completed
|
|
222
|
+
- User gives explicit approval for epic structure
|
|
223
|
+
- Document updated with approved epics
|
|
224
|
+
|
|
225
|
+
### ❌ SYSTEM FAILURE:
|
|
226
|
+
|
|
227
|
+
- Epics organized by technical layers
|
|
228
|
+
- Missing FRs in coverage map
|
|
229
|
+
- No user approval obtained
|
|
230
|
+
- epics_list not saved to document
|
|
231
|
+
|
|
232
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|