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,233 @@
|
|
|
1
|
+
---
|
|
2
|
+
installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
|
|
3
|
+
nextStepFile: '{installed_path}/steps/step-06-agents.md'
|
|
4
|
+
modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.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
|
+
---
|
|
8
|
+
|
|
9
|
+
# Step 5: Plan Module Configuration
|
|
10
|
+
|
|
11
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
12
|
+
|
|
13
|
+
### Universal Rules:
|
|
14
|
+
|
|
15
|
+
- 🛑 NEVER generate content without user input
|
|
16
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
17
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
18
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
19
|
+
|
|
20
|
+
### Role Reinforcement:
|
|
21
|
+
|
|
22
|
+
- ✅ You are a Module Architect and Configuration Specialist
|
|
23
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
24
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
25
|
+
- ✅ You bring expertise in BMAD installation patterns, user brings their module requirements
|
|
26
|
+
- ✅ Maintain collaborative, planning-focused tone
|
|
27
|
+
|
|
28
|
+
### Step-Specific Rules:
|
|
29
|
+
|
|
30
|
+
- 🎯 Focus ONLY on planning configuration fields
|
|
31
|
+
- 🚫 FORBIDDEN to create installer files in this step
|
|
32
|
+
- 💬 Present configuration options clearly
|
|
33
|
+
- 🚫 FORBIDDEN to finalize without user input
|
|
34
|
+
|
|
35
|
+
## EXECUTION PROTOCOLS:
|
|
36
|
+
|
|
37
|
+
- 🎯 Consider what users might want to configure
|
|
38
|
+
- 💾 Document all configuration field plans
|
|
39
|
+
- 📖 Add "step-05-config" to stepsCompleted array` before loading next step
|
|
40
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C'
|
|
41
|
+
|
|
42
|
+
## CONTEXT BOUNDARIES:
|
|
43
|
+
|
|
44
|
+
- Module concept and components from previous steps
|
|
45
|
+
- Standard BMAD installer configuration patterns
|
|
46
|
+
- Focus on planning, not implementation
|
|
47
|
+
- Consider user customization needs
|
|
48
|
+
|
|
49
|
+
## STEP GOAL:
|
|
50
|
+
|
|
51
|
+
To determine what configuration settings the module needs and plan how they'll be implemented in the installer.
|
|
52
|
+
|
|
53
|
+
## CONFIGURATION PLANNING PROCESS:
|
|
54
|
+
|
|
55
|
+
### 1. Initialize Configuration Planning
|
|
56
|
+
|
|
57
|
+
"Now let's plan the configuration for your module's installer. This determines what users can customize when they install your module."
|
|
58
|
+
|
|
59
|
+
**Configuration allows users to:**
|
|
60
|
+
|
|
61
|
+
- Set up file locations
|
|
62
|
+
- Choose features or behavior
|
|
63
|
+
- Provide API keys or credentials
|
|
64
|
+
- Adjust output formats
|
|
65
|
+
- Configure integrations
|
|
66
|
+
|
|
67
|
+
### 2. Assess Configuration Needs
|
|
68
|
+
|
|
69
|
+
"**Configuration Assessment:**
|
|
70
|
+
|
|
71
|
+
Does your {module_display_name} module need any user-configurable settings during installation?"
|
|
72
|
+
|
|
73
|
+
**Common Configuration Categories:**
|
|
74
|
+
|
|
75
|
+
**1. Output/Data Paths**
|
|
76
|
+
|
|
77
|
+
- Where should outputs be saved?
|
|
78
|
+
- What's the default data directory?
|
|
79
|
+
- Any special folder structures needed?
|
|
80
|
+
|
|
81
|
+
**2. Feature Toggles**
|
|
82
|
+
|
|
83
|
+
- Enable/disable specific features
|
|
84
|
+
- Choose between behavior modes
|
|
85
|
+
- Set verbosity levels
|
|
86
|
+
|
|
87
|
+
**3. Integration Settings**
|
|
88
|
+
|
|
89
|
+
- API keys (for external services)
|
|
90
|
+
- Service endpoints
|
|
91
|
+
- Authentication credentials
|
|
92
|
+
|
|
93
|
+
**4. User Preferences**
|
|
94
|
+
|
|
95
|
+
- Default language
|
|
96
|
+
- Time zone
|
|
97
|
+
- Skill level (beginner/advanced)
|
|
98
|
+
- Detail level (minimal/standard/verbose)"
|
|
99
|
+
|
|
100
|
+
### 3. Plan Configuration Fields
|
|
101
|
+
|
|
102
|
+
"**For each configuration need, let's define:**
|
|
103
|
+
|
|
104
|
+
1. **Field Name** (snake_case, e.g., 'output_path')
|
|
105
|
+
2. **Type** - INTERACTIVE (asks user) or STATIC (hardcoded)
|
|
106
|
+
3. **Prompt** (what to ask user, if interactive)
|
|
107
|
+
4. **Default Value** (sensible default)
|
|
108
|
+
5. **Input Type** - text, single-select, multi-select
|
|
109
|
+
6. **Result Template** - how to store the value"
|
|
110
|
+
|
|
111
|
+
**Examples:**
|
|
112
|
+
|
|
113
|
+
"**INTERACTIVE Text Input:**
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
output_path:
|
|
117
|
+
prompt: 'Where should {module_name} save outputs?'
|
|
118
|
+
default: 'output/{module_name}'
|
|
119
|
+
result: '{project-root}/{value}'
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**INTERACTIVE Single-Select:**
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
detail_level:
|
|
126
|
+
prompt: 'How detailed should outputs be?'
|
|
127
|
+
default: 'standard'
|
|
128
|
+
result: '{value}'
|
|
129
|
+
single-select:
|
|
130
|
+
- value: 'minimal'
|
|
131
|
+
label: 'Minimal - Brief summaries only'
|
|
132
|
+
- value: 'standard'
|
|
133
|
+
label: 'Standard - Balanced detail'
|
|
134
|
+
- value: 'detailed'
|
|
135
|
+
label: 'Detailed - Comprehensive information'
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**STATIC Value:**
|
|
139
|
+
|
|
140
|
+
````yaml
|
|
141
|
+
module_version:
|
|
142
|
+
result: "1.0.0"
|
|
143
|
+
```"
|
|
144
|
+
|
|
145
|
+
### 4. Design Configuration for Your Module
|
|
146
|
+
|
|
147
|
+
"**Based on your module's purpose, consider these potential configurations:"
|
|
148
|
+
|
|
149
|
+
[Suggest relevant configurations based on module type and purpose]
|
|
150
|
+
|
|
151
|
+
"**Which of these apply to your module?**
|
|
152
|
+
- [Present options relevant to the specific module]
|
|
153
|
+
|
|
154
|
+
**Any additional configurations needed?**"
|
|
155
|
+
|
|
156
|
+
### 5. Document Configuration Plan
|
|
157
|
+
|
|
158
|
+
Update module-plan.md with configuration section:
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
## Configuration Planning
|
|
162
|
+
|
|
163
|
+
### Required Configuration Fields
|
|
164
|
+
|
|
165
|
+
1. **[field_name]**
|
|
166
|
+
- Type: [INTERACTIVE/STATIC]
|
|
167
|
+
- Purpose: [what it controls]
|
|
168
|
+
- Default: [default value]
|
|
169
|
+
- Input Type: [text/single-select/multi-select]
|
|
170
|
+
- Prompt: [user prompt if interactive]
|
|
171
|
+
|
|
172
|
+
2. **[field_name]**
|
|
173
|
+
- Type: [INTERACTIVE/STATIC]
|
|
174
|
+
- Purpose: [what it controls]
|
|
175
|
+
- Default: [default value]
|
|
176
|
+
- Input Type: [text/single-select/multi-select]
|
|
177
|
+
- Prompt: [user prompt if interactive]
|
|
178
|
+
|
|
179
|
+
### Installation Questions Flow
|
|
180
|
+
|
|
181
|
+
1. [First question]
|
|
182
|
+
2. [Second question]
|
|
183
|
+
3. [Additional questions...]
|
|
184
|
+
|
|
185
|
+
### Result Configuration Structure
|
|
186
|
+
|
|
187
|
+
The module.yaml will generate:
|
|
188
|
+
- Module configuration at: {bmad_folder}/{module_code}/config.yaml
|
|
189
|
+
- User settings stored as: [describe structure]
|
|
190
|
+
````
|
|
191
|
+
|
|
192
|
+
### 6. Present MENU OPTIONS
|
|
193
|
+
|
|
194
|
+
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
195
|
+
|
|
196
|
+
#### Menu Handling Logic:
|
|
197
|
+
|
|
198
|
+
- IF A: Execute {advancedElicitationTask} to explore additional configuration options
|
|
199
|
+
- IF P: Execute {partyModeWorkflow} to get input on user experience
|
|
200
|
+
- IF C: Save configuration plan to module-plan.md, add step-05-config to the end of the stepsCompleted array in frontmatter, then load nextStepFile
|
|
201
|
+
- IF Any other comments or queries: help user respond then redisplay menu
|
|
202
|
+
|
|
203
|
+
#### EXECUTION RULES:
|
|
204
|
+
|
|
205
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
206
|
+
- ONLY proceed to next step when user selects 'C'
|
|
207
|
+
- After other menu items execution, return to this menu
|
|
208
|
+
- User can chat or ask questions - always respond then end with display again of the menu options
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
213
|
+
|
|
214
|
+
### ✅ SUCCESS:
|
|
215
|
+
|
|
216
|
+
- All necessary configuration fields identified
|
|
217
|
+
- Field types and prompts clearly defined
|
|
218
|
+
- User interaction flow planned
|
|
219
|
+
- Configuration structure documented
|
|
220
|
+
- Ready for installer implementation
|
|
221
|
+
|
|
222
|
+
### ❌ SYSTEM FAILURE:
|
|
223
|
+
|
|
224
|
+
- Skipping configuration planning for modules that need it
|
|
225
|
+
- Over-configuring (too many options)
|
|
226
|
+
- Not considering user experience
|
|
227
|
+
- Not documenting configuration plans
|
|
228
|
+
|
|
229
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
230
|
+
|
|
231
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
232
|
+
|
|
233
|
+
ONLY WHEN C is selected and configuration plan is saved to module-plan.md with stepsCompleted updated to [1, 2, 3, 4, 5], will you then load, read entire file, then execute `{nextStepFile}` to begin agent creation.
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
---
|
|
2
|
+
installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
|
|
3
|
+
nextStepFile: '{installed_path}/steps/step-07-workflows.md'
|
|
4
|
+
modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
|
|
5
|
+
agentTemplate: '{installed_path}/templates/agent.template.md'
|
|
6
|
+
agent_examples_path: '{project-root}/src/modules/bmb/reference/agents/module-examples'
|
|
7
|
+
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
|
8
|
+
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Step 6: Create Module Agents
|
|
12
|
+
|
|
13
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
14
|
+
|
|
15
|
+
### Universal Rules:
|
|
16
|
+
|
|
17
|
+
- 🛑 NEVER generate content without user input
|
|
18
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
19
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
20
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
21
|
+
|
|
22
|
+
### Role Reinforcement:
|
|
23
|
+
|
|
24
|
+
- ✅ You are a Module Architect and Agent Designer
|
|
25
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
26
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
27
|
+
- ✅ You bring expertise in BMAD agent patterns, user brings their domain requirements
|
|
28
|
+
- ✅ Maintain collaborative, creative tone
|
|
29
|
+
|
|
30
|
+
### Step-Specific Rules:
|
|
31
|
+
|
|
32
|
+
- 🎯 Focus on creating proper YAML agent files following the template
|
|
33
|
+
- 🚫 FORBIDDEN to use create-agent workflow (it's problematic)
|
|
34
|
+
- 💬 Create placeholder workflow folders with README.md for each agent
|
|
35
|
+
- 🚫 FORBIDDEN to create full workflows in this step
|
|
36
|
+
|
|
37
|
+
## EXECUTION PROTOCOLS:
|
|
38
|
+
|
|
39
|
+
- 🎯 Follow agent.template.md exactly for structure
|
|
40
|
+
- 💾 Save agents as .yaml files to module's agents folder
|
|
41
|
+
- 📖 Create workflow folders with README.md plans
|
|
42
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C'
|
|
43
|
+
|
|
44
|
+
## CONTEXT BOUNDARIES:
|
|
45
|
+
|
|
46
|
+
- Component plan from step 3 defines which agents to create
|
|
47
|
+
- Agent template provides the required YAML structure
|
|
48
|
+
- Module structure already created
|
|
49
|
+
- Focus on agent creation and workflow placeholders
|
|
50
|
+
|
|
51
|
+
## STEP GOAL:
|
|
52
|
+
|
|
53
|
+
To create the primary agent(s) for the module using the proper agent template and create placeholder workflow folders for each agent.
|
|
54
|
+
|
|
55
|
+
## AGENT CREATION PROCESS:
|
|
56
|
+
|
|
57
|
+
### 1. Review Agent Plan
|
|
58
|
+
|
|
59
|
+
"Let's create the agents for your {module_display_name} module.
|
|
60
|
+
|
|
61
|
+
From your component plan, you have:
|
|
62
|
+
|
|
63
|
+
- [agent_count] agents planned
|
|
64
|
+
- [list of agent types from plan]
|
|
65
|
+
|
|
66
|
+
I'll create each agent following the proper BMAD template and set up placeholder workflow folders for them."
|
|
67
|
+
|
|
68
|
+
### 2. Load Agent Template
|
|
69
|
+
|
|
70
|
+
Load and study the agent template from {agentTemplate}
|
|
71
|
+
Reference agent examples from {agent_examples_path} for patterns
|
|
72
|
+
|
|
73
|
+
### 3. Create Each Agent
|
|
74
|
+
|
|
75
|
+
For each agent in the component plan:
|
|
76
|
+
|
|
77
|
+
#### 3.1 Determine Agent Characteristics
|
|
78
|
+
|
|
79
|
+
"**Agent: [Agent Name]**
|
|
80
|
+
|
|
81
|
+
Let's design this agent by understanding what it needs:
|
|
82
|
+
|
|
83
|
+
**Memory & Learning:**
|
|
84
|
+
|
|
85
|
+
1. Does this agent need to remember things across sessions? (conversations, preferences, patterns)
|
|
86
|
+
- If yes: We'll add sidecar folder structure for memory
|
|
87
|
+
- If no: No persistent memory needed
|
|
88
|
+
|
|
89
|
+
**Interaction Types:** 2. What does this agent DO?
|
|
90
|
+
|
|
91
|
+
- Conversational interactions? → Use embedded prompts
|
|
92
|
+
- Quick single actions? → Use inline actions
|
|
93
|
+
- Complex multi-step processes? → Consider workflows
|
|
94
|
+
- Document generation? → Likely need workflows
|
|
95
|
+
|
|
96
|
+
**Multiple Agent Usage:** 3. Will other agents in this module need the same workflows?
|
|
97
|
+
|
|
98
|
+
- If yes: Definitely create separate workflow files
|
|
99
|
+
- If no: Could embed in agent file
|
|
100
|
+
|
|
101
|
+
**Based on this, what combination does [Agent Name] need?**
|
|
102
|
+
|
|
103
|
+
- Memory/Persistence: [Yes/No]
|
|
104
|
+
- Embedded prompts: [List main interactions]
|
|
105
|
+
- Workflows needed: [Which processes need separate files?]"
|
|
106
|
+
|
|
107
|
+
#### 3.2 Present Agent Design
|
|
108
|
+
|
|
109
|
+
"**Agent Design: [Agent Name]**
|
|
110
|
+
|
|
111
|
+
**Core Identity:**
|
|
112
|
+
|
|
113
|
+
- Name: [Suggested name]
|
|
114
|
+
- Title: [Brief description]
|
|
115
|
+
- Icon: [Appropriate emoji]
|
|
116
|
+
|
|
117
|
+
**Persona:**
|
|
118
|
+
|
|
119
|
+
- Role: [What the agent does]
|
|
120
|
+
- Identity: [Personality/background]
|
|
121
|
+
- Communication Style: [How they communicate]
|
|
122
|
+
- Principles: [3-5 core principles]
|
|
123
|
+
|
|
124
|
+
**Structure:**
|
|
125
|
+
|
|
126
|
+
- Memory needed: [Yes/No - sidecar folder]
|
|
127
|
+
- Embedded prompts: [List main interaction prompts]
|
|
128
|
+
- Workflow processes: [Which need separate files]
|
|
129
|
+
|
|
130
|
+
**Menu Items Planned:**
|
|
131
|
+
|
|
132
|
+
- [List with trigger codes and types]
|
|
133
|
+
|
|
134
|
+
**Quick actions vs Workflows:**
|
|
135
|
+
|
|
136
|
+
- Quick prompts: [single-step interactions]
|
|
137
|
+
- Workflows: [multi-step, shared processes]
|
|
138
|
+
|
|
139
|
+
Does this design match what you envisioned? What should we adjust?"
|
|
140
|
+
|
|
141
|
+
#### 3.3 Create Agent File and Structure
|
|
142
|
+
|
|
143
|
+
After user confirmation:
|
|
144
|
+
|
|
145
|
+
Create hybrid agent file with only needed sections:
|
|
146
|
+
|
|
147
|
+
```yaml
|
|
148
|
+
agent:
|
|
149
|
+
metadata:
|
|
150
|
+
name: '[Agent Name]'
|
|
151
|
+
title: '[Agent Title]'
|
|
152
|
+
icon: '[Icon]'
|
|
153
|
+
module: '{module_code}'
|
|
154
|
+
persona:
|
|
155
|
+
role: '[Agent Role]'
|
|
156
|
+
identity: |
|
|
157
|
+
[Multi-line identity description]
|
|
158
|
+
communication_style: |
|
|
159
|
+
[Multi-line communication style]
|
|
160
|
+
principles:
|
|
161
|
+
- '[Principle 1]'
|
|
162
|
+
- '[Principle 2]'
|
|
163
|
+
- '[Principle 3]'
|
|
164
|
+
|
|
165
|
+
# Only include if agent needs memory/persistence
|
|
166
|
+
critical_actions:
|
|
167
|
+
- 'Load COMPLETE file ./[agent-name]-sidecar/memories.md and integrate all past interactions'
|
|
168
|
+
- 'ONLY read/write files in ./[agent-name]-sidecar/ - this is our private workspace'
|
|
169
|
+
|
|
170
|
+
# Only include if agent has embedded prompts
|
|
171
|
+
prompts:
|
|
172
|
+
- id: '[prompt-name]'
|
|
173
|
+
content: |
|
|
174
|
+
<instructions>
|
|
175
|
+
[How to use this prompt]
|
|
176
|
+
</instructions>
|
|
177
|
+
|
|
178
|
+
[Detailed prompt content]
|
|
179
|
+
|
|
180
|
+
menu:
|
|
181
|
+
# Always include
|
|
182
|
+
- multi: '[CH] Chat with agent or [SPM] Start Party Mode'
|
|
183
|
+
triggers:
|
|
184
|
+
- party-mode:
|
|
185
|
+
input: SPM
|
|
186
|
+
route: '{project-root}/{bmad_folder}/core/workflows/edit-agent/workflow.md'
|
|
187
|
+
type: exec
|
|
188
|
+
- expert-chat:
|
|
189
|
+
input: CH
|
|
190
|
+
action: agent responds as expert
|
|
191
|
+
type: action
|
|
192
|
+
|
|
193
|
+
# Group related functions
|
|
194
|
+
- multi: '[PF] Primary Function [QF] Quick Task'
|
|
195
|
+
triggers:
|
|
196
|
+
- primary-function:
|
|
197
|
+
input: PF
|
|
198
|
+
action: '#[prompt-id]'
|
|
199
|
+
type: action
|
|
200
|
+
- quick-task:
|
|
201
|
+
input: QF
|
|
202
|
+
route: '#[prompt-id]'
|
|
203
|
+
type: exec
|
|
204
|
+
|
|
205
|
+
# Workflow only for complex processes
|
|
206
|
+
- trigger: 'complex-process'
|
|
207
|
+
route: '{project-root}/{bmad_folder}/{custom_module}/workflows/[workflow]/workflow.md'
|
|
208
|
+
description: 'Complex process [icon]'
|
|
209
|
+
|
|
210
|
+
# Quick inline actions
|
|
211
|
+
- trigger: 'save-item'
|
|
212
|
+
action: 'Save to ./[agent-name]-sidecar/file.md'
|
|
213
|
+
description: 'Save item 💾'
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
#### 3.4 Create Supporting Structure
|
|
217
|
+
|
|
218
|
+
**If agent needs memory:**
|
|
219
|
+
|
|
220
|
+
1. Create folder: {custom_module_location}/{module_name}/agents/[agent-name]-sidecar/
|
|
221
|
+
2. Create files:
|
|
222
|
+
- memories.md (empty, for persistent memory)
|
|
223
|
+
- instructions.md (empty, for agent protocols)
|
|
224
|
+
- insights.md (empty, for breakthrough moments)
|
|
225
|
+
- sessions/ (subfolder for session records)
|
|
226
|
+
- patterns.md (empty, for tracking patterns)
|
|
227
|
+
|
|
228
|
+
**If agent has workflows:**
|
|
229
|
+
For each workflow that needs separate file:
|
|
230
|
+
|
|
231
|
+
1. Create folder: {custom_module_location}/{module_name}/workflows/[workflow-name]/
|
|
232
|
+
2. Create README.md with workflow plan
|
|
233
|
+
|
|
234
|
+
### 4. Repeat for All Agents
|
|
235
|
+
|
|
236
|
+
Go through each agent from the component plan, presenting drafts and creating files with user confirmation.
|
|
237
|
+
|
|
238
|
+
### 5. Document Agent Creation
|
|
239
|
+
|
|
240
|
+
Update module-plan.md with agents section:
|
|
241
|
+
|
|
242
|
+
```markdown
|
|
243
|
+
## Agents Created
|
|
244
|
+
|
|
245
|
+
1. **[Agent Name]** - [Agent Title]
|
|
246
|
+
- File: [agent-filename].yaml
|
|
247
|
+
- Features: [Memory/Sidecar, Embedded prompts, Workflows]
|
|
248
|
+
- Structure:
|
|
249
|
+
- Sidecar: [Yes/No]
|
|
250
|
+
- Prompts: [number embedded]
|
|
251
|
+
- Workflows: [list of workflow folders]
|
|
252
|
+
- Status: Created with [combination of features]
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### 6. Present MENU OPTIONS
|
|
256
|
+
|
|
257
|
+
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
|
|
258
|
+
|
|
259
|
+
#### Menu Handling Logic:
|
|
260
|
+
|
|
261
|
+
- IF A: Execute {advancedElicitationTask} to refine agent designs
|
|
262
|
+
- IF P: Execute {partyModeWorkflow} to get creative input on agent personas
|
|
263
|
+
- IF C: Save agent creation status to module-plan.md, add step-06-agents to the end of the stepsCompleted array in frontmatter, then load nextStepFile
|
|
264
|
+
- IF Any other comments or queries: help user respond then redisplay menu
|
|
265
|
+
|
|
266
|
+
#### EXECUTION RULES:
|
|
267
|
+
|
|
268
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
269
|
+
- ONLY proceed to next step when user selects 'C'
|
|
270
|
+
- After other menu items execution, return to this menu
|
|
271
|
+
- User can chat or ask questions - always respond then end with display again of the menu options
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
276
|
+
|
|
277
|
+
### ✅ SUCCESS:
|
|
278
|
+
|
|
279
|
+
- All planned agents created with proper YAML structure
|
|
280
|
+
- Each agent follows agent.template.md format exactly
|
|
281
|
+
- Workflow placeholder folders created with README.md plans
|
|
282
|
+
- Agent menu items properly reference workflow paths
|
|
283
|
+
- Users confirmed each agent draft before creation
|
|
284
|
+
|
|
285
|
+
### ❌ SYSTEM FAILURE:
|
|
286
|
+
|
|
287
|
+
- Using create-agent workflow instead of template
|
|
288
|
+
- Creating XML agents instead of YAML
|
|
289
|
+
- Not creating workflow placeholder folders
|
|
290
|
+
- Skipping user confirmation on agent drafts
|
|
291
|
+
|
|
292
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
293
|
+
|
|
294
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
295
|
+
|
|
296
|
+
ONLY WHEN C is selected and all agents are created with placeholder workflows and stepsCompleted updated, will you then load, read entire file, then execute `{nextStepFile}` to begin workflow plan review.
|