bmad-method 6.0.0-alpha.2 → 6.0.0-alpha.4
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 +73 -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/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/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/settings.local.json +10 -31
- package/CHANGELOG.md +239 -0
- package/README.md +210 -146
- package/bmad/_cfg/agent-manifest.csv +13 -4
- 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-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 +289 -22
- package/bmad/_cfg/ides/claude-code.yaml +6 -0
- package/bmad/_cfg/manifest.yaml +5 -6
- package/bmad/_cfg/task-manifest.csv +2 -0
- package/bmad/_cfg/workflow-manifest.csv +35 -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/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 +169 -0
- package/bmad/bmm/agents/analyst.md +67 -0
- package/bmad/bmm/agents/architect.md +73 -0
- package/bmad/bmm/agents/dev.md +69 -0
- package/bmad/bmm/agents/paige.md +82 -0
- package/bmad/bmm/agents/pm.md +76 -0
- package/bmad/bmm/agents/sm.md +85 -0
- package/bmad/bmm/agents/tea.md +72 -0
- package/bmad/bmm/agents/ux-designer.md +71 -0
- package/bmad/bmm/config.yaml +17 -0
- package/bmad/bmm/docs/quick-spec-flow.md +645 -0
- package/bmad/bmm/docs/quick-start.md +341 -0
- package/bmad/bmm/docs/scale-adaptive-system.md +1045 -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/README.md +113 -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/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/README.md +146 -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/README.md +256 -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 +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/{src/modules → bmad}/bmm/workflows/workflow-status/README.md +38 -19
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +390 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
- package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +54 -0
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml +58 -0
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +76 -0
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml +95 -0
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +88 -0
- package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +45 -0
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml +49 -0
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml +78 -0
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +73 -0
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +75 -0
- 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/creative-problem-solver.md +62 -0
- package/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/bmad/cis/agents/innovation-strategist.md +62 -0
- package/bmad/cis/agents/storyteller.md +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 +69 -0
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +0 -8
- package/bmad/core/tools/shard-doc.xml +8 -43
- package/docs/document-sharding-guide.md +447 -0
- package/docs/index.md +225 -0
- package/docs/v4-to-v6-upgrade.md +9 -7
- package/package.json +1 -1
- package/src/core/tools/shard-doc.xml +8 -43
- package/src/modules/bmb/README.md +135 -73
- package/src/modules/bmb/workflows/create-agent/README.md +126 -243
- package/src/modules/bmb/workflows/create-agent/instructions.md +25 -12
- package/src/modules/bmb/workflows/create-module/README.md +163 -154
- package/src/modules/bmb/workflows/create-workflow/instructions.md +16 -8
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/src/modules/bmm/README.md +79 -92
- package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
- package/src/modules/bmm/agents/paige.agent.yaml +69 -0
- package/src/modules/bmm/agents/pm.agent.yaml +11 -1
- package/src/modules/bmm/docs/README.md +235 -0
- package/src/modules/bmm/docs/agents-guide.md +1109 -0
- package/src/modules/bmm/docs/brownfield-guide.md +638 -0
- package/src/modules/bmm/docs/brownfield-guide.md.backup +1324 -0
- package/src/modules/bmm/docs/enterprise-agentic-development.md +1040 -0
- package/src/modules/bmm/docs/faq.md +589 -0
- package/src/modules/bmm/docs/glossary.md +327 -0
- package/src/modules/bmm/docs/party-mode.md +1236 -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 +749 -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 +1759 -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/docs/workflows-testing.md +1572 -0
- package/src/modules/bmm/workflows/1-analysis/brainstorm-game/instructions.md +45 -26
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +42 -23
- 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/game-brief/instructions.md +42 -28
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +434 -231
- 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 +68 -62
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +203 -137
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +53 -45
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +116 -79
- 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 +58 -22
- 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 +52 -21
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +73 -22
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +295 -63
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +63 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +43 -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 +295 -321
- 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 +24 -6
- 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 +51 -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 +1005 -141
- 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 +36 -5
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +21 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +91 -79
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +94 -45
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +26 -0
- 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 +31 -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 +31 -5
- 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 +34 -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 +117 -24
- package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/workflow-status/instructions.md +173 -111
- package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
- package/src/modules/bmm/workflows/workflow-status/workflow.yaml +3 -3
- package/src/modules/cis/README.md +153 -0
- package/src/modules/cis/workflows/README.md +102 -30
- package/src/modules/cis/workflows/storytelling/instructions.md +10 -2
- package/tools/cli/commands/install.js +1 -1
- package/tools/cli/installers/lib/core/manifest-generator.js +4 -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/conversion-report-shard-doc-2025-10-26.md +0 -188
- 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 -29
- package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
- 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/gdd/README.md +0 -222
- package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -129
- package/src/modules/bmm/workflows/README.md +0 -577
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.md +0 -30
- package/src/modules/cis/readme.md +0 -86
- /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/{docs/bmad-brownfield-guide.md → bmad/bmm/docs/brownfield-guide.md} +0 -0
- /package/{src/modules → bmad}/bmm/tasks/retrospective.xml +0 -0
- /package/{src/modules → bmad}/bmm/testarch/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/1-analysis/product-brief/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/1-analysis/research/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/2-plan-workflows/README.md +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
- /package/{src/modules → bmad}/bmm/workflows/3-solutioning/README.md +0 -0
- /package/{src/modules/bmm/workflows/3-solutioning/architecture/readme.md → bmad/bmm/workflows/3-solutioning/architecture/README.md} +0 -0
- /package/{src/modules → bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/code-review/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/correct-course/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/dev-story/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/retrospective/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/sprint-planning/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/4-implementation/story-context/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/document-project/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/document-project/templates/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/atdd/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/automate/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/ci/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/framework/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/nfr-assess/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/test-design/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/test-review/README.md +0 -0
- /package/{src/modules → bmad}/bmm/workflows/testarch/trace/README.md +0 -0
- /package/src/modules/bmm/sub-modules/claude-code/{readme.md → README.md} +0 -0
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
# BMad Method Brownfield Development Guide
|
|
2
|
+
|
|
3
|
+
**Complete guide for working with existing codebases**
|
|
4
|
+
|
|
5
|
+
**Reading Time:** ~35 minutes
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Quick Navigation
|
|
10
|
+
|
|
11
|
+
**Jump to:**
|
|
12
|
+
|
|
13
|
+
- [Quick Reference](#quick-reference) - Commands and files
|
|
14
|
+
- [Common Scenarios](#common-scenarios) - Real-world examples
|
|
15
|
+
- [Troubleshooting](#troubleshooting) - Problem solutions
|
|
16
|
+
- [Best Practices](#best-practices) - Success tips
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## What is Brownfield Development?
|
|
21
|
+
|
|
22
|
+
Brownfield projects involve working within existing codebases rather than starting fresh:
|
|
23
|
+
|
|
24
|
+
- **Bug fixes** - Single file changes
|
|
25
|
+
- **Small features** - Adding to existing modules
|
|
26
|
+
- **Feature sets** - Multiple related features
|
|
27
|
+
- **Major integrations** - Complex architectural additions
|
|
28
|
+
- **System expansions** - Enterprise-scale enhancements
|
|
29
|
+
|
|
30
|
+
**Key Difference from Greenfield:** You must understand and respect existing patterns, architecture, and constraints.
|
|
31
|
+
|
|
32
|
+
**Core Principle:** AI agents need comprehensive documentation to understand existing code before they can effectively plan or implement changes.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Getting Started
|
|
37
|
+
|
|
38
|
+
### Understanding Project Levels
|
|
39
|
+
|
|
40
|
+
For complete level details, see [Scale Adaptive System](./scale-adaptive-system.md).
|
|
41
|
+
|
|
42
|
+
**Brownfield levels at a glance:**
|
|
43
|
+
|
|
44
|
+
| Level | Scope | Stories | Key Difference |
|
|
45
|
+
| ----- | -------------------- | ------- | ---------------------------------- |
|
|
46
|
+
| **0** | Bug fix | 1 | Must understand affected code |
|
|
47
|
+
| **1** | Small feature | 1-10 | Respect existing patterns |
|
|
48
|
+
| **2** | Feature set | 5-15 | Integrate with architecture |
|
|
49
|
+
| **3** | Complex integration | 12-40 | Review existing architecture first |
|
|
50
|
+
| **4** | Enterprise expansion | 40+ | Full system documentation required |
|
|
51
|
+
|
|
52
|
+
### Level Detection for Brownfield
|
|
53
|
+
|
|
54
|
+
When you run `workflow-init`, it handles brownfield intelligently:
|
|
55
|
+
|
|
56
|
+
**Step 1: Shows what it found**
|
|
57
|
+
|
|
58
|
+
- Old planning docs (PRD, epics, stories)
|
|
59
|
+
- Existing codebase
|
|
60
|
+
|
|
61
|
+
**Step 2: Asks about YOUR work**
|
|
62
|
+
|
|
63
|
+
> "Are these works in progress, previous effort, or proposed work?"
|
|
64
|
+
|
|
65
|
+
- **(a) Works in progress** → Uses artifacts to determine level
|
|
66
|
+
- **(b) Previous effort** → Asks you to describe NEW work
|
|
67
|
+
- **(c) Proposed work** → Uses artifacts as guidance
|
|
68
|
+
- **(d) None of these** → You explain your work
|
|
69
|
+
|
|
70
|
+
**Step 3: Analyzes your description**
|
|
71
|
+
|
|
72
|
+
- Keywords: "fix" → Level 0, "add feature" → Level 1, "dashboard" → Level 2
|
|
73
|
+
- Story count estimation
|
|
74
|
+
- Confirms suggested level with you
|
|
75
|
+
|
|
76
|
+
**Key Principle:** System asks about YOUR current work first, uses old artifacts as context only.
|
|
77
|
+
|
|
78
|
+
**Example: Old Level 3 PRD, New Level 0 Work**
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
System: "Found PRD.md (Level 3, 30 stories, 6 months old)"
|
|
82
|
+
System: "Is this work in progress or previous effort?"
|
|
83
|
+
You: "Previous effort - I'm just fixing a bug now"
|
|
84
|
+
System: "Tell me about your current work"
|
|
85
|
+
You: "Update payment method enums"
|
|
86
|
+
System: "Level 0 brownfield. Correct?"
|
|
87
|
+
You: "Yes"
|
|
88
|
+
✅ Creates Level 0 workflow
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Phase 0: Documentation (Critical First Step)
|
|
94
|
+
|
|
95
|
+
🚨 **For brownfield projects: Always ensure adequate documentation before planning**
|
|
96
|
+
|
|
97
|
+
### Three Scenarios
|
|
98
|
+
|
|
99
|
+
| Scenario | You Have | Action | Tool | Time |
|
|
100
|
+
| -------- | --------------------------- | -------------------- | -------- | ------ |
|
|
101
|
+
| **A** | No documentation | Run document-project | Workflow | 10-30m |
|
|
102
|
+
| **B** | Docs exist, no index.md | Run index-docs | Task | 2-5m |
|
|
103
|
+
| **C** | Complete docs with index.md | Skip Phase 0 | - | 0m |
|
|
104
|
+
|
|
105
|
+
### Scenario A: No Documentation
|
|
106
|
+
|
|
107
|
+
**Run document-project workflow:**
|
|
108
|
+
|
|
109
|
+
1. Load Analyst agent
|
|
110
|
+
2. Run "document-project"
|
|
111
|
+
3. Choose scan level:
|
|
112
|
+
- **Quick** (2-5min): Pattern analysis, no source reading
|
|
113
|
+
- **Deep** (10-30min): Reads critical paths - **Recommended**
|
|
114
|
+
- **Exhaustive** (30-120min): Reads all files
|
|
115
|
+
|
|
116
|
+
**Outputs:**
|
|
117
|
+
|
|
118
|
+
- `docs/index.md` - Master AI entry point
|
|
119
|
+
- `docs/project-overview.md` - Executive summary
|
|
120
|
+
- `docs/architecture.md` - Architecture analysis
|
|
121
|
+
- `docs/source-tree-analysis.md` - Directory structure
|
|
122
|
+
- Additional files based on project type
|
|
123
|
+
|
|
124
|
+
### Scenario B: Docs Exist, No Index
|
|
125
|
+
|
|
126
|
+
**Run index-docs task:**
|
|
127
|
+
|
|
128
|
+
1. Load BMad Master agent (or any agent with task access)
|
|
129
|
+
2. Load task: `bmad/core/tasks/index-docs.xml`
|
|
130
|
+
3. Specify docs directory (e.g., `./docs`)
|
|
131
|
+
4. Task generates `index.md` from existing docs
|
|
132
|
+
|
|
133
|
+
**Why index.md matters:** Primary entry point for AI agents. Provides structured navigation even when good docs exist.
|
|
134
|
+
|
|
135
|
+
### Scenario C: Complete Documentation
|
|
136
|
+
|
|
137
|
+
If `docs/index.md` exists with comprehensive content, skip to Phase 1 or 2.
|
|
138
|
+
|
|
139
|
+
### Why document-project is Critical
|
|
140
|
+
|
|
141
|
+
Without it, workflows lack context:
|
|
142
|
+
|
|
143
|
+
- **tech-spec** (Level 0-1) can't auto-detect stack/patterns
|
|
144
|
+
- **PRD** (Level 2-4) can't reference existing code
|
|
145
|
+
- **architecture** (Level 3-4) can't build on existing structure
|
|
146
|
+
- **story-context** can't inject pattern-specific guidance
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Workflow Phases by Level
|
|
151
|
+
|
|
152
|
+
### Phase 1: Analysis (Optional)
|
|
153
|
+
|
|
154
|
+
**Workflows:**
|
|
155
|
+
|
|
156
|
+
- `brainstorm-project` - Solution exploration
|
|
157
|
+
- `research` - Technical/market research
|
|
158
|
+
- `product-brief` - Strategic planning
|
|
159
|
+
|
|
160
|
+
**When to use:** Complex features, technical decisions, strategic additions
|
|
161
|
+
|
|
162
|
+
**When to skip:** Bug fixes, well-understood features, time-sensitive changes
|
|
163
|
+
|
|
164
|
+
See [Workflows Guide](../workflows/README.md) for details.
|
|
165
|
+
|
|
166
|
+
### Phase 2: Planning (Required)
|
|
167
|
+
|
|
168
|
+
**Planning approach adapts by level:**
|
|
169
|
+
|
|
170
|
+
**Level 0-1:** Use `tech-spec` workflow
|
|
171
|
+
|
|
172
|
+
- Creates tech-spec.md
|
|
173
|
+
- Auto-detects existing stack (brownfield)
|
|
174
|
+
- Confirms conventions with you
|
|
175
|
+
- Generates implementation-ready stories
|
|
176
|
+
|
|
177
|
+
**Level 2-4:** Use `prd` workflow
|
|
178
|
+
|
|
179
|
+
- Creates PRD.md + epics.md
|
|
180
|
+
- References existing architecture
|
|
181
|
+
- Plans integration points
|
|
182
|
+
|
|
183
|
+
**Brownfield-specific:** See [Scale Adaptive System](./scale-adaptive-system.md) for complete workflow paths by level.
|
|
184
|
+
|
|
185
|
+
### Phase 3: Solutioning (Level 2-4 Only)
|
|
186
|
+
|
|
187
|
+
**Critical for brownfield:**
|
|
188
|
+
|
|
189
|
+
- Review existing architecture FIRST
|
|
190
|
+
- Document integration points explicitly
|
|
191
|
+
- Plan backward compatibility
|
|
192
|
+
- Consider migration strategy
|
|
193
|
+
|
|
194
|
+
**Workflows:**
|
|
195
|
+
|
|
196
|
+
- `architecture-review` - Understand existing (Level 3-4)
|
|
197
|
+
- `integration-planning` - Plan integration approach (Level 3-4)
|
|
198
|
+
- `create-architecture` - Extend architecture docs (Level 2-4)
|
|
199
|
+
- `solutioning-gate-check` - Validate before implementation (Level 3-4)
|
|
200
|
+
|
|
201
|
+
### Phase 4: Implementation (All Levels)
|
|
202
|
+
|
|
203
|
+
**Sprint-based development through story iteration:**
|
|
204
|
+
|
|
205
|
+
```mermaid
|
|
206
|
+
flowchart TD
|
|
207
|
+
SPRINT[sprint-planning<br/>Initialize tracking]
|
|
208
|
+
EPIC[epic-tech-context<br/>Per epic]
|
|
209
|
+
CREATE[create-story]
|
|
210
|
+
CONTEXT[story-context]
|
|
211
|
+
DEV[dev-story]
|
|
212
|
+
REVIEW[code-review]
|
|
213
|
+
CHECK{More stories?}
|
|
214
|
+
RETRO[retrospective<br/>Per epic]
|
|
215
|
+
|
|
216
|
+
SPRINT --> EPIC
|
|
217
|
+
EPIC --> CREATE
|
|
218
|
+
CREATE --> CONTEXT
|
|
219
|
+
CONTEXT --> DEV
|
|
220
|
+
DEV --> REVIEW
|
|
221
|
+
REVIEW --> CHECK
|
|
222
|
+
CHECK -->|Yes| CREATE
|
|
223
|
+
CHECK -->|No| RETRO
|
|
224
|
+
|
|
225
|
+
style SPRINT fill:#bfb,stroke:#333,stroke-width:2px
|
|
226
|
+
style RETRO fill:#fbf,stroke:#333,stroke-width:2px
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**Status Progression:**
|
|
230
|
+
|
|
231
|
+
- Epic: `backlog → contexted`
|
|
232
|
+
- Story: `backlog → drafted → ready-for-dev → in-progress → review → done`
|
|
233
|
+
|
|
234
|
+
**Brownfield-Specific Implementation Tips:**
|
|
235
|
+
|
|
236
|
+
1. **Respect existing patterns** - Follow established conventions
|
|
237
|
+
2. **Test integration thoroughly** - Validate interactions with existing code
|
|
238
|
+
3. **Use feature flags** - Enable gradual rollout
|
|
239
|
+
4. **Context injection matters** - epic-tech-context and story-context reference existing patterns
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Best Practices
|
|
244
|
+
|
|
245
|
+
### 1. Always Document First
|
|
246
|
+
|
|
247
|
+
Even if you know the code, AI agents need `document-project` output for context. Run it before planning.
|
|
248
|
+
|
|
249
|
+
### 2. Be Specific About Current Work
|
|
250
|
+
|
|
251
|
+
When workflow-init asks about your work:
|
|
252
|
+
|
|
253
|
+
- ✅ "Update payment method enums to include Apple Pay"
|
|
254
|
+
- ❌ "Fix stuff"
|
|
255
|
+
|
|
256
|
+
### 3. Choose Right Documentation Approach
|
|
257
|
+
|
|
258
|
+
- **Has good docs, no index?** → Run `index-docs` task (fast)
|
|
259
|
+
- **No docs or need codebase analysis?** → Run `document-project` (Deep scan)
|
|
260
|
+
|
|
261
|
+
### 4. Respect Existing Patterns
|
|
262
|
+
|
|
263
|
+
Tech-spec and story-context will detect conventions. Follow them unless explicitly modernizing.
|
|
264
|
+
|
|
265
|
+
### 5. Plan Integration Points Explicitly
|
|
266
|
+
|
|
267
|
+
Document in tech-spec/architecture:
|
|
268
|
+
|
|
269
|
+
- Which existing modules you'll modify
|
|
270
|
+
- What APIs/services you'll integrate with
|
|
271
|
+
- How data flows between new and existing code
|
|
272
|
+
|
|
273
|
+
### 6. Design for Gradual Rollout
|
|
274
|
+
|
|
275
|
+
- Use feature flags for new functionality
|
|
276
|
+
- Plan rollback strategies
|
|
277
|
+
- Maintain backward compatibility
|
|
278
|
+
- Create migration scripts if needed
|
|
279
|
+
|
|
280
|
+
### 7. Test Integration Thoroughly
|
|
281
|
+
|
|
282
|
+
- Regression testing of existing features
|
|
283
|
+
- Integration point validation
|
|
284
|
+
- Performance impact assessment
|
|
285
|
+
- API contract verification
|
|
286
|
+
|
|
287
|
+
### 8. Use Sprint Planning Effectively
|
|
288
|
+
|
|
289
|
+
- Run `sprint-planning` at Phase 4 start
|
|
290
|
+
- Context epics before drafting stories
|
|
291
|
+
- Update `sprint-status.yaml` as work progresses
|
|
292
|
+
|
|
293
|
+
### 9. Leverage Context Injection
|
|
294
|
+
|
|
295
|
+
- Run `epic-tech-context` before story drafting
|
|
296
|
+
- Always create `story-context` before implementation
|
|
297
|
+
- These reference existing patterns for consistency
|
|
298
|
+
|
|
299
|
+
### 10. Learn Continuously
|
|
300
|
+
|
|
301
|
+
- Run `retrospective` after each epic
|
|
302
|
+
- Incorporate learnings into next stories
|
|
303
|
+
- Update discovered patterns
|
|
304
|
+
- Share insights across team
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Common Scenarios
|
|
309
|
+
|
|
310
|
+
### Scenario 1: Bug Fix (Level 0)
|
|
311
|
+
|
|
312
|
+
**Situation:** Authentication token expiration causing logout issues
|
|
313
|
+
|
|
314
|
+
**Workflow:**
|
|
315
|
+
|
|
316
|
+
1. **Document:** Skip if auth system documented, else run `document-project` (Quick scan)
|
|
317
|
+
2. **Plan:** Load PM → run `tech-spec`
|
|
318
|
+
- Analyzes bug
|
|
319
|
+
- Detects stack (Express, Jest)
|
|
320
|
+
- Confirms conventions
|
|
321
|
+
- Creates tech-spec.md + story
|
|
322
|
+
3. **Implement:** Load DEV → run `dev-story`
|
|
323
|
+
4. **Review:** Load DEV → run `code-review`
|
|
324
|
+
|
|
325
|
+
**Time:** 2-4 hours
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
### Scenario 2: Small Feature (Level 1)
|
|
330
|
+
|
|
331
|
+
**Situation:** Add "forgot password" to existing auth system
|
|
332
|
+
|
|
333
|
+
**Workflow:**
|
|
334
|
+
|
|
335
|
+
1. **Document:** Run `document-project` (Deep scan of auth module if not documented)
|
|
336
|
+
2. **Plan:** Load PM → run `tech-spec`
|
|
337
|
+
- Detects Next.js 13.4, NextAuth.js
|
|
338
|
+
- Analyzes existing auth patterns
|
|
339
|
+
- Confirms conventions
|
|
340
|
+
- Creates tech-spec.md + epic + 3-5 stories
|
|
341
|
+
3. **Implement:** Load SM → `sprint-planning` → `create-story` → `story-context`
|
|
342
|
+
Load DEV → `dev-story` for each story
|
|
343
|
+
4. **Review:** Load DEV → `code-review`
|
|
344
|
+
|
|
345
|
+
**Time:** 1-3 days
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
### Scenario 3: Feature Set (Level 2)
|
|
350
|
+
|
|
351
|
+
**Situation:** Add user dashboard with analytics, preferences, activity
|
|
352
|
+
|
|
353
|
+
**Workflow:**
|
|
354
|
+
|
|
355
|
+
1. **Document:** Run `document-project` (Deep scan) - Critical for understanding existing UI patterns
|
|
356
|
+
2. **Analyze:** Load Analyst → `research` (if evaluating analytics libraries)
|
|
357
|
+
3. **Plan:** Load PM → `prd`
|
|
358
|
+
4. **Implement:** Sprint-based (10-15 stories)
|
|
359
|
+
- Load SM → `sprint-planning`
|
|
360
|
+
- Per epic: `epic-tech-context` → stories
|
|
361
|
+
- Load DEV → `dev-story` per story
|
|
362
|
+
5. **Review:** Per story completion
|
|
363
|
+
|
|
364
|
+
**Time:** 1-2 weeks
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
### Scenario 4: Complex Integration (Level 3)
|
|
369
|
+
|
|
370
|
+
**Situation:** Add real-time collaboration to document editor
|
|
371
|
+
|
|
372
|
+
**Workflow:**
|
|
373
|
+
|
|
374
|
+
1. **Document:** Run `document-project` (Exhaustive if not documented) - **Mandatory**
|
|
375
|
+
2. **Analyze:** Load Analyst → `research` (WebSocket vs WebRTC vs CRDT)
|
|
376
|
+
3. **Plan:** Load PM → `prd`
|
|
377
|
+
4. **Solution:**
|
|
378
|
+
- Load Architect → `architecture-review` (understand existing editor)
|
|
379
|
+
- Load Architect → `integration-planning` (WebSocket integration strategy)
|
|
380
|
+
- Load Architect → `create-architecture` (extend for real-time layer)
|
|
381
|
+
- Load Architect → `solutioning-gate-check`
|
|
382
|
+
5. **Implement:** Sprint-based (20-30 stories)
|
|
383
|
+
|
|
384
|
+
**Time:** 3-6 weeks
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
### Scenario 5: Enterprise Expansion (Level 4)
|
|
389
|
+
|
|
390
|
+
**Situation:** Add multi-tenancy to single-tenant SaaS platform
|
|
391
|
+
|
|
392
|
+
**Workflow:**
|
|
393
|
+
|
|
394
|
+
1. **Document:** Run `document-project` (Exhaustive) - **Mandatory**
|
|
395
|
+
2. **Analyze:** **Required**
|
|
396
|
+
- `brainstorm-project` - Explore multi-tenancy approaches
|
|
397
|
+
- `research` - Database sharding, tenant isolation, pricing
|
|
398
|
+
- `product-brief` - Strategic document
|
|
399
|
+
3. **Plan:** Load PM → `prd` (comprehensive)
|
|
400
|
+
4. **Solution:**
|
|
401
|
+
- `architecture-review` - Full system review
|
|
402
|
+
- `integration-planning` - Phased migration strategy
|
|
403
|
+
- `create-architecture` - Multi-tenancy architecture
|
|
404
|
+
- `validate-architecture` - External review
|
|
405
|
+
- `solutioning-gate-check` - Executive approval
|
|
406
|
+
5. **Implement:** Phased sprint-based (50+ stories)
|
|
407
|
+
|
|
408
|
+
**Time:** 3-6 months
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## Troubleshooting
|
|
413
|
+
|
|
414
|
+
For complete troubleshooting, see [Troubleshooting Guide](./troubleshooting.md).
|
|
415
|
+
|
|
416
|
+
### AI Agents Lack Codebase Understanding
|
|
417
|
+
|
|
418
|
+
**Symptoms:**
|
|
419
|
+
|
|
420
|
+
- Suggestions don't align with existing patterns
|
|
421
|
+
- Ignores available components
|
|
422
|
+
- Doesn't reference existing code
|
|
423
|
+
|
|
424
|
+
**Solution:**
|
|
425
|
+
|
|
426
|
+
1. Run `document-project` with Deep scan
|
|
427
|
+
2. Verify `docs/index.md` exists
|
|
428
|
+
3. Check documentation completeness
|
|
429
|
+
4. Run deep-dive on specific areas if needed
|
|
430
|
+
|
|
431
|
+
### Have Documentation But Agents Can't Find It
|
|
432
|
+
|
|
433
|
+
**Symptoms:**
|
|
434
|
+
|
|
435
|
+
- README.md, ARCHITECTURE.md exist
|
|
436
|
+
- AI agents ask questions already answered
|
|
437
|
+
- No `docs/index.md` file
|
|
438
|
+
|
|
439
|
+
**Solution:**
|
|
440
|
+
|
|
441
|
+
- **Quick fix:** Run `index-docs` task (2-5min)
|
|
442
|
+
- **Comprehensive:** Run `document-project` workflow (10-30min)
|
|
443
|
+
|
|
444
|
+
### Integration Points Unclear
|
|
445
|
+
|
|
446
|
+
**Symptoms:**
|
|
447
|
+
|
|
448
|
+
- Not sure how to connect new code to existing
|
|
449
|
+
- Unsure which files to modify
|
|
450
|
+
|
|
451
|
+
**Solution:**
|
|
452
|
+
|
|
453
|
+
1. Ensure `document-project` captured existing architecture
|
|
454
|
+
2. Check `story-context` - should document integration points
|
|
455
|
+
3. In tech-spec/architecture - explicitly document:
|
|
456
|
+
- Which existing modules to modify
|
|
457
|
+
- What APIs/services to integrate with
|
|
458
|
+
- Data flow between new and existing code
|
|
459
|
+
4. Run `integration-planning` workflow (Level 3-4)
|
|
460
|
+
|
|
461
|
+
### Existing Tests Breaking
|
|
462
|
+
|
|
463
|
+
**Symptoms:**
|
|
464
|
+
|
|
465
|
+
- Regression test failures
|
|
466
|
+
- Previously working functionality broken
|
|
467
|
+
|
|
468
|
+
**Solution:**
|
|
469
|
+
|
|
470
|
+
1. Review changes against existing patterns
|
|
471
|
+
2. Verify API contracts unchanged (unless intentionally versioned)
|
|
472
|
+
3. Run `test-review` workflow (TEA agent)
|
|
473
|
+
4. Add regression testing to DoD
|
|
474
|
+
5. Consider feature flags for gradual rollout
|
|
475
|
+
|
|
476
|
+
### Inconsistent Patterns Being Introduced
|
|
477
|
+
|
|
478
|
+
**Symptoms:**
|
|
479
|
+
|
|
480
|
+
- New code style doesn't match existing
|
|
481
|
+
- Different architectural approach
|
|
482
|
+
|
|
483
|
+
**Solution:**
|
|
484
|
+
|
|
485
|
+
1. Check convention detection (Quick Spec Flow should detect patterns)
|
|
486
|
+
2. Review documentation - ensure `document-project` captured patterns
|
|
487
|
+
3. Use `story-context` - injects pattern guidance
|
|
488
|
+
4. Add to code-review checklist: pattern adherence, convention consistency
|
|
489
|
+
5. Run retrospective to identify deviations early
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
## Quick Reference
|
|
494
|
+
|
|
495
|
+
### Commands by Phase
|
|
496
|
+
|
|
497
|
+
```bash
|
|
498
|
+
# Phase 0: Documentation (If Needed)
|
|
499
|
+
# Analyst agent:
|
|
500
|
+
document-project # Create comprehensive docs (10-30min)
|
|
501
|
+
# OR load index-docs task for existing docs (2-5min)
|
|
502
|
+
|
|
503
|
+
# Phase 1: Analysis (Optional)
|
|
504
|
+
# Analyst agent:
|
|
505
|
+
brainstorm-project # Explore solutions
|
|
506
|
+
research # Gather data
|
|
507
|
+
product-brief # Strategic planning
|
|
508
|
+
|
|
509
|
+
# Phase 2: Planning (Required)
|
|
510
|
+
# PM agent:
|
|
511
|
+
tech-spec # Level 0-1
|
|
512
|
+
prd # Level 2-4
|
|
513
|
+
|
|
514
|
+
# Phase 3: Solutioning (Level 2-4)
|
|
515
|
+
# Architect agent:
|
|
516
|
+
architecture-review # Review existing (L3-4)
|
|
517
|
+
integration-planning # Plan integration (L3-4)
|
|
518
|
+
create-architecture # Extend architecture (L2-4)
|
|
519
|
+
solutioning-gate-check # Final approval (L3-4)
|
|
520
|
+
|
|
521
|
+
# Phase 4: Implementation (All Levels)
|
|
522
|
+
# SM agent:
|
|
523
|
+
sprint-planning # Initialize tracking
|
|
524
|
+
epic-tech-context # Epic context
|
|
525
|
+
create-story # Draft story
|
|
526
|
+
story-context # Story context
|
|
527
|
+
|
|
528
|
+
# DEV agent:
|
|
529
|
+
dev-story # Implement
|
|
530
|
+
code-review # Review
|
|
531
|
+
|
|
532
|
+
# SM agent:
|
|
533
|
+
retrospective # After epic
|
|
534
|
+
correct-course # If issues
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
### Key Files
|
|
538
|
+
|
|
539
|
+
**Phase 0 Output:**
|
|
540
|
+
|
|
541
|
+
- `docs/index.md` - **Master AI entry point (REQUIRED)**
|
|
542
|
+
- `docs/project-overview.md`
|
|
543
|
+
- `docs/architecture.md`
|
|
544
|
+
- `docs/source-tree-analysis.md`
|
|
545
|
+
|
|
546
|
+
**Phase 1-3 Tracking:**
|
|
547
|
+
|
|
548
|
+
- `docs/bmm-workflow-status.md` - Progress tracker
|
|
549
|
+
|
|
550
|
+
**Phase 2 Planning:**
|
|
551
|
+
|
|
552
|
+
- `docs/tech-spec.md` (Level 0-1)
|
|
553
|
+
- `docs/PRD.md` (Level 2-4)
|
|
554
|
+
- `docs/epics.md` (Level 2-4)
|
|
555
|
+
|
|
556
|
+
**Phase 3 Architecture:**
|
|
557
|
+
|
|
558
|
+
- `docs/architecture.md` (Level 2-4)
|
|
559
|
+
|
|
560
|
+
**Phase 4 Implementation:**
|
|
561
|
+
|
|
562
|
+
- `docs/sprint-status.yaml` - **Single source of truth**
|
|
563
|
+
- `docs/epic-{n}-context.md`
|
|
564
|
+
- `docs/stories/{epic}-{story}-{title}.md`
|
|
565
|
+
- `docs/stories/{epic}-{story}-{title}-context.md`
|
|
566
|
+
|
|
567
|
+
### Decision Flowchart
|
|
568
|
+
|
|
569
|
+
```mermaid
|
|
570
|
+
flowchart TD
|
|
571
|
+
START([Brownfield Project])
|
|
572
|
+
CHECK{Has docs/<br/>index.md?}
|
|
573
|
+
|
|
574
|
+
START --> CHECK
|
|
575
|
+
CHECK -->|No| DOC[document-project<br/>Deep scan]
|
|
576
|
+
CHECK -->|Yes| LEVEL{What Level?}
|
|
577
|
+
|
|
578
|
+
DOC --> LEVEL
|
|
579
|
+
|
|
580
|
+
LEVEL -->|0-1| TS[tech-spec]
|
|
581
|
+
LEVEL -->|2| PRD[prd]
|
|
582
|
+
LEVEL -->|3-4| PRD2[prd → architecture]
|
|
583
|
+
|
|
584
|
+
TS --> IMPL[Phase 4<br/>Implementation]
|
|
585
|
+
PRD --> IMPL
|
|
586
|
+
PRD2 --> IMPL
|
|
587
|
+
|
|
588
|
+
style START fill:#f9f,stroke:#333,stroke-width:2px
|
|
589
|
+
style DOC fill:#ffb,stroke:#333,stroke-width:2px
|
|
590
|
+
style IMPL fill:#bfb,stroke:#333,stroke-width:2px
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
---
|
|
594
|
+
|
|
595
|
+
## Prevention Tips
|
|
596
|
+
|
|
597
|
+
**Avoid issues before they happen:**
|
|
598
|
+
|
|
599
|
+
1. ✅ **Always run document-project for brownfield** - Saves context issues later
|
|
600
|
+
2. ✅ **Use fresh chats for complex workflows** - Prevents hallucinations
|
|
601
|
+
3. ✅ **Verify files exist before workflows** - Check PRD, epics, stories present
|
|
602
|
+
4. ✅ **Read agent menu first** - Confirm agent has the workflow
|
|
603
|
+
5. ✅ **Start with smaller level if unsure** - Easy to upgrade (L1 → L2)
|
|
604
|
+
6. ✅ **Keep status files updated** - Manual updates when needed
|
|
605
|
+
7. ✅ **Run retrospectives after epics** - Catch issues early
|
|
606
|
+
8. ✅ **Follow phase sequence** - Don't skip required phases
|
|
607
|
+
|
|
608
|
+
---
|
|
609
|
+
|
|
610
|
+
## Related Documentation
|
|
611
|
+
|
|
612
|
+
- **[Scale Adaptive System](./scale-adaptive-system.md)** - Understanding levels and complexity
|
|
613
|
+
- **[Quick Spec Flow](./quick-spec-flow.md)** - Fast-track for Level 0-1
|
|
614
|
+
- **[Quick Start Guide](./quick-start.md)** - Getting started with BMM
|
|
615
|
+
- **[Glossary](./glossary.md)** - Key terminology
|
|
616
|
+
- **[FAQ](./faq.md)** - Common questions
|
|
617
|
+
- **[Troubleshooting](./troubleshooting.md)** - Problem resolution
|
|
618
|
+
- **[Workflows Guide](../workflows/README.md)** - Complete workflow reference
|
|
619
|
+
|
|
620
|
+
---
|
|
621
|
+
|
|
622
|
+
## Support & Resources
|
|
623
|
+
|
|
624
|
+
**Community:**
|
|
625
|
+
|
|
626
|
+
- [Discord](https://discord.gg/gk8jAdXWmj) - #general-dev, #bugs-issues
|
|
627
|
+
- [GitHub Issues](https://github.com/bmad-code-org/BMAD-METHOD/issues)
|
|
628
|
+
- [YouTube Channel](https://www.youtube.com/@BMadCode)
|
|
629
|
+
|
|
630
|
+
**Documentation:**
|
|
631
|
+
|
|
632
|
+
- [BMM Workflows Guide](../workflows/README.md)
|
|
633
|
+
- [Test Architect Guide](../testarch/README.md)
|
|
634
|
+
- [BMM Module README](../README.md)
|
|
635
|
+
|
|
636
|
+
---
|
|
637
|
+
|
|
638
|
+
_Brownfield development is about understanding and respecting what exists while thoughtfully extending it._
|