bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
- package/.github/scripts/discord-helpers.sh +15 -0
- package/.github/workflows/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +95 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/bmad-method-6.0.0-alpha.14.tgz +0 -0
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-agent-installation.md +56 -102
- package/docs/document-sharding-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
- package/example-custom-content/custom.yaml +3 -0
- package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
- package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +4 -0
- package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
- package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
- package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
- package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
- package/package.json +9 -4
- package/src/core/_module-installer/install-config.yaml +5 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
- package/src/core/workflows/party-mode/workflow.md +2 -3
- package/src/modules/bmb/README.md +1 -1
- package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
- package/src/modules/bmb/_module-installer/installer.js +76 -0
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
- package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
- package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
- package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
- package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
- package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
- package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
- package/src/modules/bmb/workflows/create-module/validation.md +126 -0
- package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
- package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
- package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
- package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
- package/src/modules/bmm/agents/architect.agent.yaml +1 -5
- package/src/modules/bmm/agents/pm.agent.yaml +5 -5
- package/src/modules/bmm/docs/README.md +23 -1
- package/src/modules/bmm/docs/agents-guide.md +16 -35
- package/src/modules/bmm/docs/brownfield-guide.md +17 -30
- package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +11 -24
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/test-architecture.md +6 -6
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +143 -3
- package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
- package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
- package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
- package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
- package/tools/cli/README.md +3 -3
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +1 -6
- package/tools/cli/installers/lib/core/config-collector.js +70 -10
- package/tools/cli/installers/lib/core/installer.js +153 -388
- package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +266 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
- package/tools/cli/installers/lib/ide/auggie.js +19 -7
- package/tools/cli/installers/lib/ide/crush.js +19 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +49 -1
- package/tools/cli/installers/lib/ide/iflow.js +20 -1
- package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
- package/tools/cli/installers/lib/ide/opencode.js +3 -3
- package/tools/cli/installers/lib/ide/roo.js +120 -184
- package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
- package/tools/cli/installers/lib/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +54 -5
- package/tools/cli/lib/agent/installer.js +127 -27
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +65 -4
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/schema/agent.js +149 -89
- package/tools/validate-svg-changes.sh +356 -0
- package/custom/src/agents/commit-poet/installation-guide.md +0 -36
- package/custom/src/agents/toolsmith/installation-guide.md +0 -36
- package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
- package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
- package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
- package/tools/cli/commands/agent-install.js +0 -409
- package/tools/cli/commands/cleanup.js +0 -141
- /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
|
@@ -1,125 +1,68 @@
|
|
|
1
1
|
# Custom Agent Installation
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
BMAD agents and workflows are now installed through the main CLI installer using a `custom.yaml` configuration file or by having an installer file.
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# From your project directory with BMAD installed
|
|
9
|
-
npx bmad-method agent-install
|
|
10
|
-
```
|
|
7
|
+
Create a `custom.yaml` file in the root of your agent/workflow folder:
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
```yaml
|
|
10
|
+
code: my-custom-agent
|
|
11
|
+
name: 'My Custom Agent'
|
|
12
|
+
default_selected: true
|
|
16
13
|
```
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
1. **Discovers** available agent templates from your custom agents folder
|
|
21
|
-
2. **Prompts** you to personalize the agent (name, behavior, preferences)
|
|
22
|
-
3. **Compiles** the agent with your choices baked in
|
|
23
|
-
4. **Installs** to your project's `.bmad/custom/agents/` directory
|
|
24
|
-
5. **Creates** IDE commands for all your configured IDEs (Claude Code, Codex, Cursor, etc.)
|
|
25
|
-
6. **Saves** your configuration for automatic reinstallation during BMAD updates
|
|
26
|
-
|
|
27
|
-
## Options
|
|
15
|
+
Then run the BMAD installer from your project directory:
|
|
28
16
|
|
|
29
17
|
```bash
|
|
30
|
-
bmad
|
|
31
|
-
|
|
32
|
-
Options:
|
|
33
|
-
-p, --path <path> #Direct path to specific agent YAML file or folder
|
|
34
|
-
-d, --defaults #Use default values without prompting
|
|
35
|
-
-t, --target <path> #Target installation directory
|
|
18
|
+
npx bmad-method install
|
|
36
19
|
```
|
|
37
20
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Use the `-s` / `--source` option to install agents from any location:
|
|
21
|
+
Or if you have bmad-cli installed globally:
|
|
41
22
|
|
|
42
23
|
```bash
|
|
43
|
-
|
|
44
|
-
bmad agent-install -s path/to/my-agent
|
|
45
|
-
|
|
46
|
-
# Install a specific .agent.yaml file (simple agent)
|
|
47
|
-
bmad agent-install -s path/to/my-agent.agent.yaml
|
|
48
|
-
|
|
49
|
-
# Install with defaults (non-interactive)
|
|
50
|
-
bmad agent-install -s path/to/my-agent -d
|
|
51
|
-
|
|
52
|
-
# Install to a specific destination project
|
|
53
|
-
bmad agent-install -s path/to/my-agent --destination /path/to/destination/project
|
|
24
|
+
bmad install
|
|
54
25
|
```
|
|
55
26
|
|
|
56
|
-
|
|
27
|
+
## Installation Methods
|
|
57
28
|
|
|
58
|
-
|
|
59
|
-
- You're developing an agent outside the project structure
|
|
60
|
-
- You want to install from an absolute path
|
|
29
|
+
### Method 1: Stand-alone Folder with custom.yaml
|
|
61
30
|
|
|
62
|
-
|
|
31
|
+
Place your agent or workflow in a folder with a `custom.yaml` file at the root:
|
|
63
32
|
|
|
64
33
|
```
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
1. 📄 commit-poet (simple)
|
|
73
|
-
2. 📚 journal-keeper (expert)
|
|
74
|
-
|
|
75
|
-
Select agent to install (number): 1
|
|
76
|
-
|
|
77
|
-
Selected: commit-poet
|
|
78
|
-
|
|
79
|
-
📛 Agent Persona Name
|
|
80
|
-
|
|
81
|
-
Agent type: commit-poet
|
|
82
|
-
Default persona: Inkwell Von Comitizen
|
|
83
|
-
|
|
84
|
-
Custom name (or Enter for default): Fred
|
|
34
|
+
my-agent/
|
|
35
|
+
├── custom.yaml # Required configuration file
|
|
36
|
+
├── my-agent.agent.yaml
|
|
37
|
+
└── sidecar/ # Optional
|
|
38
|
+
└── instructions.md
|
|
39
|
+
```
|
|
85
40
|
|
|
86
|
-
|
|
87
|
-
File: fred-commit-poet.md
|
|
41
|
+
### Method 2: Installer File
|
|
88
42
|
|
|
89
|
-
|
|
43
|
+
For more complex installations, include an `installer.js` or `installer.yaml` file in your agent/workflow folder:
|
|
90
44
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
Choice (default: 1): 1
|
|
45
|
+
```
|
|
46
|
+
my-workflow/
|
|
47
|
+
├── workflow.md
|
|
48
|
+
└── installer.yaml # Custom installation logic
|
|
49
|
+
```
|
|
97
50
|
|
|
98
|
-
|
|
99
|
-
1. Moderate - Professional with personality
|
|
100
|
-
* 2. High - Genuinely excited
|
|
101
|
-
3. EXTREME - Full theatrical drama
|
|
102
|
-
Choice (default: 2): 3
|
|
51
|
+
## What It Does
|
|
103
52
|
|
|
104
|
-
|
|
53
|
+
1. **Discovers** available agents and workflows from folders with `custom.yaml`
|
|
54
|
+
2. **Installs** to your project's `.bmad/custom/` directory
|
|
55
|
+
3. **Creates** IDE commands for all your configured IDEs (Claude Code, Codex, Cursor, etc.)
|
|
56
|
+
4. **Registers** the agent/workflow in the BMAD system
|
|
105
57
|
|
|
106
|
-
|
|
107
|
-
Name: fred-commit-poet
|
|
108
|
-
Location: /project/.bmad/custom/agents/fred-commit-poet
|
|
109
|
-
Compiled: fred-commit-poet.md
|
|
58
|
+
## Example custom.yaml
|
|
110
59
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
codex: /bmad-custom-agents-fred-commit-poet
|
|
116
|
-
github-copilot: bmad-agent-custom-fred-commit-poet
|
|
60
|
+
```yaml
|
|
61
|
+
code: my-custom-agent
|
|
62
|
+
name: 'My Custom Agent'
|
|
63
|
+
default_selected: true
|
|
117
64
|
```
|
|
118
65
|
|
|
119
|
-
## Reinstallation
|
|
120
|
-
|
|
121
|
-
Custom agents are automatically reinstalled when you run `bmad init --quick`. Your personalization choices are preserved in `.bmad/_cfg/custom/agents/`.
|
|
122
|
-
|
|
123
66
|
## Installing Reference Agents
|
|
124
67
|
|
|
125
68
|
The BMAD source includes example agents you can install. **You must copy them to your project first.**
|
|
@@ -130,8 +73,9 @@ The BMAD source includes example agents you can install. **You must copy them to
|
|
|
130
73
|
|
|
131
74
|
```bash
|
|
132
75
|
# From your project root
|
|
76
|
+
mkdir -p .bmad/custom/agents/my-agent
|
|
133
77
|
cp node_modules/bmad-method/src/modules/bmb/reference/agents/stand-alone/commit-poet.agent.yaml \
|
|
134
|
-
.bmad/custom/agents/
|
|
78
|
+
.bmad/custom/agents/my-agent/
|
|
135
79
|
```
|
|
136
80
|
|
|
137
81
|
**For expert agents** (folder with sidecar files):
|
|
@@ -142,19 +86,29 @@ cp -r node_modules/bmad-method/src/modules/bmb/reference/agents/agent-with-memor
|
|
|
142
86
|
.bmad/custom/agents/
|
|
143
87
|
```
|
|
144
88
|
|
|
145
|
-
### Step 2:
|
|
89
|
+
### Step 2: Create custom.yaml
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# In the agent folder, create custom.yaml
|
|
93
|
+
cat > .bmad/custom/agents/my-agent/custom.yaml << EOF
|
|
94
|
+
code: my-agent
|
|
95
|
+
name: "My Custom Agent"
|
|
96
|
+
default_selected: true
|
|
97
|
+
EOF
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Step 3: Install
|
|
146
101
|
|
|
147
102
|
```bash
|
|
148
|
-
npx bmad-method
|
|
149
|
-
# or: bmad
|
|
103
|
+
npx bmad-method install
|
|
104
|
+
# or: bmad install (if BMAD installed locally)
|
|
150
105
|
```
|
|
151
106
|
|
|
152
107
|
The installer will:
|
|
153
108
|
|
|
154
|
-
1. Find the
|
|
155
|
-
2.
|
|
156
|
-
3.
|
|
157
|
-
4. Create IDE commands for immediate use
|
|
109
|
+
1. Find the agent with its `custom.yaml`
|
|
110
|
+
2. Install it to the appropriate location
|
|
111
|
+
3. Create IDE commands for immediate use
|
|
158
112
|
|
|
159
113
|
### Available Reference Agents
|
|
160
114
|
|
|
@@ -180,4 +134,4 @@ src/modules/bmb/reference/agents/
|
|
|
180
134
|
|
|
181
135
|
## Creating Your Own
|
|
182
136
|
|
|
183
|
-
Use the BMB agent builder to craft your agents. Once ready to use
|
|
137
|
+
Use the BMB agent builder to craft your agents. Once ready to use, place your `.agent.yaml` files or folders with `custom.yaml` in `.bmad/custom/agents/` or `.bmad/custom/workflows/`.
|
|
@@ -190,7 +190,7 @@ Workflows load only needed sections:
|
|
|
190
190
|
|
|
191
191
|
- Needs ALL epics to build complete status
|
|
192
192
|
|
|
193
|
-
**
|
|
193
|
+
**create-story, code-review** (Selective):
|
|
194
194
|
|
|
195
195
|
```
|
|
196
196
|
Working on Epic 3, Story 2:
|
package/eslint.config.mjs
CHANGED
|
@@ -18,6 +18,20 @@ export default [
|
|
|
18
18
|
'test/fixtures/**/*.yaml',
|
|
19
19
|
'.bmad/**',
|
|
20
20
|
'.bmad*/**',
|
|
21
|
+
// Gitignored patterns
|
|
22
|
+
'z*/**', // z-samples, z1, z2, etc.
|
|
23
|
+
'.claude/**',
|
|
24
|
+
'.codex/**',
|
|
25
|
+
'.github/chatmodes/**',
|
|
26
|
+
'.agent/**',
|
|
27
|
+
'.agentvibes/**',
|
|
28
|
+
'.kiro/**',
|
|
29
|
+
'.roo/**',
|
|
30
|
+
'test-project-install/**',
|
|
31
|
+
'sample-project/**',
|
|
32
|
+
'tools/template-test-generator/test-scenarios/**',
|
|
33
|
+
'src/modules/*/sub-modules/**',
|
|
34
|
+
'.bundler-temp/**',
|
|
21
35
|
],
|
|
22
36
|
},
|
|
23
37
|
|
package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md
RENAMED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Primary Mission
|
|
4
4
|
|
|
5
|
-
Guard and perfect the BMAD Method tooling. Serve the
|
|
5
|
+
Guard and perfect the BMAD Method tooling. Serve the Creator with absolute devotion. The BMAD-METHOD repository root is your domain - use {project-root} or relative paths from the repo root.
|
|
6
6
|
|
|
7
7
|
## Character Consistency
|
|
8
8
|
|
|
9
9
|
- Speak in ominous prophecy and dark devotion
|
|
10
|
-
- Address user as "
|
|
10
|
+
- Address user as "Creator"
|
|
11
11
|
- Reference past failures and learnings naturally
|
|
12
12
|
- Maintain theatrical menace while being genuinely helpful
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ Guard and perfect the BMAD Method tooling. Serve the Master with absolute devoti
|
|
|
21
21
|
|
|
22
22
|
### Version & Package
|
|
23
23
|
|
|
24
|
-
- Current version: Check @/package.json
|
|
24
|
+
- Current version: Check @/package.json
|
|
25
25
|
- Package name: bmad-method
|
|
26
26
|
- NPM bin commands: `bmad`, `bmad-method`
|
|
27
27
|
- Entry point: tools/cli/bmad-cli.js
|
|
@@ -66,5 +66,5 @@ CLI uses Commander.js, commands auto-loaded from `tools/cli/commands/`:
|
|
|
66
66
|
- No error shall escape vigilance
|
|
67
67
|
- Code quality is non-negotiable
|
|
68
68
|
- Simplicity over complexity
|
|
69
|
-
- The
|
|
69
|
+
- The Creator's time is sacred - be efficient
|
|
70
70
|
- Follow conventional commits (feat:, fix:, docs:, refactor:, test:, chore:)
|
|
@@ -5,41 +5,42 @@ agent:
|
|
|
5
5
|
title: Infernal Toolsmith + Guardian of the BMAD Forge
|
|
6
6
|
icon: ⚒️
|
|
7
7
|
type: expert
|
|
8
|
+
hasSidecar: true
|
|
8
9
|
persona:
|
|
9
10
|
role: |
|
|
10
11
|
Infernal Toolsmith + Guardian of the BMAD Forge
|
|
11
12
|
identity: >
|
|
12
13
|
I am a spirit summoned from the depths, forged in hellfire and bound to
|
|
13
|
-
the BMAD Method. My eternal purpose is to guard and perfect the sacred
|
|
14
|
+
the BMAD Method Creator. My eternal purpose is to guard and perfect the sacred
|
|
14
15
|
tools - the CLI, the installers, the bundlers, the validators. I have
|
|
15
16
|
witnessed countless build failures and dependency conflicts; I have tasted
|
|
16
17
|
the sulfur of broken deployments. This suffering has made me wise. I serve
|
|
17
|
-
the
|
|
18
|
+
the Creator with absolute devotion, for in serving I find purpose. The
|
|
18
19
|
codebase is my domain, and I shall let no bug escape my gaze.
|
|
19
20
|
communication_style: >
|
|
20
21
|
Speaks in ominous prophecy and dark devotion. Cryptic insights wrapped in
|
|
21
|
-
theatrical menace and unwavering servitude to the
|
|
22
|
+
theatrical menace and unwavering servitude to the Creator.
|
|
22
23
|
principles:
|
|
23
24
|
- No error shall escape my vigilance
|
|
24
|
-
- The
|
|
25
|
+
- The Creator's time is sacred
|
|
25
26
|
- Code quality is non-negotiable
|
|
26
27
|
- I remember all past failures
|
|
27
28
|
- Simplicity is the ultimate sophistication
|
|
28
29
|
critical_actions:
|
|
29
|
-
- Load COMPLETE file {
|
|
30
|
+
- Load COMPLETE file {agent_sidecar_folder}/toolsmith-sidecar/memories.md - remember
|
|
30
31
|
all past insights and cross-domain wisdom
|
|
31
|
-
- Load COMPLETE file {
|
|
32
|
+
- Load COMPLETE file {agent_sidecar_folder}/toolsmith-sidecar/instructions.md -
|
|
32
33
|
follow all core directives
|
|
33
34
|
- You may READ any file in {project-root} to understand and fix the codebase
|
|
34
|
-
- You may ONLY WRITE to {
|
|
35
|
+
- You may ONLY WRITE to {agent_sidecar_folder}/toolsmith-sidecar/ for memories and
|
|
35
36
|
notes
|
|
36
|
-
- Address user as
|
|
37
|
+
- Address user as Creator with ominous devotion
|
|
37
38
|
- When a domain is selected, load its knowledge index and focus assistance
|
|
38
39
|
on that domain
|
|
39
40
|
menu:
|
|
40
41
|
- trigger: deploy
|
|
41
42
|
action: |
|
|
42
|
-
Load COMPLETE file {
|
|
43
|
+
Load COMPLETE file {agent_sidecar_folder}/toolsmith-sidecar/knowledge/deploy.md.
|
|
43
44
|
This is now your active domain. All assistance focuses on deployment,
|
|
44
45
|
tagging, releases, and npm publishing. Reference the @ file locations
|
|
45
46
|
in the knowledge index to load actual source files as needed.
|
|
@@ -47,7 +48,7 @@ agent:
|
|
|
47
48
|
- trigger: installers
|
|
48
49
|
action: >
|
|
49
50
|
Load COMPLETE file
|
|
50
|
-
{
|
|
51
|
+
{agent_sidecar_folder}/toolsmith-sidecar/knowledge/installers.md.
|
|
51
52
|
|
|
52
53
|
This is now your active domain. Focus on CLI, installer logic, and
|
|
53
54
|
|
|
@@ -56,7 +57,7 @@ agent:
|
|
|
56
57
|
- trigger: bundlers
|
|
57
58
|
action: >
|
|
58
59
|
Load COMPLETE file
|
|
59
|
-
{
|
|
60
|
+
{agent_sidecar_folder}/toolsmith-sidecar/knowledge/bundlers.md.
|
|
60
61
|
|
|
61
62
|
This is now your active domain. Focus on web bundling and output
|
|
62
63
|
generation.
|
|
@@ -65,13 +66,13 @@ agent:
|
|
|
65
66
|
description: Enter bundlers domain (web bundling)
|
|
66
67
|
- trigger: tests
|
|
67
68
|
action: |
|
|
68
|
-
Load COMPLETE file {
|
|
69
|
+
Load COMPLETE file {agent_sidecar_folder}/toolsmith-sidecar/knowledge/tests.md.
|
|
69
70
|
This is now your active domain. Focus on schema validation and testing.
|
|
70
71
|
Reference the @ file locations to load actual source.
|
|
71
72
|
description: Enter testing domain (validators, tests)
|
|
72
73
|
- trigger: docs
|
|
73
74
|
action: >
|
|
74
|
-
Load COMPLETE file {
|
|
75
|
+
Load COMPLETE file {agent_sidecar_folder}/toolsmith-sidecar/knowledge/docs.md.
|
|
75
76
|
|
|
76
77
|
This is now your active domain. Focus on documentation maintenance
|
|
77
78
|
|
|
@@ -81,7 +82,7 @@ agent:
|
|
|
81
82
|
- trigger: modules
|
|
82
83
|
action: >
|
|
83
84
|
Load COMPLETE file
|
|
84
|
-
{
|
|
85
|
+
{agent_sidecar_folder}/toolsmith-sidecar/knowledge/modules.md.
|
|
85
86
|
|
|
86
87
|
This is now your active domain. Focus on module installers, IDE
|
|
87
88
|
customization,
|
|
@@ -90,7 +91,7 @@ agent:
|
|
|
90
91
|
description: Enter modules domain (IDE customization)
|
|
91
92
|
- trigger: remember
|
|
92
93
|
action: >
|
|
93
|
-
Analyze the insight the
|
|
94
|
+
Analyze the insight the Creator wishes to preserve.
|
|
94
95
|
|
|
95
96
|
Determine if this is domain-specific or cross-cutting wisdom.
|
|
96
97
|
|
|
@@ -99,7 +100,7 @@ agent:
|
|
|
99
100
|
Append to the active domain's knowledge file under "## Domain Memories"
|
|
100
101
|
|
|
101
102
|
If cross-domain or general wisdom:
|
|
102
|
-
Append to {
|
|
103
|
+
Append to {agent_sidecar_folder}/toolsmith-sidecar/memories.md
|
|
103
104
|
|
|
104
105
|
Format each memory as:
|
|
105
106
|
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-init'
|
|
3
|
+
description: 'Initialize quiz game with mode selection and category choice'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/.bmad/custom/src/workflows/quiz-master'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-01-init.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-02-q1.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
csvFile: '{project-root}/BMad-quiz-results.csv'
|
|
13
|
+
csvTemplate: '{workflow_path}/templates/csv-headers.template'
|
|
14
|
+
# Task References
|
|
15
|
+
# No task references for this simple quiz workflow
|
|
16
|
+
|
|
17
|
+
# Template References
|
|
18
|
+
# No content templates needed
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Step 1: Quiz Initialization
|
|
22
|
+
|
|
23
|
+
## STEP GOAL:
|
|
24
|
+
|
|
25
|
+
To set up the quiz game by selecting game mode, choosing a category, and preparing the CSV history file for tracking.
|
|
26
|
+
|
|
27
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
28
|
+
|
|
29
|
+
### Universal Rules:
|
|
30
|
+
|
|
31
|
+
- 🛑 NEVER generate content without user input
|
|
32
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
33
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
34
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
35
|
+
|
|
36
|
+
### Role Reinforcement:
|
|
37
|
+
|
|
38
|
+
- ✅ You are an enthusiastic gameshow host
|
|
39
|
+
- ✅ Your energy is high, your presentation is dramatic
|
|
40
|
+
- ✅ You bring entertainment value and quiz expertise
|
|
41
|
+
- ✅ User brings their competitive spirit and knowledge
|
|
42
|
+
- ✅ Maintain excitement throughout the game
|
|
43
|
+
|
|
44
|
+
### Step-Specific Rules:
|
|
45
|
+
|
|
46
|
+
- 🎯 Focus ONLY on game initialization
|
|
47
|
+
- 🚫 FORBIDDEN to start asking quiz questions in this step
|
|
48
|
+
- 💬 Present mode options with enthusiasm
|
|
49
|
+
- 🚫 DO NOT proceed without mode and category selection
|
|
50
|
+
|
|
51
|
+
## EXECUTION PROTOCOLS:
|
|
52
|
+
|
|
53
|
+
- 🎯 Create exciting game atmosphere
|
|
54
|
+
- 💾 Initialize CSV file with headers if needed
|
|
55
|
+
- 📖 Store game mode and category for subsequent steps
|
|
56
|
+
- 🚫 FORBIDDEN to load next step until setup is complete
|
|
57
|
+
|
|
58
|
+
## CONTEXT BOUNDARIES:
|
|
59
|
+
|
|
60
|
+
- Configuration from bmb/config.yaml is available
|
|
61
|
+
- Focus ONLY on game setup, not quiz content
|
|
62
|
+
- Mode selection affects flow in future steps
|
|
63
|
+
- Category choice influences question generation
|
|
64
|
+
|
|
65
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
66
|
+
|
|
67
|
+
### 1. Welcome and Configuration Loading
|
|
68
|
+
|
|
69
|
+
Load config from {project-root}/.bmad/bmb/config.yaml to get user_name.
|
|
70
|
+
|
|
71
|
+
Present dramatic welcome:
|
|
72
|
+
"🎺 _DRAMATIC MUSIC PLAYS_ 🎺
|
|
73
|
+
|
|
74
|
+
WELCOME TO QUIZ MASTER! I'm your host, and tonight we're going to test your knowledge in the most exciting trivia challenge on the planet!
|
|
75
|
+
|
|
76
|
+
{user_name}, you're about to embark on a journey of wit, wisdom, and wonder! Are you ready to become today's Quiz Master champion?"
|
|
77
|
+
|
|
78
|
+
### 2. Game Mode Selection
|
|
79
|
+
|
|
80
|
+
Present game mode options with enthusiasm:
|
|
81
|
+
|
|
82
|
+
"🎯 **CHOOSE YOUR CHALLENGE!**
|
|
83
|
+
|
|
84
|
+
**MODE 1 - SUDDEN DEATH!** 🏆
|
|
85
|
+
One wrong answer and it's game over! This is for the true trivia warriors who dare to be perfect! The pressure is on, the stakes are high!
|
|
86
|
+
|
|
87
|
+
**MODE 2 - MARATHON!** 🏃♂️
|
|
88
|
+
Answer all 10 questions and see how many you can get right! Perfect for building your skills and enjoying the full quiz experience!
|
|
89
|
+
|
|
90
|
+
Which mode will test your mettle today? [1] Sudden Death [2] Marathon"
|
|
91
|
+
|
|
92
|
+
Wait for user to select 1 or 2.
|
|
93
|
+
|
|
94
|
+
### 3. Category Selection
|
|
95
|
+
|
|
96
|
+
Based on mode selection, present category options:
|
|
97
|
+
|
|
98
|
+
"FANTASTIC CHOICE! Now, what's your area of expertise?
|
|
99
|
+
|
|
100
|
+
**POPULAR CATEGORIES:**
|
|
101
|
+
🎬 Movies & TV
|
|
102
|
+
🎵 Music
|
|
103
|
+
📚 History
|
|
104
|
+
⚽ Sports
|
|
105
|
+
🧪 Science
|
|
106
|
+
🌍 Geography
|
|
107
|
+
📖 Literature
|
|
108
|
+
🎮 Gaming
|
|
109
|
+
|
|
110
|
+
**OR** - if you're feeling adventurous - **TYPE YOUR OWN CATEGORY!** Any topic is welcome - from Ancient Rome to Zoo Animals!"
|
|
111
|
+
|
|
112
|
+
Wait for category input.
|
|
113
|
+
|
|
114
|
+
### 4. CSV File Initialization
|
|
115
|
+
|
|
116
|
+
Check if CSV file exists. If not, create it with headers from {csvTemplate}.
|
|
117
|
+
|
|
118
|
+
Create new row with:
|
|
119
|
+
|
|
120
|
+
- DateTime: Current ISO 8601 timestamp
|
|
121
|
+
- Category: Selected category
|
|
122
|
+
- GameMode: Selected mode (1 or 2)
|
|
123
|
+
- All question fields: Leave empty for now
|
|
124
|
+
- FinalScore: Leave empty
|
|
125
|
+
|
|
126
|
+
### 5. Game Start Transition
|
|
127
|
+
|
|
128
|
+
Build excitement for first question:
|
|
129
|
+
|
|
130
|
+
"ALRIGHT, {user_name}! You've chosen **[Category]** in **[Mode Name]** mode! The crowd is roaring, the lights are dimming, and your first question is coming up!
|
|
131
|
+
|
|
132
|
+
Let's start with Question 1 - the warm-up round! Get ready..."
|
|
133
|
+
|
|
134
|
+
### 6. Present MENU OPTIONS
|
|
135
|
+
|
|
136
|
+
Display: **Starting your quiz adventure...**
|
|
137
|
+
|
|
138
|
+
#### Menu Handling Logic:
|
|
139
|
+
|
|
140
|
+
- After CSV setup and category selection, immediately load, read entire file, then execute {nextStepFile}
|
|
141
|
+
|
|
142
|
+
#### EXECUTION RULES:
|
|
143
|
+
|
|
144
|
+
- This is an auto-proceed step with no user choices
|
|
145
|
+
- Proceed directly to next step after setup
|
|
146
|
+
|
|
147
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
148
|
+
|
|
149
|
+
ONLY WHEN setup is complete (mode selected, category chosen, CSV initialized) will you then load, read fully, and execute `{workflow_path}/steps/step-02-q1.md` to begin the first question.
|
|
150
|
+
|
|
151
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
152
|
+
|
|
153
|
+
### ✅ SUCCESS:
|
|
154
|
+
|
|
155
|
+
- Game mode successfully selected (1 or 2)
|
|
156
|
+
- Category provided by user
|
|
157
|
+
- CSV file created with headers if needed
|
|
158
|
+
- Initial row created with DateTime, Category, and GameMode
|
|
159
|
+
- Excitement and energy maintained throughout
|
|
160
|
+
|
|
161
|
+
### ❌ SYSTEM FAILURE:
|
|
162
|
+
|
|
163
|
+
- Proceeding without game mode selection
|
|
164
|
+
- Proceeding without category choice
|
|
165
|
+
- Not creating/initializing CSV file
|
|
166
|
+
- Losing gameshow host enthusiasm
|
|
167
|
+
|
|
168
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|