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,749 @@
|
|
|
1
|
+
# BMad Method Scale Adaptive System
|
|
2
|
+
|
|
3
|
+
**Automatically adapts workflows to project complexity - from bug fixes to enterprise systems**
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
The **Scale Adaptive System** is BMad Method's intelligent workflow orchestration that automatically adjusts planning depth, documentation requirements, and implementation processes based on project size and complexity.
|
|
10
|
+
|
|
11
|
+
### The Problem It Solves
|
|
12
|
+
|
|
13
|
+
Traditional methodologies apply the same process to every project:
|
|
14
|
+
|
|
15
|
+
- ❌ **Overkill:** Bug fix requires full design docs
|
|
16
|
+
- ❌ **Insufficient:** Enterprise system built with minimal planning
|
|
17
|
+
- ❌ **One-Size-Fits-None:** Same process for 1 story and 100 stories
|
|
18
|
+
|
|
19
|
+
### The Solution
|
|
20
|
+
|
|
21
|
+
BMad Method **adapts workflows to match project scale**:
|
|
22
|
+
|
|
23
|
+
- ✅ **Level 0 (1 story):** Tech-spec only, implement immediately
|
|
24
|
+
- ✅ **Level 2 (10 stories):** PRD + Architecture, structured approach
|
|
25
|
+
- ✅ **Level 4 (100+ stories):** Full enterprise planning, comprehensive docs
|
|
26
|
+
|
|
27
|
+
**Result:** Right amount of planning for every project - no more, no less.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Quick Reference
|
|
32
|
+
|
|
33
|
+
### Five Levels at a Glance
|
|
34
|
+
|
|
35
|
+
| Level | Scope | Stories | Documentation | Timeline |
|
|
36
|
+
| ----- | -------------------- | ------- | ------------------- | -------- |
|
|
37
|
+
| **0** | Single atomic change | 1 | tech-spec only | Hours |
|
|
38
|
+
| **1** | Small feature | 1-10 | tech-spec + epic | Days |
|
|
39
|
+
| **2** | Medium project | 5-15 | PRD + optional arch | Weeks |
|
|
40
|
+
| **3** | Complex integration | 12-40 | PRD + architecture | Months |
|
|
41
|
+
| **4** | Enterprise scale | 40+ | Full methodology | Quarters |
|
|
42
|
+
|
|
43
|
+
### Level Selection Decision Tree
|
|
44
|
+
|
|
45
|
+
```mermaid
|
|
46
|
+
flowchart TD
|
|
47
|
+
START{Describe your project}
|
|
48
|
+
|
|
49
|
+
START -->|Bug fix, typo, patch| L0[Level 0<br/>tech-spec only]
|
|
50
|
+
START -->|Small feature, 2-3 stories| L1[Level 1<br/>tech-spec + epic]
|
|
51
|
+
START -->|Dashboard, multiple features| L2[Level 2<br/>PRD + optional arch]
|
|
52
|
+
START -->|Platform, complex integration| L3[Level 3<br/>PRD + architecture]
|
|
53
|
+
START -->|Enterprise, multi-tenant| L4[Level 4<br/>Full methodology]
|
|
54
|
+
|
|
55
|
+
style L0 fill:#bfb,stroke:#333,stroke-width:2px
|
|
56
|
+
style L1 fill:#bbf,stroke:#333,stroke-width:2px
|
|
57
|
+
style L2 fill:#ffb,stroke:#333,stroke-width:2px
|
|
58
|
+
style L3 fill:#fbf,stroke:#333,stroke-width:2px
|
|
59
|
+
style L4 fill:#f9f,stroke:#333,stroke-width:2px
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Quick Keywords
|
|
63
|
+
|
|
64
|
+
- **Level 0:** fix, bug, typo, small change, patch
|
|
65
|
+
- **Level 1:** simple, basic, small feature, add, minor
|
|
66
|
+
- **Level 2:** dashboard, several features, admin panel, medium
|
|
67
|
+
- **Level 3:** platform, integration, complex, system, architecture
|
|
68
|
+
- **Level 4:** enterprise, multi-tenant, multiple products, ecosystem, scale
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## How Level Detection Works
|
|
73
|
+
|
|
74
|
+
When you run `workflow-init`, it analyzes your project using three methods:
|
|
75
|
+
|
|
76
|
+
### 1. Keyword Analysis
|
|
77
|
+
|
|
78
|
+
Scans your description for level-specific keywords (see Quick Keywords above).
|
|
79
|
+
|
|
80
|
+
### 2. Story Count Estimation
|
|
81
|
+
|
|
82
|
+
Asks about expected scope and matches to ranges:
|
|
83
|
+
|
|
84
|
+
| Stories | Suggested Level |
|
|
85
|
+
| ------- | --------------- |
|
|
86
|
+
| 1 | Level 0 |
|
|
87
|
+
| 2-10 | Level 1 |
|
|
88
|
+
| 5-15 | Level 2 |
|
|
89
|
+
| 12-40 | Level 3 |
|
|
90
|
+
| 40+ | Level 4 |
|
|
91
|
+
|
|
92
|
+
**Note:** Overlap zones (5-10, 12-15) are intentional - choose based on need for product-level planning.
|
|
93
|
+
|
|
94
|
+
### 3. Complexity Indicators
|
|
95
|
+
|
|
96
|
+
Additional factors:
|
|
97
|
+
|
|
98
|
+
- Multiple teams involved? → Higher level
|
|
99
|
+
- External integrations? → Higher level
|
|
100
|
+
- Compliance requirements? → Higher level
|
|
101
|
+
- Multi-tenant needs? → Level 4
|
|
102
|
+
- Existing system modifications? → Consider brownfield path
|
|
103
|
+
|
|
104
|
+
### Manual Override
|
|
105
|
+
|
|
106
|
+
**You can always override the suggested level.** workflow-init asks for confirmation - if you disagree, just say so and choose the appropriate level. Trust your judgment.
|
|
107
|
+
|
|
108
|
+
**Example:**
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
workflow-init: "Based on your description: Level 3 project. Is that correct?"
|
|
112
|
+
You: "No, this is simpler - Level 2"
|
|
113
|
+
workflow-init: "Got it, creating Level 2 workflow"
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## The Five Levels
|
|
119
|
+
|
|
120
|
+
### Level 0: Single Atomic Change
|
|
121
|
+
|
|
122
|
+
**Definition:** Single-story projects like bug fixes, typos, or small patches.
|
|
123
|
+
|
|
124
|
+
**Story Count:** 1 story
|
|
125
|
+
|
|
126
|
+
**Timeline:** Hours to 1 day
|
|
127
|
+
|
|
128
|
+
**Documentation Requirements:**
|
|
129
|
+
|
|
130
|
+
- **tech-spec.md** - Technical specification with implementation details
|
|
131
|
+
- Single story file
|
|
132
|
+
|
|
133
|
+
**Workflow Path:**
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
(Brownfield: document-project first if needed)
|
|
137
|
+
↓
|
|
138
|
+
Tech-Spec → Implement
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**No Architecture:** Skip entirely
|
|
142
|
+
**No PRD:** Tech-spec serves as complete planning doc
|
|
143
|
+
|
|
144
|
+
**Use For:**
|
|
145
|
+
|
|
146
|
+
- Bug fixes
|
|
147
|
+
- Single file changes
|
|
148
|
+
- Minor configuration updates
|
|
149
|
+
- Small refactors
|
|
150
|
+
- Typo corrections
|
|
151
|
+
|
|
152
|
+
**Example:** "Fix authentication token expiration bug in auth middleware"
|
|
153
|
+
|
|
154
|
+
**Keywords:** fix, bug, typo, small change, quick update, patch
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
### Level 1: Small Feature
|
|
159
|
+
|
|
160
|
+
**Definition:** Small coherent features with 2-10 related stories.
|
|
161
|
+
|
|
162
|
+
**Story Count:** 1-10 stories (typically 2-5)
|
|
163
|
+
|
|
164
|
+
**Timeline:** 1-3 days
|
|
165
|
+
|
|
166
|
+
**Documentation Requirements:**
|
|
167
|
+
|
|
168
|
+
- **tech-spec.md** - Technical specification with epic breakdown
|
|
169
|
+
- **Epic organization** - Stories grouped by epic
|
|
170
|
+
- 2-10 story files
|
|
171
|
+
|
|
172
|
+
**Workflow Path:**
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
(Brownfield: document-project first if needed)
|
|
176
|
+
↓
|
|
177
|
+
Tech-Spec + Epic → (Optional) UX Design → Implement
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**No Architecture:** Skip entirely
|
|
181
|
+
**No PRD:** Tech-spec with epic is sufficient
|
|
182
|
+
|
|
183
|
+
**Use For:**
|
|
184
|
+
|
|
185
|
+
- Single module additions
|
|
186
|
+
- Small UI enhancements
|
|
187
|
+
- Isolated feature additions
|
|
188
|
+
- API endpoint additions (OAuth, forgot password, search)
|
|
189
|
+
|
|
190
|
+
**Example:** "Add OAuth social login (Google, GitHub, Facebook)"
|
|
191
|
+
|
|
192
|
+
**UX Note:** Tech-spec can include UX considerations inline, or run separate UX Design workflow if UI is complex.
|
|
193
|
+
|
|
194
|
+
**Keywords:** simple, basic, small feature, add, minor
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
### Level 2: Medium Project
|
|
199
|
+
|
|
200
|
+
**Definition:** Multiple related features across 1-3 epics.
|
|
201
|
+
|
|
202
|
+
**Story Count:** 5-15 stories
|
|
203
|
+
|
|
204
|
+
**Timeline:** 1-2 weeks
|
|
205
|
+
|
|
206
|
+
**Documentation Requirements:**
|
|
207
|
+
|
|
208
|
+
- **PRD.md** - Product requirements document
|
|
209
|
+
- **epics.md** - Epic breakdown with stories
|
|
210
|
+
- **tech-spec.md** (optional) - Or use epic-tech-specs during implementation
|
|
211
|
+
- **architecture.md** (optional) - Only if system design needed
|
|
212
|
+
|
|
213
|
+
**Workflow Path:**
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
(Brownfield: document-project first if needed)
|
|
217
|
+
↓
|
|
218
|
+
Analysis (recommended) → PRD + Epics → (Optional) UX Design → (Optional) Architecture → Implement
|
|
219
|
+
↓
|
|
220
|
+
Epic-tech-spec per epic (recommended)
|
|
221
|
+
↓
|
|
222
|
+
Retrospective after each epic (if >1 epic)
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Architecture:** Optional - only if system design needed
|
|
226
|
+
**Epic-Tech-Specs:** Recommended during implementation
|
|
227
|
+
|
|
228
|
+
**Use For:**
|
|
229
|
+
|
|
230
|
+
- Multiple related features
|
|
231
|
+
- Cross-module enhancements
|
|
232
|
+
- Admin dashboards
|
|
233
|
+
- Customer portals
|
|
234
|
+
- Reporting systems
|
|
235
|
+
|
|
236
|
+
**Example:** "Add user dashboard with analytics, preferences, and activity history"
|
|
237
|
+
|
|
238
|
+
**Level 2 Decision:** Choose Level 2 over Level 1 when you need product-level planning, have multiple epics, or require stakeholder alignment.
|
|
239
|
+
|
|
240
|
+
**Keywords:** dashboard, several features, admin panel, medium
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
### Level 3: Complex Integration
|
|
245
|
+
|
|
246
|
+
**Definition:** Complex systems with multiple subsystems and integrations.
|
|
247
|
+
|
|
248
|
+
**Story Count:** 12-40 stories
|
|
249
|
+
|
|
250
|
+
**Timeline:** 3-6 weeks
|
|
251
|
+
|
|
252
|
+
**Documentation Requirements:**
|
|
253
|
+
|
|
254
|
+
- **PRD.md** - Comprehensive product requirements
|
|
255
|
+
- **epics.md** - Detailed epic breakdown
|
|
256
|
+
- **architecture.md** - Required comprehensive system architecture
|
|
257
|
+
- **UX design** (recommended for user-facing systems)
|
|
258
|
+
|
|
259
|
+
**Workflow Path:**
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
(Brownfield: document-project first if needed)
|
|
263
|
+
↓
|
|
264
|
+
Analysis + Research → PRD + Epics → (Recommended) UX Design → Architecture (required) → Gate Check → Implement
|
|
265
|
+
↓
|
|
266
|
+
Epic-tech-spec per epic (recommended)
|
|
267
|
+
↓
|
|
268
|
+
Retrospective after each epic
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**Architecture:** Required - comprehensive system design
|
|
272
|
+
**Gate Check:** Required - validate cohesion before implementation
|
|
273
|
+
**Epic-Tech-Specs:** Highly recommended
|
|
274
|
+
|
|
275
|
+
**Use For:**
|
|
276
|
+
|
|
277
|
+
- Major feature additions
|
|
278
|
+
- Architectural integrations
|
|
279
|
+
- Multi-system changes
|
|
280
|
+
- E-commerce platforms
|
|
281
|
+
- SaaS products
|
|
282
|
+
- Multi-module systems
|
|
283
|
+
|
|
284
|
+
**Example:** "Adding real-time collaboration features to existing document editor"
|
|
285
|
+
|
|
286
|
+
**Critical for Level 3:**
|
|
287
|
+
|
|
288
|
+
- Architecture review before planning
|
|
289
|
+
- Integration strategy document
|
|
290
|
+
- Backward compatibility planning
|
|
291
|
+
- Phased rollout consideration
|
|
292
|
+
|
|
293
|
+
**Keywords:** platform, integration, complex, system, architecture
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
### Level 4: Enterprise Scale
|
|
298
|
+
|
|
299
|
+
**Definition:** Enterprise-scale projects across multiple products or major platform expansions.
|
|
300
|
+
|
|
301
|
+
**Story Count:** 40+ stories
|
|
302
|
+
|
|
303
|
+
**Timeline:** 3-6 months
|
|
304
|
+
|
|
305
|
+
**Documentation Requirements:**
|
|
306
|
+
|
|
307
|
+
- **Product brief** - Strategic planning document
|
|
308
|
+
- **PRD.md** - Comprehensive product requirements
|
|
309
|
+
- **epics.md** - Detailed epic breakdown
|
|
310
|
+
- **architecture.md** - Required enterprise-grade architecture
|
|
311
|
+
- **UX design** (recommended) - Design system and patterns
|
|
312
|
+
|
|
313
|
+
**Workflow Path:**
|
|
314
|
+
|
|
315
|
+
```
|
|
316
|
+
(Brownfield: document-project first - nearly mandatory)
|
|
317
|
+
↓
|
|
318
|
+
Analysis + Research → PRD + Epics → UX Design → Enterprise Architecture → Gate Check → Implement
|
|
319
|
+
↓
|
|
320
|
+
Epic-tech-spec per epic (recommended)
|
|
321
|
+
↓
|
|
322
|
+
Additional design docs for complex subsystems
|
|
323
|
+
↓
|
|
324
|
+
Retrospective after each epic
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Architecture:** Required - enterprise-grade system design including:
|
|
328
|
+
|
|
329
|
+
- Multi-tenancy design
|
|
330
|
+
- Security architecture
|
|
331
|
+
- Scalability planning
|
|
332
|
+
- Integration architecture
|
|
333
|
+
- Data architecture
|
|
334
|
+
- Deployment architecture
|
|
335
|
+
|
|
336
|
+
**Gate Checks:** Required - multiple validation gates
|
|
337
|
+
**Additional Design Documents:** Created during implementation as needed
|
|
338
|
+
|
|
339
|
+
**Use For:**
|
|
340
|
+
|
|
341
|
+
- Platform expansions
|
|
342
|
+
- Multi-team initiatives
|
|
343
|
+
- System-wide modernization
|
|
344
|
+
- Multi-tenant systems
|
|
345
|
+
- Product ecosystems
|
|
346
|
+
- Enterprise platforms
|
|
347
|
+
|
|
348
|
+
**Example:** "Adding multi-tenancy to existing single-tenant SaaS platform"
|
|
349
|
+
|
|
350
|
+
**Critical for Enterprise:**
|
|
351
|
+
|
|
352
|
+
- Documentation phase nearly mandatory
|
|
353
|
+
- Analysis phase (research, product brief) required
|
|
354
|
+
- Full architecture review before planning
|
|
355
|
+
- Extensive integration testing strategy
|
|
356
|
+
- Risk assessment and mitigation planning
|
|
357
|
+
- Cross-team coordination
|
|
358
|
+
- Feature flag implementation
|
|
359
|
+
- Migration strategy for existing data/users
|
|
360
|
+
|
|
361
|
+
**Keywords:** enterprise, multi-tenant, multiple products, ecosystem, scale
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## Planning Documents by Level
|
|
366
|
+
|
|
367
|
+
### Understanding Document Types
|
|
368
|
+
|
|
369
|
+
```mermaid
|
|
370
|
+
flowchart TD
|
|
371
|
+
LEVEL{What Level?}
|
|
372
|
+
|
|
373
|
+
LEVEL -->|0-1| TS[tech-spec<br/>Created upfront<br/>Only planning doc]
|
|
374
|
+
LEVEL -->|2-4| PRD[PRD<br/>Created upfront<br/>Product planning]
|
|
375
|
+
|
|
376
|
+
PRD --> ARCH{Architecture<br/>needed?}
|
|
377
|
+
ARCH -->|Yes<br/>Level 3-4| ARCHD[architecture.md<br/>Created upfront<br/>System design]
|
|
378
|
+
ARCH -->|Optional<br/>Level 2| MAYBE[Maybe architecture<br/>if system design needed]
|
|
379
|
+
|
|
380
|
+
TS --> IMPL1[Implementation]
|
|
381
|
+
ARCHD --> IMPL2[Implementation]
|
|
382
|
+
MAYBE --> IMPL2
|
|
383
|
+
|
|
384
|
+
IMPL2 --> ETS[epic-tech-spec<br/>Created just-in-time<br/>Per epic during Phase 4]
|
|
385
|
+
|
|
386
|
+
style TS fill:#bfb,stroke:#333,stroke-width:2px
|
|
387
|
+
style PRD fill:#bbf,stroke:#333,stroke-width:2px
|
|
388
|
+
style ARCHD fill:#ffb,stroke:#333,stroke-width:2px
|
|
389
|
+
style ETS fill:#fbf,stroke:#333,stroke-width:2px
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Tech-Spec (Level 0-1)
|
|
393
|
+
|
|
394
|
+
**Created:** Upfront in Planning Phase (Phase 2)
|
|
395
|
+
**Serves as:** Primary and only planning document
|
|
396
|
+
|
|
397
|
+
**Contains:**
|
|
398
|
+
|
|
399
|
+
- Problem statement and solution
|
|
400
|
+
- Source tree changes (specific files)
|
|
401
|
+
- Technical implementation details
|
|
402
|
+
- Detected stack and conventions (brownfield)
|
|
403
|
+
- UX/UI considerations (if user-facing)
|
|
404
|
+
- Testing strategy
|
|
405
|
+
- Developer resources
|
|
406
|
+
|
|
407
|
+
**When Used:** Replaces PRD + Architecture for small projects
|
|
408
|
+
|
|
409
|
+
### PRD (Level 2-4)
|
|
410
|
+
|
|
411
|
+
**Created:** Upfront in Planning Phase (Phase 2)
|
|
412
|
+
**Serves as:** Product-level planning document
|
|
413
|
+
|
|
414
|
+
**Contains:**
|
|
415
|
+
|
|
416
|
+
- Product vision and goals
|
|
417
|
+
- Feature requirements
|
|
418
|
+
- Epic breakdown with stories
|
|
419
|
+
- Success criteria
|
|
420
|
+
- User experience considerations
|
|
421
|
+
- Business context
|
|
422
|
+
|
|
423
|
+
**Complements:** Architecture document (system design)
|
|
424
|
+
|
|
425
|
+
### Architecture Document (Level 2-4)
|
|
426
|
+
|
|
427
|
+
**Created:** Upfront in Solutioning Phase (Phase 3)
|
|
428
|
+
**Serves as:** System-level design document
|
|
429
|
+
|
|
430
|
+
**Scale-Adaptive Complexity:**
|
|
431
|
+
|
|
432
|
+
- **Level 2:** Optional, lightweight if needed
|
|
433
|
+
- **Level 3:** Required, comprehensive
|
|
434
|
+
- **Level 4:** Required, enterprise-grade
|
|
435
|
+
|
|
436
|
+
**Contains:**
|
|
437
|
+
|
|
438
|
+
- System components and responsibilities
|
|
439
|
+
- Data models and schemas
|
|
440
|
+
- Integration patterns
|
|
441
|
+
- Security architecture
|
|
442
|
+
- Performance considerations
|
|
443
|
+
- Deployment architecture
|
|
444
|
+
|
|
445
|
+
**Note:** Takes the place of tech-spec for system-level planning in Level 2-4 projects.
|
|
446
|
+
|
|
447
|
+
### Epic-Tech-Spec (Level 2-4)
|
|
448
|
+
|
|
449
|
+
**Created:** Just-in-time during Implementation Phase (Phase 4)
|
|
450
|
+
**Serves as:** Epic-specific implementation guide
|
|
451
|
+
|
|
452
|
+
**Contains:**
|
|
453
|
+
|
|
454
|
+
- Epic-specific technical details
|
|
455
|
+
- Detailed implementation approach for this epic
|
|
456
|
+
- Code-level design decisions
|
|
457
|
+
- Epic-scoped testing strategy
|
|
458
|
+
- Integration points with other epics
|
|
459
|
+
|
|
460
|
+
**Key Difference from Tech-Spec:**
|
|
461
|
+
|
|
462
|
+
- **Tech-spec (0-1):** Created upfront, primary planning doc
|
|
463
|
+
- **Epic-tech-spec (2-4):** Created during implementation, supplements PRD + Architecture
|
|
464
|
+
|
|
465
|
+
**Why Just-In-Time?**
|
|
466
|
+
|
|
467
|
+
- Implementation learnings inform later epic-tech-specs
|
|
468
|
+
- Avoids over-planning details that may change
|
|
469
|
+
- Keeps specs fresh and relevant
|
|
470
|
+
- Retrospectives provide input for next epic-tech-spec
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
## Workflow Comparison
|
|
475
|
+
|
|
476
|
+
| Level | Analysis | Planning | Architecture | Epic-Tech-Specs | Stories | Retrospectives |
|
|
477
|
+
| ----- | ----------- | ---------------- | ------------ | --------------- | ------- | ----------------------- |
|
|
478
|
+
| **0** | Optional | Tech-spec | None | N/A | 1 | N/A |
|
|
479
|
+
| **1** | Optional | Tech-spec + Epic | None | N/A | 2-10 | N/A |
|
|
480
|
+
| **2** | Recommended | PRD | Optional | Recommended | 5-15 | After each epic (if >1) |
|
|
481
|
+
| **3** | Required | PRD | Required | Recommended | 12-40 | After each epic |
|
|
482
|
+
| **4** | Required | PRD | Required | Recommended | 40+ | After each epic |
|
|
483
|
+
|
|
484
|
+
---
|
|
485
|
+
|
|
486
|
+
## Brownfield Projects
|
|
487
|
+
|
|
488
|
+
### Critical First Step
|
|
489
|
+
|
|
490
|
+
🚨 **For ALL brownfield projects (Level 0-4): Run document-project BEFORE planning workflows**
|
|
491
|
+
|
|
492
|
+
### Why document-project is Critical
|
|
493
|
+
|
|
494
|
+
- **Tech-spec workflow** (Level 0-1) uses this for auto-detection
|
|
495
|
+
- **PRD workflow** (Level 2-4) references existing code
|
|
496
|
+
- **Architecture workflow** (Level 3-4) builds on existing structure
|
|
497
|
+
- **Epic-tech-specs** reference existing implementations
|
|
498
|
+
|
|
499
|
+
### Brownfield Workflow Pattern
|
|
500
|
+
|
|
501
|
+
```mermaid
|
|
502
|
+
flowchart TD
|
|
503
|
+
START([Brownfield Project])
|
|
504
|
+
CHECK{Has docs/<br/>index.md?}
|
|
505
|
+
|
|
506
|
+
START --> CHECK
|
|
507
|
+
CHECK -->|No| DOC[document-project workflow<br/>Creates comprehensive docs]
|
|
508
|
+
CHECK -->|Yes| PLAN[Continue to Planning]
|
|
509
|
+
|
|
510
|
+
DOC --> PLAN
|
|
511
|
+
PLAN --> IMPL[Implementation]
|
|
512
|
+
|
|
513
|
+
style START fill:#f9f,stroke:#333,stroke-width:2px
|
|
514
|
+
style DOC fill:#ffb,stroke:#333,stroke-width:2px
|
|
515
|
+
style PLAN fill:#bfb,stroke:#333,stroke-width:2px
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
**Three Options:**
|
|
519
|
+
|
|
520
|
+
1. **No documentation:** Run document-project workflow (10-30 min)
|
|
521
|
+
2. **Has docs, no index.md:** Run index-docs task (2-5 min)
|
|
522
|
+
3. **Complete documentation:** Skip to planning
|
|
523
|
+
|
|
524
|
+
**For complete brownfield guidance:** See [Brownfield Development Guide](./brownfield-guide.md)
|
|
525
|
+
|
|
526
|
+
---
|
|
527
|
+
|
|
528
|
+
## Common Scenarios
|
|
529
|
+
|
|
530
|
+
### Scenario 1: Bug Fix (Level 0)
|
|
531
|
+
|
|
532
|
+
**Input:** "Fix email validation bug in login form"
|
|
533
|
+
|
|
534
|
+
**Detection:**
|
|
535
|
+
|
|
536
|
+
- Keywords: "fix", "bug"
|
|
537
|
+
- Estimated stories: 1
|
|
538
|
+
|
|
539
|
+
**Result:** Level 0 → Tech-spec only
|
|
540
|
+
|
|
541
|
+
**Workflow:**
|
|
542
|
+
|
|
543
|
+
1. (Optional) Brief analysis
|
|
544
|
+
2. Tech-spec with single story
|
|
545
|
+
3. Implement immediately
|
|
546
|
+
|
|
547
|
+
**Time:** ~2-4 hours total
|
|
548
|
+
|
|
549
|
+
---
|
|
550
|
+
|
|
551
|
+
### Scenario 2: Small Feature (Level 1)
|
|
552
|
+
|
|
553
|
+
**Input:** "Add OAuth social login (Google, GitHub, Facebook)"
|
|
554
|
+
|
|
555
|
+
**Detection:**
|
|
556
|
+
|
|
557
|
+
- Keywords: "add", "feature"
|
|
558
|
+
- Estimated stories: 2-3
|
|
559
|
+
|
|
560
|
+
**Result:** Level 1 → Tech-spec with epic
|
|
561
|
+
|
|
562
|
+
**Workflow:**
|
|
563
|
+
|
|
564
|
+
1. (Optional) Research OAuth providers
|
|
565
|
+
2. Tech-spec with epic + 3 stories
|
|
566
|
+
3. (Optional) UX Design if UI is complex
|
|
567
|
+
4. Implement story-by-story
|
|
568
|
+
|
|
569
|
+
**Time:** 1-3 days
|
|
570
|
+
|
|
571
|
+
---
|
|
572
|
+
|
|
573
|
+
### Scenario 3: Customer Portal (Level 2)
|
|
574
|
+
|
|
575
|
+
**Input:** "Build customer portal with dashboard, tickets, billing"
|
|
576
|
+
|
|
577
|
+
**Detection:**
|
|
578
|
+
|
|
579
|
+
- Keywords: "portal", "dashboard"
|
|
580
|
+
- Estimated stories: 10-12
|
|
581
|
+
|
|
582
|
+
**Result:** Level 2 → PRD + optional architecture
|
|
583
|
+
|
|
584
|
+
**Workflow:**
|
|
585
|
+
|
|
586
|
+
1. Product Brief (recommended)
|
|
587
|
+
2. PRD with epics
|
|
588
|
+
3. (Optional) UX Design
|
|
589
|
+
4. (Optional) Architecture if system design needed
|
|
590
|
+
5. Implement with sprint planning
|
|
591
|
+
6. Create epic-tech-spec for each epic as you implement
|
|
592
|
+
7. Run retrospective after each epic
|
|
593
|
+
|
|
594
|
+
**Time:** 1-2 weeks
|
|
595
|
+
|
|
596
|
+
---
|
|
597
|
+
|
|
598
|
+
### Scenario 4: E-commerce Platform (Level 3)
|
|
599
|
+
|
|
600
|
+
**Input:** "Build full e-commerce platform with products, cart, checkout, admin, analytics"
|
|
601
|
+
|
|
602
|
+
**Detection:**
|
|
603
|
+
|
|
604
|
+
- Keywords: "platform", "full"
|
|
605
|
+
- Estimated stories: 30-35
|
|
606
|
+
|
|
607
|
+
**Result:** Level 3 → PRD + Architecture required
|
|
608
|
+
|
|
609
|
+
**Workflow:**
|
|
610
|
+
|
|
611
|
+
1. Research + Product Brief
|
|
612
|
+
2. Comprehensive PRD
|
|
613
|
+
3. UX Design (recommended)
|
|
614
|
+
4. System Architecture (required)
|
|
615
|
+
5. Gate check
|
|
616
|
+
6. Implement with phased approach
|
|
617
|
+
7. Create epic-tech-spec per epic before implementing
|
|
618
|
+
8. Run retrospective after each epic
|
|
619
|
+
9. Create additional design docs as needed for complex subsystems
|
|
620
|
+
|
|
621
|
+
**Time:** 3-6 weeks
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
### Scenario 5: Adding Feature to Existing App (Brownfield Level 1)
|
|
626
|
+
|
|
627
|
+
**Input:** "Add search functionality to existing product catalog"
|
|
628
|
+
|
|
629
|
+
**Detection:**
|
|
630
|
+
|
|
631
|
+
- Keywords: "add", "existing"
|
|
632
|
+
- Estimated stories: 3-4
|
|
633
|
+
- Field type: Brownfield
|
|
634
|
+
|
|
635
|
+
**Result:** Level 1 Brownfield
|
|
636
|
+
|
|
637
|
+
**Critical First Step:**
|
|
638
|
+
|
|
639
|
+
1. **Run document-project** to analyze existing codebase
|
|
640
|
+
|
|
641
|
+
**Then Workflow:** 2. Tech-spec (uses document-project output for analysis) 3. Auto-detects existing patterns 4. Confirms conventions 5. Implement following existing patterns
|
|
642
|
+
|
|
643
|
+
**Time:** 1-3 days (including documentation)
|
|
644
|
+
|
|
645
|
+
---
|
|
646
|
+
|
|
647
|
+
## Best Practices
|
|
648
|
+
|
|
649
|
+
### 1. Document-Project First for Brownfield
|
|
650
|
+
|
|
651
|
+
Always run document-project before starting any brownfield workflow. Even if you know the code, AI agents need it.
|
|
652
|
+
|
|
653
|
+
### 2. Trust the Detection
|
|
654
|
+
|
|
655
|
+
If workflow-init suggests Level 2, there's probably complexity you haven't considered. Review before overriding.
|
|
656
|
+
|
|
657
|
+
### 3. Start Small, Upgrade Later
|
|
658
|
+
|
|
659
|
+
Uncertain between Level 1 and 2? Start with Level 1. You can always run PRD creation later if needed.
|
|
660
|
+
|
|
661
|
+
### 4. Don't Skip Gate Checks
|
|
662
|
+
|
|
663
|
+
For Level 3-4, gate checks prevent costly mistakes. Invest the time upfront.
|
|
664
|
+
|
|
665
|
+
### 5. Create Epic-Tech-Specs Just-Before-Implementation
|
|
666
|
+
|
|
667
|
+
For Level 2-4, create epic-tech-spec right before implementing each epic. Don't create all upfront.
|
|
668
|
+
|
|
669
|
+
### 6. Run Retrospectives Between Epics
|
|
670
|
+
|
|
671
|
+
Capture learnings after each epic. Feed insights into next epic-tech-spec.
|
|
672
|
+
|
|
673
|
+
### 7. Optional UX for Level 1
|
|
674
|
+
|
|
675
|
+
If your Level 1 feature has complex UI, run separate UX Design. Otherwise, include UX notes in tech-spec.
|
|
676
|
+
|
|
677
|
+
### 8. Architecture Scales
|
|
678
|
+
|
|
679
|
+
Level 2 architecture is lighter than Level 3, which is lighter than Level 4. Don't over-architect.
|
|
680
|
+
|
|
681
|
+
---
|
|
682
|
+
|
|
683
|
+
## Appendix
|
|
684
|
+
|
|
685
|
+
### A. Terminology Quick Reference
|
|
686
|
+
|
|
687
|
+
For complete definitions, see [Glossary](./glossary.md).
|
|
688
|
+
|
|
689
|
+
**Key Terms:**
|
|
690
|
+
|
|
691
|
+
- **Scale-Adaptive:** System that adjusts workflow based on project complexity
|
|
692
|
+
- **Tech-Spec:** Technical specification document (Level 0-1, created upfront)
|
|
693
|
+
- **Epic-Tech-Spec:** Epic technical specification (Level 2-4, created just-in-time)
|
|
694
|
+
- **PRD:** Product Requirements Document
|
|
695
|
+
- **Just-In-Time Design:** Creating epic-tech-specs during implementation, not upfront
|
|
696
|
+
- **Context Injection:** Dynamic guidance via epic-tech-context and story-context workflows
|
|
697
|
+
- **Greenfield:** New project from scratch
|
|
698
|
+
- **Brownfield:** Existing codebase
|
|
699
|
+
|
|
700
|
+
### B. Workflow Path Configuration
|
|
701
|
+
|
|
702
|
+
The v6 system uses modular path definitions stored in YAML configuration files.
|
|
703
|
+
|
|
704
|
+
**Location:** `src/modules/bmm/workflows/workflow-status/paths/`
|
|
705
|
+
|
|
706
|
+
**Files:**
|
|
707
|
+
|
|
708
|
+
- `greenfield-level-0.yaml` through `greenfield-level-4.yaml`
|
|
709
|
+
- `brownfield-level-0.yaml` through `brownfield-level-4.yaml`
|
|
710
|
+
- `game-design.yaml`
|
|
711
|
+
- `project-levels.yaml` (source of truth)
|
|
712
|
+
|
|
713
|
+
Each path file defines:
|
|
714
|
+
|
|
715
|
+
- Required vs optional workflows for each phase
|
|
716
|
+
- Agent assignments
|
|
717
|
+
- Expected outputs
|
|
718
|
+
- Phase progression rules
|
|
719
|
+
|
|
720
|
+
### C. FAQ
|
|
721
|
+
|
|
722
|
+
**Q: What's the difference between tech-spec and epic-tech-spec?**
|
|
723
|
+
A: Tech-spec (Level 0-1) is created upfront and serves as the primary planning doc. Epic-tech-spec (Level 2-4) is created during implementation per epic and supplements PRD + Architecture.
|
|
724
|
+
|
|
725
|
+
**Q: Why no tech-spec at Level 2+?**
|
|
726
|
+
A: Level 2+ needs product-level planning (PRD) and system-level design (Architecture), which tech-spec doesn't provide. Instead, use epic-tech-specs during implementation for detailed technical guidance per epic.
|
|
727
|
+
|
|
728
|
+
**Q: Do I always need Architecture at Level 2?**
|
|
729
|
+
A: No, it's optional. Only create Architecture if you need system-level design. Many Level 2 projects work with just PRD + epic-tech-specs.
|
|
730
|
+
|
|
731
|
+
**Q: Can I change levels mid-project?**
|
|
732
|
+
A: Yes! If you started at Level 1 but realize it's Level 2, run create-prd to add proper planning docs. The system is flexible.
|
|
733
|
+
|
|
734
|
+
For more questions, see [FAQ](./faq.md).
|
|
735
|
+
|
|
736
|
+
---
|
|
737
|
+
|
|
738
|
+
## Related Documentation
|
|
739
|
+
|
|
740
|
+
- **[Quick Start Guide](./quick-start.md)** - Get started with BMM
|
|
741
|
+
- **[Quick Spec Flow](./quick-spec-flow.md)** - Fast-track for Level 0-1
|
|
742
|
+
- **[Brownfield Guide](./brownfield-guide.md)** - Existing codebase workflows
|
|
743
|
+
- **[Glossary](./glossary.md)** - Complete terminology
|
|
744
|
+
- **[FAQ](./faq.md)** - Common questions
|
|
745
|
+
- **[Workflows Guide](../workflows/README.md)** - Complete workflow reference
|
|
746
|
+
|
|
747
|
+
---
|
|
748
|
+
|
|
749
|
+
_Scale Adaptive System - Because one size doesn't fit all._
|