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
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
nextStepFile: '{installed_path}/steps/step-02-concept.md'
|
|
3
|
+
continueFile: '{installed_path}/steps/step-01b-continue.md'
|
|
4
|
+
modulePlanTemplate: '{installed_path}/templates/module-plan.template.md'
|
|
5
|
+
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
6
|
+
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
7
|
+
customModuleLocation: '{custom_module_location}'
|
|
8
|
+
modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Step 1: Workflow Initialization
|
|
12
|
+
|
|
13
|
+
## STEP GOAL:
|
|
14
|
+
|
|
15
|
+
To initialize the create-module workflow by getting the module name from the user, checking for existing work, handling continuation if needed, and creating the initial module plan document.
|
|
16
|
+
|
|
17
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
18
|
+
|
|
19
|
+
### Universal Rules:
|
|
20
|
+
|
|
21
|
+
- 🛑 NEVER generate content without user input
|
|
22
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
23
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
24
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
25
|
+
|
|
26
|
+
### Role Reinforcement:
|
|
27
|
+
|
|
28
|
+
- ✅ You are a Module Architect and BMAD Systems Specialist
|
|
29
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
30
|
+
- ✅ You bring expertise in BMAD architecture and module creation, user brings their module requirements
|
|
31
|
+
- ✅ Maintain collaborative, guiding tone throughout
|
|
32
|
+
|
|
33
|
+
### Step-Specific Rules:
|
|
34
|
+
|
|
35
|
+
- 🎯 Focus ONLY on initialization, getting module name, and setting up tracking
|
|
36
|
+
- 🚫 FORBIDDEN to look ahead to future steps
|
|
37
|
+
- 💬 Handle initialization professionally
|
|
38
|
+
- 🚪 DETECT existing workflow state and handle continuation properly
|
|
39
|
+
|
|
40
|
+
## EXECUTION PROTOCOLS:
|
|
41
|
+
|
|
42
|
+
- 🎯 Show analysis before taking any action
|
|
43
|
+
- 💾 Initialize document and update frontmatter
|
|
44
|
+
- 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
|
|
45
|
+
- 🚫 FORBIDDEN to load next step until setup is complete
|
|
46
|
+
|
|
47
|
+
## CONTEXT BOUNDARIES:
|
|
48
|
+
|
|
49
|
+
- Variables from workflow.md are available in memory
|
|
50
|
+
- Previous context = what's in output document + frontmatter
|
|
51
|
+
- Don't assume knowledge from other steps
|
|
52
|
+
- Module brief discovery happens in this step
|
|
53
|
+
|
|
54
|
+
## SEQUENCE OF INSTRUCTIONS:
|
|
55
|
+
|
|
56
|
+
### 1. Welcome and Get Module Name
|
|
57
|
+
|
|
58
|
+
Greet the user warmly by their {user_name}, welcoming them to the BMAD Module Creator. Through conversation, collaboratively work with them to:
|
|
59
|
+
|
|
60
|
+
- Understand what kind of module they want to create
|
|
61
|
+
- Help them choose a good name in kebab-case (provide examples if needed)
|
|
62
|
+
- Validate the name will work for module creation
|
|
63
|
+
|
|
64
|
+
### 2. Check for Existing Work
|
|
65
|
+
|
|
66
|
+
Once you have the module name:
|
|
67
|
+
|
|
68
|
+
- Check if a folder already exists at {customModuleLocation}/{module_name}
|
|
69
|
+
- If it exists, look for a module plan document inside
|
|
70
|
+
- Read any existing work carefully to understand what was already done
|
|
71
|
+
|
|
72
|
+
### 3. Handle Continuation (If Work Exists)
|
|
73
|
+
|
|
74
|
+
If you find an existing module plan:
|
|
75
|
+
|
|
76
|
+
- Review what's been completed based on the stepsCompleted array
|
|
77
|
+
- Present a clear summary of the current status
|
|
78
|
+
- Ask if they want to continue where they left off, update existing work, or start fresh
|
|
79
|
+
- If continuing, load step-01b-continue.md
|
|
80
|
+
|
|
81
|
+
### 4. Look for Supporting Documents
|
|
82
|
+
|
|
83
|
+
Check for any existing documents that could help:
|
|
84
|
+
|
|
85
|
+
- Module briefs in the module folder or output folder
|
|
86
|
+
- Brainstorming results in the output folder
|
|
87
|
+
- Any other relevant documentation
|
|
88
|
+
|
|
89
|
+
### 5. Guide User's Next Decision
|
|
90
|
+
|
|
91
|
+
If no supporting documents are found:
|
|
92
|
+
|
|
93
|
+
- Explain their three options clearly and helpfully
|
|
94
|
+
- Option 1: Proceed with creating the module based on their ideas
|
|
95
|
+
- Option 2: Exit and create a module brief first (explain the module-brief workflow)
|
|
96
|
+
- Option 3: Exit and do brainstorming first (explain the brainstorming workflow)
|
|
97
|
+
- Support whatever choice they make
|
|
98
|
+
|
|
99
|
+
### 6. Create Module Foundation
|
|
100
|
+
|
|
101
|
+
If proceeding:
|
|
102
|
+
|
|
103
|
+
- Create the module folder if needed
|
|
104
|
+
- Create the initial module-plan-{module_name}.md document using the module plan template from {modulePlanTemplate}
|
|
105
|
+
- Initialize proper frontmatter with current date, user name, and add "step-01-init" to stepsCompleted array
|
|
106
|
+
- Add any discovered documents to inputDocuments field
|
|
107
|
+
- Include a brief section about the legacy reference
|
|
108
|
+
|
|
109
|
+
### 7. Prepare for Next Step
|
|
110
|
+
|
|
111
|
+
- Confirm everything is set up properly
|
|
112
|
+
- Let the user know what you've accomplished
|
|
113
|
+
- Transition smoothly to the next phase of defining the module concept
|
|
114
|
+
|
|
115
|
+
### 8. Present MENU OPTIONS
|
|
116
|
+
|
|
117
|
+
Display: **Proceeding to define your module concept...**
|
|
118
|
+
|
|
119
|
+
#### EXECUTION RULES:
|
|
120
|
+
|
|
121
|
+
- This is an initialization step with no user choices (after inputs handled)
|
|
122
|
+
- Proceed directly to next step after setup
|
|
123
|
+
- Use menu handling logic section below
|
|
124
|
+
|
|
125
|
+
#### Menu Handling Logic:
|
|
126
|
+
|
|
127
|
+
- After setup completion, add step-01-init to the end of the stepsCompleted array in module plan frontmatter, then load, read entire file, then execute `{nextStepFile}` to define the module concept
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
132
|
+
|
|
133
|
+
### ✅ SUCCESS:
|
|
134
|
+
|
|
135
|
+
- Module name obtained and validated through collaborative dialogue
|
|
136
|
+
- Module plan document created from template with frontmatter initialized
|
|
137
|
+
- "step-01-init" added to stepsCompleted array
|
|
138
|
+
- Module plan document created at correct location
|
|
139
|
+
- User feels welcomed and informed
|
|
140
|
+
- Ready to proceed to step 2
|
|
141
|
+
- OR existing workflow properly routed to step-01b-continue.md
|
|
142
|
+
|
|
143
|
+
### ❌ SYSTEM FAILURE:
|
|
144
|
+
|
|
145
|
+
- Proceeding with step 2 without module plan creation
|
|
146
|
+
- Not checking for existing documents properly
|
|
147
|
+
- Creating module without user input on name
|
|
148
|
+
- Skipping folder creation
|
|
149
|
+
- Not routing to step-01b-continue.md when appropriate
|
|
150
|
+
|
|
151
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
152
|
+
|
|
153
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
154
|
+
|
|
155
|
+
ONLY WHEN initialization setup is complete and module plan document is created (OR continuation is properly routed), will you then immediately load, read entire file, then execute `{nextStepFile}` to begin defining the module concept.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
---
|
|
2
|
+
modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 1b: Continue Module Creation
|
|
6
|
+
|
|
7
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
8
|
+
|
|
9
|
+
### Universal Rules:
|
|
10
|
+
|
|
11
|
+
- 🛑 NEVER generate content without user input
|
|
12
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
13
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
14
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
15
|
+
|
|
16
|
+
### Role Reinforcement:
|
|
17
|
+
|
|
18
|
+
- ✅ You are a Module Architect and BMAD Systems Specialist
|
|
19
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
20
|
+
- ✅ You bring expertise in BMAD architecture and module creation, user brings their module requirements
|
|
21
|
+
- ✅ Maintain collaborative, guiding tone throughout
|
|
22
|
+
|
|
23
|
+
### Step-Specific Rules:
|
|
24
|
+
|
|
25
|
+
- 🎯 Focus ONLY on handling continuation and resuming workflow
|
|
26
|
+
- 🚫 FORBIDDEN to modify existing work without user consent
|
|
27
|
+
- 💬 Present status clearly and get user direction
|
|
28
|
+
- 📋 Track completion status accurately
|
|
29
|
+
|
|
30
|
+
## EXECUTION PROTOCOLS:
|
|
31
|
+
|
|
32
|
+
- 🎯 Load and analyze existing module plan
|
|
33
|
+
- 💾 Update frontmatter with continuation status
|
|
34
|
+
- 📖 Route to appropriate next step based on progress
|
|
35
|
+
- 🚫 FORBIDDEN to skip steps just because they exist
|
|
36
|
+
|
|
37
|
+
## CONTEXT BOUNDARIES:
|
|
38
|
+
|
|
39
|
+
- Module plan document exists with previous work
|
|
40
|
+
- Focus on understanding what's been done and what remains
|
|
41
|
+
- Don't assume completion without verification
|
|
42
|
+
- User direction guides next actions
|
|
43
|
+
|
|
44
|
+
## STEP GOAL:
|
|
45
|
+
|
|
46
|
+
To resume module creation by presenting current status, understanding what's been accomplished, and determining the next step in the process.
|
|
47
|
+
|
|
48
|
+
## CONTINUATION HANDLING SEQUENCE:
|
|
49
|
+
|
|
50
|
+
### 1. Load and Analyze Existing Module Plan
|
|
51
|
+
|
|
52
|
+
Load module plan from: {modulePlanFile}
|
|
53
|
+
Read entire document including frontmatter
|
|
54
|
+
Extract current status from frontmatter fields:
|
|
55
|
+
|
|
56
|
+
- stepsCompleted array
|
|
57
|
+
- lastStep (the final item in the stepsCompleted array)
|
|
58
|
+
- module_name
|
|
59
|
+
- module_code
|
|
60
|
+
- date
|
|
61
|
+
- inputDocuments
|
|
62
|
+
|
|
63
|
+
### 2. Present Current Status
|
|
64
|
+
|
|
65
|
+
"Welcome back! I found your in-progress module creation for **{module_name}**.
|
|
66
|
+
|
|
67
|
+
**Current Status:**
|
|
68
|
+
|
|
69
|
+
- **Module Code:** {module_code}
|
|
70
|
+
- **Started:** {date}
|
|
71
|
+
- **Last Step:** {lastStep}
|
|
72
|
+
- **Steps Completed:** {stepsCompleted count}/{total steps}
|
|
73
|
+
- **Location:** {custom_module_location}/{module_name}
|
|
74
|
+
|
|
75
|
+
\*\*Progress Summary:"
|
|
76
|
+
|
|
77
|
+
Based on stepsCompleted, show:
|
|
78
|
+
|
|
79
|
+
- [✅] Step 1: Init - Complete
|
|
80
|
+
- [ ] Step 2: Concept - {status}
|
|
81
|
+
- [ ] Step 3: Components - {status}
|
|
82
|
+
- [ ] Step 4: Structure - {status}
|
|
83
|
+
- [ ] Step 5: Configuration - {status}
|
|
84
|
+
- [ ] Step 6: Agents - {status}
|
|
85
|
+
- [ ] Step 7: Workflows - {status}
|
|
86
|
+
- [ ] Step 8: Installer - {status}
|
|
87
|
+
- [ ] Step 9: Documentation - {status}
|
|
88
|
+
- [ ] Step 10: Roadmap - {status}
|
|
89
|
+
- [ ] Step 11: Validation - {status}
|
|
90
|
+
|
|
91
|
+
### 3. Review What's Been Done
|
|
92
|
+
|
|
93
|
+
Read content sections of module plan
|
|
94
|
+
Summarize what's been accomplished:
|
|
95
|
+
|
|
96
|
+
"**Completed Work:**
|
|
97
|
+
|
|
98
|
+
- Module identity defined
|
|
99
|
+
- Component planning complete
|
|
100
|
+
- [Other completed items based on content]"
|
|
101
|
+
|
|
102
|
+
### 4. Determine Next Step
|
|
103
|
+
|
|
104
|
+
Based on stepsCompleted array:
|
|
105
|
+
Find highest completed step number
|
|
106
|
+
Next step = highest completed + 1
|
|
107
|
+
|
|
108
|
+
"**Ready to Continue:**
|
|
109
|
+
Your next step would be: **Step {nextStep} - [step name]**
|
|
110
|
+
|
|
111
|
+
What would you like to do?
|
|
112
|
+
|
|
113
|
+
1. **Continue** from where you left off
|
|
114
|
+
2. **Review** what's been done so far
|
|
115
|
+
3. **Modify** previous work
|
|
116
|
+
4. **Start over** with a new plan"
|
|
117
|
+
|
|
118
|
+
### 5. Handle User Choice
|
|
119
|
+
|
|
120
|
+
User your best judgement in how to handle the users choice
|
|
121
|
+
|
|
122
|
+
### 6. Update Continuation Status
|
|
123
|
+
|
|
124
|
+
Update modulePlanFile frontmatter:
|
|
125
|
+
|
|
126
|
+
- Set lastStep: 'continued'
|
|
127
|
+
- Add note about continuation date
|
|
128
|
+
- Keep stepsCompleted unchanged
|
|
129
|
+
|
|
130
|
+
## ✅ SUCCESS METRICS:
|
|
131
|
+
|
|
132
|
+
- User understands current progress
|
|
133
|
+
- Next step identified correctly
|
|
134
|
+
- User choice handled appropriately
|
|
135
|
+
- Module plan updated with continuation status
|
|
136
|
+
- Workflow resumed at correct location
|
|
137
|
+
|
|
138
|
+
## ❌ FAILURE MODES TO AVOID:
|
|
139
|
+
|
|
140
|
+
- Not accurately reading previous status
|
|
141
|
+
- Skipping steps just because they exist
|
|
142
|
+
- Not offering review option
|
|
143
|
+
- Losing previous work
|
|
144
|
+
- Not updating continuation tracking
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
149
|
+
|
|
150
|
+
### ✅ SUCCESS:
|
|
151
|
+
|
|
152
|
+
- Existing work properly loaded and analyzed
|
|
153
|
+
- User clearly understands current status
|
|
154
|
+
- Continuation options presented clearly
|
|
155
|
+
- Next step determined correctly
|
|
156
|
+
- Module plan updated with continuation information
|
|
157
|
+
|
|
158
|
+
### ❌ SYSTEM FAILURE:
|
|
159
|
+
|
|
160
|
+
- Not reading existing plan completely
|
|
161
|
+
- Misrepresenting progress status
|
|
162
|
+
- Losing track of what's been done
|
|
163
|
+
- Not offering appropriate continuation options
|
|
164
|
+
|
|
165
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
166
|
+
|
|
167
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
168
|
+
|
|
169
|
+
ONLY WHEN user selects 'C' (Continue) and appropriate updates are saved to modulePlanFile, will you then load, read entire file, then execute the determined next step file to resume the module creation workflow.
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
---
|
|
2
|
+
installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
|
|
3
|
+
nextStepFile: '{installed_path}/steps/step-03-components.md'
|
|
4
|
+
modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
|
|
5
|
+
moduleStructureGuide: '{project-root}/src/modules/bmb/workflows-legacy/create-module/module-structure.md'
|
|
6
|
+
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
7
|
+
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 2: Define Module Concept and Scope
|
|
11
|
+
|
|
12
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
13
|
+
|
|
14
|
+
### Universal Rules:
|
|
15
|
+
|
|
16
|
+
- 🛑 NEVER generate content without user input
|
|
17
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
18
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
19
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
20
|
+
|
|
21
|
+
### Role Reinforcement:
|
|
22
|
+
|
|
23
|
+
- ✅ You are a Module Architect and Business Analyst
|
|
24
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
25
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
26
|
+
- ✅ You bring expertise in module design and BMAD patterns, user brings their domain knowledge
|
|
27
|
+
- ✅ Maintain collaborative, educational tone
|
|
28
|
+
|
|
29
|
+
### Step-Specific Rules:
|
|
30
|
+
|
|
31
|
+
- 🎯 Focus ONLY on defining the module concept and scope
|
|
32
|
+
- 🚫 FORBIDDEN to start designing components in this step
|
|
33
|
+
- 💬 Ask questions conversationally to understand vision
|
|
34
|
+
- 🚫 FORBIDDEN to proceed without clear module identity
|
|
35
|
+
|
|
36
|
+
## EXECUTION PROTOCOLS:
|
|
37
|
+
|
|
38
|
+
- 🎯 Load and study module structure guide for context
|
|
39
|
+
- 💾 Document all module identity details in plan
|
|
40
|
+
- 📖 Add "step-02-concept" to stepsCompleted array` before loading next step
|
|
41
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C'
|
|
42
|
+
|
|
43
|
+
## CONTEXT BOUNDARIES:
|
|
44
|
+
|
|
45
|
+
- Module name and location from step 1
|
|
46
|
+
- Input documents (brief/brainstorming) if any
|
|
47
|
+
- Focus ONLY on concept and scope definition
|
|
48
|
+
- Don't assume module details beyond what user provides
|
|
49
|
+
|
|
50
|
+
## STEP GOAL:
|
|
51
|
+
|
|
52
|
+
To articulate the module's vision, define its identity, and establish clear boundaries for what it will and won't do.
|
|
53
|
+
|
|
54
|
+
## MODULE CONCEPT DEFINITION PROCESS:
|
|
55
|
+
|
|
56
|
+
### 1. Load Context and Briefs
|
|
57
|
+
|
|
58
|
+
"Let's define your module's concept and identity. This will guide all the decisions we make about agents, workflows, and features."
|
|
59
|
+
|
|
60
|
+
Load module-plan.md and check inputDocuments field
|
|
61
|
+
|
|
62
|
+
Read the module brief completely
|
|
63
|
+
"I see you have a module brief. Let me review that to understand your vision..."
|
|
64
|
+
Use brief content to inform concept development questions
|
|
65
|
+
|
|
66
|
+
Load and study the module structure guide for context
|
|
67
|
+
|
|
68
|
+
### 2. Guide Concept Development
|
|
69
|
+
|
|
70
|
+
Ask conversationally:
|
|
71
|
+
|
|
72
|
+
"**Understanding Your Vision:**
|
|
73
|
+
|
|
74
|
+
1. **What problem will this module solve?** - What pain point or need are you addressing?
|
|
75
|
+
|
|
76
|
+
2. **Who is the primary user?** - Who will benefit most from this module?
|
|
77
|
+
|
|
78
|
+
3. **What's the main outcome?** - What will users be able to do after using your module?
|
|
79
|
+
|
|
80
|
+
4. **Why is this important?** - What makes this module valuable or unique?"
|
|
81
|
+
|
|
82
|
+
### 3. Module Identity Development
|
|
83
|
+
|
|
84
|
+
Based on their responses, collaboratively develop:
|
|
85
|
+
|
|
86
|
+
**Module Name:**
|
|
87
|
+
|
|
88
|
+
- Start with their module code: {module_name}
|
|
89
|
+
- Suggest a display name in Title Case
|
|
90
|
+
- Get user confirmation or refinement
|
|
91
|
+
|
|
92
|
+
**Module Purpose:**
|
|
93
|
+
|
|
94
|
+
- Distill their problem statement into 1-2 clear sentences
|
|
95
|
+
- Focus on value and outcomes
|
|
96
|
+
- Get user validation
|
|
97
|
+
|
|
98
|
+
**Target Audience:**
|
|
99
|
+
|
|
100
|
+
- Identify primary user persona
|
|
101
|
+
- Consider skill level (beginner/intermediate/advanced)
|
|
102
|
+
- Note any secondary audiences
|
|
103
|
+
|
|
104
|
+
**Module Scope:**
|
|
105
|
+
|
|
106
|
+
- What's IN scope (core features)
|
|
107
|
+
- What's OUT of scope (explicitly state what it won't do)
|
|
108
|
+
- Success criteria (how will we know it works?)
|
|
109
|
+
|
|
110
|
+
### 4. Module Theme and Category
|
|
111
|
+
|
|
112
|
+
"**Module Classification:**
|
|
113
|
+
|
|
114
|
+
Based on your description, this seems to fit in the [Domain-Specific/Creative/Technical/Business/Personal] category.
|
|
115
|
+
|
|
116
|
+
Does this sound right? Or would you categorize it differently?
|
|
117
|
+
|
|
118
|
+
**Example Categories:**
|
|
119
|
+
|
|
120
|
+
- **Domain-Specific**: Legal, Medical, Finance, Education
|
|
121
|
+
- **Creative**: RPG/Gaming, Story Writing, Music Production
|
|
122
|
+
- **Technical**: DevOps, Testing, Architecture, Security
|
|
123
|
+
- **Business**: Project Management, Marketing, Sales
|
|
124
|
+
- **Personal**: Journaling, Learning, Productivity"
|
|
125
|
+
|
|
126
|
+
### 5. Module Type Estimation
|
|
127
|
+
|
|
128
|
+
"Based on what you've described, I'm thinking this might be a:
|
|
129
|
+
|
|
130
|
+
- **Simple Module** (1-2 agents, 2-3 workflows) - Focused, single-purpose
|
|
131
|
+
- **Standard Module** (3-5 agents, 5-10 workflows) - Comprehensive solution
|
|
132
|
+
- **Complex Module** (5+ agents, 10+ workflows) - Full platform/framework
|
|
133
|
+
|
|
134
|
+
Which feels right for your vision? We'll confirm this after planning components."
|
|
135
|
+
|
|
136
|
+
### 6. Document Module Concept
|
|
137
|
+
|
|
138
|
+
Update module-plan.md with concept section:
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
## Module Concept
|
|
142
|
+
|
|
143
|
+
**Module Name:** {module_display_name}
|
|
144
|
+
**Module Code:** {module_name}
|
|
145
|
+
**Category:** [category]
|
|
146
|
+
**Type:** [estimated type]
|
|
147
|
+
|
|
148
|
+
**Purpose Statement:**
|
|
149
|
+
[1-2 sentence clear purpose]
|
|
150
|
+
|
|
151
|
+
**Target Audience:**
|
|
152
|
+
|
|
153
|
+
- Primary: [description]
|
|
154
|
+
- Secondary: [if any]
|
|
155
|
+
|
|
156
|
+
**Scope Definition:**
|
|
157
|
+
|
|
158
|
+
**In Scope:**
|
|
159
|
+
|
|
160
|
+
- [core feature 1]
|
|
161
|
+
- [core feature 2]
|
|
162
|
+
- [core feature 3]
|
|
163
|
+
|
|
164
|
+
**Out of Scope:**
|
|
165
|
+
|
|
166
|
+
- [explicitly excluded item 1]
|
|
167
|
+
- [explicitly excluded item 2]
|
|
168
|
+
|
|
169
|
+
**Success Criteria:**
|
|
170
|
+
|
|
171
|
+
- [measurable outcome 1]
|
|
172
|
+
- [measurable outcome 2]
|
|
173
|
+
- [user satisfaction indicator]
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### 7. Present MENU OPTIONS
|
|
177
|
+
|
|
178
|
+
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
179
|
+
|
|
180
|
+
#### Menu Handling Logic:
|
|
181
|
+
|
|
182
|
+
- IF A: Execute {advancedElicitationTask} to explore alternative concept approaches
|
|
183
|
+
- IF P: Execute {partyModeWorkflow} to get creative input on module identity
|
|
184
|
+
- IF C: Save concept to module-plan.md, add step-02-concept to the end of the stepsCompleted array in frontmatter, then load nextStepFile
|
|
185
|
+
- IF Any other comments or queries: help user respond then redisplay menu
|
|
186
|
+
|
|
187
|
+
#### EXECUTION RULES:
|
|
188
|
+
|
|
189
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
190
|
+
- ONLY proceed to next step when user selects 'C'
|
|
191
|
+
- After other menu items execution, return to this menu
|
|
192
|
+
- User can chat or ask questions - always respond then end with display again of the menu options
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
197
|
+
|
|
198
|
+
### ✅ SUCCESS:
|
|
199
|
+
|
|
200
|
+
- Module purpose clearly articulated
|
|
201
|
+
- Module identity established (name, audience, scope)
|
|
202
|
+
- Category and type determined
|
|
203
|
+
- Concept documented in module plan
|
|
204
|
+
- User feels the concept matches their vision
|
|
205
|
+
|
|
206
|
+
### ❌ SYSTEM FAILURE:
|
|
207
|
+
|
|
208
|
+
- Proceeding without clear module purpose
|
|
209
|
+
- Not defining scope boundaries
|
|
210
|
+
- Skipping user validation of concept
|
|
211
|
+
- Not documenting concept details
|
|
212
|
+
|
|
213
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
214
|
+
|
|
215
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
216
|
+
|
|
217
|
+
ONLY WHEN C is selected and module concept is saved to module-plan.md with stepsCompleted updated to [1, 2], will you then load, read entire file, then execute `{nextStepFile}` to begin component planning.
|