bmad-method 6.0.0-alpha.7 → 6.0.0-alpha.9
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/workflows/bundle-latest.yaml +277 -0
- package/.github/workflows/manual-release.yaml +55 -16
- package/.vscode/settings.json +2 -1
- package/CHANGELOG.md +439 -1
- package/README.md +12 -4
- package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
- package/docs/agent-customization-guide.md +208 -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/index.md +3 -1
- package/docs/installers-bundlers/ide-injections.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +23 -23
- package/docs/v4-to-v6-upgrade.md +12 -12
- package/docs/web-bundles-gemini-gpt-guide.md +473 -0
- package/package.json +1 -1
- package/src/core/_module-installer/install-config.yaml +17 -10
- package/src/core/_module-installer/installer.js +0 -8
- package/src/core/agents/bmad-master.agent.yaml +5 -5
- package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
- package/src/core/tasks/{adv-elicit.xml → advanced-elicitation.xml} +6 -4
- package/src/core/tasks/index-docs.xml +1 -1
- package/src/core/tasks/validate-workflow.xml +1 -1
- package/src/core/tasks/workflow.xml +125 -11
- package/src/core/tools/shard-doc.xml +45 -1
- package/src/core/workflows/brainstorming/README.md +6 -16
- package/src/core/workflows/brainstorming/instructions.md +6 -5
- package/src/core/workflows/brainstorming/template.md +4 -0
- package/src/core/workflows/brainstorming/workflow.yaml +8 -8
- package/src/core/workflows/party-mode/instructions.md +2 -7
- package/src/core/workflows/party-mode/workflow.yaml +10 -6
- package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
- package/src/modules/bmb/workflows/audit-workflow/checklist.md +5 -6
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
- package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
- package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
- package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
- package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
- package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
- package/src/modules/bmb/workflows/create-agent/README.md +5 -5
- package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -19
- package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
- package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
- package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
- package/src/modules/bmb/workflows/create-agent/instructions.md +24 -27
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
- package/src/modules/bmb/workflows/create-module/README.md +1 -1
- package/src/modules/bmb/workflows/create-module/checklist.md +1 -10
- package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
- package/src/modules/bmb/workflows/create-module/instructions.md +12 -17
- package/src/modules/bmb/workflows/create-module/module-structure.md +7 -7
- package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
- package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
- package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +40 -42
- package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
- package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
- package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
- package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
- package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
- package/src/modules/bmb/workflows/edit-module/README.md +2 -2
- package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
- package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
- package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
- package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
- package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
- package/src/modules/bmb/workflows/module-brief/README.md +2 -2
- package/src/modules/bmb/workflows/module-brief/checklist.md +2 -2
- package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
- package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
- package/src/modules/bmb/workflows/redoc/README.md +5 -5
- package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
- package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
- package/src/modules/bmgd/README.md +1 -1
- package/src/modules/bmgd/_module-installer/install-config.yaml +12 -24
- package/src/modules/bmgd/agents/game-architect.agent.yaml +15 -10
- package/src/modules/bmgd/agents/game-designer.agent.yaml +16 -11
- package/src/modules/bmgd/agents/game-dev.agent.yaml +18 -12
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +30 -25
- package/src/modules/bmgd/teams/default-party.csv +10 -0
- package/src/modules/bmgd/teams/team-gamedev.yaml +2 -0
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
- package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +5 -10
- package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
- package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -6
- package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
- package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +0 -26
- package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +2 -6
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +2 -7
- package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +25 -47
- package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +13 -32
- package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +7 -2
- package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +32 -25
- package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +20 -47
- package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +16 -24
- package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +8 -3
- package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +30 -5
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +10 -35
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +16 -24
- package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +18 -36
- package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +16 -37
- package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +11 -15
- package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +1 -1
- package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +8 -7
- package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +1 -1
- package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +20 -45
- package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +15 -17
- package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
- package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +5 -4
- package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +6 -6
- package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +5 -7
- package/src/modules/bmm/_module-installer/install-config.yaml +9 -28
- package/src/modules/bmm/_module-installer/installer.js +2 -2
- package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
- package/src/modules/bmm/agents/architect.agent.yaml +17 -12
- package/src/modules/bmm/agents/dev.agent.yaml +9 -12
- package/src/modules/bmm/agents/pm.agent.yaml +24 -23
- package/src/modules/bmm/agents/sm.agent.yaml +24 -19
- package/src/modules/bmm/agents/tea.agent.yaml +23 -17
- package/src/modules/bmm/agents/tech-writer.agent.yaml +15 -11
- package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
- package/src/modules/bmm/docs/agents-guide.md +4 -4
- package/src/modules/bmm/docs/brownfield-guide.md +4 -4
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +1 -1
- package/src/modules/bmm/docs/party-mode.md +3 -3
- package/src/modules/bmm/docs/quick-start.md +1 -1
- package/src/modules/bmm/docs/test-architecture.md +1 -1
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/teams/default-party.csv +19 -0
- package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +8 -21
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +10 -12
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +13 -9
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +1 -3
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +2 -7
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +1 -6
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +7 -2
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +16 -10
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +8 -12
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +28 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +146 -23
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +7 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +152 -35
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +20 -16
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +12 -9
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -6
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +434 -0
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +129 -266
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +15 -37
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -26
- package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +3 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +30 -38
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +25 -43
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +7 -13
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +57 -60
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +12 -12
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +25 -47
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +13 -32
- package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +7 -2
- package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +32 -25
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +20 -47
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +16 -24
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +8 -3
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +30 -5
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +10 -35
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +16 -24
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +18 -36
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +16 -37
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +11 -15
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -7
- package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +20 -45
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +15 -17
- package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +5 -4
- package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +6 -6
- package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +5 -7
- package/src/modules/bmm/workflows/document-project/checklist.md +1 -1
- 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-instructions.md +4 -4
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
- package/src/modules/bmm/workflows/document-project/workflows/full-scan-instructions.md +13 -13
- package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +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/checklist.md +4 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/framework/checklist.md +4 -4
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
- 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/checklist.md +4 -4
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +175 -14
- package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +4 -4
- package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +7 -3
- 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 +9 -9
- package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +33 -31
- package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
- package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +9 -16
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +11 -18
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +8 -1
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +9 -2
- package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +2 -9
- package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
- package/src/modules/cis/README.md +1 -1
- package/src/modules/cis/_module-installer/install-config.yaml +6 -4
- package/src/modules/cis/agents/README.md +1 -1
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
- package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
- package/src/modules/cis/teams/creative-squad.yaml +1 -0
- package/src/modules/cis/teams/default-party.csv +11 -0
- 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/models/action-command-header.md +0 -0
- package/src/utility/models/agent-activation-ide.xml +3 -3
- package/src/utility/models/agent-activation-web.xml +4 -4
- package/src/utility/models/agent-command-header.md +1 -0
- package/src/utility/models/fragments/activation-steps.xml +3 -2
- package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
- package/src/utility/models/fragments/handler-workflow.xml +1 -1
- package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
- package/tools/cli/README.md +50 -32
- package/tools/cli/bundlers/web-bundler.js +86 -17
- package/tools/cli/commands/install.js +1 -4
- package/tools/cli/installers/lib/core/config-collector.js +201 -28
- package/tools/cli/installers/lib/core/detector.js +62 -7
- package/tools/cli/installers/lib/core/installer.js +175 -33
- package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
- package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
- package/tools/cli/installers/lib/ide/auggie.js +78 -224
- package/tools/cli/installers/lib/ide/claude-code.js +14 -22
- package/tools/cli/installers/lib/ide/cline.js +15 -18
- package/tools/cli/installers/lib/ide/codex.js +17 -48
- package/tools/cli/installers/lib/ide/crush.js +14 -50
- package/tools/cli/installers/lib/ide/cursor.js +51 -8
- package/tools/cli/installers/lib/ide/gemini.js +87 -37
- package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
- package/tools/cli/installers/lib/ide/iflow.js +13 -30
- package/tools/cli/installers/lib/ide/kilo.js +20 -16
- package/tools/cli/installers/lib/ide/manager.js +15 -0
- package/tools/cli/installers/lib/ide/opencode.js +16 -17
- package/tools/cli/installers/lib/ide/qwen.js +39 -11
- package/tools/cli/installers/lib/ide/roo.js +27 -62
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
- package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
- package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
- package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
- package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
- package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
- package/tools/cli/installers/lib/ide/trae.js +20 -32
- package/tools/cli/installers/lib/ide/windsurf.js +18 -8
- package/tools/cli/installers/lib/modules/manager.js +89 -17
- package/tools/cli/lib/cli-utils.js +52 -50
- package/tools/cli/lib/ui.js +29 -12
- package/tools/cli/lib/yaml-xml-builder.js +20 -2
- package/tools/schema/agent.js +7 -3
- package/.claude/commands/bmad/bmb/agents/bmad-builder.md +0 -70
- package/.claude/commands/bmad/bmb/workflows/audit-workflow.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/convert-legacy.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/create-agent.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/create-module.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/create-workflow.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/edit-agent.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/edit-module.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/module-brief.md +0 -15
- package/.claude/commands/bmad/bmb/workflows/redoc.md +0 -15
- package/.claude/commands/bmad/core/agents/bmad-master.md +0 -71
- package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
- package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
- package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -15
- package/.claude/commands/bmad/core/workflows/party-mode.md +0 -15
- package/.claude/settings.local.json +0 -22
- package/bmad/_cfg/agent-manifest.csv +0 -5
- package/bmad/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -42
- package/bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
- package/bmad/_cfg/files-manifest.csv +0 -82
- package/bmad/_cfg/ides/claude-code.yaml +0 -6
- package/bmad/_cfg/manifest.yaml +0 -11
- package/bmad/_cfg/task-manifest.csv +0 -13
- package/bmad/_cfg/tool-manifest.csv +0 -4
- package/bmad/_cfg/workflow-manifest.csv +0 -17
- package/bmad/bmb/README.md +0 -194
- package/bmad/bmb/agents/bmad-builder.md +0 -70
- package/bmad/bmb/config.yaml +0 -14
- package/bmad/bmb/workflows/audit-workflow/checklist.md +0 -143
- package/bmad/bmb/workflows/audit-workflow/instructions.md +0 -341
- package/bmad/bmb/workflows/audit-workflow/template.md +0 -118
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml +0 -23
- package/bmad/bmb/workflows/convert-legacy/README.md +0 -262
- package/bmad/bmb/workflows/convert-legacy/checklist.md +0 -205
- package/bmad/bmb/workflows/convert-legacy/instructions.md +0 -377
- package/bmad/bmb/workflows/convert-legacy/workflow.yaml +0 -32
- package/bmad/bmb/workflows/create-agent/README.md +0 -203
- package/bmad/bmb/workflows/create-agent/agent-architecture.md +0 -419
- package/bmad/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
- package/bmad/bmb/workflows/create-agent/agent-types.md +0 -292
- package/bmad/bmb/workflows/create-agent/brainstorm-context.md +0 -174
- package/bmad/bmb/workflows/create-agent/checklist.md +0 -62
- package/bmad/bmb/workflows/create-agent/communication-styles.md +0 -202
- package/bmad/bmb/workflows/create-agent/instructions.md +0 -459
- package/bmad/bmb/workflows/create-agent/workflow.yaml +0 -37
- package/bmad/bmb/workflows/create-module/README.md +0 -229
- package/bmad/bmb/workflows/create-module/brainstorm-context.md +0 -137
- package/bmad/bmb/workflows/create-module/checklist.md +0 -244
- package/bmad/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
- package/bmad/bmb/workflows/create-module/installer-templates/installer.js +0 -231
- package/bmad/bmb/workflows/create-module/instructions.md +0 -581
- package/bmad/bmb/workflows/create-module/module-structure.md +0 -400
- package/bmad/bmb/workflows/create-module/workflow.yaml +0 -42
- package/bmad/bmb/workflows/create-workflow/README.md +0 -277
- package/bmad/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
- package/bmad/bmb/workflows/create-workflow/checklist.md +0 -94
- package/bmad/bmb/workflows/create-workflow/instructions.md +0 -724
- package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1308
- package/bmad/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
- package/bmad/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
- package/bmad/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
- package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -39
- package/bmad/bmb/workflows/create-workflow/workflow.yaml +0 -40
- package/bmad/bmb/workflows/edit-agent/README.md +0 -112
- package/bmad/bmb/workflows/edit-agent/checklist.md +0 -112
- package/bmad/bmb/workflows/edit-agent/instructions.md +0 -290
- package/bmad/bmb/workflows/edit-agent/workflow.yaml +0 -33
- package/bmad/bmb/workflows/edit-module/README.md +0 -187
- package/bmad/bmb/workflows/edit-module/checklist.md +0 -165
- package/bmad/bmb/workflows/edit-module/instructions.md +0 -339
- package/bmad/bmb/workflows/edit-module/workflow.yaml +0 -34
- package/bmad/bmb/workflows/edit-workflow/README.md +0 -119
- package/bmad/bmb/workflows/edit-workflow/checklist.md +0 -70
- package/bmad/bmb/workflows/edit-workflow/instructions.md +0 -342
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml +0 -27
- package/bmad/bmb/workflows/module-brief/README.md +0 -264
- package/bmad/bmb/workflows/module-brief/checklist.md +0 -116
- package/bmad/bmb/workflows/module-brief/instructions.md +0 -267
- package/bmad/bmb/workflows/module-brief/template.md +0 -275
- package/bmad/bmb/workflows/module-brief/workflow.yaml +0 -29
- package/bmad/bmb/workflows/redoc/README.md +0 -87
- package/bmad/bmb/workflows/redoc/checklist.md +0 -99
- package/bmad/bmb/workflows/redoc/instructions.md +0 -265
- package/bmad/bmb/workflows/redoc/workflow.yaml +0 -32
- package/bmad/core/agents/bmad-master.md +0 -71
- package/bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -122
- package/bmad/core/config.yaml +0 -9
- package/bmad/core/tasks/adv-elicit-methods.csv +0 -39
- package/bmad/core/tasks/adv-elicit.xml +0 -104
- package/bmad/core/tasks/index-docs.xml +0 -65
- package/bmad/core/tasks/validate-workflow.xml +0 -89
- package/bmad/core/tasks/workflow.xml +0 -156
- package/bmad/core/tools/shard-doc.xml +0 -65
- package/bmad/core/workflows/brainstorming/README.md +0 -271
- package/bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
- package/bmad/core/workflows/brainstorming/instructions.md +0 -314
- package/bmad/core/workflows/brainstorming/template.md +0 -102
- package/bmad/core/workflows/brainstorming/workflow.yaml +0 -43
- package/bmad/core/workflows/party-mode/instructions.md +0 -188
- package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
- package/bmad/docs/claude-code-instructions.md +0 -25
- package/bmd/README.md +0 -193
- package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
- package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
- package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
- package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
- package/bmd/agents/cli-chief.agent.yaml +0 -126
- package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
- package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
- package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
- package/bmd/agents/doc-keeper.agent.yaml +0 -137
- package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
- package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
- package/bmd/agents/release-chief-sidecar/memories.md +0 -73
- package/bmd/agents/release-chief.agent.yaml +0 -127
- package/bmd/bmad-custom-module-installer-plan.md +0 -1176
- package/bmd/config.yaml +0 -12
- package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +0 -367
- package/src/modules/bmm/sub-modules/claude-code/README.md +0 -87
- package/src/modules/bmm/sub-modules/claude-code/config.yaml +0 -5
- package/src/modules/bmm/sub-modules/claude-code/injections.yaml +0 -242
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +0 -102
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +0 -82
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +0 -101
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +0 -84
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +0 -83
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +0 -81
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +0 -61
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +0 -168
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +0 -115
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +0 -123
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +0 -72
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +0 -51
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +0 -106
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +0 -102
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +0 -68
- package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +0 -108
- package/src/modules/bmm/tasks/daily-standup.xml +0 -85
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
- package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
- package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
- package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
- package/web-bundles/bmm/agents/analyst.xml +0 -5028
- package/web-bundles/bmm/agents/architect.xml +0 -2047
- package/web-bundles/bmm/agents/dev.xml +0 -68
- package/web-bundles/bmm/agents/pm.xml +0 -3808
- package/web-bundles/bmm/agents/sm.xml +0 -77
- package/web-bundles/bmm/agents/tea.xml +0 -66
- package/web-bundles/bmm/agents/tech-writer.xml +0 -84
- package/web-bundles/bmm/agents/ux-designer.xml +0 -2018
- package/web-bundles/bmm/teams/team-fullstack.xml +0 -12039
|
@@ -4,7 +4,7 @@ description: "Collaborative UX design facilitation workflow that creates excepti
|
|
|
4
4
|
author: "BMad"
|
|
5
5
|
|
|
6
6
|
# Critical variables from config
|
|
7
|
-
config_source: "{project-root}/
|
|
7
|
+
config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
|
|
8
8
|
output_folder: "{config_source}:output_folder"
|
|
9
9
|
user_name: "{config_source}:user_name"
|
|
10
10
|
communication_language: "{config_source}:communication_language"
|
|
@@ -25,28 +25,34 @@ brainstorm_file: "{output_folder}/brainstorming.md or brainstorm.md or ideation.
|
|
|
25
25
|
|
|
26
26
|
# Smart input file references - handles both whole docs and sharded docs
|
|
27
27
|
# Priority: Whole document first, then sharded version
|
|
28
|
+
# Strategy: How to load sharded documents (FULL_LOAD, SELECTIVE_LOAD, INDEX_GUIDED)
|
|
28
29
|
input_file_patterns:
|
|
29
30
|
prd:
|
|
30
31
|
whole: "{output_folder}/*prd*.md"
|
|
31
32
|
sharded: "{output_folder}/*prd*/index.md"
|
|
33
|
+
load_strategy: "FULL_LOAD"
|
|
32
34
|
|
|
33
35
|
product_brief:
|
|
34
36
|
whole: "{output_folder}/*brief*.md"
|
|
35
37
|
sharded: "{output_folder}/*brief*/index.md"
|
|
38
|
+
load_strategy: "FULL_LOAD"
|
|
36
39
|
|
|
37
40
|
epics:
|
|
38
41
|
whole: "{output_folder}/*epic*.md"
|
|
39
42
|
sharded: "{output_folder}/*epic*/index.md"
|
|
43
|
+
load_strategy: "FULL_LOAD"
|
|
40
44
|
|
|
41
45
|
brainstorming:
|
|
42
46
|
whole: "{output_folder}/*brainstorm*.md"
|
|
43
47
|
sharded: "{output_folder}/*brainstorm*/index.md"
|
|
48
|
+
load_strategy: "FULL_LOAD"
|
|
44
49
|
|
|
45
50
|
document_project:
|
|
46
51
|
sharded: "{output_folder}/docs/index.md"
|
|
52
|
+
load_strategy: "INDEX_GUIDED"
|
|
47
53
|
|
|
48
54
|
# Module path and component files
|
|
49
|
-
installed_path: "{project-root}/
|
|
55
|
+
installed_path: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design"
|
|
50
56
|
instructions: "{installed_path}/instructions.md"
|
|
51
57
|
validation: "{installed_path}/checklist.md"
|
|
52
58
|
template: "{installed_path}/ux-design-template.md"
|
|
@@ -64,10 +70,10 @@ web_bundle:
|
|
|
64
70
|
description: "Collaborative UX design facilitation workflow that creates exceptional user experiences through visual exploration and informed decision-making. Unlike template-driven approaches, this workflow facilitates discovery, generates visual options, and collaboratively designs the UX with the user at every step."
|
|
65
71
|
author: "BMad"
|
|
66
72
|
|
|
67
|
-
# Core workflow files (
|
|
68
|
-
instructions: "
|
|
69
|
-
validation: "
|
|
70
|
-
template: "
|
|
73
|
+
# Core workflow files ({bmad_folder}/-relative paths)
|
|
74
|
+
instructions: "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md"
|
|
75
|
+
validation: "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md"
|
|
76
|
+
template: "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md"
|
|
71
77
|
|
|
72
78
|
# Default configuration values (can be overridden during bundle setup)
|
|
73
79
|
defaults:
|
|
@@ -85,9 +91,9 @@ web_bundle:
|
|
|
85
91
|
# Complete file list - ALL files this workflow depends on
|
|
86
92
|
web_bundle_files:
|
|
87
93
|
# Core workflow files
|
|
88
|
-
- "
|
|
89
|
-
- "
|
|
90
|
-
- "
|
|
94
|
+
- "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md"
|
|
95
|
+
- "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md"
|
|
96
|
+
- "{bmad_folder}/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md"
|
|
91
97
|
|
|
92
98
|
# Task dependencies (referenced in instructions.md)
|
|
93
|
-
- "
|
|
99
|
+
- "{bmad_folder}/core/tasks/workflow.xml"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
### Core Sections Present
|
|
18
18
|
|
|
19
19
|
- [ ] Executive Summary with vision alignment
|
|
20
|
-
- [ ] Product
|
|
20
|
+
- [ ] Product differentiator clearly articulated
|
|
21
21
|
- [ ] Project classification (type, domain, complexity)
|
|
22
22
|
- [ ] Success criteria defined
|
|
23
23
|
- [ ] Product scope (MVP, Growth, Vision) clearly delineated
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
- [ ] No unfilled template variables ({{variable}})
|
|
40
40
|
- [ ] All variables properly populated with meaningful content
|
|
41
|
-
- [ ] Product
|
|
41
|
+
- [ ] Product differentiator reflected throughout (not just stated once)
|
|
42
42
|
- [ ] Language is clear, specific, and measurable
|
|
43
43
|
- [ ] Project type correctly identified and sections match
|
|
44
44
|
- [ ] Domain complexity appropriately addressed
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
### Alignment Checks
|
|
211
211
|
|
|
212
212
|
- [ ] Success metrics in PRD align with story outcomes
|
|
213
|
-
- [ ] Product
|
|
213
|
+
- [ ] Product differentiator articulated in PRD reflected in epic goals
|
|
214
214
|
- [ ] Technical preferences in PRD align with story implementation hints
|
|
215
215
|
- [ ] Scope boundaries consistent across all documents
|
|
216
216
|
|
|
@@ -296,14 +296,10 @@ If ANY of these are true, validation FAILS:
|
|
|
296
296
|
|
|
297
297
|
## Validation Summary
|
|
298
298
|
|
|
299
|
-
**
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
- **Pass Rate ≥ 95% (81+/85):** ✅ EXCELLENT - Ready for architecture phase
|
|
304
|
-
- **Pass Rate 85-94% (72-80/85):** ⚠️ GOOD - Minor fixes needed
|
|
305
|
-
- **Pass Rate 70-84% (60-71/85):** ⚠️ FAIR - Important issues to address
|
|
306
|
-
- **Pass Rate < 70% (<60/85):** ❌ POOR - Significant rework required
|
|
299
|
+
- **Pass Rate ≥ 95%:** ✅ EXCELLENT - Ready for architecture phase
|
|
300
|
+
- **Pass Rate 85-94%:** ⚠️ GOOD - Minor fixes needed
|
|
301
|
+
- **Pass Rate 70-84%:** ⚠️ FAIR - Important issues to address
|
|
302
|
+
- **Pass Rate < 70%:** ❌ POOR - Significant rework required
|
|
307
303
|
|
|
308
304
|
### Critical Issue Threshold
|
|
309
305
|
|
|
@@ -316,7 +312,7 @@ If ANY of these are true, validation FAILS:
|
|
|
316
312
|
|
|
317
313
|
**When validating:**
|
|
318
314
|
|
|
319
|
-
1. **Load ALL documents:**
|
|
315
|
+
1. **Load ALL documents - whole or sharded (but not both of each) for example epics.md vs epics/\*.md:**
|
|
320
316
|
- PRD.md (required)
|
|
321
317
|
- epics.md (required)
|
|
322
318
|
- product-brief.md (if exists)
|
package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md
CHANGED
|
@@ -11,10 +11,24 @@
|
|
|
11
11
|
|
|
12
12
|
This document provides the complete epic and story breakdown for {{project_name}}, decomposing the requirements from the [PRD](./PRD.md) into implementable stories.
|
|
13
13
|
|
|
14
|
+
**Living Document Notice:** This is the initial version. It will be updated after UX Design and Architecture workflows add interaction and technical details to stories.
|
|
15
|
+
|
|
14
16
|
{{epics_summary}}
|
|
15
17
|
|
|
16
18
|
---
|
|
17
19
|
|
|
20
|
+
## Functional Requirements Inventory
|
|
21
|
+
|
|
22
|
+
{{fr_inventory}}
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## FR Coverage Map
|
|
27
|
+
|
|
28
|
+
{{fr_coverage_map}}
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
18
32
|
<!-- Repeat for each epic (N = 1, 2, 3...) -->
|
|
19
33
|
|
|
20
34
|
## Epic {{N}}: {{epic_title_N}}
|
|
@@ -49,4 +63,18 @@ So that {{value_benefit}}.
|
|
|
49
63
|
|
|
50
64
|
---
|
|
51
65
|
|
|
66
|
+
## FR Coverage Matrix
|
|
67
|
+
|
|
68
|
+
{{fr_coverage_matrix}}
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Summary
|
|
73
|
+
|
|
74
|
+
{{epic_breakdown_summary}}
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
52
78
|
_For implementation: Use the `create-story` workflow to generate individual story implementation plans from this epic breakdown._
|
|
79
|
+
|
|
80
|
+
_This document will be updated after UX Design and Architecture workflows to incorporate interaction details and technical decisions._
|
package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# Epic and Story Decomposition - Intent-Based Implementation Planning
|
|
2
2
|
|
|
3
|
-
<critical>The workflow execution engine is governed by: {project-root}/
|
|
3
|
+
<critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
4
4
|
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
5
5
|
<critical>This workflow transforms requirements into BITE-SIZED STORIES for development agents</critical>
|
|
6
6
|
<critical>EVERY story must be completable by a single dev agent in one focused session</critical>
|
|
7
|
+
<critical>BMAD METHOD WORKFLOW POSITION: This is the FIRST PASS at epic breakdown</critical>
|
|
8
|
+
<critical>After this workflow: UX Design will add interaction details → UPDATE epics.md</critical>
|
|
9
|
+
<critical>After UX: Architecture will add technical decisions → UPDATE epics.md AGAIN</critical>
|
|
10
|
+
<critical>Phase 4 Implementation pulls context from: PRD + epics.md + UX + Architecture</critical>
|
|
11
|
+
<critical>This is a LIVING DOCUMENT that evolves through the BMad Method workflow chain</critical>
|
|
7
12
|
<critical>Communicate all responses in {communication_language} and adapt to {user_skill_level}</critical>
|
|
8
13
|
<critical>Generate all documents in {document_output_language}</critical>
|
|
9
14
|
<critical>LIVING DOCUMENT: Write to epics.md continuously as you work - never wait until the end</critical>
|
|
@@ -20,21 +25,49 @@ Load required documents (fuzzy match, handle both whole and sharded):
|
|
|
20
25
|
- domain-brief.md (if exists)
|
|
21
26
|
- product-brief.md (if exists)
|
|
22
27
|
|
|
28
|
+
**CRITICAL - PRD FRs Are Now Flat and Strategic:**
|
|
29
|
+
|
|
30
|
+
The PRD contains FLAT, capability-level functional requirements (FR1, FR2, FR3...).
|
|
31
|
+
These are STRATEGIC (WHAT capabilities exist), NOT tactical (HOW they're implemented).
|
|
32
|
+
|
|
33
|
+
Example PRD FRs:
|
|
34
|
+
|
|
35
|
+
- FR1: Users can create accounts with email or social authentication
|
|
36
|
+
- FR2: Users can log in securely and maintain sessions
|
|
37
|
+
- FR6: Users can create, edit, and delete content items
|
|
38
|
+
|
|
39
|
+
**Your job in THIS workflow:**
|
|
40
|
+
|
|
41
|
+
1. Map each FR to one or more epics
|
|
42
|
+
2. Break each FR into stories with DETAILED acceptance criteria
|
|
43
|
+
3. Add ALL the implementation details that were intentionally left out of PRD
|
|
44
|
+
|
|
23
45
|
Extract from PRD:
|
|
24
46
|
|
|
25
|
-
-
|
|
47
|
+
- ALL functional requirements (flat numbered list)
|
|
26
48
|
- Non-functional requirements
|
|
27
49
|
- Domain considerations and compliance needs
|
|
28
50
|
- Project type and complexity
|
|
29
51
|
- MVP vs growth vs vision scope boundaries
|
|
30
|
-
|
|
31
|
-
Understand the context:
|
|
32
|
-
|
|
33
|
-
- What makes this product special (the magic)
|
|
52
|
+
- Product differentiator (what makes it special)
|
|
34
53
|
- Technical constraints
|
|
35
54
|
- User types and their goals
|
|
36
|
-
- Success criteria
|
|
37
|
-
|
|
55
|
+
- Success criteria
|
|
56
|
+
|
|
57
|
+
**Create FR Inventory:**
|
|
58
|
+
|
|
59
|
+
List all FRs to ensure coverage:
|
|
60
|
+
|
|
61
|
+
- FR1: [description]
|
|
62
|
+
- FR2: [description]
|
|
63
|
+
- ...
|
|
64
|
+
- FRN: [description]
|
|
65
|
+
|
|
66
|
+
This inventory will be used to validate complete coverage in Step 4.
|
|
67
|
+
</action>
|
|
68
|
+
|
|
69
|
+
<template-output>fr_inventory</template-output>
|
|
70
|
+
</step>
|
|
38
71
|
|
|
39
72
|
<step n="2" goal="Propose epic structure from natural groupings">
|
|
40
73
|
<action>Analyze requirements and identify natural epic boundaries
|
|
@@ -76,18 +109,56 @@ Present proposed epic structure showing:
|
|
|
76
109
|
|
|
77
110
|
- Epic titles with clear value statements
|
|
78
111
|
- High-level scope of each epic
|
|
112
|
+
- **FR COVERAGE MAP: Which FRs does each epic address?**
|
|
113
|
+
- Example: "Epic 1 (Foundation): Covers infrastructure needs for all FRs"
|
|
114
|
+
- Example: "Epic 2 (User Management): FR1, FR2, FR3, FR4, FR5"
|
|
115
|
+
- Example: "Epic 3 (Content System): FR6, FR7, FR8, FR9"
|
|
79
116
|
- Suggested sequencing
|
|
80
|
-
- Why this grouping makes sense
|
|
117
|
+
- Why this grouping makes sense
|
|
118
|
+
|
|
119
|
+
**Validate FR Coverage:**
|
|
120
|
+
|
|
121
|
+
Check that EVERY FR from Step 1 inventory is mapped to at least one epic.
|
|
122
|
+
If any FRs are unmapped, add them now or explain why they're deferred.
|
|
123
|
+
</action>
|
|
81
124
|
|
|
82
125
|
<template-output>epics_summary</template-output>
|
|
83
|
-
<
|
|
126
|
+
<template-output>fr_coverage_map</template-output>
|
|
84
127
|
</step>
|
|
85
128
|
|
|
86
|
-
<step n="3" goal="Decompose each epic into bite-sized stories" repeat="for-each-epic">
|
|
129
|
+
<step n="3" goal="Decompose each epic into bite-sized stories with DETAILED AC" repeat="for-each-epic">
|
|
87
130
|
<action>Break down Epic {{N}} into small, implementable stories
|
|
88
131
|
|
|
89
132
|
INTENT: Create stories sized for single dev agent completion
|
|
90
133
|
|
|
134
|
+
**CRITICAL - ALTITUDE SHIFT FROM PRD:**
|
|
135
|
+
|
|
136
|
+
PRD FRs are STRATEGIC (WHAT capabilities):
|
|
137
|
+
|
|
138
|
+
- ✅ "Users can create accounts"
|
|
139
|
+
|
|
140
|
+
Epic Stories are TACTICAL (HOW it's implemented):
|
|
141
|
+
|
|
142
|
+
- Email field with RFC 5322 validation
|
|
143
|
+
- Password requirements: 8+ chars, 1 uppercase, 1 number, 1 special
|
|
144
|
+
- Password strength meter with visual feedback
|
|
145
|
+
- Email verification within 15 minutes
|
|
146
|
+
- reCAPTCHA v3 integration
|
|
147
|
+
- Account creation completes in < 2 seconds
|
|
148
|
+
- Mobile responsive with 44x44px touch targets
|
|
149
|
+
- WCAG 2.1 AA compliant
|
|
150
|
+
|
|
151
|
+
**THIS IS WHERE YOU ADD ALL THE DETAILS LEFT OUT OF PRD:**
|
|
152
|
+
|
|
153
|
+
- UI specifics (exact field counts, validation rules, layout details)
|
|
154
|
+
- Performance targets (< 2s, 60fps, etc.)
|
|
155
|
+
- Technical implementation hints (libraries, patterns, APIs)
|
|
156
|
+
- Edge cases (what happens when...)
|
|
157
|
+
- Validation rules (regex patterns, constraints)
|
|
158
|
+
- Error handling (specific error messages, retry logic)
|
|
159
|
+
- Accessibility requirements (ARIA labels, keyboard nav, screen readers)
|
|
160
|
+
- Platform specifics (mobile responsive, browser support)
|
|
161
|
+
|
|
91
162
|
For each epic, generate:
|
|
92
163
|
|
|
93
164
|
- Epic title as `epic_title_{{N}}`
|
|
@@ -129,41 +200,93 @@ Ensure stories are:
|
|
|
129
200
|
|
|
130
201
|
For each story in epic {{N}}, output variables following this pattern:
|
|
131
202
|
|
|
132
|
-
- story*title*{{N}}_1, story_title_{{N}}
|
|
203
|
+
- story*title*{{N}}_1, story_title_{{N}}\*2, etc.
|
|
133
204
|
- Each containing: user story, BDD acceptance criteria, prerequisites, technical notes</action>
|
|
134
205
|
|
|
135
206
|
<template-output>epic*title*{{N}}</template-output>
|
|
136
207
|
<template-output>epic*goal*{{N}}</template-output>
|
|
137
208
|
|
|
138
209
|
<action>For each story M in epic {{N}}, generate story content</action>
|
|
139
|
-
<template-output>story
|
|
210
|
+
<template-output>story-title-{{N}}-{{M}}</template-output>
|
|
140
211
|
|
|
141
|
-
<invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
|
|
142
212
|
</step>
|
|
143
213
|
|
|
144
|
-
<step n="4" goal="Review and
|
|
214
|
+
<step n="4" goal="Review initial epic breakdown and prepare for updates">
|
|
145
215
|
<action>Review the complete epic breakdown for quality and completeness
|
|
146
216
|
|
|
147
|
-
Validate
|
|
217
|
+
**Validate FR Coverage:**
|
|
218
|
+
|
|
219
|
+
Create FR Coverage Matrix showing each FR mapped to epic(s) and story(ies):
|
|
220
|
+
|
|
221
|
+
- FR1: [description] → Epic X, Story X.Y
|
|
222
|
+
- FR2: [description] → Epic X, Story X.Z
|
|
223
|
+
- FR3: [description] → Epic Y, Story Y.A
|
|
224
|
+
- ...
|
|
225
|
+
- FRN: [description] → Epic Z, Story Z.B
|
|
226
|
+
|
|
227
|
+
Confirm: EVERY FR from Step 1 inventory is covered by at least one story.
|
|
228
|
+
If any FRs are missing, add stories now.
|
|
229
|
+
|
|
230
|
+
**Validate Story Quality:**
|
|
148
231
|
|
|
149
232
|
- All functional requirements from PRD are covered by stories
|
|
150
|
-
- Epic 1 establishes proper foundation
|
|
151
|
-
- All stories are vertically sliced
|
|
152
|
-
- No forward dependencies exist
|
|
233
|
+
- Epic 1 establishes proper foundation (if greenfield)
|
|
234
|
+
- All stories are vertically sliced (deliver complete functionality, not just one layer)
|
|
235
|
+
- No forward dependencies exist (only backward references)
|
|
153
236
|
- Story sizing is appropriate for single-session completion
|
|
154
237
|
- BDD acceptance criteria are clear and testable
|
|
238
|
+
- Details added (what was missing from PRD FRs: UI specifics, performance targets, etc.)
|
|
155
239
|
- Domain/compliance requirements are properly distributed
|
|
156
240
|
- Sequencing enables incremental value delivery
|
|
157
241
|
|
|
242
|
+
**BMad Method Next Steps:**
|
|
243
|
+
|
|
244
|
+
This epic breakdown is the INITIAL VERSION. It will be updated as you progress:
|
|
245
|
+
|
|
246
|
+
1. **After UX Design Workflow:**
|
|
247
|
+
- UX Designer will design interactions for capabilities
|
|
248
|
+
- UPDATE story acceptance criteria with UX specs (mockup references, flow details)
|
|
249
|
+
- Add interaction patterns, visual design decisions, responsive breakpoints
|
|
250
|
+
|
|
251
|
+
2. **After Architecture Workflow:**
|
|
252
|
+
- Architect will define technical implementation approach
|
|
253
|
+
- UPDATE story technical notes with architecture decisions
|
|
254
|
+
- Add references to data models, API contracts, tech stack choices, deployment patterns
|
|
255
|
+
|
|
256
|
+
3. **During Phase 4 Implementation:**
|
|
257
|
+
- Each story pulls context from: PRD (why) + epics.md (what/how) + UX (interactions) + Architecture (technical)
|
|
258
|
+
- Stories may be further refined as implementation uncovers edge cases
|
|
259
|
+
- This document remains the single source of truth for story details
|
|
260
|
+
|
|
158
261
|
Confirm with {user_name}:
|
|
159
262
|
|
|
160
263
|
- Epic structure makes sense
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
|
|
264
|
+
- All FRs covered by stories (validated via coverage matrix)
|
|
265
|
+
- Story breakdown is actionable with detailed acceptance criteria
|
|
266
|
+
- Ready for UX Design workflow (next BMad Method step)
|
|
267
|
+
</action>
|
|
165
268
|
|
|
166
269
|
<template-output>epic_breakdown_summary</template-output>
|
|
270
|
+
<template-output>fr_coverage_matrix</template-output>
|
|
271
|
+
|
|
272
|
+
<output>**✅ Epic Breakdown Complete (Initial Version)**
|
|
273
|
+
|
|
274
|
+
**Created:** epics.md with epic and story breakdown
|
|
275
|
+
|
|
276
|
+
**FR Coverage:** All functional requirements from PRD mapped to stories (see coverage matrix in document)
|
|
277
|
+
|
|
278
|
+
**Next Steps in BMad Method:**
|
|
279
|
+
|
|
280
|
+
1. **UX Design** (if UI exists) - Run: `workflow ux-design`
|
|
281
|
+
→ Will add interaction details to stories in epics.md
|
|
282
|
+
|
|
283
|
+
2. **Architecture** - Run: `workflow create-architecture`
|
|
284
|
+
→ Will add technical details to stories in epics.md
|
|
285
|
+
|
|
286
|
+
3. **Phase 4 Implementation** - Stories ready for context assembly
|
|
287
|
+
|
|
288
|
+
**Important:** This is a living document that will be updated as you progress through the workflow chain. The epics.md file will evolve with UX and Architecture inputs before implementation begins.
|
|
289
|
+
</output>
|
|
167
290
|
</step>
|
|
168
291
|
|
|
169
292
|
</workflow>
|
package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Epic and Story Decomposition Workflow
|
|
2
2
|
name: create-epics-and-stories
|
|
3
|
-
description: "Transform PRD requirements into bite-sized stories organized
|
|
3
|
+
description: "Transform PRD requirements into bite-sized stories organized into deliverable functional epics. This workflow takes a Product Requirements Document (PRD) and breaks it down into epics and user stories that can be easily assigned to development teams. It ensures that all functional requirements are captured in a structured format, making it easier for teams to understand and implement the necessary features."
|
|
4
4
|
author: "BMad"
|
|
5
5
|
|
|
6
6
|
# Critical variables from config
|
|
7
|
-
config_source: "{project-root}/
|
|
7
|
+
config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
|
|
8
8
|
project_name: "{config_source}:project_name"
|
|
9
9
|
output_folder: "{config_source}:output_folder"
|
|
10
10
|
user_name: "{config_source}:user_name"
|
|
@@ -25,17 +25,15 @@ input_file_patterns:
|
|
|
25
25
|
prd:
|
|
26
26
|
whole: "{output_folder}/*prd*.md"
|
|
27
27
|
sharded: "{output_folder}/*prd*/index.md"
|
|
28
|
-
|
|
29
28
|
product_brief:
|
|
30
29
|
whole: "{output_folder}/*product*brief*.md"
|
|
31
30
|
sharded: "{output_folder}/*product*brief*/index.md"
|
|
32
|
-
|
|
33
31
|
domain_brief:
|
|
34
32
|
whole: "{output_folder}/*domain*brief*.md"
|
|
35
33
|
sharded: "{output_folder}/*domain*brief*/index.md"
|
|
36
34
|
|
|
37
35
|
# Module path and component files
|
|
38
|
-
installed_path: "{project-root}/
|
|
36
|
+
installed_path: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories"
|
|
39
37
|
instructions: "{installed_path}/instructions.md"
|
|
40
38
|
template: "{installed_path}/epics-template.md"
|
|
41
39
|
|
|
@@ -48,8 +46,8 @@ web_bundle:
|
|
|
48
46
|
name: "create-epics-and-stories"
|
|
49
47
|
description: "Transform PRD requirements into bite-sized stories organized in epics for 200k context dev agents"
|
|
50
48
|
author: "BMad"
|
|
51
|
-
instructions: "
|
|
52
|
-
template: "
|
|
49
|
+
instructions: "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md"
|
|
50
|
+
template: "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md"
|
|
53
51
|
web_bundle_files:
|
|
54
|
-
- "
|
|
55
|
-
- "
|
|
52
|
+
- "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md"
|
|
53
|
+
- "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md"
|