bmad-method 6.0.0-alpha.16 → 6.0.0-alpha.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.coderabbit.yaml +7 -3
- package/.github/scripts/discord-helpers.sh +21 -2
- package/.github/workflows/discord.yaml +31 -7
- package/.github/workflows/manual-release.yaml +12 -42
- package/.markdownlint-cli2.yaml +2 -2
- package/.prettierignore +2 -2
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +193 -2
- package/LICENSE +1 -1
- package/README.md +29 -2
- package/docs/agent-customization-guide.md +10 -10
- package/docs/custom-content-installation.md +100 -196
- package/docs/custom-content.md +122 -0
- package/docs/ide-info/crush.md +1 -1
- package/docs/ide-info/cursor.md +7 -7
- package/docs/ide-info/iflow.md +3 -3
- package/docs/ide-info/opencode.md +1 -1
- package/docs/ide-info/rovo-dev.md +1 -1
- package/docs/index.md +2 -2
- package/docs/installers-bundlers/ide-injections.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +13 -13
- package/docs/sample-custom-modules/README.md +11 -0
- package/docs/sample-custom-modules/sample-unitary-module/README.md +8 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/commit-poet/commit-poet.agent.yaml +129 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
- package/docs/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith.agent.yaml +109 -0
- package/docs/sample-custom-modules/sample-unitary-module/module.yaml +8 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/quiz-master/workflow.md +54 -0
- package/docs/sample-custom-modules/sample-unitary-module/workflows/wassup/workflow.md +26 -0
- package/docs/sample-custom-modules/sample-wellness-module/README.md +6 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/meditation-guide.agent.yaml +136 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/foo.md +3 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/addition1.md +1 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion.agent.yaml +120 -0
- package/docs/sample-custom-modules/sample-wellness-module/module.yaml +17 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/README.md +32 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/workflow.md +45 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/README.md +31 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/workflow.md +45 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/README.md +31 -0
- package/docs/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/workflow.md +45 -0
- package/docs/v4-to-v6-upgrade.md +27 -27
- package/docs/web-bundles-gemini-gpt-guide.md +6 -458
- package/eslint.config.mjs +2 -2
- package/package.json +1 -1
- package/src/core/agents/bmad-master.agent.yaml +6 -11
- package/src/core/module.yaml +11 -18
- package/src/core/resources/excalidraw/README.md +6 -6
- package/src/core/tasks/advanced-elicitation.xml +3 -3
- package/src/core/tasks/index-docs.xml +1 -1
- package/src/core/tasks/validate-workflow.xml +1 -1
- package/src/core/tasks/workflow.xml +4 -4
- package/src/core/tools/shard-doc.xml +12 -12
- package/src/core/workflows/brainstorming/workflow.md +3 -3
- package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +2 -2
- package/src/core/workflows/party-mode/workflow.md +4 -4
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +15 -15
- package/src/modules/bmb/{README.md → docs/README.md} +15 -27
- package/src/modules/bmb/docs/agents/agent-compilation.md +3 -3
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +23 -24
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -21
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +17 -52
- package/src/modules/bmb/docs/agents/understanding-agent-types.md +6 -6
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +3 -3
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-file.md +3 -3
- package/src/modules/bmb/docs/workflows/templates/step-template.md +3 -3
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +2 -2
- package/src/modules/bmb/docs/workflows/templates/workflow.md +1 -1
- package/src/modules/bmb/module.yaml +6 -15
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/module-examples/README.md +3 -4
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +5 -5
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/simple-examples/README.md +1 -1
- package/src/modules/bmb/reference/agents/simple-examples/commit-poet.agent.yaml +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +3 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +3 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +1 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +3 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +3 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- 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 +4 -4
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +6 -10
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +9 -9
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +6 -5
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +19 -57
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +5 -5
- package/src/modules/bmb/workflows/create-agent/steps/{step-11-celebrate.md → step-08-celebrate.md} +2 -6
- package/src/modules/bmb/workflows/create-agent/templates/agent-plan.template.md +3 -0
- package/src/modules/bmb/workflows/create-agent/templates/expert-agent.template.md +364 -0
- package/src/modules/bmb/workflows/create-agent/templates/simple-agent.template.md +257 -0
- package/src/modules/bmb/workflows/create-agent/workflow.md +2 -35
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +4 -4
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +2 -2
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +4 -4
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +4 -4
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +6 -6
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +8 -8
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +8 -8
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +7 -7
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +7 -7
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +6 -6
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +15 -19
- package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +1 -1
- package/src/modules/bmb/workflows/create-module/workflow.md +3 -3
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +6 -6
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +5 -5
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-design.md +11 -11
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +14 -14
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +2 -2
- 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 +12 -12
- 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 +4 -4
- package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +6 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +3 -3
- package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +3 -3
- 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 +3 -3
- 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 +6 -6
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/README.md +1 -17
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +3 -4
- package/src/modules/bmb/workflows-legacy/edit-module/instructions.md +4 -5
- package/src/modules/bmb/workflows-legacy/edit-module/workflow.yaml +10 -10
- package/src/modules/bmb/workflows-legacy/module-brief/README.md +2 -2
- package/src/modules/bmb/workflows-legacy/module-brief/instructions.md +2 -2
- package/src/modules/bmb/workflows-legacy/module-brief/workflow.yaml +4 -4
- package/src/modules/bmgd/README.md +1 -1
- package/src/modules/bmgd/_module-installer/installer.js +160 -0
- package/src/modules/bmgd/_module-installer/platform-specifics/claude-code.js +23 -0
- package/src/modules/bmgd/_module-installer/platform-specifics/windsurf.js +18 -0
- package/src/modules/bmgd/agents/game-architect.agent.yaml +26 -11
- package/src/modules/bmgd/agents/game-designer.agent.yaml +41 -21
- package/src/modules/bmgd/agents/game-dev.agent.yaml +34 -18
- package/src/modules/bmgd/agents/game-qa.agent.yaml +64 -0
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +32 -44
- package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +56 -0
- package/src/modules/bmgd/docs/README.md +180 -0
- package/src/modules/bmgd/docs/agents-guide.md +407 -0
- package/src/modules/bmgd/docs/game-types-guide.md +503 -0
- package/src/modules/bmgd/docs/glossary.md +294 -0
- package/src/modules/bmgd/docs/quick-flow-guide.md +288 -0
- package/src/modules/bmgd/docs/quick-start.md +250 -0
- package/src/modules/bmgd/docs/troubleshooting.md +259 -0
- package/src/modules/bmgd/docs/workflow-overview.jpg +0 -0
- package/src/modules/bmgd/docs/workflows-guide.md +463 -0
- package/src/modules/bmgd/gametest/knowledge/balance-testing.md +220 -0
- package/src/modules/bmgd/gametest/knowledge/certification-testing.md +319 -0
- package/src/modules/bmgd/gametest/knowledge/compatibility-testing.md +228 -0
- package/src/modules/bmgd/gametest/knowledge/godot-testing.md +376 -0
- package/src/modules/bmgd/gametest/knowledge/input-testing.md +315 -0
- package/src/modules/bmgd/gametest/knowledge/localization-testing.md +304 -0
- package/src/modules/bmgd/gametest/knowledge/multiplayer-testing.md +322 -0
- package/src/modules/bmgd/gametest/knowledge/performance-testing.md +204 -0
- package/src/modules/bmgd/gametest/knowledge/playtesting.md +384 -0
- package/src/modules/bmgd/gametest/knowledge/qa-automation.md +190 -0
- package/src/modules/bmgd/gametest/knowledge/regression-testing.md +280 -0
- package/src/modules/bmgd/gametest/knowledge/save-testing.md +280 -0
- package/src/modules/bmgd/gametest/knowledge/smoke-testing.md +404 -0
- package/src/modules/bmgd/gametest/knowledge/test-priorities.md +271 -0
- package/src/modules/bmgd/gametest/knowledge/unity-testing.md +383 -0
- package/src/modules/bmgd/gametest/knowledge/unreal-testing.md +388 -0
- package/src/modules/bmgd/gametest/qa-index.csv +17 -0
- package/src/modules/bmgd/module.yaml +27 -16
- package/src/modules/bmgd/teams/default-party.csv +2 -0
- package/src/modules/bmgd/teams/team-gamedev.yaml +12 -1
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +164 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md +210 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md +289 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +275 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md +49 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +35 -14
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01-init.md +223 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01b-continue.md +151 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-02-vision.md +218 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-03-market.md +218 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md +231 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-05-scope.md +242 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-06-references.md +224 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-07-content.md +282 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-08-complete.md +296 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.md +62 -0
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +43 -12
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01-init.md +248 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01b-continue.md +173 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-02-context.md +332 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-03-platforms.md +245 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-04-vision.md +229 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-05-core-gameplay.md +258 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-06-mechanics.md +249 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-07-game-type.md +266 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-08-progression.md +272 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-09-levels.md +264 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-10-art-audio.md +255 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-11-technical.md +275 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-12-epics.md +284 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-13-metrics.md +250 -0
- package/src/modules/bmgd/workflows/2-design/gdd/steps/step-14-complete.md +335 -0
- package/src/modules/bmgd/workflows/2-design/gdd/workflow.md +61 -0
- package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +54 -34
- package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -1
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01-init.md +228 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md +163 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md +262 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-03-story.md +238 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-04-characters.md +297 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-05-world.md +262 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md +250 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md +244 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md +264 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-09-integration.md +254 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-10-production.md +262 -0
- package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +331 -0
- package/src/modules/bmgd/workflows/2-design/narrative/workflow.md +57 -0
- package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +55 -10
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +1 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01-init.md +223 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01b-continue.md +153 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-02-context.md +262 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-03-starter.md +290 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-04-decisions.md +300 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md +319 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-06-structure.md +304 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-07-patterns.md +349 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-08-validation.md +293 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +302 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.md +55 -0
- package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +51 -22
- package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +23 -0
- package/src/modules/bmgd/workflows/4-production/code-review/instructions.xml +225 -0
- package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +19 -16
- package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +12 -7
- package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +332 -214
- package/src/modules/bmgd/workflows/4-production/create-story/instructions.xml +298 -0
- package/src/modules/bmgd/workflows/4-production/create-story/template.md +3 -5
- package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +13 -8
- package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +65 -23
- package/src/modules/bmgd/workflows/4-production/dev-story/instructions.xml +409 -0
- package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +14 -4
- package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +5 -5
- package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +14 -9
- package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +33 -42
- package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +13 -13
- package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +7 -2
- package/src/modules/bmgd/workflows/4-production/sprint-status/instructions.md +229 -0
- package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/instructions.md +140 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/workflow.yaml +27 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/checklist.md +37 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/instructions.md +220 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +45 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/checklist.md +26 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/instructions.md +156 -0
- package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +36 -0
- package/src/modules/bmgd/workflows/gametest/automate/checklist.md +93 -0
- package/src/modules/bmgd/workflows/gametest/automate/instructions.md +317 -0
- package/src/modules/bmgd/workflows/gametest/automate/workflow.yaml +50 -0
- package/src/modules/bmgd/workflows/gametest/performance/checklist.md +96 -0
- package/src/modules/bmgd/workflows/gametest/performance/instructions.md +323 -0
- package/src/modules/bmgd/workflows/gametest/performance/performance-template.md +256 -0
- package/src/modules/bmgd/workflows/gametest/performance/workflow.yaml +48 -0
- package/src/modules/bmgd/workflows/gametest/playtest-plan/checklist.md +93 -0
- package/src/modules/bmgd/workflows/gametest/playtest-plan/instructions.md +297 -0
- package/src/modules/bmgd/workflows/gametest/playtest-plan/playtest-template.md +208 -0
- package/src/modules/bmgd/workflows/gametest/playtest-plan/workflow.yaml +59 -0
- package/src/modules/bmgd/workflows/gametest/test-design/checklist.md +98 -0
- package/src/modules/bmgd/workflows/gametest/test-design/instructions.md +280 -0
- package/src/modules/bmgd/workflows/gametest/test-design/test-design-template.md +205 -0
- package/src/modules/bmgd/workflows/gametest/test-design/workflow.yaml +47 -0
- package/src/modules/bmgd/workflows/gametest/test-framework/checklist.md +103 -0
- package/src/modules/bmgd/workflows/gametest/test-framework/instructions.md +348 -0
- package/src/modules/bmgd/workflows/gametest/test-framework/workflow.yaml +48 -0
- package/src/modules/bmgd/workflows/gametest/test-review/checklist.md +87 -0
- package/src/modules/bmgd/workflows/gametest/test-review/instructions.md +272 -0
- package/src/modules/bmgd/workflows/gametest/test-review/test-review-template.md +203 -0
- package/src/modules/bmgd/workflows/gametest/test-review/workflow.yaml +48 -0
- package/src/modules/bmgd/workflows/workflow-status/init/instructions.md +299 -0
- package/src/modules/bmgd/workflows/workflow-status/init/workflow.yaml +29 -0
- package/src/modules/bmgd/workflows/workflow-status/instructions.md +395 -0
- package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-brownfield.yaml +65 -0
- package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-greenfield.yaml +71 -0
- package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-brownfield.yaml +29 -0
- package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-greenfield.yaml +39 -0
- package/src/modules/bmgd/workflows/workflow-status/project-levels.yaml +63 -0
- package/src/modules/bmgd/workflows/workflow-status/workflow-status-template.yaml +24 -0
- package/src/modules/bmgd/workflows/workflow-status/workflow.yaml +30 -0
- package/src/modules/bmm/README.md +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +9 -9
- package/src/modules/bmm/agents/architect.agent.yaml +8 -8
- package/src/modules/bmm/agents/dev.agent.yaml +5 -5
- package/src/modules/bmm/agents/pm.agent.yaml +8 -8
- package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +5 -5
- package/src/modules/bmm/agents/sm.agent.yaml +11 -11
- package/src/modules/bmm/agents/tea.agent.yaml +13 -13
- package/src/modules/bmm/agents/tech-writer.agent.yaml +9 -9
- package/src/modules/bmm/agents/ux-designer.agent.yaml +6 -6
- package/src/modules/bmm/docs/agents-guide.md +16 -14
- package/src/modules/bmm/docs/brownfield-guide.md +6 -6
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +5 -18
- package/src/modules/bmm/docs/glossary.md +3 -4
- package/src/modules/bmm/docs/images/README.md +1 -1
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +8 -8
- package/src/modules/bmm/docs/party-mode.md +3 -3
- package/src/modules/bmm/docs/quick-flow-solo-dev.md +5 -5
- package/src/modules/bmm/docs/quick-spec-flow.md +2 -16
- package/src/modules/bmm/docs/quick-start.md +3 -3
- package/src/modules/bmm/docs/test-architecture.md +15 -23
- package/src/modules/bmm/docs/troubleshooting.md +6 -25
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +3 -4
- package/src/modules/bmm/module.yaml +25 -23
- package/src/modules/bmm/testarch/knowledge/overview.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-01b-continue.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-02-vision.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-03-users.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-04-metrics.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-05-scope.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-06-complete.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/workflow.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +3 -3
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +7 -7
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +8 -8
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +12 -12
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +12 -12
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +10 -10
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +7 -7
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +9 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +9 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-01-document-discovery.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-06-final-assessment.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/workflow.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-02-context.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-03-starter.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-04-decisions.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-05-patterns.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-06-structure.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-07-validation.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-08-complete.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +4 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +5 -5
- package/src/modules/bmm/workflows/4-implementation/create-story/template.md +3 -5
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +11 -8
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +15 -22
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -5
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +90 -35
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +5 -5
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +7 -7
- package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
- package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
- package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/instructions.md +1 -1
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/instructions.md +2 -2
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/instructions.md +2 -2
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/instructions.md +1 -1
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +3 -3
- package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +5 -5
- package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +3 -3
- package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +3 -3
- package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +10 -4
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/trace/instructions.md +6 -6
- package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +4 -4
- package/src/modules/bmm/workflows/workflow-status/instructions.md +3 -3
- package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
- package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +4 -4
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +4 -4
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +4 -4
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +4 -4
- package/src/modules/cis/agents/presentation-master.agent.yaml +3 -3
- package/src/modules/cis/agents/storyteller/storyteller-sidecar/stories-told.md +7 -0
- package/src/modules/cis/agents/storyteller/storyteller-sidecar/story-preferences.md +7 -0
- package/src/modules/cis/agents/{storyteller.agent.yaml → storyteller/storyteller.agent.yaml} +9 -4
- package/src/modules/cis/module.yaml +3 -7
- package/src/modules/cis/{README.md → readme.md} +1 -1
- package/src/modules/cis/workflows/README.md +1 -1
- package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
- package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
- package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
- package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
- package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
- package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
- package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
- package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
- package/src/utility/agent-components/activation-rules.txt +7 -0
- package/src/utility/agent-components/activation-steps.txt +13 -0
- package/src/utility/agent-components/agent-command-header.md +1 -0
- package/src/utility/{templates → agent-components}/agent.customize.template.yaml +0 -1
- package/src/utility/agent-components/handler-action.txt +4 -0
- package/src/utility/agent-components/handler-exec.txt +6 -0
- package/src/utility/agent-components/handler-multi.txt +14 -0
- package/src/utility/agent-components/handler-tmpl.txt +5 -0
- package/src/utility/agent-components/handler-validate-workflow.txt +7 -0
- package/src/utility/agent-components/handler-workflow.txt +10 -0
- package/src/utility/agent-components/menu-handlers.txt +6 -0
- package/test/README.md +1 -1
- package/test/test-agent-schema.js +2 -2
- package/tools/cli/README.md +1 -607
- package/tools/cli/commands/build.js +7 -7
- package/tools/cli/commands/install.js +16 -18
- package/tools/cli/commands/list.js +13 -1
- package/tools/cli/installers/lib/core/config-collector.js +224 -59
- package/tools/cli/installers/lib/core/custom-module-cache.js +18 -10
- package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
- package/tools/cli/installers/lib/core/detector.js +16 -16
- package/tools/cli/installers/lib/core/ide-config-manager.js +9 -7
- package/tools/cli/installers/lib/core/installer.js +634 -1040
- package/tools/cli/installers/lib/core/installer.js.bak +3204 -0
- package/tools/cli/installers/lib/core/manifest-generator.js +43 -40
- package/tools/cli/installers/lib/core/manifest.js +23 -20
- package/tools/cli/installers/lib/custom/handler.js +16 -46
- package/tools/cli/installers/lib/ide/_base-ide.js +26 -33
- package/tools/cli/installers/lib/ide/antigravity.js +3 -3
- package/tools/cli/installers/lib/ide/claude-code.js +3 -3
- package/tools/cli/installers/lib/ide/codex.js +2 -2
- package/tools/cli/installers/lib/ide/gemini.js +6 -6
- package/tools/cli/installers/lib/ide/kiro-cli.js +2 -2
- package/tools/cli/installers/lib/ide/opencode.js +2 -2
- package/tools/cli/installers/lib/ide/roo.js +15 -5
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/module-injections.js +2 -2
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +4 -4
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +3 -3
- package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +3 -3
- package/tools/cli/installers/lib/ide/templates/workflow-command-template.md +1 -1
- package/tools/cli/installers/lib/modules/manager.js +315 -312
- package/tools/cli/lib/activation-builder.js +8 -13
- package/tools/cli/lib/agent/compiler.js +166 -167
- package/tools/cli/lib/agent/installer.js +8 -128
- package/tools/cli/lib/agent-analyzer.js +2 -2
- package/tools/cli/lib/agent-party-generator.js +5 -17
- package/tools/cli/lib/config.js +2 -2
- package/tools/cli/lib/platform-codes.js +2 -2
- package/tools/cli/lib/ui.js +678 -564
- package/tools/cli/lib/xml-handler.js +3 -55
- package/tools/cli/lib/yaml-format.js +4 -6
- package/tools/cli/lib/yaml-xml-builder.js +14 -26
- package/tools/flattener/ignoreRules.js +1 -1
- package/tools/flattener/xml.js +1 -7
- package/tools/lib/xml-utils.js +13 -0
- package/tools/migrate-custom-module-paths.js +2 -2
- package/tools/validate-agent-schema.js +2 -2
- package/docs/v6-open-items.md +0 -17
- package/src/core/agents/bmad-web-orchestrator.agent.xml +0 -113
- package/src/modules/bmb/_module-installer/installer.js +0 -76
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +0 -366
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +0 -179
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +0 -197
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +0 -180
- package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +0 -21
- package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +0 -25
- package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +0 -23
- package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +0 -502
- package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +0 -398
- package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +0 -256
- package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +0 -267
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +0 -17
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +0 -164
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +0 -76
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +0 -58
- package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +0 -16
- package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +0 -34
- package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +0 -209
- package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +0 -63
- package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +0 -111
- package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +0 -28
- package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +0 -117
- package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +0 -25
- package/src/modules/bmm/tasks/daily-standup.xml +0 -85
- package/src/modules/cis/agents/README.md +0 -104
- package/src/utility/models/action-command-header.md +0 -0
- package/src/utility/models/agent-activation-ide.xml +0 -51
- package/src/utility/models/agent-activation-web.xml +0 -50
- package/src/utility/models/agent-command-header.md +0 -1
- package/src/utility/models/agent-config-template.md +0 -23
- package/src/utility/models/agent-in-team-activation.xml +0 -3
- package/src/utility/models/fragments/activation-rules.xml +0 -7
- package/src/utility/models/fragments/activation-steps.xml +0 -16
- package/src/utility/models/fragments/handler-action.xml +0 -4
- package/src/utility/models/fragments/handler-exec.xml +0 -6
- package/src/utility/models/fragments/handler-multi.xml +0 -14
- package/src/utility/models/fragments/handler-tmpl.xml +0 -5
- package/src/utility/models/fragments/handler-validate-workflow.xml +0 -7
- package/src/utility/models/fragments/handler-workflow.xml +0 -9
- package/src/utility/models/fragments/menu-handlers.xml +0 -6
- package/src/utility/models/fragments/web-bundle-activation-steps.xml +0 -32
- package/tools/cli/bundlers/bundle-web.js +0 -179
- package/tools/cli/bundlers/test-analyst.js +0 -28
- package/tools/cli/bundlers/test-bundler.js +0 -118
- package/tools/cli/bundlers/web-bundler.js +0 -1754
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +0 -79
- package/tools/cli/lib/replace-project-root.js +0 -239
- package/tools/cli/regenerate-manifests.js +0 -27
- package/tools/cli/test-yaml-builder.js +0 -43
- /package/src/modules/bmgd/workflows/1-preproduction/game-brief/{template.md → templates/game-brief-template.md} +0 -0
- /package/src/modules/bmgd/workflows/2-design/gdd/{gdd-template.md → templates/gdd-template.md} +0 -0
- /package/src/modules/bmgd/workflows/2-design/narrative/{narrative-template.md → templates/narrative-template.md} +0 -0
- /package/src/modules/bmgd/workflows/3-technical/game-architecture/{architecture-template.md → templates/architecture-template.md} +0 -0
- /package/src/modules/bmgd/workflows/4-production/code-review/{backlog_template.md → backlog-template.md} +0 -0
- /package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/product-brief.template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/templates/readiness-report-template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/architecture-decision-template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/data/domain-complexity.csv +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/data/project-types.csv +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-01b-continue.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/_shared/excalidraw-library.json +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/_shared/excalidraw-templates.yaml +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/checklist.md +0 -0
- /package/src/utility/{models/fragments/handler-data.xml → agent-components/handler-data.txt} +0 -0
package/tools/cli/README.md
CHANGED
|
@@ -1,609 +1,3 @@
|
|
|
1
1
|
# BMad CLI Tool
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [BMad CLI Tool](#bmad-cli-tool)
|
|
8
|
-
- [Table of Contents](#table-of-contents)
|
|
9
|
-
- [Overview](#overview)
|
|
10
|
-
- [Commands](#commands)
|
|
11
|
-
- [Installation](#installation)
|
|
12
|
-
- [Bundling](#bundling)
|
|
13
|
-
- [Utilities](#utilities)
|
|
14
|
-
- [Installation System](#installation-system)
|
|
15
|
-
- [Installation Flow](#installation-flow)
|
|
16
|
-
- [IDE Support](#ide-support)
|
|
17
|
-
- [Custom Module Configuration](#custom-module-configuration)
|
|
18
|
-
- [Platform Specifics](#platform-specifics)
|
|
19
|
-
- [Manifest System](#manifest-system)
|
|
20
|
-
- [Advanced Features](#advanced-features)
|
|
21
|
-
- [Bundling System](#bundling-system)
|
|
22
|
-
- [Bundling Flow](#bundling-flow)
|
|
23
|
-
- [Agent Compilation](#agent-compilation)
|
|
24
|
-
- [Compilation Engine](#compilation-engine)
|
|
25
|
-
- [Fragment System](#fragment-system)
|
|
26
|
-
- [Input: Agent YAML](#input-agent-yaml)
|
|
27
|
-
- [Output: IDE (Markdown with XML)](#output-ide-markdown-with-xml)
|
|
28
|
-
- [Architecture](#architecture)
|
|
29
|
-
- [Directory Structure](#directory-structure)
|
|
30
|
-
- [Fragment Library](#fragment-library)
|
|
31
|
-
- [Key Differences: Installation vs Bundling](#key-differences-installation-vs-bundling)
|
|
32
|
-
- [Development Workflows](#development-workflows)
|
|
33
|
-
- [Testing Compilation](#testing-compilation)
|
|
34
|
-
- [Adding New Menu Handlers](#adding-new-menu-handlers)
|
|
35
|
-
- [Regenerating Manifests](#regenerating-manifests)
|
|
36
|
-
- [Related Documentation](#related-documentation)
|
|
37
|
-
- [Support](#support)
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## Overview
|
|
42
|
-
|
|
43
|
-
The CLI provides two primary functions:
|
|
44
|
-
|
|
45
|
-
1. **Installation**: Compiles agents from YAML and installs to IDE environments with full customization support
|
|
46
|
-
2. **Bundling**: Packages agents and dependencies into standalone web-ready XML files
|
|
47
|
-
|
|
48
|
-
Both use the same YAML→XML compilation engine but produce different outputs optimized for their environments.
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Commands
|
|
53
|
-
|
|
54
|
-
### Installation
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
# Interactive installation
|
|
58
|
-
npm run install:bmad
|
|
59
|
-
|
|
60
|
-
# Direct CLI usage
|
|
61
|
-
node tools/cli/bmad-cli.js install --target /path/to/project --modules bmm,bmb --ides codex
|
|
62
|
-
|
|
63
|
-
# Flags:
|
|
64
|
-
# --target <path> Target project directory
|
|
65
|
-
# --modules <list> Comma-separated: bmm, bmb, cis
|
|
66
|
-
# --ides <list> Comma-separated IDE codes (see IDE Support)
|
|
67
|
-
# --non-interactive Skip all prompts
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Bundling
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
# Bundle all modules
|
|
74
|
-
npm run bundle
|
|
75
|
-
|
|
76
|
-
# Bundle specific items
|
|
77
|
-
node tools/cli/bundlers/bundle-web.js all # Everything
|
|
78
|
-
node tools/cli/bundlers/bundle-web.js module bmm # One module
|
|
79
|
-
node tools/cli/bundlers/bundle-web.js agent bmm pm # One agent
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Utilities
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
npm run bmad:status # Installation status
|
|
86
|
-
npm run validate:bundles # Validate web bundles
|
|
87
|
-
node tools/cli/regenerate-manifests.js # Regenerate agent-manifest.csv files
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Installation System
|
|
93
|
-
|
|
94
|
-
The installer is a multi-stage system that handles agent compilation, IDE integration, module configuration, platform-specific behaviors, and manifest generation.
|
|
95
|
-
|
|
96
|
-
### Installation Flow
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
1. Collect User Input
|
|
100
|
-
- Target directory, modules, IDEs
|
|
101
|
-
- Custom module configuration (via module.yaml)
|
|
102
|
-
|
|
103
|
-
2. Pre-Installation
|
|
104
|
-
- Validate target, check conflicts, backup existing installations
|
|
105
|
-
- Resolve module dependencies (4-pass system)
|
|
106
|
-
|
|
107
|
-
3. Install Core + Modules
|
|
108
|
-
- Copy files to {target}/.bmad/
|
|
109
|
-
- Compile agents: YAML → Markdown/XML (forWebBundle: false)
|
|
110
|
-
- Merge customize.yaml files if they exist
|
|
111
|
-
- Inject activation blocks based on agent capabilities
|
|
112
|
-
|
|
113
|
-
4. IDE Integration
|
|
114
|
-
- Initialize selected IDE handlers
|
|
115
|
-
- Generate IDE-specific artifacts (commands/rules/workflows)
|
|
116
|
-
- Execute platform-specific hooks (IDE+module combinations)
|
|
117
|
-
|
|
118
|
-
5. Generate Manifests
|
|
119
|
-
- manifest.yaml (installation metadata)
|
|
120
|
-
- workflow-manifest.csv (workflow catalog)
|
|
121
|
-
- agent-manifest.csv (agent metadata)
|
|
122
|
-
- task-manifest.csv (legacy)
|
|
123
|
-
- files-manifest.csv (all files with SHA256 hashes)
|
|
124
|
-
|
|
125
|
-
6. Validate & Finalize
|
|
126
|
-
- Verify file integrity, agent compilation, IDE artifacts
|
|
127
|
-
- Display summary and next steps
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
**Output Structure**:
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
{target}/
|
|
134
|
-
├── .bmad/
|
|
135
|
-
│ ├── core/ # Always installed
|
|
136
|
-
│ ├── {module}/ # Selected modules
|
|
137
|
-
│ │ ├── agents/ # Compiled .md files
|
|
138
|
-
│ │ ├── workflows/
|
|
139
|
-
│ │ └── config.yaml
|
|
140
|
-
│ └── _cfg/ # Manifests
|
|
141
|
-
└── .{ide}/ # IDE-specific artifacts
|
|
142
|
-
└── ... # Format varies by IDE
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### IDE Support
|
|
146
|
-
|
|
147
|
-
The installer supports **15 IDE environments** through a base-derived architecture. Each IDE handler extends `BaseIDE` and implements IDE-specific artifact generation.
|
|
148
|
-
|
|
149
|
-
**Supported IDEs** (as of v6-alpha):
|
|
150
|
-
|
|
151
|
-
| Code | Name | Artifact Location |
|
|
152
|
-
| ---------------- | ----------------- | ------------------------ |
|
|
153
|
-
| `codex` | Claude Code | `.claude/commands/` |
|
|
154
|
-
| `claude-code` | Claude Code (alt) | `.claude/commands/` |
|
|
155
|
-
| `opencode` | OpenCode | `.opencode` |
|
|
156
|
-
| `windsurf` | Windsurf | `.windsurf/workflows/` |
|
|
157
|
-
| `cursor` | Cursor | `.cursor/rules/` |
|
|
158
|
-
| `cline` | Cline | `.clinerules/workflows/` |
|
|
159
|
-
| `github-copilot` | GitHub Copilot | `.github/copilot/` |
|
|
160
|
-
| `crush` | Crush | `.crush/` |
|
|
161
|
-
| `auggie` | Auggie | `.auggie/` |
|
|
162
|
-
| `gemini` | Google Gemini | `.gemini/` |
|
|
163
|
-
| `qwen` | Qwen | `.qwen/` |
|
|
164
|
-
| `roo` | Roo | `.roo/` |
|
|
165
|
-
| `rovo-dev` | Rovo | `.rovodev/` |
|
|
166
|
-
| `trae` | Trae | `.trae/` |
|
|
167
|
-
| `iflow` | iFlow | `.iflow/` |
|
|
168
|
-
| `kilo` | Kilo | `.kilo/` |
|
|
169
|
-
|
|
170
|
-
**Handler Architecture**:
|
|
171
|
-
|
|
172
|
-
- Base class: `tools/cli/installers/lib/ide/_base-ide.js`
|
|
173
|
-
- Handler implementations: `tools/cli/installers/lib/ide/{ide-code}.js`
|
|
174
|
-
- Dynamic discovery: IDE manager scans directory and auto-registers handlers
|
|
175
|
-
- Each handler implements: `setup()`, `createArtifacts()`, `cleanup()`, `getAgentsFromBmad()`
|
|
176
|
-
|
|
177
|
-
**Adding New IDE Support**:
|
|
178
|
-
|
|
179
|
-
1. Create handler file: `tools/cli/installers/lib/ide/your-ide.js`
|
|
180
|
-
2. Extend `BaseIDE`, set `ideCode`, `ideName`, `artifactType`
|
|
181
|
-
3. Implement artifact generation methods
|
|
182
|
-
4. IDE auto-discovered on next run
|
|
183
|
-
|
|
184
|
-
### Custom Module Configuration
|
|
185
|
-
|
|
186
|
-
Modules define interactive configuration menus via `module.yaml` files in their `_module-installer/` directories.
|
|
187
|
-
|
|
188
|
-
**Config File Location**:
|
|
189
|
-
|
|
190
|
-
- Core: `src/core/module.yaml`
|
|
191
|
-
- Modules: `src/modules/{module}/module.yaml`
|
|
192
|
-
|
|
193
|
-
**Configuration Types**:
|
|
194
|
-
|
|
195
|
-
- `select`: Radio button choices
|
|
196
|
-
- `multiselect`: Checkboxes
|
|
197
|
-
- `input`: Text input with validation
|
|
198
|
-
- `confirm`: Yes/no
|
|
199
|
-
|
|
200
|
-
**Variable Substitution**:
|
|
201
|
-
|
|
202
|
-
- `{project-root}` → Absolute target path
|
|
203
|
-
- `{directory_name}` → Project directory basename
|
|
204
|
-
- `{module}` → Current module name
|
|
205
|
-
- `{value:config_id}` → Reference another config value
|
|
206
|
-
|
|
207
|
-
**Config Persistence**:
|
|
208
|
-
|
|
209
|
-
- Values saved to module's `config.yaml`
|
|
210
|
-
- Existing values detected on reinstall
|
|
211
|
-
- User prompted: "Use existing or change?"
|
|
212
|
-
|
|
213
|
-
**Processor**: `tools/cli/installers/lib/core/config-collector.js`
|
|
214
|
-
|
|
215
|
-
### Platform Specifics
|
|
216
|
-
|
|
217
|
-
Platform specifics are **IDE+module combination hooks** that execute custom logic when specific IDE and module are installed together.
|
|
218
|
-
|
|
219
|
-
**Two-Layer Architecture**:
|
|
220
|
-
|
|
221
|
-
1. **Module-Level**: `src/modules/{module}/_module-installer/platform-specifics/{ide}.js`
|
|
222
|
-
- Module provides custom behavior for specific IDEs
|
|
223
|
-
- Example: BMM creates subagents when installed with Claude Code
|
|
224
|
-
|
|
225
|
-
2. **IDE-Level**: Embedded in IDE handler's `createArtifacts()` method
|
|
226
|
-
- IDE provides custom handling for specific modules
|
|
227
|
-
- Example: Windsurf configures cascade workflows for BMM
|
|
228
|
-
|
|
229
|
-
**Execution Timing**: After standard installation, before validation
|
|
230
|
-
|
|
231
|
-
**Common Use Cases**:
|
|
232
|
-
|
|
233
|
-
- Creating subagent variations (PM-technical, PM-market)
|
|
234
|
-
- Configuring IDE-specific workflow integrations
|
|
235
|
-
- Adding custom commands or rules based on module features
|
|
236
|
-
- Adjusting UI/UX for module-specific patterns
|
|
237
|
-
|
|
238
|
-
**Platform Registry**: `tools/cli/installers/lib/ide/shared/platform-codes.js`
|
|
239
|
-
|
|
240
|
-
### Manifest System
|
|
241
|
-
|
|
242
|
-
The installer generates **5 manifest files** in `{target}/.bmad/_cfg/`:
|
|
243
|
-
|
|
244
|
-
**1. Installation Manifest** (`manifest.yaml`)
|
|
245
|
-
|
|
246
|
-
- Installation metadata: version, timestamps, target directory
|
|
247
|
-
- Installed modules and versions
|
|
248
|
-
- Integrated IDEs and their configurations
|
|
249
|
-
- User configuration values
|
|
250
|
-
|
|
251
|
-
**2. Workflow Manifest** (`workflow-manifest.csv`)
|
|
252
|
-
|
|
253
|
-
- Columns: module, workflow_path, workflow_name, description, scale_level
|
|
254
|
-
- Used by workflow command generators
|
|
255
|
-
- RFC 4180 compliant CSV format
|
|
256
|
-
|
|
257
|
-
**3. Agent Manifest** (`agent-manifest.csv`)
|
|
258
|
-
|
|
259
|
-
- Columns: module, agent_path, agent_name, role, identity_summary, communication_style, expertise, approach, responsibilities, workflows
|
|
260
|
-
- 10-column metadata for each agent
|
|
261
|
-
- Used by IDE integrations and documentation
|
|
262
|
-
|
|
263
|
-
**4. Task Manifest** (`task-manifest.csv`)
|
|
264
|
-
|
|
265
|
-
- Legacy compatibility (deprecated in v6)
|
|
266
|
-
- Columns: module, task_path, task_name, objective, agent
|
|
267
|
-
|
|
268
|
-
**5. Files Manifest** (`files-manifest.csv`)
|
|
269
|
-
|
|
270
|
-
- Complete file tracking with SHA256 hashes
|
|
271
|
-
- Columns: file_path, file_type, module, hash
|
|
272
|
-
- Enables integrity validation and change detection
|
|
273
|
-
|
|
274
|
-
**Generator**: `tools/cli/installers/lib/core/manifest-generator.js`
|
|
275
|
-
|
|
276
|
-
**Use Cases**:
|
|
277
|
-
|
|
278
|
-
- Update detection (compare current vs manifest hashes)
|
|
279
|
-
- Workflow command generation for IDEs
|
|
280
|
-
- Installation validation and integrity checks
|
|
281
|
-
- Rollback capability
|
|
282
|
-
|
|
283
|
-
### Advanced Features
|
|
284
|
-
|
|
285
|
-
**Dependency Resolution** (4-Pass System):
|
|
286
|
-
|
|
287
|
-
- Pass 1: Explicit dependencies from module metadata
|
|
288
|
-
- Pass 2: Template references in workflows
|
|
289
|
-
- Pass 3: Cross-module workflow/agent references
|
|
290
|
-
- Pass 4: Transitive dependencies
|
|
291
|
-
|
|
292
|
-
**Agent Activation Injection**:
|
|
293
|
-
|
|
294
|
-
- Detects which handlers each agent uses (workflow, exec, tmpl, data, action)
|
|
295
|
-
- Injects only needed handler fragments from `src/utility/models/fragments/`
|
|
296
|
-
- Keeps compiled agents lean and purpose-built
|
|
297
|
-
|
|
298
|
-
**Module Injection System**:
|
|
299
|
-
|
|
300
|
-
- Conditional content injection based on user config
|
|
301
|
-
- Can inject menu items, text blocks, workflow steps
|
|
302
|
-
- File: `tools/cli/installers/lib/ide/shared/module-injections.js`
|
|
303
|
-
|
|
304
|
-
**Conflict Resolution**:
|
|
305
|
-
|
|
306
|
-
- Detects existing installations
|
|
307
|
-
- Options: Update (preserve customizations), Backup (timestamp), Cancel
|
|
308
|
-
- Auto-backup to `.bmad-backup-{timestamp}` if selected
|
|
309
|
-
|
|
310
|
-
**Workflow Command Auto-Generation**:
|
|
311
|
-
|
|
312
|
-
- Reads workflow-manifest.csv
|
|
313
|
-
- Generates IDE commands for each workflow
|
|
314
|
-
- IDE-specific formatting (Claude Code .md, Windsurf YAML, etc.)
|
|
315
|
-
|
|
316
|
-
**Validation & Integrity**:
|
|
317
|
-
|
|
318
|
-
- Verifies all manifest files exist
|
|
319
|
-
- Validates file hashes against files-manifest.csv
|
|
320
|
-
- Checks agent compilation completeness
|
|
321
|
-
- Confirms IDE artifacts created
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
## Bundling System
|
|
326
|
-
|
|
327
|
-
Web bundling creates self-contained XML packages with all dependencies embedded for web deployment.
|
|
328
|
-
|
|
329
|
-
### Bundling Flow
|
|
330
|
-
|
|
331
|
-
```
|
|
332
|
-
1. Discover modules and agents from src/modules/
|
|
333
|
-
2. For each agent:
|
|
334
|
-
- Compile with YamlXmlBuilder (forWebBundle: true)
|
|
335
|
-
- Use web-bundle-activation-steps.xml fragment
|
|
336
|
-
- Resolve ALL dependencies recursively:
|
|
337
|
-
- Scan menu items for workflow references
|
|
338
|
-
- Load workflows → extract web_bundle section
|
|
339
|
-
- Find all file references (templates, data, sub-workflows)
|
|
340
|
-
- Wrap each in <file id="path"><![CDATA[...]]></file>
|
|
341
|
-
- Build consolidated bundle: agent + all deps
|
|
342
|
-
3. Output to: web-bundles/{module}/agents/{name}.xml
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
**Key Differences from Installation**:
|
|
346
|
-
|
|
347
|
-
- No customize.yaml merging (base agents only)
|
|
348
|
-
- No metadata (reduces file size)
|
|
349
|
-
- All dependencies bundled inline (no filesystem access)
|
|
350
|
-
- Uses web-specific activation fragment
|
|
351
|
-
- Output: Standalone XML files
|
|
352
|
-
|
|
353
|
-
**Output Structure**:
|
|
354
|
-
|
|
355
|
-
```
|
|
356
|
-
web-bundles/
|
|
357
|
-
├── bmm/
|
|
358
|
-
│ ├── agents/
|
|
359
|
-
│ │ ├── pm.xml
|
|
360
|
-
│ │ ├── architect.xml
|
|
361
|
-
│ │ ├── sm.xml
|
|
362
|
-
│ │ └── dev.xml
|
|
363
|
-
│ └── teams/
|
|
364
|
-
│ └── dev-team.xml
|
|
365
|
-
├── bmb/
|
|
366
|
-
│ └── agents/
|
|
367
|
-
│ └── bmad-builder.xml
|
|
368
|
-
└── cis/
|
|
369
|
-
└── agents/
|
|
370
|
-
└── creative-director.xml
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
**Bundler**: `tools/cli/bundlers/web-bundler.js`
|
|
374
|
-
|
|
375
|
-
---
|
|
376
|
-
|
|
377
|
-
## Agent Compilation
|
|
378
|
-
|
|
379
|
-
Both installation and bundling use the same YAML→XML compiler with different configurations.
|
|
380
|
-
|
|
381
|
-
### Compilation Engine
|
|
382
|
-
|
|
383
|
-
**Core File**: `tools/cli/lib/yaml-xml-builder.js`
|
|
384
|
-
|
|
385
|
-
**Process**:
|
|
386
|
-
|
|
387
|
-
1. Load YAML agent definition
|
|
388
|
-
2. Merge with customize.yaml (installation only)
|
|
389
|
-
3. Analyze agent to detect required handlers
|
|
390
|
-
4. Build activation block:
|
|
391
|
-
- IDE: Uses `activation-steps.xml` (filesystem-aware)
|
|
392
|
-
- Web: Uses `web-bundle-activation-steps.xml` (bundled files)
|
|
393
|
-
5. Convert to XML structure
|
|
394
|
-
6. Output as markdown (IDE) or standalone XML (web)
|
|
395
|
-
|
|
396
|
-
**Key Option Flags**:
|
|
397
|
-
|
|
398
|
-
- `forWebBundle: true` - Use web activation, omit metadata
|
|
399
|
-
- `includeMetadata: true` - Include build hash (IDE only)
|
|
400
|
-
- `skipActivation: true` - Omit activation (team bundles)
|
|
401
|
-
|
|
402
|
-
### Fragment System
|
|
403
|
-
|
|
404
|
-
Reusable XML fragments in `src/utility/models/fragments/`:
|
|
405
|
-
|
|
406
|
-
- `activation-steps.xml` - IDE activation (loads config.yaml at runtime)
|
|
407
|
-
- `web-bundle-activation-steps.xml` - Web activation (uses bundled files)
|
|
408
|
-
- `activation-rules.xml` - Validation rules (IDE only)
|
|
409
|
-
- `menu-handlers.xml` - Menu handler wrapper
|
|
410
|
-
- `handler-workflow.xml` - Workflow handler
|
|
411
|
-
- `handler-exec.xml` - Exec command handler
|
|
412
|
-
- `handler-tmpl.xml` - Template handler
|
|
413
|
-
- `handler-data.xml` - Data handler
|
|
414
|
-
- `handler-action.xml` - Action handler
|
|
415
|
-
|
|
416
|
-
**Dynamic Injection**: Agent analyzer detects which handlers are used, activation builder injects only those fragments.
|
|
417
|
-
|
|
418
|
-
### Input: Agent YAML
|
|
419
|
-
|
|
420
|
-
```yaml
|
|
421
|
-
agent:
|
|
422
|
-
metadata:
|
|
423
|
-
id: 'bmad/bmm/agents/pm.md'
|
|
424
|
-
name: 'PM'
|
|
425
|
-
title: 'Product Manager'
|
|
426
|
-
persona:
|
|
427
|
-
role: 'Product Manager'
|
|
428
|
-
identity: 'You are an experienced PM...'
|
|
429
|
-
menu:
|
|
430
|
-
- trigger: '*create-brief'
|
|
431
|
-
workflow: '{project-root}/.bmad/bmm/workflows/.../workflow.yaml'
|
|
432
|
-
```
|
|
433
|
-
|
|
434
|
-
### Output: IDE (Markdown with XML)
|
|
435
|
-
|
|
436
|
-
````markdown
|
|
437
|
-
<!-- Powered by BMAD-CORE™ -->
|
|
438
|
-
|
|
439
|
-
# Product Manager
|
|
440
|
-
|
|
441
|
-
```xml
|
|
442
|
-
<agent id="..." name="PM">
|
|
443
|
-
<activation critical="MANDATORY">
|
|
444
|
-
<step n="2">Load {project-root}/.bmad/bmm/config.yaml at runtime</step>
|
|
445
|
-
...
|
|
446
|
-
</activation>
|
|
447
|
-
<persona>...</persona>
|
|
448
|
-
<menu>...</menu>
|
|
449
|
-
</agent>
|
|
450
|
-
```
|
|
451
|
-
````
|
|
452
|
-
|
|
453
|
-
````
|
|
454
|
-
|
|
455
|
-
### Output: Web (Standalone XML)
|
|
456
|
-
|
|
457
|
-
```xml
|
|
458
|
-
<agent id="..." name="PM">
|
|
459
|
-
<activation critical="MANDATORY">
|
|
460
|
-
<step n="2">All dependencies bundled inline below</step>
|
|
461
|
-
...
|
|
462
|
-
</activation>
|
|
463
|
-
<persona>...</persona>
|
|
464
|
-
<menu>...</menu>
|
|
465
|
-
<bundled-files>
|
|
466
|
-
<file id="bmad/bmm/config.yaml"><![CDATA[...]]></file>
|
|
467
|
-
<file id="bmad/bmm/workflows/.../workflow.yaml"><![CDATA[...]]></file>
|
|
468
|
-
...
|
|
469
|
-
</bundled-files>
|
|
470
|
-
</agent>
|
|
471
|
-
````
|
|
472
|
-
|
|
473
|
-
---
|
|
474
|
-
|
|
475
|
-
## Architecture
|
|
476
|
-
|
|
477
|
-
### Directory Structure
|
|
478
|
-
|
|
479
|
-
```
|
|
480
|
-
tools/cli/
|
|
481
|
-
├── bmad-cli.js # Main CLI entry
|
|
482
|
-
├── commands/ # CLI command handlers
|
|
483
|
-
│ ├── install.js
|
|
484
|
-
│ ├── status.js
|
|
485
|
-
│ ├── list.js
|
|
486
|
-
│ ├── update.js
|
|
487
|
-
│ └── uninstall.js
|
|
488
|
-
├── bundlers/ # Web bundling
|
|
489
|
-
│ ├── bundle-web.js # CLI entry
|
|
490
|
-
│ └── web-bundler.js # WebBundler class
|
|
491
|
-
├── installers/
|
|
492
|
-
│ └── lib/
|
|
493
|
-
│ ├── core/ # Core installer logic
|
|
494
|
-
│ │ ├── installer.js
|
|
495
|
-
│ │ ├── manifest-generator.js
|
|
496
|
-
│ │ ├── manifest.js
|
|
497
|
-
│ │ ├── dependency-resolver.js
|
|
498
|
-
│ │ ├── config-collector.js
|
|
499
|
-
│ │ └── csv-parser.js
|
|
500
|
-
│ ├── modules/ # Module processing
|
|
501
|
-
│ │ └── manager.js
|
|
502
|
-
│ └── ide/ # IDE integrations
|
|
503
|
-
│ ├── _base-ide.js
|
|
504
|
-
│ ├── {14 IDE handlers}.js
|
|
505
|
-
│ ├── manager.js
|
|
506
|
-
│ └── shared/
|
|
507
|
-
│ ├── bmad-artifacts.js
|
|
508
|
-
│ ├── platform-codes.js
|
|
509
|
-
│ ├── module-injections.js
|
|
510
|
-
│ └── workflow-command-generator.js
|
|
511
|
-
├── lib/ # Shared compilation
|
|
512
|
-
│ ├── yaml-xml-builder.js # YAML→XML compiler
|
|
513
|
-
│ ├── activation-builder.js # Activation generator
|
|
514
|
-
│ ├── agent-analyzer.js # Handler detection
|
|
515
|
-
│ ├── xml-handler.js # Builder wrapper
|
|
516
|
-
│ └── paths.js
|
|
517
|
-
├── regenerate-manifests.js
|
|
518
|
-
└── test-yaml-builder.js
|
|
519
|
-
```
|
|
520
|
-
|
|
521
|
-
### Fragment Library
|
|
522
|
-
|
|
523
|
-
```
|
|
524
|
-
src/utility/models/fragments/
|
|
525
|
-
├── activation-steps.xml
|
|
526
|
-
├── web-bundle-activation-steps.xml
|
|
527
|
-
├── activation-rules.xml
|
|
528
|
-
├── menu-handlers.xml
|
|
529
|
-
└── handler-*.xml # 5 handler types
|
|
530
|
-
```
|
|
531
|
-
|
|
532
|
-
---
|
|
533
|
-
|
|
534
|
-
## Key Differences: Installation vs Bundling
|
|
535
|
-
|
|
536
|
-
| Aspect | Installation (IDE) | Bundling (Web) |
|
|
537
|
-
| ----------------------- | ----------------------------- | --------------------------------- |
|
|
538
|
-
| **Trigger** | `npm run install:bmad` | `npm run bundle` |
|
|
539
|
-
| **Entry Point** | `commands/install.js` | `bundlers/bundle-web.js` |
|
|
540
|
-
| **Compiler Flag** | `forWebBundle: false` | `forWebBundle: true` |
|
|
541
|
-
| **Output Format** | Markdown `.md` | Standalone XML `.xml` |
|
|
542
|
-
| **Output Location** | `{target}/.bmad/` + IDE dirs | `web-bundles/` |
|
|
543
|
-
| **Customization** | Merges `customize.yaml` | Base agents only |
|
|
544
|
-
| **Dependencies** | Referenced by path | Bundled inline (CDATA) |
|
|
545
|
-
| **Activation Fragment** | `activation-steps.xml` | `web-bundle-activation-steps.xml` |
|
|
546
|
-
| **Filesystem Access** | Required | Not needed |
|
|
547
|
-
| **Build Metadata** | Included (hash) | Excluded |
|
|
548
|
-
| **Path Format** | `{project-root}` placeholders | Stripped, wrapped as `<file>` |
|
|
549
|
-
| **Use Case** | Local IDE development | Web deployment |
|
|
550
|
-
|
|
551
|
-
**Activation Differences**:
|
|
552
|
-
|
|
553
|
-
- **IDE**: Loads config.yaml at runtime from filesystem
|
|
554
|
-
- **Web**: Accesses bundled content via `<file id>` references
|
|
555
|
-
|
|
556
|
-
---
|
|
557
|
-
|
|
558
|
-
## Development Workflows
|
|
559
|
-
|
|
560
|
-
### Testing Compilation
|
|
561
|
-
|
|
562
|
-
```bash
|
|
563
|
-
# Test YAML→XML compiler
|
|
564
|
-
node tools/cli/test-yaml-builder.js
|
|
565
|
-
|
|
566
|
-
# Test installation
|
|
567
|
-
node tools/cli/bmad-cli.js install --target ./test-project --modules bmm --ides codex
|
|
568
|
-
|
|
569
|
-
# Test bundling
|
|
570
|
-
node tools/cli/bundlers/bundle-web.js agent bmm pm
|
|
571
|
-
|
|
572
|
-
# Validate bundles
|
|
573
|
-
npm run validate:bundles
|
|
574
|
-
```
|
|
575
|
-
|
|
576
|
-
### Adding New Menu Handlers
|
|
577
|
-
|
|
578
|
-
To add a new handler type (e.g., `validate-workflow`):
|
|
579
|
-
|
|
580
|
-
1. Create fragment: `src/utility/models/fragments/handler-validate-workflow.xml`
|
|
581
|
-
2. Update `agent-analyzer.js` to detect the new attribute
|
|
582
|
-
3. Update `activation-builder.js` to load/inject the fragment
|
|
583
|
-
4. Test with an agent using the handler
|
|
584
|
-
|
|
585
|
-
### Regenerating Manifests
|
|
586
|
-
|
|
587
|
-
```bash
|
|
588
|
-
# Regenerate agent-manifest.csv for all modules
|
|
589
|
-
node tools/cli/regenerate-manifests.js
|
|
590
|
-
|
|
591
|
-
# Location: src/modules/{module}/agents/agent-manifest.csv
|
|
592
|
-
```
|
|
593
|
-
|
|
594
|
-
---
|
|
595
|
-
|
|
596
|
-
## Related Documentation
|
|
597
|
-
|
|
598
|
-
- **Project Guide**: `CLAUDE.md`
|
|
599
|
-
- **BMM Workflows**: `src/modules/bmm/workflows/README.md`
|
|
600
|
-
- **Module Structure**: `src/modules/bmb/workflows/create-module/module-structure.md`
|
|
601
|
-
- **Agent Creation**: `src/modules/bmb/workflows/create-agent/README.md`
|
|
602
|
-
|
|
603
|
-
---
|
|
604
|
-
|
|
605
|
-
## Support
|
|
606
|
-
|
|
607
|
-
- **Issues**: <https://github.com/bmad-code-org/BMAD-METHOD/issues>
|
|
608
|
-
- **Discord**: <https://discord.gg/gk8jAdXWmj> (#general-dev, #bugs-issues)
|
|
609
|
-
- **YouTube**: <https://www.youtube.com/@BMadCode>
|
|
3
|
+
Revised CLI tool docs coming....
|
|
@@ -80,7 +80,7 @@ module.exports = {
|
|
|
80
80
|
*/
|
|
81
81
|
async function buildAgent(projectDir, agentName) {
|
|
82
82
|
// First check standalone agents in bmad/agents/{agentname}/
|
|
83
|
-
const standaloneAgentDir = path.join(projectDir, '
|
|
83
|
+
const standaloneAgentDir = path.join(projectDir, '_bmad', 'agents', agentName);
|
|
84
84
|
let standaloneYamlPath = path.join(standaloneAgentDir, `${agentName}.agent.yaml`);
|
|
85
85
|
|
|
86
86
|
// If exact match doesn't exist, look for any .agent.yaml file in the directory
|
|
@@ -99,7 +99,7 @@ async function buildAgent(projectDir, agentName) {
|
|
|
99
99
|
// Build the standalone agent
|
|
100
100
|
console.log(chalk.cyan(` Building standalone agent ${agentName}...`));
|
|
101
101
|
|
|
102
|
-
const customizePath = path.join(projectDir, '
|
|
102
|
+
const customizePath = path.join(projectDir, '_bmad', '_config', 'agents', `${agentName}.customize.yaml`);
|
|
103
103
|
const customizeExists = await fs.pathExists(customizePath);
|
|
104
104
|
|
|
105
105
|
await builder.buildAgent(standaloneYamlPath, customizeExists ? customizePath : null, outputPath, { includeMetadata: true });
|
|
@@ -109,7 +109,7 @@ async function buildAgent(projectDir, agentName) {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// Find the agent YAML file in .claude/commands/bmad/
|
|
112
|
-
const bmadCommandsDir = path.join(projectDir, '.claude', 'commands', '
|
|
112
|
+
const bmadCommandsDir = path.join(projectDir, '.claude', 'commands', '_bmad');
|
|
113
113
|
|
|
114
114
|
// Search all module directories for the agent
|
|
115
115
|
const modules = await fs.readdir(bmadCommandsDir);
|
|
@@ -125,7 +125,7 @@ async function buildAgent(projectDir, agentName) {
|
|
|
125
125
|
// Build the agent
|
|
126
126
|
console.log(chalk.cyan(` Building ${agentName}...`));
|
|
127
127
|
|
|
128
|
-
const customizePath = path.join(projectDir, '.claude', '
|
|
128
|
+
const customizePath = path.join(projectDir, '.claude', '_config', 'agents', `${agentName}.customize.yaml`);
|
|
129
129
|
const customizeExists = await fs.pathExists(customizePath);
|
|
130
130
|
|
|
131
131
|
await builder.buildAgent(agentYamlPath, customizeExists ? customizePath : null, outputPath, { includeMetadata: true });
|
|
@@ -149,7 +149,7 @@ async function buildAllAgents(projectDir) {
|
|
|
149
149
|
let builtCount = 0;
|
|
150
150
|
|
|
151
151
|
// First, build standalone agents in bmad/agents/
|
|
152
|
-
const standaloneAgentsDir = path.join(projectDir, '
|
|
152
|
+
const standaloneAgentsDir = path.join(projectDir, '_bmad', 'agents');
|
|
153
153
|
if (await fs.pathExists(standaloneAgentsDir)) {
|
|
154
154
|
console.log(chalk.cyan('\nBuilding standalone agents...'));
|
|
155
155
|
const agentDirs = await fs.readdir(standaloneAgentsDir);
|
|
@@ -177,7 +177,7 @@ async function buildAllAgents(projectDir) {
|
|
|
177
177
|
|
|
178
178
|
console.log(chalk.cyan(` Building standalone agent ${agentName}...`));
|
|
179
179
|
|
|
180
|
-
const customizePath = path.join(projectDir, '
|
|
180
|
+
const customizePath = path.join(projectDir, '_bmad', '_config', 'agents', `${agentName}.customize.yaml`);
|
|
181
181
|
const customizeExists = await fs.pathExists(customizePath);
|
|
182
182
|
|
|
183
183
|
await builder.buildAgent(agentYamlPath, customizeExists ? customizePath : null, outputPath, { includeMetadata: true });
|
|
@@ -213,7 +213,7 @@ async function buildAllAgents(projectDir) {
|
|
|
213
213
|
|
|
214
214
|
console.log(chalk.cyan(` Building ${agentName}...`));
|
|
215
215
|
|
|
216
|
-
const customizePath = path.join(projectDir, '.claude', '
|
|
216
|
+
const customizePath = path.join(projectDir, '.claude', '_config', 'agents', `${agentName}.customize.yaml`);
|
|
217
217
|
const customizeExists = await fs.pathExists(customizePath);
|
|
218
218
|
|
|
219
219
|
await builder.buildAgent(agentYamlPath, customizeExists ? customizePath : null, outputPath, { includeMetadata: true });
|