bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.6
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/agents/bmad-analysis/api-documenter.md +102 -0
- package/.claude/agents/bmad-analysis/codebase-analyzer.md +82 -0
- package/.claude/agents/bmad-analysis/data-analyst.md +101 -0
- package/.claude/agents/bmad-analysis/pattern-detector.md +84 -0
- package/.claude/agents/bmad-planning/dependency-mapper.md +83 -0
- package/.claude/agents/bmad-planning/epic-optimizer.md +81 -0
- package/.claude/agents/bmad-planning/requirements-analyst.md +61 -0
- package/.claude/agents/bmad-planning/technical-decisions-curator.md +168 -0
- package/.claude/agents/bmad-planning/trend-spotter.md +115 -0
- package/.claude/agents/bmad-planning/user-journey-mapper.md +123 -0
- package/.claude/agents/bmad-planning/user-researcher.md +72 -0
- package/.claude/agents/bmad-research/market-researcher.md +51 -0
- package/.claude/agents/bmad-research/tech-debt-auditor.md +106 -0
- package/.claude/agents/bmad-review/document-reviewer.md +102 -0
- package/.claude/agents/bmad-review/technical-evaluator.md +68 -0
- package/.claude/agents/bmad-review/test-coverage-analyzer.md +108 -0
- package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
- package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
- package/.claude/commands/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
- package/.claude/commands/bmad/bmm/workflows/README.md +3 -3
- package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/prd.md +1 -1
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +3 -3
- package/.claude/settings.local.json +3 -8
- package/CHANGELOG.md +305 -0
- package/CONTRIBUTING.md +1 -13
- package/README.md +88 -39
- package/bmad/_cfg/agent-manifest.csv +1 -6
- package/bmad/_cfg/files-manifest.csv +40 -114
- package/bmad/_cfg/ides/claude-code.yaml +4 -3
- package/bmad/_cfg/manifest.yaml +3 -4
- package/bmad/_cfg/task-manifest.csv +0 -1
- package/bmad/_cfg/workflow-manifest.csv +3 -7
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmm/README.md +79 -120
- package/bmad/bmm/agents/architect.md +0 -1
- package/bmad/bmm/agents/sm.md +1 -1
- package/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
- package/bmad/bmm/config.yaml +4 -3
- package/bmad/bmm/tasks/daily-standup.xml +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +26 -2
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
- package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
- package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +1 -11
- package/package.json +1 -1
- package/src/core/tasks/workflow.xml +1 -11
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/src/modules/bmm/README.md +1 -1
- package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
- package/src/modules/bmm/agents/architect.agent.yaml +0 -4
- package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
- package/src/modules/bmm/agents/sm.agent.yaml +1 -1
- package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
- package/src/modules/bmm/docs/README.md +19 -18
- package/src/modules/bmm/docs/agents-guide.md +47 -99
- package/src/modules/bmm/docs/brownfield-guide.md +216 -96
- package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
- package/src/modules/bmm/docs/faq.md +16 -16
- package/src/modules/bmm/docs/glossary.md +44 -50
- package/src/modules/bmm/docs/party-mode.md +110 -1122
- package/src/modules/bmm/docs/quick-spec-flow.md +36 -36
- package/src/modules/bmm/docs/quick-start.md +34 -34
- package/src/modules/bmm/docs/scale-adaptive-system.md +304 -454
- package/{bmad/bmm/testarch/README.md → src/modules/bmm/docs/test-architecture.md} +56 -38
- package/src/modules/bmm/docs/troubleshooting.md +7 -7
- package/src/modules/bmm/docs/workflows-analysis.md +64 -28
- package/src/modules/bmm/docs/workflows-implementation.md +196 -1671
- package/src/modules/bmm/docs/workflows-planning.md +74 -35
- package/src/modules/bmm/docs/workflows-solutioning.md +47 -17
- package/src/modules/bmm/tasks/daily-standup.xml +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +25 -2
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
- package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/tools/cli/installers/lib/core/config-collector.js +39 -11
- package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
- package/tools/cli/installers/lib/core/installer.js +20 -9
- package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
- package/tools/cli/installers/lib/core/manifest.js +6 -2
- package/tools/cli/installers/lib/modules/manager.js +6 -0
- package/tools/cli/lib/config.js +3 -1
- package/tools/cli/lib/ui.js +5 -5
- package/tools/cli/lib/yaml-format.js +2 -1
- package/tools/schema/agent.js +2 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
- package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
- package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
- package/bmad/bmm/docs/brownfield-guide.md +0 -1260
- package/bmad/bmm/docs/quick-spec-flow.md +0 -645
- package/bmad/bmm/docs/quick-start.md +0 -341
- package/bmad/bmm/docs/scale-adaptive-system.md +0 -1045
- package/bmad/bmm/tasks/retrospective.xml +0 -104
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
- package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
- package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
- package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
- package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
- package/bmad/bmm/workflows/3-solutioning/architecture/README.md +0 -318
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
- package/bmad/bmm/workflows/4-implementation/README.md +0 -221
- package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
- package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
- package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
- package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
- package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
- package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
- package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
- package/bmad/bmm/workflows/README.md +0 -256
- package/bmad/bmm/workflows/document-project/README.md +0 -444
- package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
- package/bmad/bmm/workflows/testarch/README.md +0 -26
- package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
- package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
- package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
- package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
- package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
- package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
- package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
- package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
- package/bmad/bmm/workflows/workflow-status/README.md +0 -260
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- package/bmad/cis/README.md +0 -153
- package/bmad/cis/agents/README.md +0 -104
- package/bmad/cis/agents/brainstorming-coach.md +0 -62
- package/bmad/cis/agents/creative-problem-solver.md +0 -62
- package/bmad/cis/agents/design-thinking-coach.md +0 -62
- package/bmad/cis/agents/innovation-strategist.md +0 -62
- package/bmad/cis/agents/storyteller.md +0 -59
- package/bmad/cis/config.yaml +0 -10
- package/bmad/cis/teams/creative-squad.yaml +0 -6
- package/bmad/cis/workflows/README.md +0 -139
- package/bmad/cis/workflows/design-thinking/README.md +0 -56
- package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
- package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
- package/bmad/cis/workflows/design-thinking/template.md +0 -111
- package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
- package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
- package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
- package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
- package/bmad/cis/workflows/problem-solving/README.md +0 -56
- package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
- package/bmad/cis/workflows/problem-solving/template.md +0 -165
- package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
- package/bmad/cis/workflows/storytelling/README.md +0 -58
- package/bmad/cis/workflows/storytelling/instructions.md +0 -291
- package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
- package/bmad/cis/workflows/storytelling/template.md +0 -113
- package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
- package/bmad/core/agents/bmad-master.md.bak +0 -69
- package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
- package/src/modules/bmm/docs/workflows-testing.md +0 -1572
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- /package/bmad/_cfg/agents/{bmm-paige.customize.yaml → bmm-tech-writer.customize.yaml} +0 -0
|
@@ -1,417 +1,290 @@
|
|
|
1
1
|
# BMad Method Scale Adaptive System
|
|
2
2
|
|
|
3
|
-
**Automatically adapts workflows to project complexity - from
|
|
3
|
+
**Automatically adapts workflows to project complexity - from quick fixes to enterprise systems**
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
|
9
|
-
The **Scale Adaptive System**
|
|
9
|
+
The **Scale Adaptive System** intelligently routes projects to the right planning methodology based on complexity, not arbitrary story counts.
|
|
10
10
|
|
|
11
|
-
### The Problem
|
|
11
|
+
### The Problem
|
|
12
12
|
|
|
13
13
|
Traditional methodologies apply the same process to every project:
|
|
14
14
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
15
|
+
- Bug fix requires full design docs
|
|
16
|
+
- Enterprise system built with minimal planning
|
|
17
|
+
- One-size-fits-none approach
|
|
18
18
|
|
|
19
19
|
### The Solution
|
|
20
20
|
|
|
21
|
-
BMad Method
|
|
21
|
+
BMad Method adapts to three distinct planning tracks:
|
|
22
22
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
23
|
+
- **Quick Flow**: Tech-spec only, implement immediately
|
|
24
|
+
- **BMad Method**: PRD + Architecture, structured approach
|
|
25
|
+
- **Enterprise Method**: Full planning with security/devops/test
|
|
26
26
|
|
|
27
|
-
**Result
|
|
27
|
+
**Result**: Right planning depth for every project.
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
31
|
## Quick Reference
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### Three Tracks at a Glance
|
|
34
34
|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
| **
|
|
38
|
-
| **
|
|
39
|
-
| **
|
|
40
|
-
| **3** | Complex integration | 12-40 | PRD + architecture | Months |
|
|
41
|
-
| **4** | Enterprise scale | 40+ | Full methodology | Quarters |
|
|
35
|
+
| Track | Planning Depth | Time Investment | Best For |
|
|
36
|
+
| --------------------- | --------------------- | --------------- | ------------------------------------------ |
|
|
37
|
+
| **Quick Flow** | Tech-spec only | Hours to 1 day | Simple features, bug fixes, clear scope |
|
|
38
|
+
| **BMad Method** | PRD + Arch + UX | 1-3 days | Products, platforms, complex features |
|
|
39
|
+
| **Enterprise Method** | Method + Test/Sec/Ops | 3-7 days | Enterprise needs, compliance, multi-tenant |
|
|
42
40
|
|
|
43
|
-
###
|
|
41
|
+
### Decision Tree
|
|
44
42
|
|
|
45
43
|
```mermaid
|
|
46
44
|
flowchart TD
|
|
47
45
|
START{Describe your project}
|
|
48
46
|
|
|
49
|
-
START -->|Bug fix,
|
|
50
|
-
START -->|
|
|
51
|
-
START -->|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
style
|
|
57
|
-
style
|
|
58
|
-
style
|
|
59
|
-
style L4 fill:#f9f,stroke:#333,stroke-width:2px
|
|
47
|
+
START -->|Bug fix, simple feature| Q1{Scope crystal clear?}
|
|
48
|
+
START -->|Product, platform, complex| M[BMad Method<br/>PRD + Architecture]
|
|
49
|
+
START -->|Enterprise, compliance| E[Enterprise Method<br/>Extended Planning]
|
|
50
|
+
|
|
51
|
+
Q1 -->|Yes| QF[Quick Flow<br/>Tech-spec only]
|
|
52
|
+
Q1 -->|Uncertain| M
|
|
53
|
+
|
|
54
|
+
style QF fill:#bfb,stroke:#333,stroke-width:2px
|
|
55
|
+
style M fill:#bbf,stroke:#333,stroke-width:2px
|
|
56
|
+
style E fill:#f9f,stroke:#333,stroke-width:2px
|
|
60
57
|
```
|
|
61
58
|
|
|
62
59
|
### Quick Keywords
|
|
63
60
|
|
|
64
|
-
- **
|
|
65
|
-
- **
|
|
66
|
-
- **
|
|
67
|
-
- **Level 3:** platform, integration, complex, system, architecture
|
|
68
|
-
- **Level 4:** enterprise, multi-tenant, multiple products, ecosystem, scale
|
|
61
|
+
- **Quick Flow**: fix, bug, simple, add, clear scope
|
|
62
|
+
- **BMad Method**: product, platform, dashboard, complex, multiple features
|
|
63
|
+
- **Enterprise Method**: enterprise, multi-tenant, compliance, security, audit
|
|
69
64
|
|
|
70
65
|
---
|
|
71
66
|
|
|
72
|
-
## How
|
|
67
|
+
## How Track Selection Works
|
|
73
68
|
|
|
74
|
-
When you run `workflow-init`, it
|
|
69
|
+
When you run `workflow-init`, it guides you through an educational choice:
|
|
75
70
|
|
|
76
|
-
### 1.
|
|
71
|
+
### 1. Description Analysis
|
|
77
72
|
|
|
78
|
-
|
|
73
|
+
Analyzes your project description for complexity indicators and suggests an appropriate track.
|
|
79
74
|
|
|
80
|
-
### 2.
|
|
75
|
+
### 2. Educational Presentation
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
Shows all three tracks with:
|
|
83
78
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
| 12-40 | Level 3 |
|
|
90
|
-
| 40+ | Level 4 |
|
|
79
|
+
- Time investment
|
|
80
|
+
- Planning approach
|
|
81
|
+
- Benefits and trade-offs
|
|
82
|
+
- AI agent support level
|
|
83
|
+
- Concrete examples
|
|
91
84
|
|
|
92
|
-
|
|
85
|
+
### 3. Honest Recommendation
|
|
93
86
|
|
|
94
|
-
|
|
87
|
+
Provides tailored recommendation based on:
|
|
95
88
|
|
|
96
|
-
|
|
89
|
+
- Complexity keywords
|
|
90
|
+
- Greenfield vs brownfield
|
|
91
|
+
- User's description
|
|
97
92
|
|
|
98
|
-
|
|
99
|
-
- External integrations? → Higher level
|
|
100
|
-
- Compliance requirements? → Higher level
|
|
101
|
-
- Multi-tenant needs? → Level 4
|
|
102
|
-
- Existing system modifications? → Consider brownfield path
|
|
93
|
+
### 4. User Choice
|
|
103
94
|
|
|
104
|
-
|
|
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.
|
|
95
|
+
You choose the track that fits your situation. The system guides but never forces.
|
|
107
96
|
|
|
108
97
|
**Example:**
|
|
109
98
|
|
|
110
99
|
```
|
|
111
|
-
workflow-init: "Based on
|
|
112
|
-
|
|
113
|
-
|
|
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
|
|
100
|
+
workflow-init: "Based on 'Add user dashboard with analytics', I recommend BMad Method.
|
|
101
|
+
This involves multiple features and system design. The PRD + Architecture
|
|
102
|
+
gives AI agents complete context for better code generation."
|
|
132
103
|
|
|
133
|
-
|
|
104
|
+
You: "Actually, this is simpler than it sounds. Quick Flow."
|
|
134
105
|
|
|
106
|
+
workflow-init: "Got it! Using Quick Flow with tech-spec."
|
|
135
107
|
```
|
|
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
108
|
|
|
156
109
|
---
|
|
157
110
|
|
|
158
|
-
|
|
111
|
+
## The Three Tracks
|
|
159
112
|
|
|
160
|
-
|
|
113
|
+
### Track 1: Quick Flow
|
|
161
114
|
|
|
162
|
-
**
|
|
115
|
+
**Definition**: Fast implementation with tech-spec planning.
|
|
163
116
|
|
|
164
|
-
**
|
|
117
|
+
**Time**: Hours to 1 day of planning
|
|
165
118
|
|
|
166
|
-
**
|
|
119
|
+
**Planning Docs**:
|
|
167
120
|
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
- 2-10 story files
|
|
121
|
+
- Tech-spec.md (implementation-focused)
|
|
122
|
+
- Story files (1-15 typically, auto-detects epic structure)
|
|
171
123
|
|
|
172
|
-
**Workflow Path
|
|
124
|
+
**Workflow Path**:
|
|
173
125
|
|
|
174
126
|
```
|
|
175
127
|
(Brownfield: document-project first if needed)
|
|
176
128
|
↓
|
|
177
|
-
Tech-Spec
|
|
129
|
+
Tech-Spec → Implement
|
|
178
130
|
```
|
|
179
131
|
|
|
180
|
-
**
|
|
181
|
-
**No PRD:** Tech-spec with epic is sufficient
|
|
132
|
+
**Use For**:
|
|
182
133
|
|
|
183
|
-
|
|
134
|
+
- Bug fixes
|
|
135
|
+
- Simple features
|
|
136
|
+
- Enhancements with clear scope
|
|
137
|
+
- Quick additions
|
|
184
138
|
|
|
185
|
-
-
|
|
186
|
-
- Small UI enhancements
|
|
187
|
-
- Isolated feature additions
|
|
188
|
-
- API endpoint additions (OAuth, forgot password, search)
|
|
139
|
+
**Story Count**: Typically 1-15 stories (guidance, not rule)
|
|
189
140
|
|
|
190
|
-
**Example
|
|
141
|
+
**Example**: "Fix authentication token expiration bug"
|
|
191
142
|
|
|
192
|
-
**
|
|
143
|
+
**AI Agent Support**: Basic - minimal context provided
|
|
193
144
|
|
|
194
|
-
**
|
|
145
|
+
**Trade-off**: Less planning = higher rework risk if complexity emerges
|
|
195
146
|
|
|
196
147
|
---
|
|
197
148
|
|
|
198
|
-
###
|
|
149
|
+
### Track 2: BMad Method (RECOMMENDED)
|
|
199
150
|
|
|
200
|
-
**Definition
|
|
151
|
+
**Definition**: Full product + system design planning.
|
|
201
152
|
|
|
202
|
-
**
|
|
153
|
+
**Time**: 1-3 days of planning
|
|
203
154
|
|
|
204
|
-
**
|
|
155
|
+
**Planning Docs**:
|
|
205
156
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
-
|
|
209
|
-
-
|
|
210
|
-
- **tech-spec.md** (optional) - Or use epic-tech-specs during implementation
|
|
211
|
-
- **architecture.md** (optional) - Only if system design needed
|
|
157
|
+
- PRD.md (product requirements)
|
|
158
|
+
- Architecture.md (system design)
|
|
159
|
+
- UX Design (if UI components)
|
|
160
|
+
- Epic breakdown with stories
|
|
212
161
|
|
|
213
|
-
**Workflow Path
|
|
162
|
+
**Workflow Path**:
|
|
214
163
|
|
|
215
164
|
```
|
|
216
165
|
(Brownfield: document-project first if needed)
|
|
217
166
|
↓
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
↓
|
|
222
|
-
Retrospective after each epic (if >1 epic)
|
|
167
|
+
(Optional: Analysis phase - brainstorm, research, product brief)
|
|
168
|
+
↓
|
|
169
|
+
PRD → (Optional UX) → Architecture → Gate Check → Implement
|
|
223
170
|
```
|
|
224
171
|
|
|
225
|
-
**
|
|
226
|
-
**Epic-Tech-Specs:** Recommended during implementation
|
|
227
|
-
|
|
228
|
-
**Use For:**
|
|
172
|
+
**Use For**:
|
|
229
173
|
|
|
230
|
-
|
|
231
|
-
- Cross-module enhancements
|
|
232
|
-
- Admin dashboards
|
|
233
|
-
- Customer portals
|
|
234
|
-
- Reporting systems
|
|
174
|
+
**Greenfield**:
|
|
235
175
|
|
|
236
|
-
|
|
176
|
+
- Products
|
|
177
|
+
- Platforms
|
|
178
|
+
- Multi-feature initiatives
|
|
237
179
|
|
|
238
|
-
**
|
|
239
|
-
|
|
240
|
-
**Keywords:** dashboard, several features, admin panel, medium
|
|
241
|
-
|
|
242
|
-
---
|
|
180
|
+
**Brownfield**:
|
|
243
181
|
|
|
244
|
-
|
|
182
|
+
- Complex additions (new UIs + APIs)
|
|
183
|
+
- Major refactors
|
|
184
|
+
- New modules
|
|
245
185
|
|
|
246
|
-
**
|
|
186
|
+
**Story Count**: Typically 10-50+ stories (guidance, not rule)
|
|
247
187
|
|
|
248
|
-
**
|
|
188
|
+
**Examples**:
|
|
249
189
|
|
|
250
|
-
|
|
190
|
+
- "User dashboard with analytics and preferences"
|
|
191
|
+
- "Add real-time collaboration to existing document editor"
|
|
192
|
+
- "Payment integration system"
|
|
251
193
|
|
|
252
|
-
**
|
|
194
|
+
**AI Agent Support**: Exceptional - complete context for coding partnership
|
|
253
195
|
|
|
254
|
-
|
|
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
|
-
```
|
|
196
|
+
**Why Architecture for Brownfield?**
|
|
270
197
|
|
|
271
|
-
|
|
272
|
-
**Gate Check:** Required - validate cohesion before implementation
|
|
273
|
-
**Epic-Tech-Specs:** Highly recommended
|
|
198
|
+
Your brownfield documentation might be huge. Architecture workflow distills massive codebase context into a focused solution design specific to YOUR project. This keeps AI agents focused without getting lost in existing code.
|
|
274
199
|
|
|
275
|
-
**
|
|
200
|
+
**Benefits**:
|
|
276
201
|
|
|
277
|
-
-
|
|
278
|
-
-
|
|
279
|
-
-
|
|
280
|
-
-
|
|
281
|
-
-
|
|
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
|
|
202
|
+
- Complete AI agent context
|
|
203
|
+
- Prevents architectural drift
|
|
204
|
+
- Fewer surprises during implementation
|
|
205
|
+
- Better code quality
|
|
206
|
+
- Faster overall delivery (planning pays off)
|
|
294
207
|
|
|
295
208
|
---
|
|
296
209
|
|
|
297
|
-
###
|
|
298
|
-
|
|
299
|
-
**Definition:** Enterprise-scale projects across multiple products or major platform expansions.
|
|
210
|
+
### Track 3: Enterprise Method
|
|
300
211
|
|
|
301
|
-
**
|
|
212
|
+
**Definition**: Extended planning with security, devops, and test strategy.
|
|
302
213
|
|
|
303
|
-
**
|
|
214
|
+
**Time**: 3-7 days of planning
|
|
304
215
|
|
|
305
|
-
**
|
|
216
|
+
**Planning Docs**:
|
|
306
217
|
|
|
307
|
-
-
|
|
308
|
-
-
|
|
309
|
-
-
|
|
310
|
-
-
|
|
311
|
-
-
|
|
218
|
+
- All BMad Method docs PLUS:
|
|
219
|
+
- Security Architecture
|
|
220
|
+
- DevOps Strategy
|
|
221
|
+
- Test Strategy
|
|
222
|
+
- Compliance documentation
|
|
312
223
|
|
|
313
|
-
**Workflow Path
|
|
224
|
+
**Workflow Path**:
|
|
314
225
|
|
|
315
226
|
```
|
|
316
|
-
(Brownfield: document-project
|
|
227
|
+
(Brownfield: document-project nearly mandatory)
|
|
228
|
+
↓
|
|
229
|
+
Analysis (recommended/required) → PRD → UX → Architecture
|
|
317
230
|
↓
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
↓
|
|
322
|
-
Additional design docs for complex subsystems
|
|
323
|
-
↓
|
|
324
|
-
Retrospective after each epic
|
|
231
|
+
Security Architecture → DevOps Strategy → Test Strategy
|
|
232
|
+
↓
|
|
233
|
+
Gate Check → Implement
|
|
325
234
|
```
|
|
326
235
|
|
|
327
|
-
**
|
|
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
|
|
236
|
+
**Use For**:
|
|
338
237
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
- Platform expansions
|
|
342
|
-
- Multi-team initiatives
|
|
343
|
-
- System-wide modernization
|
|
238
|
+
- Enterprise requirements
|
|
344
239
|
- Multi-tenant systems
|
|
345
|
-
-
|
|
346
|
-
-
|
|
347
|
-
|
|
348
|
-
**Example:** "Adding multi-tenancy to existing single-tenant SaaS platform"
|
|
240
|
+
- Compliance needs (HIPAA, SOC2, etc.)
|
|
241
|
+
- Mission-critical systems
|
|
242
|
+
- Security-sensitive applications
|
|
349
243
|
|
|
350
|
-
**
|
|
244
|
+
**Story Count**: Typically 30+ stories (but defined by enterprise needs, not count)
|
|
351
245
|
|
|
352
|
-
|
|
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
|
|
246
|
+
**Examples**:
|
|
360
247
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
248
|
+
- "Multi-tenant SaaS platform"
|
|
249
|
+
- "HIPAA-compliant patient portal"
|
|
250
|
+
- "Add SOC2 audit logging to enterprise app"
|
|
364
251
|
|
|
365
|
-
|
|
252
|
+
**AI Agent Support**: Elite - comprehensive enterprise planning
|
|
366
253
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
```mermaid
|
|
370
|
-
flowchart TD
|
|
371
|
-
LEVEL{What Level?}
|
|
254
|
+
**Critical for Enterprise**:
|
|
372
255
|
|
|
373
|
-
|
|
374
|
-
|
|
256
|
+
- Security architecture and threat modeling
|
|
257
|
+
- DevOps pipeline planning
|
|
258
|
+
- Comprehensive test strategy
|
|
259
|
+
- Risk assessment
|
|
260
|
+
- Compliance mapping
|
|
375
261
|
|
|
376
|
-
|
|
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]
|
|
262
|
+
---
|
|
385
263
|
|
|
386
|
-
|
|
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
|
-
```
|
|
264
|
+
## Planning Documents by Track
|
|
391
265
|
|
|
392
|
-
###
|
|
266
|
+
### Quick Flow Documents
|
|
393
267
|
|
|
394
|
-
**Created
|
|
395
|
-
**Serves as:** Primary and only planning document
|
|
268
|
+
**Created**: Upfront in Planning Phase
|
|
396
269
|
|
|
397
|
-
**
|
|
270
|
+
**Tech-Spec**:
|
|
398
271
|
|
|
399
272
|
- Problem statement and solution
|
|
400
|
-
- Source tree changes
|
|
273
|
+
- Source tree changes
|
|
401
274
|
- Technical implementation details
|
|
402
275
|
- Detected stack and conventions (brownfield)
|
|
403
276
|
- UX/UI considerations (if user-facing)
|
|
404
277
|
- Testing strategy
|
|
405
|
-
- Developer resources
|
|
406
278
|
|
|
407
|
-
**
|
|
279
|
+
**Serves as**: Complete planning document (replaces PRD + Architecture)
|
|
280
|
+
|
|
281
|
+
---
|
|
408
282
|
|
|
409
|
-
###
|
|
283
|
+
### BMad Method Documents
|
|
410
284
|
|
|
411
|
-
**Created
|
|
412
|
-
**Serves as:** Product-level planning document
|
|
285
|
+
**Created**: Upfront in Planning and Solutioning Phases
|
|
413
286
|
|
|
414
|
-
**
|
|
287
|
+
**PRD (Product Requirements Document)**:
|
|
415
288
|
|
|
416
289
|
- Product vision and goals
|
|
417
290
|
- Feature requirements
|
|
@@ -420,20 +293,7 @@ flowchart TD
|
|
|
420
293
|
- User experience considerations
|
|
421
294
|
- Business context
|
|
422
295
|
|
|
423
|
-
**
|
|
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:**
|
|
296
|
+
**Architecture Document**:
|
|
437
297
|
|
|
438
298
|
- System components and responsibilities
|
|
439
299
|
- Data models and schemas
|
|
@@ -442,44 +302,48 @@ flowchart TD
|
|
|
442
302
|
- Performance considerations
|
|
443
303
|
- Deployment architecture
|
|
444
304
|
|
|
445
|
-
**
|
|
305
|
+
**For Brownfield**: Acts as focused "solution design" that distills existing codebase into integration plan
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
### Enterprise Method Documents
|
|
446
310
|
|
|
447
|
-
|
|
311
|
+
**Created**: Extended planning across multiple phases
|
|
448
312
|
|
|
449
|
-
|
|
450
|
-
**Serves as:** Epic-specific implementation guide
|
|
313
|
+
Includes all BMad Method documents PLUS:
|
|
451
314
|
|
|
452
|
-
**
|
|
315
|
+
**Security Architecture**:
|
|
453
316
|
|
|
454
|
-
-
|
|
455
|
-
-
|
|
456
|
-
-
|
|
457
|
-
-
|
|
458
|
-
- Integration points with other epics
|
|
317
|
+
- Threat modeling
|
|
318
|
+
- Authentication/authorization design
|
|
319
|
+
- Data protection strategy
|
|
320
|
+
- Audit requirements
|
|
459
321
|
|
|
460
|
-
**
|
|
322
|
+
**DevOps Strategy**:
|
|
461
323
|
|
|
462
|
-
-
|
|
463
|
-
-
|
|
324
|
+
- CI/CD pipeline design
|
|
325
|
+
- Infrastructure architecture
|
|
326
|
+
- Monitoring and alerting
|
|
327
|
+
- Disaster recovery
|
|
464
328
|
|
|
465
|
-
**
|
|
329
|
+
**Test Strategy**:
|
|
466
330
|
|
|
467
|
-
-
|
|
468
|
-
-
|
|
469
|
-
-
|
|
470
|
-
-
|
|
331
|
+
- Test approach and coverage
|
|
332
|
+
- Automation strategy
|
|
333
|
+
- Quality gates
|
|
334
|
+
- Performance testing
|
|
471
335
|
|
|
472
336
|
---
|
|
473
337
|
|
|
474
338
|
## Workflow Comparison
|
|
475
339
|
|
|
476
|
-
|
|
|
477
|
-
|
|
|
478
|
-
| **
|
|
479
|
-
| **
|
|
480
|
-
| **
|
|
481
|
-
|
|
482
|
-
|
|
340
|
+
| Track | Analysis | Planning | Architecture | Security/Ops | Typical Stories |
|
|
341
|
+
| --------------- | ----------- | --------- | ------------ | ------------ | --------------- |
|
|
342
|
+
| **Quick Flow** | Optional | Tech-spec | None | None | 1-15 |
|
|
343
|
+
| **BMad Method** | Recommended | PRD + UX | Required | None | 10-50+ |
|
|
344
|
+
| **Enterprise** | Required | PRD + UX | Required | Required | 30+ |
|
|
345
|
+
|
|
346
|
+
**Note**: Story counts are GUIDANCE based on typical usage, NOT definitions of tracks.
|
|
483
347
|
|
|
484
348
|
---
|
|
485
349
|
|
|
@@ -487,14 +351,27 @@ flowchart TD
|
|
|
487
351
|
|
|
488
352
|
### Critical First Step
|
|
489
353
|
|
|
490
|
-
|
|
354
|
+
For ALL brownfield projects: Run `document-project` BEFORE planning workflows.
|
|
491
355
|
|
|
492
356
|
### Why document-project is Critical
|
|
493
357
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
-
|
|
497
|
-
-
|
|
358
|
+
**Quick Flow** uses it for:
|
|
359
|
+
|
|
360
|
+
- Auto-detecting existing patterns
|
|
361
|
+
- Understanding codebase structure
|
|
362
|
+
- Confirming conventions
|
|
363
|
+
|
|
364
|
+
**BMad Method** uses it for:
|
|
365
|
+
|
|
366
|
+
- Architecture inputs (existing structure)
|
|
367
|
+
- Integration design
|
|
368
|
+
- Pattern consistency
|
|
369
|
+
|
|
370
|
+
**Enterprise Method** uses it for:
|
|
371
|
+
|
|
372
|
+
- Security analysis
|
|
373
|
+
- Integration architecture
|
|
374
|
+
- Risk assessment
|
|
498
375
|
|
|
499
376
|
### Brownfield Workflow Pattern
|
|
500
377
|
|
|
@@ -504,109 +381,88 @@ flowchart TD
|
|
|
504
381
|
CHECK{Has docs/<br/>index.md?}
|
|
505
382
|
|
|
506
383
|
START --> CHECK
|
|
507
|
-
CHECK -->|No| DOC[document-project workflow<br/>
|
|
508
|
-
CHECK -->|Yes|
|
|
384
|
+
CHECK -->|No| DOC[document-project workflow<br/>10-30 min]
|
|
385
|
+
CHECK -->|Yes| TRACK[Choose Track]
|
|
509
386
|
|
|
510
|
-
DOC -->
|
|
511
|
-
|
|
387
|
+
DOC --> TRACK
|
|
388
|
+
TRACK -->|Quick| QF[Tech-Spec]
|
|
389
|
+
TRACK -->|Method| M[PRD + Arch]
|
|
390
|
+
TRACK -->|Enterprise| E[PRD + Arch + Sec/Ops]
|
|
512
391
|
|
|
513
|
-
style START fill:#f9f,stroke:#333,stroke-width:2px
|
|
514
392
|
style DOC fill:#ffb,stroke:#333,stroke-width:2px
|
|
515
|
-
style
|
|
393
|
+
style TRACK fill:#bfb,stroke:#333,stroke-width:2px
|
|
516
394
|
```
|
|
517
395
|
|
|
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
396
|
---
|
|
527
397
|
|
|
528
398
|
## Common Scenarios
|
|
529
399
|
|
|
530
|
-
### Scenario 1: Bug Fix (
|
|
400
|
+
### Scenario 1: Bug Fix (Quick Flow)
|
|
531
401
|
|
|
532
|
-
**Input
|
|
402
|
+
**Input**: "Fix email validation bug in login form"
|
|
533
403
|
|
|
534
|
-
**Detection
|
|
404
|
+
**Detection**: Keywords "fix", "bug"
|
|
535
405
|
|
|
536
|
-
|
|
537
|
-
- Estimated stories: 1
|
|
406
|
+
**Track**: Quick Flow
|
|
538
407
|
|
|
539
|
-
**
|
|
540
|
-
|
|
541
|
-
**Workflow:**
|
|
408
|
+
**Workflow**:
|
|
542
409
|
|
|
543
410
|
1. (Optional) Brief analysis
|
|
544
411
|
2. Tech-spec with single story
|
|
545
412
|
3. Implement immediately
|
|
546
413
|
|
|
547
|
-
**Time
|
|
414
|
+
**Time**: 2-4 hours total
|
|
548
415
|
|
|
549
416
|
---
|
|
550
417
|
|
|
551
|
-
### Scenario 2: Small Feature (
|
|
552
|
-
|
|
553
|
-
**Input:** "Add OAuth social login (Google, GitHub, Facebook)"
|
|
418
|
+
### Scenario 2: Small Feature (Quick Flow)
|
|
554
419
|
|
|
555
|
-
**
|
|
420
|
+
**Input**: "Add OAuth social login (Google, GitHub, Facebook)"
|
|
556
421
|
|
|
557
|
-
|
|
558
|
-
- Estimated stories: 2-3
|
|
422
|
+
**Detection**: Keywords "add", "feature", clear scope
|
|
559
423
|
|
|
560
|
-
**
|
|
424
|
+
**Track**: Quick Flow
|
|
561
425
|
|
|
562
|
-
**Workflow
|
|
426
|
+
**Workflow**:
|
|
563
427
|
|
|
564
428
|
1. (Optional) Research OAuth providers
|
|
565
|
-
2. Tech-spec with
|
|
566
|
-
3.
|
|
567
|
-
4. Implement story-by-story
|
|
429
|
+
2. Tech-spec with 3 stories
|
|
430
|
+
3. Implement story-by-story
|
|
568
431
|
|
|
569
|
-
**Time
|
|
432
|
+
**Time**: 1-3 days
|
|
570
433
|
|
|
571
434
|
---
|
|
572
435
|
|
|
573
|
-
### Scenario 3: Customer Portal (
|
|
574
|
-
|
|
575
|
-
**Input:** "Build customer portal with dashboard, tickets, billing"
|
|
436
|
+
### Scenario 3: Customer Portal (BMad Method)
|
|
576
437
|
|
|
577
|
-
**
|
|
438
|
+
**Input**: "Build customer portal with dashboard, tickets, billing"
|
|
578
439
|
|
|
579
|
-
|
|
580
|
-
- Estimated stories: 10-12
|
|
440
|
+
**Detection**: Keywords "portal", "dashboard", multiple features
|
|
581
441
|
|
|
582
|
-
**
|
|
442
|
+
**Track**: BMad Method
|
|
583
443
|
|
|
584
|
-
**Workflow
|
|
444
|
+
**Workflow**:
|
|
585
445
|
|
|
586
|
-
1. Product Brief
|
|
446
|
+
1. (Recommended) Product Brief
|
|
587
447
|
2. PRD with epics
|
|
588
|
-
3. (
|
|
589
|
-
4.
|
|
590
|
-
5.
|
|
591
|
-
6.
|
|
592
|
-
7. Run retrospective after each epic
|
|
448
|
+
3. (If UI) UX Design
|
|
449
|
+
4. Architecture (system design)
|
|
450
|
+
5. Gate Check
|
|
451
|
+
6. Implement with sprint planning
|
|
593
452
|
|
|
594
|
-
**Time
|
|
453
|
+
**Time**: 1-2 weeks
|
|
595
454
|
|
|
596
455
|
---
|
|
597
456
|
|
|
598
|
-
### Scenario 4: E-commerce Platform (
|
|
457
|
+
### Scenario 4: E-commerce Platform (BMad Method)
|
|
599
458
|
|
|
600
|
-
**Input
|
|
459
|
+
**Input**: "Build e-commerce platform with products, cart, checkout, admin, analytics"
|
|
601
460
|
|
|
602
|
-
**Detection
|
|
461
|
+
**Detection**: Keywords "platform", multiple subsystems
|
|
603
462
|
|
|
604
|
-
|
|
605
|
-
- Estimated stories: 30-35
|
|
463
|
+
**Track**: BMad Method
|
|
606
464
|
|
|
607
|
-
**
|
|
608
|
-
|
|
609
|
-
**Workflow:**
|
|
465
|
+
**Workflow**:
|
|
610
466
|
|
|
611
467
|
1. Research + Product Brief
|
|
612
468
|
2. Comprehensive PRD
|
|
@@ -614,136 +470,130 @@ flowchart TD
|
|
|
614
470
|
4. System Architecture (required)
|
|
615
471
|
5. Gate check
|
|
616
472
|
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
473
|
|
|
621
|
-
**Time
|
|
474
|
+
**Time**: 3-6 weeks
|
|
622
475
|
|
|
623
476
|
---
|
|
624
477
|
|
|
625
|
-
### Scenario 5:
|
|
626
|
-
|
|
627
|
-
**Input:** "Add search functionality to existing product catalog"
|
|
478
|
+
### Scenario 5: Brownfield Addition (BMad Method)
|
|
628
479
|
|
|
629
|
-
**
|
|
480
|
+
**Input**: "Add search functionality to existing product catalog"
|
|
630
481
|
|
|
631
|
-
|
|
632
|
-
- Estimated stories: 3-4
|
|
633
|
-
- Field type: Brownfield
|
|
482
|
+
**Detection**: Brownfield + moderate complexity
|
|
634
483
|
|
|
635
|
-
**
|
|
484
|
+
**Track**: BMad Method (not Quick Flow)
|
|
636
485
|
|
|
637
|
-
**Critical First Step
|
|
486
|
+
**Critical First Step**:
|
|
638
487
|
|
|
639
488
|
1. **Run document-project** to analyze existing codebase
|
|
640
489
|
|
|
641
|
-
**Then Workflow
|
|
642
|
-
|
|
643
|
-
**Time:** 1-3 days (including documentation)
|
|
490
|
+
**Then Workflow**: 2. PRD for search feature 3. Architecture (integration design - highly recommended) 4. Implement following existing patterns
|
|
644
491
|
|
|
645
|
-
|
|
492
|
+
**Time**: 1-2 weeks
|
|
646
493
|
|
|
647
|
-
|
|
494
|
+
**Why Method not Quick Flow?**: Integration with existing catalog system benefits from architecture planning to ensure consistency.
|
|
648
495
|
|
|
649
|
-
|
|
496
|
+
---
|
|
650
497
|
|
|
651
|
-
|
|
498
|
+
### Scenario 6: Multi-tenant Platform (Enterprise Method)
|
|
652
499
|
|
|
653
|
-
|
|
500
|
+
**Input**: "Add multi-tenancy to existing single-tenant SaaS platform"
|
|
654
501
|
|
|
655
|
-
|
|
502
|
+
**Detection**: Keywords "multi-tenant", enterprise scale
|
|
656
503
|
|
|
657
|
-
|
|
504
|
+
**Track**: Enterprise Method
|
|
658
505
|
|
|
659
|
-
|
|
506
|
+
**Workflow**:
|
|
660
507
|
|
|
661
|
-
|
|
508
|
+
1. Document-project (mandatory)
|
|
509
|
+
2. Research (compliance, security)
|
|
510
|
+
3. PRD (multi-tenancy requirements)
|
|
511
|
+
4. Architecture (tenant isolation design)
|
|
512
|
+
5. Security Architecture (data isolation, auth)
|
|
513
|
+
6. DevOps Strategy (tenant provisioning, monitoring)
|
|
514
|
+
7. Test Strategy (tenant isolation testing)
|
|
515
|
+
8. Gate check
|
|
516
|
+
9. Phased implementation
|
|
662
517
|
|
|
663
|
-
|
|
518
|
+
**Time**: 3-6 months
|
|
664
519
|
|
|
665
|
-
|
|
520
|
+
---
|
|
666
521
|
|
|
667
|
-
|
|
522
|
+
## Best Practices
|
|
668
523
|
|
|
669
|
-
###
|
|
524
|
+
### 1. Document-Project First for Brownfield
|
|
670
525
|
|
|
671
|
-
|
|
526
|
+
Always run `document-project` before starting brownfield planning. AI agents need existing codebase context.
|
|
672
527
|
|
|
673
|
-
###
|
|
528
|
+
### 2. Trust the Recommendation
|
|
674
529
|
|
|
675
|
-
If
|
|
530
|
+
If `workflow-init` suggests BMad Method, there's probably complexity you haven't considered. Review carefully before overriding.
|
|
676
531
|
|
|
677
|
-
###
|
|
532
|
+
### 3. Start Smaller if Uncertain
|
|
678
533
|
|
|
679
|
-
|
|
534
|
+
Uncertain between Quick Flow and Method? Start with Quick Flow. You can create PRD later if needed.
|
|
680
535
|
|
|
681
|
-
|
|
536
|
+
### 4. Don't Skip Gate Checks
|
|
682
537
|
|
|
683
|
-
|
|
538
|
+
For BMad Method and Enterprise, gate checks prevent costly mistakes. Invest the time.
|
|
684
539
|
|
|
685
|
-
###
|
|
540
|
+
### 5. Architecture is Optional but Recommended for Brownfield
|
|
686
541
|
|
|
687
|
-
|
|
542
|
+
Brownfield BMad Method makes architecture optional, but it's highly recommended. It distills complex codebase into focused solution design.
|
|
688
543
|
|
|
689
|
-
|
|
544
|
+
### 6. Discovery Phase Based on Need
|
|
690
545
|
|
|
691
|
-
|
|
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
|
|
546
|
+
Brainstorming and research are offered regardless of track. Use them when you need to think through the problem space.
|
|
699
547
|
|
|
700
|
-
###
|
|
548
|
+
### 7. Product Brief for Greenfield Method
|
|
701
549
|
|
|
702
|
-
|
|
550
|
+
Product Brief is only offered for greenfield BMad Method and Enterprise. It's optional but helps with strategic thinking.
|
|
703
551
|
|
|
704
|
-
|
|
552
|
+
---
|
|
705
553
|
|
|
706
|
-
|
|
554
|
+
## Key Differences from Legacy System
|
|
707
555
|
|
|
708
|
-
|
|
709
|
-
- `brownfield-level-0.yaml` through `brownfield-level-4.yaml`
|
|
710
|
-
- `game-design.yaml`
|
|
711
|
-
- `project-levels.yaml` (source of truth)
|
|
556
|
+
### Old System (Levels 0-4)
|
|
712
557
|
|
|
713
|
-
|
|
558
|
+
- Arbitrary story count thresholds
|
|
559
|
+
- Level 2 vs Level 3 based on story count
|
|
560
|
+
- Confusing overlap zones (5-10 stories, 12-40 stories)
|
|
561
|
+
- Tech-spec and PRD shown as conflicting options
|
|
714
562
|
|
|
715
|
-
|
|
716
|
-
- Agent assignments
|
|
717
|
-
- Expected outputs
|
|
718
|
-
- Phase progression rules
|
|
563
|
+
### New System (3 Tracks)
|
|
719
564
|
|
|
720
|
-
|
|
565
|
+
- Methodology-based distinction (not story counts)
|
|
566
|
+
- Story counts as guidance, not definitions
|
|
567
|
+
- Clear track purposes:
|
|
568
|
+
- Quick Flow = Implementation-focused
|
|
569
|
+
- BMad Method = Product + system design
|
|
570
|
+
- Enterprise = Extended with security/ops
|
|
571
|
+
- Mutually exclusive paths chosen upfront
|
|
572
|
+
- Educational decision-making
|
|
721
573
|
|
|
722
|
-
|
|
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.
|
|
574
|
+
---
|
|
724
575
|
|
|
725
|
-
|
|
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.
|
|
576
|
+
## Migration from Old System
|
|
727
577
|
|
|
728
|
-
|
|
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.
|
|
578
|
+
If you have existing projects using the old level system:
|
|
730
579
|
|
|
731
|
-
**
|
|
732
|
-
|
|
580
|
+
- **Level 0-1** → Quick Flow
|
|
581
|
+
- **Level 2-3** → BMad Method
|
|
582
|
+
- **Level 4** → Enterprise Method
|
|
733
583
|
|
|
734
|
-
|
|
584
|
+
Run `workflow-init` on existing projects to migrate to new tracking system. It detects existing planning artifacts and creates appropriate workflow tracking.
|
|
735
585
|
|
|
736
586
|
---
|
|
737
587
|
|
|
738
588
|
## Related Documentation
|
|
739
589
|
|
|
740
590
|
- **[Quick Start Guide](./quick-start.md)** - Get started with BMM
|
|
741
|
-
- **[Quick Spec Flow](./quick-spec-flow.md)** -
|
|
591
|
+
- **[Quick Spec Flow](./quick-spec-flow.md)** - Details on Quick Flow track
|
|
742
592
|
- **[Brownfield Guide](./brownfield-guide.md)** - Existing codebase workflows
|
|
743
593
|
- **[Glossary](./glossary.md)** - Complete terminology
|
|
744
594
|
- **[FAQ](./faq.md)** - Common questions
|
|
745
|
-
- **[Workflows Guide](
|
|
595
|
+
- **[Workflows Guide](./README.md#-workflow-guides)** - Complete workflow reference
|
|
746
596
|
|
|
747
597
|
---
|
|
748
598
|
|
|
749
|
-
_Scale Adaptive System -
|
|
599
|
+
_Scale Adaptive System - Right planning depth for every project._
|