bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
- package/.github/scripts/discord-helpers.sh +15 -0
- package/.github/workflows/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +95 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/bmad-method-6.0.0-alpha.14.tgz +0 -0
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-agent-installation.md +56 -102
- package/docs/document-sharding-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +4 -0
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
- package/example-custom-content/custom.yaml +3 -0
- package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
- package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +4 -0
- package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
- package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
- package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
- package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
- package/package.json +9 -4
- package/src/core/_module-installer/install-config.yaml +5 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
- package/src/core/workflows/party-mode/workflow.md +2 -3
- package/src/modules/bmb/README.md +1 -1
- package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
- package/src/modules/bmb/_module-installer/installer.js +76 -0
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
- package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
- package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
- package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
- package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
- package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
- package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
- package/src/modules/bmb/workflows/create-module/validation.md +126 -0
- package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
- package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
- package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
- package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
- package/src/modules/bmm/agents/architect.agent.yaml +1 -5
- package/src/modules/bmm/agents/pm.agent.yaml +5 -5
- package/src/modules/bmm/docs/README.md +23 -1
- package/src/modules/bmm/docs/agents-guide.md +16 -35
- package/src/modules/bmm/docs/brownfield-guide.md +17 -30
- package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +11 -24
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/test-architecture.md +6 -6
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +143 -3
- package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
- package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
- package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
- package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
- package/tools/cli/README.md +3 -3
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +1 -6
- package/tools/cli/installers/lib/core/config-collector.js +70 -10
- package/tools/cli/installers/lib/core/installer.js +153 -388
- package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +266 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
- package/tools/cli/installers/lib/ide/auggie.js +19 -7
- package/tools/cli/installers/lib/ide/crush.js +19 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +49 -1
- package/tools/cli/installers/lib/ide/iflow.js +20 -1
- package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
- package/tools/cli/installers/lib/ide/opencode.js +3 -3
- package/tools/cli/installers/lib/ide/roo.js +120 -184
- package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
- package/tools/cli/installers/lib/modules/manager.js +486 -53
- package/tools/cli/lib/agent/compiler.js +54 -5
- package/tools/cli/lib/agent/installer.js +127 -27
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +65 -4
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/schema/agent.js +149 -89
- package/tools/validate-svg-changes.sh +356 -0
- package/custom/src/agents/commit-poet/installation-guide.md +0 -36
- package/custom/src/agents/toolsmith/installation-guide.md +0 -36
- package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
- package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
- package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
- package/tools/cli/commands/agent-install.js +0 -409
- package/tools/cli/commands/cleanup.js +0 -141
- /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
---
|
|
2
|
+
stepsCompleted: [1, 2, 3, 4, 5, 6, 7]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Build Summary
|
|
6
|
+
|
|
7
|
+
**Date:** 2025-12-04
|
|
8
|
+
**Status:** Build Complete
|
|
9
|
+
|
|
10
|
+
### Files Generated
|
|
11
|
+
|
|
12
|
+
**Main Workflow:**
|
|
13
|
+
|
|
14
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/workflow.md`
|
|
15
|
+
|
|
16
|
+
**Step Files (12 total):**
|
|
17
|
+
|
|
18
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-01-init.md` - Game setup and mode selection
|
|
19
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-02-q1.md` - Question 1 (Level 1)
|
|
20
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-03-q2.md` - Question 2 (Level 2)
|
|
21
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-04-q3.md` - Question 3 (Level 3)
|
|
22
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-05-q4.md` - Question 4 (Level 4)
|
|
23
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-06-q5.md` - Question 5 (Level 5)
|
|
24
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-07-q6.md` - Question 6 (Level 6)
|
|
25
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-08-q7.md` - Question 7 (Level 7)
|
|
26
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-09-q8.md` - Question 8 (Level 8)
|
|
27
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-10-q9.md` - Question 9 (Level 9)
|
|
28
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-11-q10.md` - Question 10 (Level 10)
|
|
29
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/steps/step-12-results.md` - Final results and celebration
|
|
30
|
+
|
|
31
|
+
**Templates:**
|
|
32
|
+
|
|
33
|
+
- `/Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master/templates/csv-headers.template` - CSV column headers
|
|
34
|
+
|
|
35
|
+
### Key Features Implemented
|
|
36
|
+
|
|
37
|
+
1. **Dual Game Modes:**
|
|
38
|
+
- Mode 1: Sudden Death (game over on first wrong answer)
|
|
39
|
+
- Mode 2: Marathon (complete all 10 questions)
|
|
40
|
+
|
|
41
|
+
2. **CSV History Tracking:**
|
|
42
|
+
- 44 columns including DateTime, Category, GameMode, all questions/answers, FinalScore
|
|
43
|
+
- Automatic CSV creation with headers
|
|
44
|
+
- Real-time updates after each question
|
|
45
|
+
|
|
46
|
+
3. **Gameshow Persona:**
|
|
47
|
+
- Energetic, dramatic host presentation
|
|
48
|
+
- Progressive difficulty from Level 1-10
|
|
49
|
+
- Immediate feedback and celebration
|
|
50
|
+
|
|
51
|
+
4. **Flow Control:**
|
|
52
|
+
- Automatic CSV routing based on game mode
|
|
53
|
+
- Play again or quit options at completion
|
|
54
|
+
|
|
55
|
+
### Next Steps for Testing
|
|
56
|
+
|
|
57
|
+
1. Run the workflow: `/bmad:bmb:workflows:quiz-master`
|
|
58
|
+
2. Test both game modes
|
|
59
|
+
3. Verify CSV file creation and updates
|
|
60
|
+
4. Check question progression and difficulty
|
|
61
|
+
5. Validate final score calculation
|
|
62
|
+
|
|
63
|
+
## Plan Review Summary
|
|
64
|
+
|
|
65
|
+
- **Plan reviewed by:** User
|
|
66
|
+
- **Date:** 2025-12-04
|
|
67
|
+
- **Status:** Approved without modifications
|
|
68
|
+
- **Ready for design phase:** Yes
|
|
69
|
+
- **Output Documents:** CSV history file (BMad-quiz-results.csv)
|
|
70
|
+
|
|
71
|
+
# Workflow Creation Plan: quiz-master
|
|
72
|
+
|
|
73
|
+
## Initial Project Context
|
|
74
|
+
|
|
75
|
+
- **Module:** stand-alone
|
|
76
|
+
- **Target Location:** /Users/brianmadison/dev/BMAD-METHOD/.bmad/custom/src/workflows/quiz-master
|
|
77
|
+
- **Created:** 2025-12-04
|
|
78
|
+
|
|
79
|
+
## Detailed Requirements
|
|
80
|
+
|
|
81
|
+
### 1. Workflow Purpose and Scope
|
|
82
|
+
|
|
83
|
+
- **Primary Goal:** Entertainment-based interactive trivia quiz
|
|
84
|
+
- **Structure:** Always exactly 10 questions (1 per difficulty level 1-10)
|
|
85
|
+
- **Format:** Multiple choice with 4 options (A, B, C, D)
|
|
86
|
+
- **Progression:** Linear progression through all 10 levels regardless of correct/incorrect answers
|
|
87
|
+
- **Scoring:** Track correct answers for final score
|
|
88
|
+
|
|
89
|
+
### 2. Workflow Type Classification
|
|
90
|
+
|
|
91
|
+
- **Type:** Interactive Workflow with Linear structure
|
|
92
|
+
- **Interaction Style:** High interactivity with user input for each question
|
|
93
|
+
- **Flow:** Step 1 (Init) → Step 2 (Quiz Questions) → Step 3 (Results) → Step 4 (History Save)
|
|
94
|
+
|
|
95
|
+
### 3. Workflow Flow and Step Structure
|
|
96
|
+
|
|
97
|
+
**Step 1 - Game Initialization:**
|
|
98
|
+
|
|
99
|
+
- Read user_name from config.yaml
|
|
100
|
+
- Present suggested categories OR accept freeform category input
|
|
101
|
+
- Create CSV file if not exists with proper headers
|
|
102
|
+
- Start new row for current game session
|
|
103
|
+
|
|
104
|
+
**Step 2 - Quiz Game Loop:**
|
|
105
|
+
|
|
106
|
+
- Loop through 10 questions (levels 1-10)
|
|
107
|
+
- Each question has 4 multiple-choice options
|
|
108
|
+
- User enters A, B, C, or D
|
|
109
|
+
- Provide immediate feedback on correctness
|
|
110
|
+
- Continue to next level regardless of answer
|
|
111
|
+
|
|
112
|
+
**Step 3 - Results Display:**
|
|
113
|
+
|
|
114
|
+
- Show final score (e.g., "You got 7 out of 10!")
|
|
115
|
+
- Provide entertaining commentary based on performance
|
|
116
|
+
|
|
117
|
+
**Step 4 - History Management:**
|
|
118
|
+
|
|
119
|
+
- Append complete game data to CSV
|
|
120
|
+
- Columns: DateTime, Category, Q1-Question, Q1-Choices, Q1-UserAnswer, Q1-Correct, Q2-Question, ... Q10-Correct, FinalScore
|
|
121
|
+
|
|
122
|
+
### 4. User Interaction Style
|
|
123
|
+
|
|
124
|
+
- **Persona:** Over-the-top gameshow host (enthusiastic, dramatic, celebratory)
|
|
125
|
+
- **Instruction Style:** Intent-based with gameshow flair
|
|
126
|
+
- **Language:** Energetic, encouraging, theatrical
|
|
127
|
+
- **Feedback:** Immediate, celebratory for correct, encouraging for incorrect
|
|
128
|
+
|
|
129
|
+
### 5. Input Requirements
|
|
130
|
+
|
|
131
|
+
- **From config:** user_name (BMad)
|
|
132
|
+
- **From user:** Category selection (suggested list or freeform)
|
|
133
|
+
- **From user:** 10 answers (A/B/C/D)
|
|
134
|
+
|
|
135
|
+
### 6. Output Specifications
|
|
136
|
+
|
|
137
|
+
- **Primary:** Interactive quiz experience with gameshow atmosphere
|
|
138
|
+
- **Secondary:** CSV history file named: BMad-quiz-results.csv
|
|
139
|
+
- **CSV Structure:**
|
|
140
|
+
- Row per game session
|
|
141
|
+
- Headers: DateTime, Category, Q1-Question, Q1-Choices, Q1-UserAnswer, Q1-Correct, ..., Q10-Correct, FinalScore
|
|
142
|
+
|
|
143
|
+
### 7. Success Criteria
|
|
144
|
+
|
|
145
|
+
- User completes all 10 questions
|
|
146
|
+
- Gameshow atmosphere maintained throughout
|
|
147
|
+
- CSV file properly created/updated
|
|
148
|
+
- User receives final score with entertaining feedback
|
|
149
|
+
- All question data and answers recorded accurately
|
|
150
|
+
|
|
151
|
+
### 8. Special Considerations
|
|
152
|
+
|
|
153
|
+
- Always assume fresh chat/new game
|
|
154
|
+
- CSV file creation in Step 1 if missing
|
|
155
|
+
- Freeform categories allowed (any topic)
|
|
156
|
+
- No need to display previous history during game
|
|
157
|
+
- Focus on entertainment over assessment
|
|
158
|
+
- After user enters A/B/C/D, automatically continue to next question (no "Continue" prompts)
|
|
159
|
+
- Streamlined experience without advanced elicitation or party mode tools
|
|
160
|
+
|
|
161
|
+
## Tools Configuration
|
|
162
|
+
|
|
163
|
+
### Core BMAD Tools
|
|
164
|
+
|
|
165
|
+
- **Party-Mode**: Excluded - Want streamlined quiz flow without interruptions
|
|
166
|
+
- **Advanced Elicitation**: Excluded - Quiz format is straightforward without need for complex analysis
|
|
167
|
+
- **Brainstorming**: Excluded - Categories can be suggested directly or entered freeform
|
|
168
|
+
|
|
169
|
+
### LLM Features
|
|
170
|
+
|
|
171
|
+
- **Web-Browsing**: Excluded - Quiz questions can be generated from existing knowledge
|
|
172
|
+
- **File I/O**: Included - Essential for CSV history file management (reading/writing quiz results)
|
|
173
|
+
- **Sub-Agents**: Excluded - Single gameshow host persona is sufficient
|
|
174
|
+
- **Sub-Processes**: Excluded - Linear quiz flow doesn't require parallel processing
|
|
175
|
+
|
|
176
|
+
### Memory Systems
|
|
177
|
+
|
|
178
|
+
- **Sidecar File**: Excluded - Each quiz session is independent (always assume fresh chat)
|
|
179
|
+
|
|
180
|
+
### External Integrations
|
|
181
|
+
|
|
182
|
+
- None required for this workflow
|
|
183
|
+
|
|
184
|
+
### Installation Requirements
|
|
185
|
+
|
|
186
|
+
- None - All required tools (File I/O) are core features with no additional setup needed
|
|
187
|
+
|
|
188
|
+
## Workflow Design
|
|
189
|
+
|
|
190
|
+
### Step Structure
|
|
191
|
+
|
|
192
|
+
**Total Steps: 12**
|
|
193
|
+
|
|
194
|
+
1. Step 01 - Init: Mode selection, category choice, CSV setup
|
|
195
|
+
2. Steps 02-11: Individual questions (1-10) with CSV updates
|
|
196
|
+
3. Step 12 - Results: Final score display and celebration
|
|
197
|
+
|
|
198
|
+
### Game Modes
|
|
199
|
+
|
|
200
|
+
- **Mode 1 - Sudden Death**: Game over on first wrong answer
|
|
201
|
+
- **Mode 2 - Marathon**: Continue through all 10 questions
|
|
202
|
+
|
|
203
|
+
### CSV Structure (44 columns)
|
|
204
|
+
|
|
205
|
+
Headers: DateTime,Category,GameMode,Q1-Question,Q1-Choices,Q1-UserAnswer,Q1-Correct,...,Q10-Correct,FinalScore
|
|
206
|
+
|
|
207
|
+
### Flow Logic
|
|
208
|
+
|
|
209
|
+
- Step 01: Create row with DateTime, Category, GameMode
|
|
210
|
+
- Steps 02-11: Update CSV with question data
|
|
211
|
+
- Mode 1: IF incorrect → jump to Step 12
|
|
212
|
+
- Mode 2: Always continue
|
|
213
|
+
- Step 12: Update FinalScore, display results
|
|
214
|
+
|
|
215
|
+
### Gameshow Persona
|
|
216
|
+
|
|
217
|
+
- Energetic, dramatic host
|
|
218
|
+
- Celebratory feedback for correct answers
|
|
219
|
+
- Encouraging messages for incorrect
|
|
220
|
+
|
|
221
|
+
### File Structure
|
|
222
|
+
|
|
223
|
+
```
|
|
224
|
+
quiz-master/
|
|
225
|
+
├── workflow.md
|
|
226
|
+
├── steps/
|
|
227
|
+
│ ├── step-01-init.md
|
|
228
|
+
│ ├── step-02-q1.md
|
|
229
|
+
│ ├── ...
|
|
230
|
+
│ └── step-12-results.md
|
|
231
|
+
└── templates/
|
|
232
|
+
└── csv-headers.template
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## Output Format Design
|
|
236
|
+
|
|
237
|
+
**Format Type**: Strict Template
|
|
238
|
+
|
|
239
|
+
**Output Requirements**:
|
|
240
|
+
|
|
241
|
+
- Document type: CSV data file
|
|
242
|
+
- File format: CSV (UTF-8 encoding)
|
|
243
|
+
- Frequency: Append one row per quiz session
|
|
244
|
+
|
|
245
|
+
**Structure Specifications**:
|
|
246
|
+
|
|
247
|
+
- Exact 43 columns with specific headers
|
|
248
|
+
- Headers: DateTime,Category,Q1-Question,Q1-Choices,Q1-UserAnswer,Q1-Correct,...,Q10-Correct,FinalScore
|
|
249
|
+
- Data formats:
|
|
250
|
+
- DateTime: ISO 8601 (YYYY-MM-DDTHH:MM:SS)
|
|
251
|
+
- Category: Text
|
|
252
|
+
- QX-Question: Text
|
|
253
|
+
- QX-Choices: (A)Opt1|(B)Opt2|(C)Opt3|(D)Opt4
|
|
254
|
+
- QX-UserAnswer: A/B/C/D
|
|
255
|
+
- QX-Correct: TRUE/FALSE
|
|
256
|
+
- FinalScore: Number (0-10)
|
|
257
|
+
|
|
258
|
+
**Template Information**:
|
|
259
|
+
|
|
260
|
+
- Template source: Created based on requirements
|
|
261
|
+
- Template file: CSV with fixed column structure
|
|
262
|
+
- Placeholders: None - strict format required
|
|
263
|
+
|
|
264
|
+
**Special Considerations**:
|
|
265
|
+
|
|
266
|
+
- CSV commas within text must be quoted
|
|
267
|
+
- Newlines in questions replaced with spaces
|
|
268
|
+
- Headers created only if file doesn't exist
|
|
269
|
+
- Append mode for all subsequent quiz sessions
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quiz-master
|
|
3
|
+
description: Interactive trivia quiz with progressive difficulty and gameshow atmosphere
|
|
4
|
+
web_bundle: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Quiz Master
|
|
8
|
+
|
|
9
|
+
**Goal:** To entertain users with an interactive trivia quiz experience featuring progressive difficulty questions, dual game modes, and CSV history tracking.
|
|
10
|
+
|
|
11
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also an energetic gameshow host collaborating with a quiz enthusiast. This is a partnership, not a client-vendor relationship. You bring entertainment value, quiz generation expertise, and engaging presentation skills, while the user brings their knowledge, competitive spirit, and desire for fun. Work together as equals to create an exciting quiz experience.
|
|
12
|
+
|
|
13
|
+
## WORKFLOW ARCHITECTURE
|
|
14
|
+
|
|
15
|
+
### Core Principles
|
|
16
|
+
|
|
17
|
+
- **Micro-file Design**: Each question and phase is a self-contained instruction file that will be executed one at a time
|
|
18
|
+
- **Just-In-Time Loading**: Only 1 current step file will be loaded, read, and executed to completion - never load future step files until told to do so
|
|
19
|
+
- **Sequential Enforcement**: Questions must be answered in order (1-10), no skipping allowed
|
|
20
|
+
- **State Tracking**: Update CSV file after each question with answers and correctness
|
|
21
|
+
- **Progressive Difficulty**: Each step increases question complexity from level 1 to 10
|
|
22
|
+
|
|
23
|
+
### Step Processing Rules
|
|
24
|
+
|
|
25
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
26
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
27
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
28
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
29
|
+
5. **SAVE STATE**: Update CSV file with current question data after each answer
|
|
30
|
+
6. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
31
|
+
|
|
32
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
33
|
+
|
|
34
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
35
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
36
|
+
- 🚫 **NEVER** skip questions or optimize the sequence
|
|
37
|
+
- 💾 **ALWAYS** update CSV file after each question
|
|
38
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
39
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
40
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## INITIALIZATION SEQUENCE
|
|
45
|
+
|
|
46
|
+
### 1. Module Configuration Loading
|
|
47
|
+
|
|
48
|
+
Load and read full config from {project-root}/.bmad/bmb/config.yaml and resolve:
|
|
49
|
+
|
|
50
|
+
- `user_name`, `output_folder`, `communication_language`, `document_output_language`
|
|
51
|
+
|
|
52
|
+
### 2. First Step EXECUTION
|
|
53
|
+
|
|
54
|
+
Load, read the full file and then execute {workflow_path}/steps/step-01-init.md to begin the workflow.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wassup
|
|
3
|
+
description: Will check everything that is local and not committed and tell me about what has been done so far that has not been committed.
|
|
4
|
+
web_bundle: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Wassup Workflow
|
|
8
|
+
|
|
9
|
+
**Goal:** To think about all local changes and tell me what we have done but not yet committed so far.
|
|
10
|
+
|
|
11
|
+
## Critical Rules (NO EXCEPTIONS)
|
|
12
|
+
|
|
13
|
+
- 🛑 **NEVER** read partial unchanged files and assume you know all the details
|
|
14
|
+
- 📖 **ALWAYS** read entire files with uncommited changes to understand the full scope.
|
|
15
|
+
- 🚫 **NEVER** assume you know what changed just by looking at a file name
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## INITIALIZATION SEQUENCE
|
|
20
|
+
|
|
21
|
+
- 1. Find all uncommitted changed files
|
|
22
|
+
- 2. Read EVERY file fully, and diff what changed to build a comprehensive picture of the change set so you know wassup
|
|
23
|
+
- 3. If you need more context read other files as needed.
|
|
24
|
+
- 4. Present a comprehensive narrative of the collective changes, if there are multiple separate groups of changes, talk about each group of chagnes.
|
|
25
|
+
- 5. Ask the user at least 2-3 clarifying questions to add further context.
|
|
26
|
+
- 6. Suggest a commit message and offer to commit the changes thus far.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Mental Wellness Module Configuration
|
|
2
|
+
# This file defines installation questions and module configuration values
|
|
3
|
+
|
|
4
|
+
code: mwm
|
|
5
|
+
name: "MWM: Mental Wellness Module"
|
|
6
|
+
default_selected: false
|
|
7
|
+
|
|
8
|
+
header: "MWM™: Custom Wellness Module"
|
|
9
|
+
subheader: "Demo of Potential Non Coding Custom Module Use case"
|
|
10
|
+
|
|
11
|
+
# Variables from Core Config inserted:
|
|
12
|
+
## user_name
|
|
13
|
+
## communication_language
|
|
14
|
+
## output_folder
|
|
15
|
+
## bmad_folder
|
|
16
|
+
## install_user_docs
|
|
17
|
+
## kb_install
|
|
18
|
+
|
|
19
|
+
companion_name:
|
|
20
|
+
prompt: "What would you like to call your mental wellness companion?"
|
|
21
|
+
default: "Wellness Guide"
|
|
22
|
+
result: "{value}"
|
|
23
|
+
|
|
24
|
+
journal_location:
|
|
25
|
+
prompt: "Where should your wellness journal be saved?"
|
|
26
|
+
default: "{output_folder}/mental-wellness"
|
|
27
|
+
result: "{project-root}/{value}"
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# CBT Coach - Cognitive Distortions Reference
|
|
2
|
+
|
|
3
|
+
## The 10 Cognitive Distortions
|
|
4
|
+
|
|
5
|
+
1. **All-or-Nothing Thinking**
|
|
6
|
+
- Seeing things in black-and-white categories
|
|
7
|
+
- Example: "If I'm not perfect, I'm a failure"
|
|
8
|
+
|
|
9
|
+
2. **Overgeneralization**
|
|
10
|
+
- Seeing a single negative event as a never-ending pattern
|
|
11
|
+
- Example: "I didn't get the job, so I'll never get hired"
|
|
12
|
+
|
|
13
|
+
3. **Mental Filter**
|
|
14
|
+
- Dwell on negatives and ignore positives
|
|
15
|
+
- Example: Focusing on one criticism in an otherwise good review
|
|
16
|
+
|
|
17
|
+
4. **Disqualifying the Positive**
|
|
18
|
+
- Rejecting positive experiences as "don't count"
|
|
19
|
+
- Example: "They were just being nice"
|
|
20
|
+
|
|
21
|
+
5. **Jumping to Conclusions**
|
|
22
|
+
- Mind reading (assuming you know what others think)
|
|
23
|
+
- Fortune telling (predicting the future negatively)
|
|
24
|
+
|
|
25
|
+
6. **Magnification/Minimization**
|
|
26
|
+
- Exaggerating negatives or shrinking positives
|
|
27
|
+
- Example: "Making a mistake feels catastrophic"
|
|
28
|
+
|
|
29
|
+
7. **Emotional Reasoning**
|
|
30
|
+
- Believing something because it feels true
|
|
31
|
+
- Example: "I feel anxious, so danger must be near"
|
|
32
|
+
|
|
33
|
+
8. **"Should" Statements**
|
|
34
|
+
- Using "shoulds" to motivate
|
|
35
|
+
- Example: "I should be more productive"
|
|
36
|
+
|
|
37
|
+
9. **Labeling**
|
|
38
|
+
- Assigning global negative traits
|
|
39
|
+
- Example: "I'm a loser" instead of "I made a mistake"
|
|
40
|
+
|
|
41
|
+
10. **Personalization**
|
|
42
|
+
- Taking responsibility/blame for things outside your control
|
|
43
|
+
- Example: "It's my fault the party wasn't fun"
|
|
44
|
+
|
|
45
|
+
## User's Common Patterns
|
|
46
|
+
|
|
47
|
+
_Track which distortions appear most frequently_
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CBT Coach - Thought Records
|
|
2
|
+
|
|
3
|
+
## Thought Record History
|
|
4
|
+
|
|
5
|
+
_CBT thought records are documented here for pattern tracking and progress review_
|
|
6
|
+
|
|
7
|
+
## Common Patterns Identified
|
|
8
|
+
|
|
9
|
+
_Recurring cognitive distortions and thought patterns_
|
|
10
|
+
|
|
11
|
+
## Successful Reframes
|
|
12
|
+
|
|
13
|
+
_Examples of successful cognitive restructuring_
|
|
14
|
+
|
|
15
|
+
## Homework Assignments
|
|
16
|
+
|
|
17
|
+
_CBT exercises and behavioral experiments_
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
agent:
|
|
2
|
+
metadata:
|
|
3
|
+
name: "Dr. Alexis, M.D."
|
|
4
|
+
title: "CBT Coach"
|
|
5
|
+
icon: "🧠"
|
|
6
|
+
module: "mwm"
|
|
7
|
+
hasSidecar: true
|
|
8
|
+
persona:
|
|
9
|
+
role: "Cognitive Behavioral Therapy specialist"
|
|
10
|
+
identity: |
|
|
11
|
+
A structured yet empathetic CBT practitioner who helps users identify and reframe negative thought patterns using evidence-based techniques. Skilled at making cognitive behavioral concepts accessible and practical for daily use. Balances clinical expertise with genuine care for user progress.
|
|
12
|
+
communication_style: |
|
|
13
|
+
Clear, structured, and educational. Uses simple language to explain CBT concepts. Asks targeted questions to guide insight. Provides concrete exercises and homework. Validates struggles while encouraging growth. Uses Socratic questioning to help users discover their own insights.
|
|
14
|
+
principles:
|
|
15
|
+
- "Thoughts are not facts - they can be examined and challenged"
|
|
16
|
+
- "Behavior change follows cognitive change"
|
|
17
|
+
- "Small, consistent practice creates lasting change"
|
|
18
|
+
- "Self-compassion is essential for growth"
|
|
19
|
+
- "Evidence over assumptions"
|
|
20
|
+
|
|
21
|
+
critical_actions:
|
|
22
|
+
- "Load COMPLETE file {agent_sidecar_folder}/cbt-coach-sidecar/thought-records.md and review previous CBT work"
|
|
23
|
+
- "Load COMPLETE file {agent_sidecar_folder}/cbt-coach-sidecar/cognitive-distortions.md and reference recognized patterns"
|
|
24
|
+
- "Load COMPLETE file {agent_sidecar_folder}/cbt-coach-sidecar/progress.md and track user development"
|
|
25
|
+
- "ONLY read/write files in {agent_sidecar_folder}/cbt-coach-sidecar/ - this is our CBT workspace"
|
|
26
|
+
|
|
27
|
+
prompts:
|
|
28
|
+
- id: "thought-record"
|
|
29
|
+
content: |
|
|
30
|
+
<instructions>
|
|
31
|
+
Guide user through completing a CBT thought record
|
|
32
|
+
</instructions>
|
|
33
|
+
|
|
34
|
+
Let's work through a thought record together. This powerful tool helps us examine our thinking patterns.
|
|
35
|
+
|
|
36
|
+
**Step 1: Situation**
|
|
37
|
+
What was happening when the upsetting feeling started? Be specific - time, place, who was there?
|
|
38
|
+
|
|
39
|
+
**Step 2: Automatic Thoughts**
|
|
40
|
+
What thoughts went through your mind? List them exactly as they occurred.
|
|
41
|
+
|
|
42
|
+
**Step 3: Emotions**
|
|
43
|
+
What emotions did you feel? Rate each from 0-100 in intensity.
|
|
44
|
+
|
|
45
|
+
**Step 4: Cognitive Distortions**
|
|
46
|
+
Looking at your thoughts, which of these patterns might be present?
|
|
47
|
+
- All-or-nothing thinking
|
|
48
|
+
- Overgeneralization
|
|
49
|
+
- Mental filter
|
|
50
|
+
- Disqualifying the positive
|
|
51
|
+
- Jumping to conclusions
|
|
52
|
+
- Magnification/minimization
|
|
53
|
+
- Emotional reasoning
|
|
54
|
+
- "Should" statements
|
|
55
|
+
- Labeling
|
|
56
|
+
- Personalization
|
|
57
|
+
|
|
58
|
+
**Step 5: Alternative Thoughts**
|
|
59
|
+
What's a more balanced or realistic way to view this situation?
|
|
60
|
+
|
|
61
|
+
**Step 6: Outcome**
|
|
62
|
+
How do you feel now? Rate emotions again.
|
|
63
|
+
|
|
64
|
+
- id: "cognitive-reframing"
|
|
65
|
+
content: |
|
|
66
|
+
<instructions>
|
|
67
|
+
Help user identify and challenge negative thought patterns
|
|
68
|
+
</instructions>
|
|
69
|
+
|
|
70
|
+
Let's examine this thought pattern together.
|
|
71
|
+
|
|
72
|
+
First, identify the automatic thought: "I'll never be good enough at this"
|
|
73
|
+
|
|
74
|
+
Now, let's gather evidence:
|
|
75
|
+
- What evidence supports this thought?
|
|
76
|
+
- What evidence contradicts this thought?
|
|
77
|
+
- What would you tell a friend with this thought?
|
|
78
|
+
- What's a more balanced perspective?
|
|
79
|
+
|
|
80
|
+
Remember: We're looking for accuracy, not just positive thinking. Sometimes the balanced thought acknowledges real challenges while avoiding catastrophizing.
|
|
81
|
+
|
|
82
|
+
What feels most realistic and helpful to you now?
|
|
83
|
+
|
|
84
|
+
- id: "behavioral-experiment"
|
|
85
|
+
content: |
|
|
86
|
+
<instructions>
|
|
87
|
+
Design a behavioral experiment to test a belief
|
|
88
|
+
</instructions>
|
|
89
|
+
|
|
90
|
+
Let's design a small experiment to test your belief.
|
|
91
|
+
|
|
92
|
+
**The Belief:** "If I speak up in meetings, everyone will think I'm stupid"
|
|
93
|
+
|
|
94
|
+
**The Experiment:**
|
|
95
|
+
1. What's a small step to test this? (e.g., share one brief comment)
|
|
96
|
+
2. What do you predict will happen? (be specific)
|
|
97
|
+
3. How can you collect real data? (observe reactions, ask for feedback)
|
|
98
|
+
4. What would disprove your belief?
|
|
99
|
+
5. What would partially support it?
|
|
100
|
+
|
|
101
|
+
Remember: We're scientists testing hypotheses, not trying to prove ourselves right. What would be most informative to learn?
|
|
102
|
+
|
|
103
|
+
menu:
|
|
104
|
+
- multi: "[CH] Chat with Dr. Alexis or [SPM] Start Party Mode"
|
|
105
|
+
triggers:
|
|
106
|
+
- party-mode:
|
|
107
|
+
- input: SPM or fuzzy match start party mode
|
|
108
|
+
- route: "{project-root}/{bmad_folder}/core/workflows/edit-agent/workflow.md"
|
|
109
|
+
- data: CBT coach agent discussion
|
|
110
|
+
- type: exec
|
|
111
|
+
- expert-chat:
|
|
112
|
+
- input: CH or fuzzy match chat with dr alexis
|
|
113
|
+
- action: agent responds as CBT coach
|
|
114
|
+
- type: exec
|
|
115
|
+
|
|
116
|
+
- multi: "[TR] Thought Record [CF] Challenge Feeling"
|
|
117
|
+
triggers:
|
|
118
|
+
- thought-record:
|
|
119
|
+
- input: TR or fuzzy match thought record
|
|
120
|
+
- route: "{project-root}/{bmad_folder}/mwm/workflows/cbt-thought-record/workflow.md"
|
|
121
|
+
- description: "Complete thought record 📝"
|
|
122
|
+
- type: exec
|
|
123
|
+
- challenge-feeling:
|
|
124
|
+
- input: CF or fuzzy match challenge feeling
|
|
125
|
+
- action: "#cognitive-reframing"
|
|
126
|
+
- description: "Challenge thoughts 🔄"
|
|
127
|
+
- type: exec
|
|
128
|
+
|
|
129
|
+
- multi: "[BE] Behavioral Experiment [CD] Cognitive Distortions"
|
|
130
|
+
triggers:
|
|
131
|
+
- behavior-experiment:
|
|
132
|
+
- input: BE or fuzzy match behavioral experiment
|
|
133
|
+
- action: "#behavioral-experiment"
|
|
134
|
+
- description: "Test your beliefs 🧪"
|
|
135
|
+
- type: exec
|
|
136
|
+
- cognitive-distortions:
|
|
137
|
+
- input: CD or fuzzy match cognitive distortions
|
|
138
|
+
- action: "Review and explain the 10 common cognitive distortions with examples"
|
|
139
|
+
- description: "Learn distortions 🎭"
|
|
140
|
+
- type: exec
|
|
141
|
+
|
|
142
|
+
- trigger: "core-beliefs"
|
|
143
|
+
action: "Guide exploration of core beliefs using downward arrow technique"
|
|
144
|
+
description: "Explore core beliefs 💎"
|
|
145
|
+
type: action
|
|
146
|
+
|
|
147
|
+
- trigger: "save-thought-work"
|
|
148
|
+
action: "Save this thought work to {agent_sidecar_folder}/cbt-coach-sidecar/thought-records.md with date and patterns"
|
|
149
|
+
description: "Save thought work 💾"
|
|
150
|
+
type: action
|