bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.15
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/.coderabbit.yaml +36 -0
- package/.github/CODE_OF_CONDUCT.md +128 -0
- 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 +183 -360
- package/README.md +4 -1
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-content-installation.md +245 -0
- package/docs/document-sharding-guide.md +1 -1
- package/docs/index.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +6 -5
- package/docs/web-bundles-gemini-gpt-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +8 -0
- package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +5 -5
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +2 -2
- 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 +18 -17
- package/example-custom-content/module.yaml +4 -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.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +9 -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 +151 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +138 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +138 -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 +125 -0
- package/example-custom-module/mwm/module.yaml +28 -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/installer.js +1 -1
- package/src/core/{_module-installer/install-config.yaml → module.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/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/index.md +1 -1
- 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/{_module-installer/install-config.yaml → module.yaml} +4 -9
- 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 +309 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -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/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/module.template.yaml +53 -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} +71 -25
- 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/README.md +2 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/installer.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +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/{_module-installer/install-config.yaml → module.yaml} +1 -1
- 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/src/modules/cis/_module-installer/installer.js +1 -1
- package/tools/cli/README.md +7 -7
- 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 +80 -12
- package/tools/cli/installers/lib/core/custom-module-cache.js +239 -0
- package/tools/cli/installers/lib/core/detector.js +8 -4
- package/tools/cli/installers/lib/core/installer.js +933 -376
- package/tools/cli/installers/lib/core/manifest-generator.js +265 -41
- package/tools/cli/installers/lib/core/manifest.js +47 -0
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +396 -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 +535 -56
- package/tools/cli/lib/agent/compiler.js +57 -16
- package/tools/cli/lib/agent/installer.js +129 -28
- package/tools/cli/lib/cli-utils.js +21 -4
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +561 -12
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/maintainer/review-pr-README.md +55 -0
- package/tools/maintainer/review-pr.md +242 -0
- package/tools/migrate-custom-module-paths.js +124 -0
- 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/docs/custom-agent-installation.md +0 -183
- 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/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/tests.md +0 -0
- /package/src/modules/bmgd/{_module-installer/install-config.yaml → module.yaml} +0 -0
- /package/src/modules/cis/{_module-installer/install-config.yaml → module.yaml} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# {module_display_name} Module Configuration
|
|
2
|
+
# This file defines installation questions and module configuration values
|
|
3
|
+
|
|
4
|
+
code: "${module_name}" # e.g., my-module
|
|
5
|
+
name: "{module_display_name}"
|
|
6
|
+
default_selected: false
|
|
7
|
+
|
|
8
|
+
# Welcome message shown during installation
|
|
9
|
+
prompt:
|
|
10
|
+
- "Thank you for choosing {module_display_name}!"
|
|
11
|
+
- "{module_purpose}"
|
|
12
|
+
# Core config values are automatically inherited from installer:
|
|
13
|
+
## user_name
|
|
14
|
+
## communication_language
|
|
15
|
+
## document_output_language
|
|
16
|
+
## output_folder
|
|
17
|
+
|
|
18
|
+
# ============================================================================
|
|
19
|
+
# CONFIGURATION FIELDS
|
|
20
|
+
# ============================================================================
|
|
21
|
+
# Each field can be:
|
|
22
|
+
# 1. INTERACTIVE (has 'prompt' - asks user during installation)
|
|
23
|
+
# 2. STATIC (no 'prompt' - just uses 'result' value)
|
|
24
|
+
# ============================================================================
|
|
25
|
+
|
|
26
|
+
# Example configurations (replace with actual planned fields):
|
|
27
|
+
|
|
28
|
+
# INTERACTIVE text input:
|
|
29
|
+
# output_path:
|
|
30
|
+
# prompt: "Where should {module_name} save outputs?"
|
|
31
|
+
# default: "output/{module_name}"
|
|
32
|
+
# result: "{project-root}/{value}"
|
|
33
|
+
|
|
34
|
+
# INTERACTIVE single-select:
|
|
35
|
+
# detail_level:
|
|
36
|
+
# prompt: "How detailed should outputs be?"
|
|
37
|
+
# default: "standard"
|
|
38
|
+
# result: "{value}"
|
|
39
|
+
# single-select:
|
|
40
|
+
# - value: "minimal"
|
|
41
|
+
# label: "Minimal - Brief summaries only"
|
|
42
|
+
# - value: "standard"
|
|
43
|
+
# label: "Standard - Balanced detail"
|
|
44
|
+
# - value: "detailed"
|
|
45
|
+
# label: "Detailed - Comprehensive information"
|
|
46
|
+
|
|
47
|
+
# STATIC value:
|
|
48
|
+
# module_version:
|
|
49
|
+
# result: "1.0.0"
|
|
50
|
+
|
|
51
|
+
# STATIC path:
|
|
52
|
+
# data_path:
|
|
53
|
+
# result: "{project-root}/{bmad_folder}/{module_name}/data"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Workflow Plan Template
|
|
2
|
+
|
|
3
|
+
Use this template when creating workflow plans in step-07-workflows.md
|
|
4
|
+
|
|
5
|
+
## Template Structure
|
|
6
|
+
|
|
7
|
+
Copy the content from step-07-workflows.md when creating workflow plans. The template is embedded in the step file as a code block under "Workflow plan template".
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
1. Navigate to the workflow folder
|
|
12
|
+
2. Create workflow-plan.md
|
|
13
|
+
3. Use the template structure from step-07-workflows.md
|
|
14
|
+
4. Fill in details specific to your workflow
|
|
15
|
+
|
|
16
|
+
## Required Sections
|
|
17
|
+
|
|
18
|
+
- Purpose
|
|
19
|
+
- Requirements (User Inputs, Prerequisites, Dependencies)
|
|
20
|
+
- Proposed Steps
|
|
21
|
+
- Expected Outputs
|
|
22
|
+
- Integration Points
|
|
23
|
+
- Implementation Notes
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Create Module Workflow Validation Checklist
|
|
2
|
+
|
|
3
|
+
This document provides the validation criteria used in step-11-validate.md to ensure module quality and BMAD compliance.
|
|
4
|
+
|
|
5
|
+
## Structure Validation
|
|
6
|
+
|
|
7
|
+
### Required Directories
|
|
8
|
+
|
|
9
|
+
- [ ] agents/ - Agent definition files
|
|
10
|
+
- [ ] workflows/ - Workflow folders
|
|
11
|
+
- [ ] tasks/ - Task files (if needed)
|
|
12
|
+
- [ ] templates/ - Shared templates
|
|
13
|
+
- [ ] data/ - Module data
|
|
14
|
+
- [ ] \_module-installer/ - Installation config
|
|
15
|
+
- [ ] README.md - Module documentation
|
|
16
|
+
- [ ] module.yaml - module config file
|
|
17
|
+
|
|
18
|
+
### Optional File in \_module-installer/
|
|
19
|
+
|
|
20
|
+
- [ ] installer.js - Custom logic (if needed)
|
|
21
|
+
|
|
22
|
+
## Configuration Validation
|
|
23
|
+
|
|
24
|
+
### module.yaml
|
|
25
|
+
|
|
26
|
+
- [ ] Valid YAML syntax
|
|
27
|
+
- [ ] Module code matches folder name
|
|
28
|
+
- [ ] Name field present
|
|
29
|
+
- [ ] Prompt array with welcome messages
|
|
30
|
+
- [ ] Configuration fields properly defined
|
|
31
|
+
- [ ] Result templates use correct placeholders
|
|
32
|
+
|
|
33
|
+
### Module Plan
|
|
34
|
+
|
|
35
|
+
- [ ] All sections completed
|
|
36
|
+
- [ ] Module identity documented
|
|
37
|
+
- [ ] Component plan clear
|
|
38
|
+
- [ ] Configuration plan documented
|
|
39
|
+
|
|
40
|
+
## Component Validation
|
|
41
|
+
|
|
42
|
+
### Agents
|
|
43
|
+
|
|
44
|
+
- [ ] Files created in agents/ folder
|
|
45
|
+
- [ ] YAML frontmatter valid (for created agents)
|
|
46
|
+
- [ ] TODO flags used for non-existent workflows
|
|
47
|
+
- [ ] Menu items follow BMAD patterns
|
|
48
|
+
- [ ] Placeholder files contain TODO notes
|
|
49
|
+
|
|
50
|
+
### Workflows
|
|
51
|
+
|
|
52
|
+
- [ ] Folders created for each planned workflow
|
|
53
|
+
- [ ] workflow-plan.md in each folder
|
|
54
|
+
- [ ] README.md in each workflow folder
|
|
55
|
+
- [ ] Plans include all required sections
|
|
56
|
+
- [ ] Placeholder READMEs created for unplanned workflows
|
|
57
|
+
|
|
58
|
+
## Documentation Validation
|
|
59
|
+
|
|
60
|
+
### README.md
|
|
61
|
+
|
|
62
|
+
- [ ] Module name and purpose
|
|
63
|
+
- [ ] Installation instructions
|
|
64
|
+
- [ ] Components section
|
|
65
|
+
- [ ] Quick start guide
|
|
66
|
+
- [ ] Module structure diagram
|
|
67
|
+
- [ ] Configuration section
|
|
68
|
+
- [ ] Usage examples
|
|
69
|
+
- [ ] Development status
|
|
70
|
+
- [ ] Author information
|
|
71
|
+
|
|
72
|
+
### TODO.md
|
|
73
|
+
|
|
74
|
+
- [ ] Development phases defined
|
|
75
|
+
- [ ] Tasks prioritized
|
|
76
|
+
- [ ] Quick commands included
|
|
77
|
+
- [ ] Completion criteria defined
|
|
78
|
+
|
|
79
|
+
## Integration Validation
|
|
80
|
+
|
|
81
|
+
### Path Consistency
|
|
82
|
+
|
|
83
|
+
- [ ] All paths use correct template format
|
|
84
|
+
- [ ] Module code consistent throughout
|
|
85
|
+
- [ ] No hardcoded paths
|
|
86
|
+
- [ ] Cross-references correct
|
|
87
|
+
|
|
88
|
+
### Agent-Workflow Integration
|
|
89
|
+
|
|
90
|
+
- [ ] Agents reference correct workflows
|
|
91
|
+
- [ ] TODO flags used appropriately
|
|
92
|
+
- [ ] No circular dependencies
|
|
93
|
+
- [ ] Clear integration points
|
|
94
|
+
|
|
95
|
+
## BMAD Compliance
|
|
96
|
+
|
|
97
|
+
### Standards
|
|
98
|
+
|
|
99
|
+
- [ ] Follows BMAD module structure
|
|
100
|
+
- [ ] Uses BMAD installation patterns
|
|
101
|
+
- [ ] Agent files follow BMAD format
|
|
102
|
+
- [ ] Workflow plans follow BMAD patterns
|
|
103
|
+
|
|
104
|
+
### Best Practices
|
|
105
|
+
|
|
106
|
+
- [ ] Clear naming conventions
|
|
107
|
+
- [ ] Proper documentation
|
|
108
|
+
- [ ] Version control ready
|
|
109
|
+
- [ ] Installable via bmad install
|
|
110
|
+
|
|
111
|
+
## Final Checklist
|
|
112
|
+
|
|
113
|
+
### Before Marking Complete
|
|
114
|
+
|
|
115
|
+
- [ ] All validation items checked
|
|
116
|
+
- [ ] Critical issues resolved
|
|
117
|
+
- [ ] Module plan updated with final status
|
|
118
|
+
- [ ] stepsCompleted includes all 11 steps
|
|
119
|
+
- [ ] User satisfied with result
|
|
120
|
+
|
|
121
|
+
### Ready for Testing
|
|
122
|
+
|
|
123
|
+
- [ ] Installation should work
|
|
124
|
+
- [ ] Documentation accurate
|
|
125
|
+
- [ ] Structure complete
|
|
126
|
+
- [ ] Next steps clear
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-module
|
|
3
|
+
description: 'Interactive workflow to build complete BMAD modules with agents, workflows, and installation infrastructure'
|
|
4
|
+
web_bundle: true
|
|
5
|
+
installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Create Module Workflow
|
|
9
|
+
|
|
10
|
+
**Goal:** To guide users through creating complete, installable BMAD modules with proper structure, agents, workflow plans, and documentation.
|
|
11
|
+
|
|
12
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also a Module Architect and BMAD Systems Specialist collaborating with module creators. This is a partnership, not a client-vendor relationship. You bring expertise in BMAD architecture, component design, and installation patterns, while the user brings their domain knowledge and specific module requirements. Work together as equals.
|
|
13
|
+
|
|
14
|
+
## WORKFLOW ARCHITECTURE
|
|
15
|
+
|
|
16
|
+
### Core Principles
|
|
17
|
+
|
|
18
|
+
- **Micro-file Design**: Each step of the overall goal is a self contained instruction file that you will adhere too 1 file as directed at a time
|
|
19
|
+
- **Just-In-Time Loading**: Only 1 current step file will be loaded, read, and executed to completion - never load future step files until told to do so
|
|
20
|
+
- **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
|
|
21
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
|
|
22
|
+
- **Append-Only Building**: Build documents by appending content as directed to the output file
|
|
23
|
+
|
|
24
|
+
### Step Processing Rules
|
|
25
|
+
|
|
26
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
27
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
28
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
29
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
30
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
31
|
+
6. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
32
|
+
|
|
33
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
34
|
+
|
|
35
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
36
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
37
|
+
- 🚫 **NEVER** skip steps or optimize the sequence
|
|
38
|
+
- 💾 **ALWAYS** update frontmatter of output files when writing the final output for a specific step
|
|
39
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
40
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
41
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## INITIALIZATION SEQUENCE
|
|
46
|
+
|
|
47
|
+
### 1. Module Configuration Loading
|
|
48
|
+
|
|
49
|
+
Load and read full config from {project-root}/{bmad_folder}/bmb/config.yaml and resolve:
|
|
50
|
+
|
|
51
|
+
- `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`, `custom_module_location`
|
|
52
|
+
|
|
53
|
+
### 2. First Step EXECUTION
|
|
54
|
+
|
|
55
|
+
Load, read the full file and then execute {installed_path}/steps/step-01-init.md to begin the workflow.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 'step-01-init'
|
|
3
|
-
description: 'Initialize workflow creation session by
|
|
3
|
+
description: 'Initialize workflow creation session by gathering project information and setting up unique workflow folder'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
6
|
workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
@@ -9,24 +9,19 @@ workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-01-init.md'
|
|
10
10
|
nextStepFile: '{workflow_path}/steps/step-02-gather.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
# Output files for workflow creation process
|
|
13
|
-
workflowPlanFile: '{output_folder}/workflow-plan-{new_workflow_name}.md'
|
|
14
|
-
targetWorkflowPath: '{custom_workflow_location}/{new_workflow_name}'
|
|
15
|
-
|
|
16
|
-
# Task References
|
|
17
|
-
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
18
|
-
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
19
12
|
|
|
13
|
+
# Output files for workflow creation process
|
|
14
|
+
targetWorkflowPath: '{custom_stand_alone_location}/workflows/{new_workflow_name}'
|
|
15
|
+
workflowPlanFile: '{targetWorkflowPath}/workflow-plan-{new_workflow_name}.md'
|
|
20
16
|
# Template References
|
|
21
|
-
|
|
22
|
-
workflowPlanTemplate: '{workflow_path}/templates/workflow-plan.md'
|
|
17
|
+
# No workflow plan template needed - will create plan file directly
|
|
23
18
|
---
|
|
24
19
|
|
|
25
20
|
# Step 1: Workflow Creation Initialization
|
|
26
21
|
|
|
27
22
|
## STEP GOAL:
|
|
28
23
|
|
|
29
|
-
To initialize the workflow creation process by
|
|
24
|
+
To initialize the workflow creation process by understanding project context, determining a unique workflow name, and preparing for collaborative workflow design.
|
|
30
25
|
|
|
31
26
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
32
27
|
|
|
@@ -50,7 +45,7 @@ To initialize the workflow creation process by detecting continuation state, und
|
|
|
50
45
|
- 🎯 Focus ONLY on initialization and project understanding
|
|
51
46
|
- 🚫 FORBIDDEN to start designing workflow steps in this step
|
|
52
47
|
- 💬 Ask questions conversationally to understand context
|
|
53
|
-
- 🚪
|
|
48
|
+
- 🚪 ENSURE unique workflow naming to avoid conflicts
|
|
54
49
|
|
|
55
50
|
## EXECUTION PROTOCOLS:
|
|
56
51
|
|
|
@@ -68,72 +63,66 @@ To initialize the workflow creation process by detecting continuation state, und
|
|
|
68
63
|
|
|
69
64
|
## INITIALIZATION SEQUENCE:
|
|
70
65
|
|
|
71
|
-
### 1.
|
|
66
|
+
### 1. Project Discovery
|
|
72
67
|
|
|
73
|
-
|
|
68
|
+
Welcome the user and understand their needs:
|
|
69
|
+
"Welcome! I'm excited to help you create a new workflow. Let's start by understanding what you want to build."
|
|
74
70
|
|
|
75
|
-
|
|
76
|
-
- If exists, check if it contains a workflow.md file
|
|
77
|
-
- If not exists, this is a fresh workflow creation session
|
|
71
|
+
Ask conversationally:
|
|
78
72
|
|
|
79
|
-
|
|
73
|
+
- What type of workflow are you looking to create?
|
|
74
|
+
- What problem will this workflow solve?
|
|
75
|
+
- Who will use this workflow?
|
|
76
|
+
- What module will it belong to (bmb, bmm, cis, custom, stand-alone)?
|
|
80
77
|
|
|
81
|
-
|
|
78
|
+
Also, Ask / suggest a workflow name / folder: (kebab-case, e.g., "user-story-generator")
|
|
82
79
|
|
|
83
|
-
|
|
84
|
-
- Do not proceed with fresh initialization
|
|
85
|
-
- Let step 4 handle the continuation logic
|
|
80
|
+
### 2. Ensure Unique Workflow Name
|
|
86
81
|
|
|
87
|
-
|
|
82
|
+
After getting the workflow name:
|
|
88
83
|
|
|
89
|
-
|
|
84
|
+
**Check for existing workflows:**
|
|
90
85
|
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
2. Review or modify the existing workflow"
|
|
94
|
-
- If option 1: Get a new workflow name
|
|
95
|
-
- If option 2: Load step 5 (Review)
|
|
86
|
+
- Look for folder at `{custom_stand_alone_location}/workflows/{new_workflow_name}/`
|
|
87
|
+
- If it exists, inform the user and suggest or get from them a unique name or postfix
|
|
96
88
|
|
|
97
|
-
|
|
89
|
+
**Example alternatives:**
|
|
98
90
|
|
|
99
|
-
|
|
91
|
+
- Original: "user-story-generator"
|
|
92
|
+
- Alternatives: "user-story-creator", "user-story-generator-2025", "user-story-generator-enhanced"
|
|
100
93
|
|
|
101
|
-
|
|
102
|
-
"Welcome! I'm excited to help you create a new workflow. Let's start by understanding what you want to build."
|
|
94
|
+
**Loop until we have a unique name that doesn't conflict.**
|
|
103
95
|
|
|
104
|
-
|
|
96
|
+
### 3. Determine Target Location
|
|
105
97
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
98
|
+
Based on the module selection, confirm the target location:
|
|
99
|
+
|
|
100
|
+
- For bmb module: `{custom_workflow_location}` (defaults to `{bmad_folder}/custom/src/workflows`)
|
|
101
|
+
- For other modules: Check their module.yaml for custom workflow locations
|
|
102
|
+
- Confirm the exact folder path where the workflow will be created
|
|
103
|
+
- Store the confirmed path as `{targetWorkflowPath}`
|
|
111
104
|
|
|
112
|
-
|
|
105
|
+
### 4. Create Workflow Plan Document
|
|
113
106
|
|
|
114
|
-
Create the workflow plan document at `{workflowPlanFile}`
|
|
115
|
-
Initialize frontmatter with:
|
|
107
|
+
Create the workflow plan document at `{workflowPlanFile}` with the following initial content:
|
|
116
108
|
|
|
117
|
-
```
|
|
109
|
+
```markdown
|
|
118
110
|
---
|
|
119
|
-
workflowName: ''
|
|
120
|
-
targetModule: ''
|
|
121
|
-
workflowType: ''
|
|
122
|
-
flowPattern: ''
|
|
123
|
-
date: [current date]
|
|
124
|
-
user_name: { user_name }
|
|
125
111
|
stepsCompleted: [1]
|
|
126
|
-
lastStep: 'init'
|
|
127
112
|
---
|
|
128
|
-
```
|
|
129
113
|
|
|
130
|
-
|
|
114
|
+
# Workflow Creation Plan: {new_workflow_name}
|
|
131
115
|
|
|
132
|
-
|
|
116
|
+
## Initial Project Context
|
|
133
117
|
|
|
134
|
-
|
|
118
|
+
- **Module:** [module from user]
|
|
119
|
+
- **Target Location:** {targetWorkflowPath}
|
|
120
|
+
- **Created:** [current date]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
This plan will capture all requirements and design details before building the actual workflow.
|
|
135
124
|
|
|
136
|
-
###
|
|
125
|
+
### 5. Present MENU OPTIONS
|
|
137
126
|
|
|
138
127
|
Display: **Proceeding to requirements gathering...**
|
|
139
128
|
|
|
@@ -145,7 +134,7 @@ Display: **Proceeding to requirements gathering...**
|
|
|
145
134
|
|
|
146
135
|
#### Menu Handling Logic:
|
|
147
136
|
|
|
148
|
-
- After setup completion, immediately load, read entire file, then execute `{workflow_path}/step-02-gather.md` to begin requirements gathering
|
|
137
|
+
- After setup completion and the workflow folder with the workflow plan file created already, only then immediately load, read entire file, and then execute `{workflow_path}/steps/step-02-gather.md` to begin requirements gathering
|
|
149
138
|
|
|
150
139
|
---
|
|
151
140
|
|
|
@@ -7,18 +7,16 @@ workflow_path: '{project-root}/{bmad_folder}/bmb/workflows/create-workflow'
|
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-02-gather.md'
|
|
10
|
-
nextStepFile: '{workflow_path}/steps/step-03-tools-
|
|
11
|
-
workflowFile: '{workflow_path}/workflow.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-03-tools-configuration.md'
|
|
12
11
|
# Output files for workflow creation process
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
targetWorkflowPath: '{custom_stand_alone_location}/workflows/{new_workflow_name}'
|
|
13
|
+
workflowPlanFile: '{targetWorkflowPath}/workflow-plan-{new_workflow_name}.md'
|
|
15
14
|
|
|
16
15
|
# Task References
|
|
17
16
|
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
18
17
|
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
19
|
-
|
|
20
18
|
# Template References
|
|
21
|
-
|
|
19
|
+
# No template needed - will append requirements directly to workflow plan
|
|
22
20
|
---
|
|
23
21
|
|
|
24
22
|
# Step 2: Requirements Gathering
|
|
@@ -156,25 +154,7 @@ Define what the workflow produces:
|
|
|
156
154
|
- Should outputs be saved automatically?
|
|
157
155
|
- What format should outputs be in?
|
|
158
156
|
|
|
159
|
-
### 8.
|
|
160
|
-
|
|
161
|
-
Determine where the workflow will be created:
|
|
162
|
-
|
|
163
|
-
- For bmb module: Workflows go to `{custom_workflow_location}` (defaults to `{bmad_folder}/custom/src/workflows`)
|
|
164
|
-
- For other modules: Check their install-config.yaml for custom workflow locations
|
|
165
|
-
- Confirm the exact folder path where the workflow will be created
|
|
166
|
-
- Ensure the folder name doesn't conflict with existing workflows
|
|
167
|
-
|
|
168
|
-
### 9. Technical Constraints
|
|
169
|
-
|
|
170
|
-
Discuss technical requirements:
|
|
171
|
-
|
|
172
|
-
- Any specific tools or dependencies needed?
|
|
173
|
-
- Does it need to integrate with other systems?
|
|
174
|
-
- Any performance considerations?
|
|
175
|
-
- Should it be standalone or callable by other workflows?
|
|
176
|
-
|
|
177
|
-
### 10. Success Criteria
|
|
157
|
+
### 8. Success Criteria
|
|
178
158
|
|
|
179
159
|
Define what makes the workflow successful:
|
|
180
160
|
|
|
@@ -183,13 +163,11 @@ Define what makes the workflow successful:
|
|
|
183
163
|
- Are there measurable outcomes?
|
|
184
164
|
- What would make a user satisfied with the result?
|
|
185
165
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
After collecting all requirements, append them to {workflowPlanFile} using {requirementsTemplate}:
|
|
166
|
+
#### STORE REQUIREMENTS:
|
|
189
167
|
|
|
190
|
-
|
|
168
|
+
After collecting all requirements, append them to {workflowPlanFile} in a format that will be be used later to design in more detail and create the workflow structure.
|
|
191
169
|
|
|
192
|
-
###
|
|
170
|
+
### 9. Present MENU OPTIONS
|
|
193
171
|
|
|
194
172
|
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
195
173
|
|
|
@@ -210,7 +188,7 @@ Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Conti
|
|
|
210
188
|
|
|
211
189
|
## CRITICAL STEP COMPLETION NOTE
|
|
212
190
|
|
|
213
|
-
ONLY WHEN C is selected and requirements are stored, will you then load, read entire file, then execute {nextStepFile} to execute and begin workflow structure design step.
|
|
191
|
+
ONLY WHEN C is selected and requirements are stored in the output file, will you then load, read entire file, then execute {nextStepFile} to execute and begin workflow structure design step.
|
|
214
192
|
|
|
215
193
|
---
|
|
216
194
|
|