bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.5
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/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
- package/.claude/commands/bmad/bmm/agents/architect.md +72 -0
- package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
- package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
- package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
- package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
- package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
- package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
- package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
- package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
- package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
- package/.claude/commands/bmad/cis/agents/README.md +104 -0
- package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
- package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
- package/.claude/commands/bmad/cis/workflows/README.md +37 -0
- package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
- package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
- package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
- package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
- package/.claude/commands/bmad/core/workflows/README.md +10 -0
- package/.claude/settings.local.json +7 -42
- package/CHANGELOG.md +544 -0
- package/README.md +266 -101
- package/bmad/_cfg/agent-manifest.csv +13 -3
- package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
- package/bmad/_cfg/files-manifest.csv +267 -22
- package/bmad/_cfg/ides/claude-code.yaml +6 -0
- package/bmad/_cfg/manifest.yaml +5 -5
- package/bmad/_cfg/task-manifest.csv +5 -0
- package/bmad/_cfg/tool-manifest.csv +1 -0
- package/bmad/_cfg/workflow-manifest.csv +37 -2
- package/bmad/bmb/README.md +135 -73
- package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
- package/bmad/bmb/workflows/create-agent/README.md +126 -243
- package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
- package/bmad/bmb/workflows/create-module/README.md +163 -154
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
- package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
- package/bmad/bmm/README.md +128 -0
- package/bmad/bmm/README.md.bak +169 -0
- package/bmad/bmm/agents/analyst.md +67 -0
- package/bmad/bmm/agents/analyst.md.bak +67 -0
- package/bmad/bmm/agents/architect.md +72 -0
- package/bmad/bmm/agents/architect.md.bak +73 -0
- package/bmad/bmm/agents/dev.md +69 -0
- package/bmad/bmm/agents/dev.md.bak +69 -0
- package/bmad/bmm/agents/paige.md.bak +82 -0
- package/bmad/bmm/agents/pm.md +76 -0
- package/bmad/bmm/agents/pm.md.bak +76 -0
- package/bmad/bmm/agents/sm.md +85 -0
- package/bmad/bmm/agents/sm.md.bak +85 -0
- package/bmad/bmm/agents/tea.md +72 -0
- package/bmad/bmm/agents/tea.md.bak +72 -0
- package/bmad/bmm/agents/tech-writer.md +82 -0
- package/bmad/bmm/agents/ux-designer.md +71 -0
- package/bmad/bmm/agents/ux-designer.md.bak +71 -0
- package/bmad/bmm/config.yaml +17 -0
- package/bmad/bmm/docs/README.md +235 -0
- package/bmad/bmm/docs/agents-guide.md +1057 -0
- package/bmad/bmm/docs/brownfield-guide.md +759 -0
- package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
- package/bmad/bmm/docs/faq.md +589 -0
- package/bmad/bmm/docs/glossary.md +321 -0
- package/bmad/bmm/docs/party-mode.md +224 -0
- package/bmad/bmm/docs/quick-spec-flow.md +652 -0
- package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +72 -47
- package/bmad/bmm/docs/scale-adaptive-system.md +599 -0
- package/bmad/bmm/docs/troubleshooting.md +680 -0
- package/{src/modules/bmm/workflows/3-solutioning/architecture/README.md → bmad/bmm/docs/workflow-architecture-reference.md} +130 -77
- package/{src/modules/bmm/workflows/document-project/README.md → bmad/bmm/docs/workflow-document-project-reference.md} +45 -2
- package/bmad/bmm/docs/workflows-analysis.md +670 -0
- package/bmad/bmm/docs/workflows-implementation.md +1758 -0
- package/bmad/bmm/docs/workflows-planning.md +1086 -0
- package/bmad/bmm/docs/workflows-solutioning.md +726 -0
- package/bmad/bmm/tasks/daily-standup.xml +85 -0
- package/bmad/bmm/teams/team-fullstack.yaml +11 -0
- package/bmad/bmm/teams/team-gamedev.yaml +14 -0
- package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
- package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
- package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
- package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
- package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
- package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
- package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
- package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
- package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
- package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
- package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
- package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
- package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
- package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
- package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
- package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
- package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
- package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
- package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
- package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
- package/bmad/bmm/testarch/tea-index.csv +22 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
- package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
- package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
- package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
- package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
- package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
- package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
- package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
- package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
- package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
- package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
- package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
- package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
- package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
- package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
- package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
- package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
- package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
- package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
- package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
- package/bmad/bmm/workflows/document-project/checklist.md +245 -0
- package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
- package/bmad/bmm/workflows/document-project/instructions.md +222 -0
- package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
- package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
- package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
- package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
- package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
- package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
- package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
- package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
- package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
- package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
- package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
- package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
- package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
- package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
- package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
- package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
- package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
- package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
- package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
- package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
- package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
- package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
- package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
- package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
- package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
- package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
- package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +771 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
- package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml} +16 -18
- package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
- package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
- package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
- package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
- package/bmad/cis/README.md +153 -0
- package/bmad/cis/agents/README.md +104 -0
- package/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
- package/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
- package/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
- package/bmad/cis/agents/innovation-strategist.md +62 -0
- package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
- package/bmad/cis/agents/storyteller.md +59 -0
- package/bmad/cis/agents/storyteller.md.bak +59 -0
- package/bmad/{bmd → cis}/config.yaml +3 -3
- package/bmad/cis/teams/creative-squad.yaml +6 -0
- package/bmad/cis/workflows/README.md +139 -0
- package/bmad/cis/workflows/design-thinking/README.md +56 -0
- package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
- package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
- package/bmad/cis/workflows/design-thinking/template.md +111 -0
- package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
- package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
- package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
- package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
- package/bmad/cis/workflows/problem-solving/README.md +56 -0
- package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
- package/bmad/cis/workflows/problem-solving/template.md +165 -0
- package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
- package/bmad/cis/workflows/storytelling/README.md +58 -0
- package/bmad/cis/workflows/storytelling/instructions.md +291 -0
- package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
- package/bmad/cis/workflows/storytelling/template.md +113 -0
- package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
- package/bmad/core/agents/bmad-master.md.bak +71 -0
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +1 -19
- package/bmad/core/tools/shard-doc.xml +8 -43
- package/docs/document-sharding-guide.md +447 -0
- package/docs/index.md +37 -41
- package/package.json +1 -1
- package/src/core/tasks/workflow.xml +1 -11
- package/src/core/tools/shard-doc.xml +8 -43
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/src/modules/bmm/README.md +79 -95
- package/src/modules/bmm/agents/architect.agent.yaml +0 -4
- package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
- package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
- package/src/modules/bmm/agents/pm.agent.yaml +11 -1
- package/src/modules/bmm/agents/sm.agent.yaml +1 -1
- package/src/modules/bmm/agents/tech-writer.agent.yaml +69 -0
- package/src/modules/bmm/docs/README.md +235 -0
- package/src/modules/bmm/docs/agents-guide.md +1057 -0
- package/src/modules/bmm/docs/brownfield-guide.md +759 -0
- package/src/modules/bmm/docs/enterprise-agentic-development.md +680 -0
- package/src/modules/bmm/docs/faq.md +589 -0
- package/src/modules/bmm/docs/glossary.md +321 -0
- package/src/modules/bmm/docs/party-mode.md +224 -0
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +366 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +599 -0
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
- package/src/modules/bmm/docs/workflows-analysis.md +670 -0
- package/src/modules/bmm/docs/workflows-implementation.md +1758 -0
- package/src/modules/bmm/docs/workflows-planning.md +1086 -0
- package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
- package/src/modules/bmm/tasks/daily-standup.xml +1 -1
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +296 -63
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +55 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +268 -291
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
- package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +26 -8
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +73 -4
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +971 -109
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +54 -20
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +23 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +40 -32
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -0
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-4.yaml → method-brownfield.yaml} +35 -26
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-3.yaml → method-greenfield.yaml} +32 -17
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-0.yaml → quick-flow-brownfield.yaml} +23 -19
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-0.yaml → quick-flow-greenfield.yaml} +18 -16
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/tools/cli/commands/install.js +1 -1
- package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
- package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
- package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
- package/.claude/hooks/bmad-tts-injector.sh +0 -415
- package/.claude/hooks/bmad-voice-manager.sh +0 -511
- package/.claude/hooks/check-output-style.sh +0 -112
- package/.claude/hooks/download-extra-voices.sh +0 -244
- package/.claude/hooks/github-star-reminder.sh +0 -154
- package/.claude/hooks/language-manager.sh +0 -392
- package/.claude/hooks/learn-manager.sh +0 -475
- package/.claude/hooks/personality-manager.sh +0 -438
- package/.claude/hooks/piper-download-voices.sh +0 -165
- package/.claude/hooks/piper-installer.sh +0 -178
- package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
- package/.claude/hooks/piper-voice-manager.sh +0 -293
- package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
- package/.claude/hooks/play-tts-piper.sh +0 -338
- package/.claude/hooks/play-tts.sh +0 -100
- package/.claude/hooks/provider-commands.sh +0 -540
- package/.claude/hooks/provider-manager.sh +0 -298
- package/.claude/hooks/replay-target-audio.sh +0 -95
- package/.claude/hooks/sentiment-manager.sh +0 -201
- package/.claude/hooks/speed-manager.sh +0 -291
- package/.claude/hooks/voice-manager.sh +0 -594
- package/.claude/hooks/voices-config.sh +0 -70
- package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
- package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
- package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
- package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
- package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
- package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
- package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
- package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
- package/bmad/bmd/README.md +0 -193
- package/bmad/bmd/README.md.bak +0 -193
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
- package/bmad/bmd/agents/cli-chief.md +0 -108
- package/bmad/bmd/agents/cli-chief.md.bak +0 -108
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
- package/bmad/bmd/agents/doc-keeper.md +0 -115
- package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
- package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
- package/bmad/bmd/agents/release-chief.md +0 -109
- package/bmad/bmd/agents/release-chief.md.bak +0 -109
- package/bmad/docs/codex-instructions.md +0 -21
- package/docs/bmad-brownfield-guide.md +0 -1260
- package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
- package/src/modules/bmm/tasks/retrospective.xml +0 -104
- package/src/modules/bmm/testarch/README.md +0 -311
- package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
- package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
- package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
- package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
- package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
- package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
- package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
- package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
- package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -146
- package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
- package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
- package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
- package/src/modules/bmm/workflows/README.md +0 -215
- package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
- package/src/modules/bmm/workflows/testarch/README.md +0 -26
- package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
- package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
- package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
- package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
- package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
- package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
- package/src/modules/bmm/workflows/workflow-status/README.md +0 -260
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
- /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
- /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
last-redoc-date: 2025-10-01
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Correct Course Workflow
|
|
6
|
-
|
|
7
|
-
The correct-course workflow is v6's adaptive response mechanism for stories that encounter issues during development or review, enabling intelligent course correction without restarting from scratch. Run by the Scrum Master (SM) or Team Lead, this workflow analyzes why a story is blocked or has issues, determines whether the story scope needs adjustment, requirements need clarification, technical approach needs revision, or the story needs to be split or reconsidered. This represents the agile principle of embracing change even late in the development cycle, but doing so in a structured way that captures learning and maintains project coherence.
|
|
8
|
-
|
|
9
|
-
Unlike simply abandoning failed work or blindly pushing forward, correct-course provides a systematic approach to diagnosing issues and determining appropriate remediation. The workflow examines the original story specification, what was actually implemented, what issues arose during development or review, and the broader epic context to recommend the best path forward. This might involve clarifying requirements, adjusting acceptance criteria, revising technical approach, splitting the story into smaller pieces, or even determining the story should be deprioritized.
|
|
10
|
-
|
|
11
|
-
The critical value of this workflow is that it prevents thrashing—endless cycles of implementation and rework without clear direction. By stepping back to analyze what went wrong and charting a clear path forward, the correct-course workflow enables teams to learn from difficulties and adapt intelligently rather than stubbornly proceeding with a flawed approach.
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Analyze issues and recommend course correction
|
|
17
|
-
bmad run correct-course
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
The workflow should be run when:
|
|
21
|
-
|
|
22
|
-
- Review identifies critical issues requiring rethinking
|
|
23
|
-
- Developer encounters blocking issues during implementation
|
|
24
|
-
- Acceptance criteria prove infeasible or unclear
|
|
25
|
-
- Technical approach needs significant revision
|
|
26
|
-
- Story scope needs adjustment based on discoveries
|
|
27
|
-
|
|
28
|
-
## Inputs
|
|
29
|
-
|
|
30
|
-
**Required Context:**
|
|
31
|
-
|
|
32
|
-
- **Story Document**: Original story specification
|
|
33
|
-
- **Implementation Attempts**: Code changes and approaches tried
|
|
34
|
-
- **Review Feedback**: Issues and concerns identified
|
|
35
|
-
- **Epic Context**: Overall epic goals and current progress
|
|
36
|
-
- **Technical Constraints**: Architecture decisions and limitations discovered
|
|
37
|
-
|
|
38
|
-
**Analysis Focus:**
|
|
39
|
-
|
|
40
|
-
- Root cause of issues or blockages
|
|
41
|
-
- Feasibility of current story scope
|
|
42
|
-
- Clarity of requirements and acceptance criteria
|
|
43
|
-
- Appropriateness of technical approach
|
|
44
|
-
- Whether story should be split or revised
|
|
45
|
-
|
|
46
|
-
## Outputs
|
|
47
|
-
|
|
48
|
-
**Primary Deliverable:**
|
|
49
|
-
|
|
50
|
-
- **Course Correction Report** (`[story-id]-correction.md`): Analysis and recommendations including:
|
|
51
|
-
- Issue root cause analysis
|
|
52
|
-
- Impact assessment on epic and project
|
|
53
|
-
- Recommended corrective actions with rationale
|
|
54
|
-
- Revised story specification if applicable
|
|
55
|
-
- Updated acceptance criteria if needed
|
|
56
|
-
- Technical approach adjustments
|
|
57
|
-
- Timeline and effort implications
|
|
58
|
-
|
|
59
|
-
**Possible Outcomes:**
|
|
60
|
-
|
|
61
|
-
1. **Clarify Requirements**: Update story with clearer acceptance criteria
|
|
62
|
-
2. **Revise Scope**: Adjust story scope to be more achievable
|
|
63
|
-
3. **Split Story**: Break into multiple smaller stories
|
|
64
|
-
4. **Change Approach**: Recommend different technical approach
|
|
65
|
-
5. **Deprioritize**: Determine story should be deferred or cancelled
|
|
66
|
-
6. **Unblock**: Identify and address blocking dependencies
|
|
67
|
-
|
|
68
|
-
**Artifacts:**
|
|
69
|
-
|
|
70
|
-
- Updated story document if revision needed
|
|
71
|
-
- New story documents if splitting story
|
|
72
|
-
- Updated epic backlog reflecting changes
|
|
73
|
-
- Lessons learned for retrospective
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# Create Story Workflow
|
|
2
|
-
|
|
3
|
-
Just-in-time story generation creating one story at a time based on epic backlog state. Run by Scrum Master (SM) agent to ensure planned stories align with approved epics.
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [Usage](#usage)
|
|
8
|
-
- [Key Features](#key-features)
|
|
9
|
-
- [Inputs & Outputs](#inputs--outputs)
|
|
10
|
-
- [Workflow Behavior](#workflow-behavior)
|
|
11
|
-
- [Integration](#integration)
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# SM initiates next story creation
|
|
17
|
-
bmad sm *create-story
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
**When to run:**
|
|
21
|
-
|
|
22
|
-
- Sprint has capacity for new work
|
|
23
|
-
- Previous story is Done/Approved
|
|
24
|
-
- Team ready for next planned story
|
|
25
|
-
|
|
26
|
-
## Key Features
|
|
27
|
-
|
|
28
|
-
### Strict Planning Enforcement
|
|
29
|
-
|
|
30
|
-
- **Only creates stories enumerated in epics.md**
|
|
31
|
-
- Halts if story not found in epic plan
|
|
32
|
-
- Prevents scope creep through validation
|
|
33
|
-
|
|
34
|
-
### Intelligent Document Discovery
|
|
35
|
-
|
|
36
|
-
- Auto-finds tech spec: `tech-spec-epic-{N}-*.md`
|
|
37
|
-
- Discovers architecture docs across directories
|
|
38
|
-
- Builds prioritized requirement sources
|
|
39
|
-
|
|
40
|
-
### Source Document Grounding
|
|
41
|
-
|
|
42
|
-
- Every requirement traced to source
|
|
43
|
-
- No invention of domain facts
|
|
44
|
-
- Citations included in output
|
|
45
|
-
|
|
46
|
-
### Non-Interactive Mode
|
|
47
|
-
|
|
48
|
-
- Default "#yolo" mode minimizes prompts
|
|
49
|
-
- Smooth automated story preparation
|
|
50
|
-
- Only prompts when critical
|
|
51
|
-
|
|
52
|
-
## Inputs & Outputs
|
|
53
|
-
|
|
54
|
-
### Required Files
|
|
55
|
-
|
|
56
|
-
| File | Purpose | Priority |
|
|
57
|
-
| ------------------------ | ----------------------------- | -------- |
|
|
58
|
-
| epics.md | Story enumeration (MANDATORY) | Critical |
|
|
59
|
-
| tech-spec-epic-{N}-\*.md | Epic technical spec | High |
|
|
60
|
-
| PRD.md | Product requirements | Medium |
|
|
61
|
-
| Architecture docs | Technical constraints | Low |
|
|
62
|
-
|
|
63
|
-
### Auto-Discovered Docs
|
|
64
|
-
|
|
65
|
-
- `tech-stack.md`, `unified-project-structure.md`
|
|
66
|
-
- `testing-strategy.md`, `backend/frontend-architecture.md`
|
|
67
|
-
- `data-models.md`, `database-schema.md`, `api-specs.md`
|
|
68
|
-
|
|
69
|
-
### Output
|
|
70
|
-
|
|
71
|
-
**Story Document:** `{story_dir}/story-{epic}.{story}.md`
|
|
72
|
-
|
|
73
|
-
- User story statement (role, action, benefit)
|
|
74
|
-
- Acceptance criteria from tech spec/epics
|
|
75
|
-
- Tasks mapped to ACs
|
|
76
|
-
- Testing requirements
|
|
77
|
-
- Dev notes with sources
|
|
78
|
-
- Status: "Draft"
|
|
79
|
-
|
|
80
|
-
## Workflow Behavior
|
|
81
|
-
|
|
82
|
-
### Story Number Management
|
|
83
|
-
|
|
84
|
-
- Auto-detects next story number
|
|
85
|
-
- No duplicates or skipped numbers
|
|
86
|
-
- Maintains epic.story convention
|
|
87
|
-
|
|
88
|
-
### Update vs Create
|
|
89
|
-
|
|
90
|
-
- **If current story not Done:** Updates existing
|
|
91
|
-
- **If current story Done:** Creates next (if planned)
|
|
92
|
-
|
|
93
|
-
### Validation Safeguards
|
|
94
|
-
|
|
95
|
-
**No Story Found:**
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
"No planned next story found in epics.md for epic {N}.
|
|
99
|
-
Run *correct-course to add/modify epic stories."
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
**Missing Config:**
|
|
103
|
-
Ensure `dev_story_location` set in config.yaml
|
|
104
|
-
|
|
105
|
-
## Integration
|
|
106
|
-
|
|
107
|
-
### v6 Implementation Cycle
|
|
108
|
-
|
|
109
|
-
1. **create-story** ← Current step (defines "what")
|
|
110
|
-
2. story-context (adds technical "how")
|
|
111
|
-
3. dev-story (implementation)
|
|
112
|
-
4. code-review (validation)
|
|
113
|
-
5. correct-course (if needed)
|
|
114
|
-
6. retrospective (after epic)
|
|
115
|
-
|
|
116
|
-
### Document Priority
|
|
117
|
-
|
|
118
|
-
1. **tech_spec_file** - Epic-specific spec
|
|
119
|
-
2. **epics_file** - Story breakdown
|
|
120
|
-
3. **prd_file** - Business requirements
|
|
121
|
-
4. **architecture_docs** - Technical guidance
|
|
122
|
-
|
|
123
|
-
## Configuration
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
# bmad/bmm/config.yaml
|
|
127
|
-
dev_story_location: ./stories
|
|
128
|
-
output_folder: ./output
|
|
129
|
-
|
|
130
|
-
# workflow.yaml defaults
|
|
131
|
-
non_interactive: true
|
|
132
|
-
auto_run_context: true
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
## Troubleshooting
|
|
136
|
-
|
|
137
|
-
| Issue | Solution |
|
|
138
|
-
| ----------------------- | ------------------------------------------ |
|
|
139
|
-
| "No planned next story" | Run `*correct-course` to add story to epic |
|
|
140
|
-
| Missing story_dir | Set `dev_story_location` in config |
|
|
141
|
-
| Tech spec not found | Use naming: `tech-spec-epic-{N}-*.md` |
|
|
142
|
-
| No architecture docs | Add docs to docs/ or output/ folder |
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
For workflow details, see [instructions.md](./instructions.md) and [checklist.md](./checklist.md).
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
# Dev Story Workflow
|
|
2
|
-
|
|
3
|
-
The dev-story workflow is where v6's just-in-time context approach delivers its primary value, enabling the Developer (DEV) agent to implement stories with expert-level guidance injected directly into their context. This workflow is run EXCLUSIVELY by the DEV agent and operates on a single story that has been prepared by the SM through create-story and enhanced with story-context. The DEV loads both the story specification and the dynamically-generated story context XML, then proceeds through implementation with the combined knowledge of requirements and domain-specific expertise.
|
|
4
|
-
|
|
5
|
-
The workflow operates with two critical inputs: the story file (created by SM's create-story) containing acceptance criteria, tasks, and requirements; and the story-context XML (generated by SM's story-context) providing just-in-time expertise injection tailored to the story's technical needs. This dual-input approach ensures the developer has both the "what" (from the story) and the "how" (from the context) needed for successful implementation. The workflow iterates through tasks sequentially, implementing code, writing tests, and updating the story document's allowed sections until all tasks are complete.
|
|
6
|
-
|
|
7
|
-
A critical aspect of v6 flow is that dev-story may be run multiple times for the same story. Initially run to implement the story, it may be run again after code-review identifies issues that need correction. The workflow intelligently resumes from incomplete tasks, making it ideal for both initial implementation and post-review fixes. The DEV agent maintains strict boundaries on what can be modified in the story file—only Tasks/Subtasks checkboxes, Dev Agent Record, File List, Change Log, and Status may be updated, preserving the story's requirements integrity.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
# Developer implements the story with injected context
|
|
13
|
-
bmad dev *develop
|
|
14
|
-
|
|
15
|
-
# Or if returning to fix review issues
|
|
16
|
-
bmad dev *develop # Will resume from incomplete tasks
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
The DEV runs this workflow:
|
|
20
|
-
|
|
21
|
-
- After SM completes both create-story and story-context
|
|
22
|
-
- When a story status is "Draft" or "Approved" (ready for development)
|
|
23
|
-
- After code-review identifies issues requiring fixes
|
|
24
|
-
- To resume work on a partially completed story
|
|
25
|
-
|
|
26
|
-
## Inputs
|
|
27
|
-
|
|
28
|
-
**Required Files:**
|
|
29
|
-
|
|
30
|
-
- **Story Document** (`{story_dir}/story-{epic}.{story}.md`): Complete specification including:
|
|
31
|
-
- User story statement
|
|
32
|
-
- Acceptance criteria (immutable during dev)
|
|
33
|
-
- Tasks and subtasks (checkable during implementation)
|
|
34
|
-
- Dev Notes section (for context and guidance)
|
|
35
|
-
- Status field (Draft → In Progress → Ready for Review)
|
|
36
|
-
|
|
37
|
-
- **Story Context XML** (`{story_dir}/story-{epic}.{story}-context.xml`): Domain expertise including:
|
|
38
|
-
- Technical patterns and best practices
|
|
39
|
-
- Gotchas and common pitfalls
|
|
40
|
-
- Testing strategies
|
|
41
|
-
- Relevant code references
|
|
42
|
-
- Architecture constraints
|
|
43
|
-
|
|
44
|
-
**Configuration:**
|
|
45
|
-
|
|
46
|
-
- `dev_story_location`: Directory containing story files (from bmm/config.yaml)
|
|
47
|
-
- `story_selection_limit`: Number of recent stories to show (default: 10)
|
|
48
|
-
- `run_tests_command`: Test command (default: auto-detected)
|
|
49
|
-
- `strict`: Whether to halt on test failures (default: true)
|
|
50
|
-
|
|
51
|
-
## Outputs
|
|
52
|
-
|
|
53
|
-
**Code Implementation:**
|
|
54
|
-
|
|
55
|
-
- Production code satisfying acceptance criteria
|
|
56
|
-
- Unit, integration, and E2E tests as appropriate
|
|
57
|
-
- Documentation updates
|
|
58
|
-
- Migration scripts if needed
|
|
59
|
-
|
|
60
|
-
**Story File Updates (allowed sections only):**
|
|
61
|
-
|
|
62
|
-
- **Tasks/Subtasks**: Checkboxes marked complete as work progresses
|
|
63
|
-
- **Dev Agent Record**: Debug log and completion notes
|
|
64
|
-
- **File List**: All files created or modified
|
|
65
|
-
- **Change Log**: Summary of implementation changes
|
|
66
|
-
- **Status**: Updated to "Ready for Review" when complete
|
|
67
|
-
|
|
68
|
-
**Validation:**
|
|
69
|
-
|
|
70
|
-
- All tests passing (existing + new)
|
|
71
|
-
- Acceptance criteria verified
|
|
72
|
-
- Code quality checks passed
|
|
73
|
-
- No regression in existing functionality
|
|
74
|
-
|
|
75
|
-
## Key Features
|
|
76
|
-
|
|
77
|
-
**Story-Context Integration**: The workflow loads and leverages the story-context XML throughout implementation, providing expert guidance without cluttering the main conversation. This ensures best practices are followed while maintaining developer autonomy.
|
|
78
|
-
|
|
79
|
-
**Task-by-Task Iteration**: Implements one task at a time, marking completion before moving to the next. This granular approach enables progress tracking and clean resumption if interrupted or after review feedback.
|
|
80
|
-
|
|
81
|
-
**Strict File Boundaries**: Only specific sections of the story file may be modified, preserving requirement integrity. The story's acceptance criteria, main description, and other planning sections remain immutable during development.
|
|
82
|
-
|
|
83
|
-
**Test-Driven Approach**: For each task, the workflow emphasizes writing tests that verify acceptance criteria before or alongside implementation, ensuring requirements are actually met.
|
|
84
|
-
|
|
85
|
-
**Resumable Implementation**: If the workflow is run again on a story with incomplete tasks (e.g., after code-review finds issues), it intelligently resumes from where it left off rather than starting over.
|
|
86
|
-
|
|
87
|
-
## Integration with v6 Flow
|
|
88
|
-
|
|
89
|
-
The dev-story workflow is step 3 in the v6 implementation cycle:
|
|
90
|
-
|
|
91
|
-
1. SM: create-story (generates the story specification)
|
|
92
|
-
2. SM: story-context (adds JIT technical expertise)
|
|
93
|
-
3. **DEV: dev-story** ← You are here (initial implementation)
|
|
94
|
-
4. DEV/SR: code-review (validates completion)
|
|
95
|
-
5. If issues found: **DEV: dev-story** ← May return here for fixes
|
|
96
|
-
6. After epic: retrospective (captures learnings)
|
|
97
|
-
|
|
98
|
-
This workflow may be executed multiple times for the same story as part of the review-fix cycle. Each execution picks up from incomplete tasks, making it efficient for iterative improvement.
|
|
99
|
-
|
|
100
|
-
## Workflow Process
|
|
101
|
-
|
|
102
|
-
### Phase 1: Story Selection
|
|
103
|
-
|
|
104
|
-
- If `story_path` provided: Use that story directly
|
|
105
|
-
- Otherwise: List recent stories from `dev_story_location`
|
|
106
|
-
- Parse story structure and validate format
|
|
107
|
-
- Load corresponding story-context XML
|
|
108
|
-
|
|
109
|
-
### Phase 2: Task Implementation Loop
|
|
110
|
-
|
|
111
|
-
For each incomplete task:
|
|
112
|
-
|
|
113
|
-
1. **Plan**: Log approach in Dev Agent Record
|
|
114
|
-
2. **Implement**: Write code following story-context guidance
|
|
115
|
-
3. **Test**: Create tests verifying acceptance criteria
|
|
116
|
-
4. **Validate**: Run tests and quality checks
|
|
117
|
-
5. **Update**: Mark task complete, update File List
|
|
118
|
-
|
|
119
|
-
### Phase 3: Completion
|
|
120
|
-
|
|
121
|
-
- Verify all tasks completed
|
|
122
|
-
- Run full test suite
|
|
123
|
-
- Update Status to "Ready for Review"
|
|
124
|
-
- Add completion notes to Dev Agent Record
|
|
125
|
-
|
|
126
|
-
## Story File Structure
|
|
127
|
-
|
|
128
|
-
The workflow expects stories with this structure:
|
|
129
|
-
|
|
130
|
-
```markdown
|
|
131
|
-
# Story {epic}.{story}: {Title}
|
|
132
|
-
|
|
133
|
-
**Status**: Draft|In Progress|Ready for Review|Done
|
|
134
|
-
**Epic**: {epic_number}
|
|
135
|
-
**Estimated Effort**: {estimate}
|
|
136
|
-
|
|
137
|
-
## Story
|
|
138
|
-
|
|
139
|
-
As a {role}, I want to {action} so that {benefit}
|
|
140
|
-
|
|
141
|
-
## Acceptance Criteria
|
|
142
|
-
|
|
143
|
-
- [ ] AC1...
|
|
144
|
-
- [ ] AC2...
|
|
145
|
-
|
|
146
|
-
## Tasks and Subtasks
|
|
147
|
-
|
|
148
|
-
- [ ] Task 1
|
|
149
|
-
- [ ] Subtask 1.1
|
|
150
|
-
- [ ] Task 2
|
|
151
|
-
|
|
152
|
-
## Dev Notes
|
|
153
|
-
|
|
154
|
-
{Context and guidance from story creation}
|
|
155
|
-
|
|
156
|
-
## Dev Agent Record
|
|
157
|
-
|
|
158
|
-
### Debug Log
|
|
159
|
-
|
|
160
|
-
{Implementation notes added during development}
|
|
161
|
-
|
|
162
|
-
### Completion Notes
|
|
163
|
-
|
|
164
|
-
{Summary added when complete}
|
|
165
|
-
|
|
166
|
-
## File List
|
|
167
|
-
|
|
168
|
-
{Files created/modified}
|
|
169
|
-
|
|
170
|
-
## Change Log
|
|
171
|
-
|
|
172
|
-
{Implementation summary}
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
## Best Practices
|
|
176
|
-
|
|
177
|
-
**Load Context First**: Always ensure the story-context XML is loaded at the start. This provides the expert guidance needed throughout implementation.
|
|
178
|
-
|
|
179
|
-
**Follow Task Order**: Implement tasks in the order listed. Dependencies are typically structured in the task sequence.
|
|
180
|
-
|
|
181
|
-
**Test Each Task**: Don't wait until the end to write tests. Test each task as you complete it to ensure it meets acceptance criteria.
|
|
182
|
-
|
|
183
|
-
**Update Incrementally**: Update the story file after each task completion rather than batching updates at the end.
|
|
184
|
-
|
|
185
|
-
**Respect Boundaries**: Never modify acceptance criteria or story description. If they seem wrong, that's a code-review or correct-course issue, not a dev-story fix.
|
|
186
|
-
|
|
187
|
-
**Use Context Guidance**: Actively reference the story-context for patterns, gotchas, and best practices. It's there to help you succeed.
|
|
188
|
-
|
|
189
|
-
## Troubleshooting
|
|
190
|
-
|
|
191
|
-
**Story Not Found**: Ensure story exists in `dev_story_location` and follows naming pattern `story-{epic}.{story}.md`
|
|
192
|
-
|
|
193
|
-
**Context XML Missing**: The story-context workflow must be run first. Check for `story-{epic}.{story}-context.xml`
|
|
194
|
-
|
|
195
|
-
**Tests Failing**: If strict mode is on, the workflow halts. Fix tests before continuing or set strict=false for development iteration.
|
|
196
|
-
|
|
197
|
-
**Can't Modify Story Section**: Remember only Tasks, Dev Agent Record, File List, Change Log, and Status can be modified. Other sections are immutable.
|
|
198
|
-
|
|
199
|
-
**Resuming After Review**: If code-review found issues, the workflow automatically picks up from incomplete tasks when run again.
|
|
200
|
-
|
|
201
|
-
## Related Workflows
|
|
202
|
-
|
|
203
|
-
- **create-story**: Creates the story specification (run by SM)
|
|
204
|
-
- **story-context**: Generates the context XML (run by SM)
|
|
205
|
-
- **code-review**: Validates implementation (run by SR/DEV)
|
|
206
|
-
- **correct-course**: Handles major issues or scope changes (run by SM)
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
# Technical Specification Workflow
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
Generate a comprehensive Technical Specification for a single epic from PRD, Epics file and Architecture to produce a document with full acceptance criteria and traceability mapping. Creates detailed implementation guidance that bridges business requirements with technical execution.
|
|
6
|
-
|
|
7
|
-
## Key Features
|
|
8
|
-
|
|
9
|
-
- **PRD-Architecture Integration** - Synthesizes business requirements with technical constraints
|
|
10
|
-
- **Traceability Mapping** - Links acceptance criteria to technical components and tests
|
|
11
|
-
- **Multi-Input Support** - Leverages PRD, architecture, front-end specs, and brownfield notes
|
|
12
|
-
- **Implementation Focus** - Provides concrete technical guidance for development teams
|
|
13
|
-
- **Testing Integration** - Includes test strategy aligned with acceptance criteria
|
|
14
|
-
- **Validation Ready** - Generates specifications suitable for architectural review
|
|
15
|
-
|
|
16
|
-
## Usage
|
|
17
|
-
|
|
18
|
-
### Basic Invocation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
workflow tech-spec
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### With Input Documents
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# With specific PRD and architecture
|
|
28
|
-
workflow tech-spec --input PRD.md --input architecture.md
|
|
29
|
-
|
|
30
|
-
# With comprehensive inputs
|
|
31
|
-
workflow tech-spec --input PRD.md --input architecture.md --input front-end-spec.md
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Configuration
|
|
35
|
-
|
|
36
|
-
- **output_folder**: Location for generated technical specification
|
|
37
|
-
- **epic_id**: Used in output filename (extracted from PRD or prompted)
|
|
38
|
-
- **recommended_inputs**: PRD, architecture, front-end spec, brownfield notes
|
|
39
|
-
|
|
40
|
-
## Workflow Structure
|
|
41
|
-
|
|
42
|
-
### Files Included
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
tech-spec/
|
|
46
|
-
├── workflow.yaml # Configuration and metadata
|
|
47
|
-
├── instructions.md # Step-by-step execution guide
|
|
48
|
-
├── template.md # Technical specification structure
|
|
49
|
-
├── checklist.md # Validation criteria
|
|
50
|
-
└── README.md # This file
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Workflow Process
|
|
54
|
-
|
|
55
|
-
### Phase 1: Input Collection and Analysis (Steps 1-2)
|
|
56
|
-
|
|
57
|
-
- **Document Discovery**: Locates PRD and Architecture documents
|
|
58
|
-
- **Epic Extraction**: Identifies epic title and ID from PRD content
|
|
59
|
-
- **Template Initialization**: Creates tech-spec document from template
|
|
60
|
-
- **Context Analysis**: Reviews complete PRD and architecture for alignment
|
|
61
|
-
|
|
62
|
-
### Phase 2: Technical Design Specification (Step 3)
|
|
63
|
-
|
|
64
|
-
- **Service Architecture**: Defines services/modules with responsibilities and interfaces
|
|
65
|
-
- **Data Modeling**: Specifies entities, schemas, and relationships
|
|
66
|
-
- **API Design**: Documents endpoints, request/response models, and error handling
|
|
67
|
-
- **Workflow Definition**: Details sequence flows and data processing patterns
|
|
68
|
-
|
|
69
|
-
### Phase 3: Non-Functional Requirements (Step 4)
|
|
70
|
-
|
|
71
|
-
- **Performance Specs**: Defines measurable latency, throughput, and scalability targets
|
|
72
|
-
- **Security Requirements**: Specifies authentication, authorization, and data protection
|
|
73
|
-
- **Reliability Standards**: Documents availability, recovery, and degradation behavior
|
|
74
|
-
- **Observability Framework**: Defines logging, metrics, and tracing requirements
|
|
75
|
-
|
|
76
|
-
### Phase 4: Dependencies and Integration (Step 5)
|
|
77
|
-
|
|
78
|
-
- **Dependency Analysis**: Scans repository for package manifests and frameworks
|
|
79
|
-
- **Integration Mapping**: Identifies external systems and API dependencies
|
|
80
|
-
- **Version Management**: Documents version constraints and compatibility requirements
|
|
81
|
-
- **Infrastructure Needs**: Specifies deployment and runtime dependencies
|
|
82
|
-
|
|
83
|
-
### Phase 5: Acceptance and Testing (Step 6)
|
|
84
|
-
|
|
85
|
-
- **Criteria Normalization**: Extracts and refines acceptance criteria from PRD
|
|
86
|
-
- **Traceability Matrix**: Maps acceptance criteria to technical components
|
|
87
|
-
- **Test Strategy**: Defines testing approach for each acceptance criterion
|
|
88
|
-
- **Component Mapping**: Links requirements to specific APIs and modules
|
|
89
|
-
|
|
90
|
-
### Phase 6: Risk and Validation (Steps 7-8)
|
|
91
|
-
|
|
92
|
-
- **Risk Assessment**: Identifies technical risks, assumptions, and open questions
|
|
93
|
-
- **Mitigation Planning**: Provides strategies for addressing identified risks
|
|
94
|
-
- **Quality Validation**: Ensures specification meets completeness criteria
|
|
95
|
-
- **Checklist Verification**: Validates against workflow quality standards
|
|
96
|
-
|
|
97
|
-
## Output
|
|
98
|
-
|
|
99
|
-
### Generated Files
|
|
100
|
-
|
|
101
|
-
- **Primary output**: tech-spec-{epic_id}-{date}.md
|
|
102
|
-
- **Traceability data**: Embedded mapping tables linking requirements to implementation
|
|
103
|
-
|
|
104
|
-
### Output Structure
|
|
105
|
-
|
|
106
|
-
1. **Overview and Scope** - Project context and boundaries
|
|
107
|
-
2. **System Architecture Alignment** - Connection to architecture
|
|
108
|
-
3. **Detailed Design** - Services, data models, APIs, and workflows
|
|
109
|
-
4. **Non-Functional Requirements** - Performance, security, reliability, observability
|
|
110
|
-
5. **Dependencies and Integrations** - External systems and technical dependencies
|
|
111
|
-
6. **Acceptance Criteria** - Testable requirements from PRD
|
|
112
|
-
7. **Traceability Mapping** - Requirements-to-implementation mapping
|
|
113
|
-
8. **Test Strategy** - Testing approach and framework alignment
|
|
114
|
-
9. **Risks and Assumptions** - Technical risks and mitigation strategies
|
|
115
|
-
|
|
116
|
-
## Requirements
|
|
117
|
-
|
|
118
|
-
- **PRD Document**: Product Requirements Document with clear acceptance criteria
|
|
119
|
-
- **Architecture Document**: architecture or technical design
|
|
120
|
-
- **Repository Access**: For dependency analysis and framework detection
|
|
121
|
-
- **Epic Context**: Clear epic identification and scope definition
|
|
122
|
-
|
|
123
|
-
## Best Practices
|
|
124
|
-
|
|
125
|
-
### Before Starting
|
|
126
|
-
|
|
127
|
-
1. **Validate Inputs**: Ensure PRD and architecture documents are complete and current
|
|
128
|
-
2. **Review Requirements**: Confirm acceptance criteria are specific and testable
|
|
129
|
-
3. **Check Dependencies**: Verify repository structure supports automated dependency analysis
|
|
130
|
-
|
|
131
|
-
### During Execution
|
|
132
|
-
|
|
133
|
-
1. **Maintain Traceability**: Ensure every acceptance criterion maps to implementation
|
|
134
|
-
2. **Be Implementation-Specific**: Provide concrete technical guidance, not high-level concepts
|
|
135
|
-
3. **Consider Constraints**: Factor in existing system limitations and brownfield challenges
|
|
136
|
-
|
|
137
|
-
### After Completion
|
|
138
|
-
|
|
139
|
-
1. **Architect Review**: Have technical lead validate design decisions
|
|
140
|
-
2. **Developer Walkthrough**: Ensure implementation team understands specifications
|
|
141
|
-
3. **Test Planning**: Use traceability matrix for test case development
|
|
142
|
-
|
|
143
|
-
## Troubleshooting
|
|
144
|
-
|
|
145
|
-
### Common Issues
|
|
146
|
-
|
|
147
|
-
**Issue**: Missing or incomplete technical details
|
|
148
|
-
|
|
149
|
-
- **Solution**: Review architecture document for implementation specifics
|
|
150
|
-
- **Check**: Ensure PRD contains sufficient functional requirements detail
|
|
151
|
-
|
|
152
|
-
**Issue**: Acceptance criteria don't map cleanly to technical components
|
|
153
|
-
|
|
154
|
-
- **Solution**: Break down complex criteria into atomic, testable statements
|
|
155
|
-
- **Check**: Verify PRD acceptance criteria are properly structured
|
|
156
|
-
|
|
157
|
-
**Issue**: Dependency analysis fails or is incomplete
|
|
158
|
-
|
|
159
|
-
- **Solution**: Check repository structure and manifest file locations
|
|
160
|
-
- **Check**: Verify repository contains standard dependency files (package.json, etc.)
|
|
161
|
-
|
|
162
|
-
**Issue**: Non-functional requirements are too vague
|
|
163
|
-
|
|
164
|
-
- **Solution**: Extract specific performance and quality targets from architecture
|
|
165
|
-
- **Check**: Ensure architecture document contains measurable NFR specifications
|
|
166
|
-
|
|
167
|
-
## Customization
|
|
168
|
-
|
|
169
|
-
To customize this workflow:
|
|
170
|
-
|
|
171
|
-
1. **Modify Template**: Update template.md to match organizational technical spec standards
|
|
172
|
-
2. **Extend Dependencies**: Add support for additional package managers or frameworks
|
|
173
|
-
3. **Enhance Validation**: Extend checklist.md with company-specific technical criteria
|
|
174
|
-
4. **Add Sections**: Include additional technical concerns like DevOps or monitoring
|
|
175
|
-
|
|
176
|
-
## Version History
|
|
177
|
-
|
|
178
|
-
- **v6.0.0** - Comprehensive technical specification with traceability
|
|
179
|
-
- PRD-Architecture integration
|
|
180
|
-
- Automated dependency detection
|
|
181
|
-
- Traceability mapping
|
|
182
|
-
- Test strategy alignment
|
|
183
|
-
|
|
184
|
-
## Support
|
|
185
|
-
|
|
186
|
-
For issues or questions:
|
|
187
|
-
|
|
188
|
-
- Review the workflow creation guide at `/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md`
|
|
189
|
-
- Validate output using `checklist.md`
|
|
190
|
-
- Ensure PRD and architecture documents are complete before starting
|
|
191
|
-
- Consult BMAD documentation for technical specification standards
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
_Part of the BMad Method v6 - BMM (Method) Module_
|