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,447 @@
|
|
|
1
|
+
# Document Sharding Guide
|
|
2
|
+
|
|
3
|
+
Comprehensive guide to BMad Method's document sharding system for managing large planning and architecture documents.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [What is Document Sharding?](#what-is-document-sharding)
|
|
8
|
+
- [When to Use Sharding](#when-to-use-sharding)
|
|
9
|
+
- [How Sharding Works](#how-sharding-works)
|
|
10
|
+
- [Using the Shard-Doc Tool](#using-the-shard-doc-tool)
|
|
11
|
+
- [Workflow Support](#workflow-support)
|
|
12
|
+
- [Best Practices](#best-practices)
|
|
13
|
+
- [Examples](#examples)
|
|
14
|
+
|
|
15
|
+
## What is Document Sharding?
|
|
16
|
+
|
|
17
|
+
Document sharding splits large markdown files into smaller, organized files based on level 2 headings (`## Heading`). This enables:
|
|
18
|
+
|
|
19
|
+
- **Selective Loading** - Workflows load only the sections they need
|
|
20
|
+
- **Reduced Token Usage** - Massive efficiency gains for large projects
|
|
21
|
+
- **Better Organization** - Logical section-based file structure
|
|
22
|
+
- **Maintained Context** - Index file preserves document structure
|
|
23
|
+
|
|
24
|
+
### Architecture
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Before Sharding:
|
|
28
|
+
docs/
|
|
29
|
+
└── PRD.md (large 50k token file)
|
|
30
|
+
|
|
31
|
+
After Sharding:
|
|
32
|
+
docs/
|
|
33
|
+
└── prd/
|
|
34
|
+
├── index.md # Table of contents with descriptions
|
|
35
|
+
├── overview.md # Section 1
|
|
36
|
+
├── user-requirements.md # Section 2
|
|
37
|
+
├── technical-requirements.md # Section 3
|
|
38
|
+
└── ... # Additional sections
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## When to Use Sharding
|
|
42
|
+
|
|
43
|
+
### Ideal Candidates
|
|
44
|
+
|
|
45
|
+
**Large Multi-Epic Projects:**
|
|
46
|
+
|
|
47
|
+
- Very large complex PRDs
|
|
48
|
+
- Architecture documents with multiple system layers
|
|
49
|
+
- Epic files with 4+ epics (especially for Phase 4)
|
|
50
|
+
- UX design specs covering multiple subsystems
|
|
51
|
+
|
|
52
|
+
**Token Thresholds:**
|
|
53
|
+
|
|
54
|
+
- **Consider sharding**: Documents > 20k tokens
|
|
55
|
+
- **Strongly recommended**: Documents > 40k tokens
|
|
56
|
+
- **Critical for efficiency**: Documents > 60k tokens
|
|
57
|
+
|
|
58
|
+
### When NOT to Shard
|
|
59
|
+
|
|
60
|
+
**Small Projects:**
|
|
61
|
+
|
|
62
|
+
- Single epic projects
|
|
63
|
+
- Level 0-1 projects (tech-spec only)
|
|
64
|
+
- Documents under 10k tokens
|
|
65
|
+
- Quick prototypes
|
|
66
|
+
|
|
67
|
+
**Frequently Updated Docs:**
|
|
68
|
+
|
|
69
|
+
- Active work-in-progress documents
|
|
70
|
+
- Documents updated daily
|
|
71
|
+
- Documents where whole-file context is essential
|
|
72
|
+
|
|
73
|
+
## How Sharding Works
|
|
74
|
+
|
|
75
|
+
### Sharding Process
|
|
76
|
+
|
|
77
|
+
1. **Tool Execution**: Run `npx @kayvan/markdown-tree-parser source.md destination/` - this is abstracted with the core shard-doc task which is installed as a slash command or manual task rule depending on your tools.
|
|
78
|
+
2. **Section Extraction**: Tool splits by level 2 headings
|
|
79
|
+
3. **File Creation**: Each section becomes a separate file
|
|
80
|
+
4. **Index Generation**: `index.md` created with structure and descriptions
|
|
81
|
+
|
|
82
|
+
### Workflow Discovery
|
|
83
|
+
|
|
84
|
+
BMad workflows use a **dual discovery system**:
|
|
85
|
+
|
|
86
|
+
1. **Try whole document first** - Look for `document-name.md`
|
|
87
|
+
2. **Check for sharded version** - Look for `document-name/index.md`
|
|
88
|
+
3. **Priority rule** - Whole document takes precedence if both exist
|
|
89
|
+
|
|
90
|
+
### Loading Strategies
|
|
91
|
+
|
|
92
|
+
**Full Load (Phase 1-3 workflows):**
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
If sharded:
|
|
96
|
+
- Read index.md
|
|
97
|
+
- Read ALL section files
|
|
98
|
+
- Treat as single combined document
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**Selective Load (Phase 4 workflows):**
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
If sharded epics and working on Epic 3:
|
|
105
|
+
- Read epics/index.md
|
|
106
|
+
- Load ONLY epics/epic-3.md
|
|
107
|
+
- Skip all other epic files
|
|
108
|
+
- 90%+ token savings!
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Using the Shard-Doc Tool
|
|
112
|
+
|
|
113
|
+
### CLI Command
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# Activate bmad-master or analyst agent, then:
|
|
117
|
+
/shard-doc
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Interactive Process
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
Agent: Which document would you like to shard?
|
|
124
|
+
User: docs/PRD.md
|
|
125
|
+
|
|
126
|
+
Agent: Default destination: docs/prd/
|
|
127
|
+
Accept default? [y/n]
|
|
128
|
+
User: y
|
|
129
|
+
|
|
130
|
+
Agent: Sharding PRD.md...
|
|
131
|
+
✓ Created 12 section files
|
|
132
|
+
✓ Generated index.md
|
|
133
|
+
✓ Complete!
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### What Gets Created
|
|
137
|
+
|
|
138
|
+
**index.md structure:**
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
# PRD - Index
|
|
142
|
+
|
|
143
|
+
## Sections
|
|
144
|
+
|
|
145
|
+
1. [Overview](./overview.md) - Project vision and objectives
|
|
146
|
+
2. [User Requirements](./user-requirements.md) - Feature specifications
|
|
147
|
+
3. [Epic 1: Authentication](./epic-1-authentication.md) - User auth system
|
|
148
|
+
4. [Epic 2: Dashboard](./epic-2-dashboard.md) - Main dashboard UI
|
|
149
|
+
...
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**Individual section files:**
|
|
153
|
+
|
|
154
|
+
- Named from heading text (kebab-case)
|
|
155
|
+
- Contains complete section content
|
|
156
|
+
- Preserves all markdown formatting
|
|
157
|
+
- Can be read independently
|
|
158
|
+
|
|
159
|
+
## Workflow Support
|
|
160
|
+
|
|
161
|
+
### Universal Support
|
|
162
|
+
|
|
163
|
+
**All BMM workflows support both formats:**
|
|
164
|
+
|
|
165
|
+
- ✅ Whole documents
|
|
166
|
+
- ✅ Sharded documents
|
|
167
|
+
- ✅ Automatic detection
|
|
168
|
+
- ✅ Transparent to user
|
|
169
|
+
|
|
170
|
+
### Workflow-Specific Patterns
|
|
171
|
+
|
|
172
|
+
#### Phase 1-3 (Full Load)
|
|
173
|
+
|
|
174
|
+
Workflows load entire sharded documents:
|
|
175
|
+
|
|
176
|
+
- `product-brief` - Research, brainstorming docs
|
|
177
|
+
- `prd` - Product brief, research
|
|
178
|
+
- `gdd` - Game brief, research
|
|
179
|
+
- `create-ux-design` - PRD, brief, epics
|
|
180
|
+
- `tech-spec` - Brief, research
|
|
181
|
+
- `architecture` - PRD, epics, UX design
|
|
182
|
+
- `solutioning-gate-check` - All planning docs
|
|
183
|
+
|
|
184
|
+
#### Phase 4 (Selective Load)
|
|
185
|
+
|
|
186
|
+
Workflows load only needed sections:
|
|
187
|
+
|
|
188
|
+
**sprint-planning** (Full Load):
|
|
189
|
+
|
|
190
|
+
- Needs ALL epics to build complete status
|
|
191
|
+
|
|
192
|
+
**epic-tech-context, create-story, story-context, code-review** (Selective):
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
Working on Epic 3, Story 2:
|
|
196
|
+
✓ Load epics/epic-3.md only
|
|
197
|
+
✗ Skip epics/epic-1.md, epic-2.md, epic-4.md, etc.
|
|
198
|
+
|
|
199
|
+
Result: 90%+ token reduction for 10-epic projects!
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Input File Patterns
|
|
203
|
+
|
|
204
|
+
Workflows use standardized patterns:
|
|
205
|
+
|
|
206
|
+
```yaml
|
|
207
|
+
input_file_patterns:
|
|
208
|
+
prd:
|
|
209
|
+
whole: '{output_folder}/*prd*.md'
|
|
210
|
+
sharded: '{output_folder}/*prd*/index.md'
|
|
211
|
+
|
|
212
|
+
epics:
|
|
213
|
+
whole: '{output_folder}/*epic*.md'
|
|
214
|
+
sharded_index: '{output_folder}/*epic*/index.md'
|
|
215
|
+
sharded_single: '{output_folder}/*epic*/epic-{{epic_num}}.md'
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
## Best Practices
|
|
219
|
+
|
|
220
|
+
### Sharding Strategy
|
|
221
|
+
|
|
222
|
+
**Do:**
|
|
223
|
+
|
|
224
|
+
- ✅ Shard after planning phase complete
|
|
225
|
+
- ✅ Keep level 2 headings well-organized
|
|
226
|
+
- ✅ Use descriptive section names
|
|
227
|
+
- ✅ Shard before Phase 4 implementation
|
|
228
|
+
- ✅ Keep original file as backup initially
|
|
229
|
+
|
|
230
|
+
**Don't:**
|
|
231
|
+
|
|
232
|
+
- ❌ Shard work-in-progress documents
|
|
233
|
+
- ❌ Shard small documents (<20k tokens)
|
|
234
|
+
- ❌ Mix sharded and whole versions
|
|
235
|
+
- ❌ Manually edit index.md structure
|
|
236
|
+
|
|
237
|
+
### Naming Conventions
|
|
238
|
+
|
|
239
|
+
**Good Section Names:**
|
|
240
|
+
|
|
241
|
+
```markdown
|
|
242
|
+
## Epic 1: User Authentication
|
|
243
|
+
|
|
244
|
+
## Technical Requirements
|
|
245
|
+
|
|
246
|
+
## System Architecture
|
|
247
|
+
|
|
248
|
+
## UX Design Principles
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**Poor Section Names:**
|
|
252
|
+
|
|
253
|
+
```markdown
|
|
254
|
+
## Section 1
|
|
255
|
+
|
|
256
|
+
## Part A
|
|
257
|
+
|
|
258
|
+
## Details
|
|
259
|
+
|
|
260
|
+
## More Info
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### File Management
|
|
264
|
+
|
|
265
|
+
**When to Re-shard:**
|
|
266
|
+
|
|
267
|
+
- Significant structural changes to document
|
|
268
|
+
- Adding/removing major sections
|
|
269
|
+
- After major refactoring
|
|
270
|
+
|
|
271
|
+
**Updating Sharded Docs:**
|
|
272
|
+
|
|
273
|
+
1. Edit individual section files directly
|
|
274
|
+
2. OR edit original, delete sharded folder, re-shard
|
|
275
|
+
3. Don't manually edit index.md
|
|
276
|
+
|
|
277
|
+
## Examples
|
|
278
|
+
|
|
279
|
+
### Example 1: Large PRD
|
|
280
|
+
|
|
281
|
+
**Scenario:** 15-epic project, PRD is 45k tokens
|
|
282
|
+
|
|
283
|
+
**Before Sharding:**
|
|
284
|
+
|
|
285
|
+
```
|
|
286
|
+
Every workflow loads entire 45k token PRD
|
|
287
|
+
Epic-tech-context for Epic 3: 45k tokens
|
|
288
|
+
Create-story for Epic 3: 45k tokens
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
**After Sharding:**
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
/shard-doc
|
|
295
|
+
Source: docs/PRD.md
|
|
296
|
+
Destination: docs/prd/
|
|
297
|
+
|
|
298
|
+
Created:
|
|
299
|
+
prd/index.md
|
|
300
|
+
prd/overview.md (3k tokens)
|
|
301
|
+
prd/epic-1-auth.md (3k tokens)
|
|
302
|
+
prd/epic-2-dashboard.md (3k tokens)
|
|
303
|
+
prd/epic-3-reports.md (3k tokens)
|
|
304
|
+
...15 epic files
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
**Result:**
|
|
308
|
+
|
|
309
|
+
```
|
|
310
|
+
Epic-tech-context for Epic 3: 3k tokens (93% reduction!)
|
|
311
|
+
Create-story for Epic 3: 3k tokens (93% reduction!)
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
### Example 2: Sharding Epics File
|
|
315
|
+
|
|
316
|
+
**Scenario:** 8 epics with detailed stories, 35k tokens total
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
/shard-doc
|
|
320
|
+
Source: docs/bmm-epics.md
|
|
321
|
+
Destination: docs/epics/
|
|
322
|
+
|
|
323
|
+
Created:
|
|
324
|
+
epics/index.md
|
|
325
|
+
epics/epic-1.md
|
|
326
|
+
epics/epic-2.md
|
|
327
|
+
...
|
|
328
|
+
epics/epic-8.md
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**Efficiency Gain:**
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
Working on Epic 5 stories:
|
|
335
|
+
Old: Load all 8 epics (35k tokens)
|
|
336
|
+
New: Load epic-5.md only (4k tokens)
|
|
337
|
+
Savings: 88% reduction
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Example 3: Architecture Document
|
|
341
|
+
|
|
342
|
+
**Scenario:** Multi-layer system architecture, 28k tokens
|
|
343
|
+
|
|
344
|
+
```bash
|
|
345
|
+
/shard-doc
|
|
346
|
+
Source: docs/architecture.md
|
|
347
|
+
Destination: docs/architecture/
|
|
348
|
+
|
|
349
|
+
Created:
|
|
350
|
+
architecture/index.md
|
|
351
|
+
architecture/system-overview.md
|
|
352
|
+
architecture/frontend-architecture.md
|
|
353
|
+
architecture/backend-services.md
|
|
354
|
+
architecture/data-layer.md
|
|
355
|
+
architecture/infrastructure.md
|
|
356
|
+
architecture/security-architecture.md
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
**Benefit:** Code-review workflow can reference specific architectural layers without loading entire architecture doc.
|
|
360
|
+
|
|
361
|
+
## Custom Workflow Integration
|
|
362
|
+
|
|
363
|
+
### For Workflow Builders
|
|
364
|
+
|
|
365
|
+
When creating custom workflows that load large documents:
|
|
366
|
+
|
|
367
|
+
**1. Add input_file_patterns to workflow.yaml:**
|
|
368
|
+
|
|
369
|
+
```yaml
|
|
370
|
+
input_file_patterns:
|
|
371
|
+
your_document:
|
|
372
|
+
whole: '{output_folder}/*your-doc*.md'
|
|
373
|
+
sharded: '{output_folder}/*your-doc*/index.md'
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
**2. Add discovery instructions to instructions.md:**
|
|
377
|
+
|
|
378
|
+
```markdown
|
|
379
|
+
## Document Discovery
|
|
380
|
+
|
|
381
|
+
1. Search for whole document: _your-doc_.md
|
|
382
|
+
2. Check for sharded version: _your-doc_/index.md
|
|
383
|
+
3. If sharded: Read index + ALL sections (or specific sections if selective load)
|
|
384
|
+
4. Priority: Whole document first
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
**3. Choose loading strategy:**
|
|
388
|
+
|
|
389
|
+
- **Full Load**: Read all sections when sharded
|
|
390
|
+
- **Selective Load**: Read only relevant sections (requires section identification logic)
|
|
391
|
+
|
|
392
|
+
### Pattern Templates
|
|
393
|
+
|
|
394
|
+
**Full Load Pattern:**
|
|
395
|
+
|
|
396
|
+
```xml
|
|
397
|
+
<action>Search for document: {output_folder}/*doc-name*.md</action>
|
|
398
|
+
<action>If not found, check for sharded: {output_folder}/*doc-name*/index.md</action>
|
|
399
|
+
<action if="sharded found">Read index.md to understand structure</action>
|
|
400
|
+
<action if="sharded found">Read ALL section files listed in index</action>
|
|
401
|
+
<action if="sharded found">Combine content as single document</action>
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
**Selective Load Pattern (with section ID):**
|
|
405
|
+
|
|
406
|
+
```xml
|
|
407
|
+
<action>Determine section needed (e.g., epic_num = 3)</action>
|
|
408
|
+
<action>Check for sharded version: {output_folder}/*doc-name*/index.md</action>
|
|
409
|
+
<action if="sharded found">Read ONLY the specific section file needed</action>
|
|
410
|
+
<action if="sharded found">Skip all other section files</action>
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
## Troubleshooting
|
|
414
|
+
|
|
415
|
+
### Common Issues
|
|
416
|
+
|
|
417
|
+
**Both whole and sharded exist:**
|
|
418
|
+
|
|
419
|
+
- Workflows will use whole document (priority rule)
|
|
420
|
+
- Delete or archive the one you don't want
|
|
421
|
+
|
|
422
|
+
**Index.md out of sync:**
|
|
423
|
+
|
|
424
|
+
- Delete sharded folder
|
|
425
|
+
- Re-run shard-doc on original
|
|
426
|
+
|
|
427
|
+
**Workflow can't find document:**
|
|
428
|
+
|
|
429
|
+
- Check file naming matches patterns (`*prd*.md`, `*epic*.md`, etc.)
|
|
430
|
+
- Verify index.md exists in sharded folder
|
|
431
|
+
- Check output_folder path in config
|
|
432
|
+
|
|
433
|
+
**Sections too granular:**
|
|
434
|
+
|
|
435
|
+
- Combine sections in original document
|
|
436
|
+
- Use fewer level 2 headings
|
|
437
|
+
- Re-shard
|
|
438
|
+
|
|
439
|
+
## Related Documentation
|
|
440
|
+
|
|
441
|
+
- [shard-doc Tool](../src/core/tools/shard-doc.xml) - Tool implementation
|
|
442
|
+
- [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Workflow overview
|
|
443
|
+
- [Workflow Creation Guide](../src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md) - Custom workflow patterns
|
|
444
|
+
|
|
445
|
+
---
|
|
446
|
+
|
|
447
|
+
**Document sharding is optional but powerful** - use it when efficiency matters for large projects!
|
package/docs/index.md
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# BMad Documentation Index
|
|
2
|
+
|
|
3
|
+
Complete map of all BMad Method v6 documentation with recommended reading paths.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 Getting Started (Start Here!)
|
|
8
|
+
|
|
9
|
+
**New users:** Start with one of these based on your situation:
|
|
10
|
+
|
|
11
|
+
| Your Situation | Start Here | Then Read |
|
|
12
|
+
| ---------------------- | --------------------------------------------------------------- | ------------------------------------------------------------- |
|
|
13
|
+
| **Brand new to BMad** | [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) | [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) |
|
|
14
|
+
| **Upgrading from v4** | [v4 to v6 Upgrade Guide](./v4-to-v6-upgrade.md) | [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) |
|
|
15
|
+
| **Brownfield project** | [Brownfield Guide](../src/modules/bmm/docs/brownfield-guide.md) | [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 📋 Core Documentation
|
|
20
|
+
|
|
21
|
+
### Project-Level Docs (Root)
|
|
22
|
+
|
|
23
|
+
- **[README.md](../README.md)** - Main project overview, feature summary, and module introductions
|
|
24
|
+
- **[CONTRIBUTING.md](../CONTRIBUTING.md)** - How to contribute, pull request guidelines, code style
|
|
25
|
+
- **[CHANGELOG.md](../CHANGELOG.md)** - Version history and breaking changes
|
|
26
|
+
- **[CLAUDE.md](../CLAUDE.md)** - Claude Code specific guidelines for this project
|
|
27
|
+
|
|
28
|
+
### Installation & Setup
|
|
29
|
+
|
|
30
|
+
- **[v4 to v6 Upgrade Guide](./v4-to-v6-upgrade.md)** - Migration path for v4 users
|
|
31
|
+
- **[Document Sharding Guide](./document-sharding-guide.md)** - Split large documents for 90%+ token savings
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🏗️ Module Documentation
|
|
36
|
+
|
|
37
|
+
### BMad Method (BMM) - Software & Game Development
|
|
38
|
+
|
|
39
|
+
The flagship module for agile AI-driven development.
|
|
40
|
+
|
|
41
|
+
- **[BMM Module README](../src/modules/bmm/README.md)** - Module overview, agents, and complete documentation index
|
|
42
|
+
- **[BMM Documentation](../src/modules/bmm/docs/)** - All BMM-specific guides and references:
|
|
43
|
+
- [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) - Step-by-step guide to building your first project
|
|
44
|
+
- [Quick Spec Flow](../src/modules/bmm/docs/quick-spec-flow.md) - Rapid Level 0-1 development
|
|
45
|
+
- [Scale Adaptive System](../src/modules/bmm/docs/scale-adaptive-system.md) - Understanding the 5-level system
|
|
46
|
+
- [Brownfield Guide](../src/modules/bmm/docs/brownfield-guide.md) - Working with existing codebases
|
|
47
|
+
- **[BMM Workflows Guide](../src/modules/bmm/workflows/README.md)** - **ESSENTIAL READING**
|
|
48
|
+
- **[Test Architect Guide](../src/modules/bmm/testarch/README.md)** - Testing strategy and quality assurance
|
|
49
|
+
|
|
50
|
+
### BMad Builder (BMB) - Create Custom Solutions
|
|
51
|
+
|
|
52
|
+
Build your own agents, workflows, and modules.
|
|
53
|
+
|
|
54
|
+
- **[BMB Module README](../src/modules/bmb/README.md)** - Module overview and capabilities
|
|
55
|
+
- **[Agent Creation Guide](../src/modules/bmb/workflows/create-agent/README.md)** - Design custom agents
|
|
56
|
+
|
|
57
|
+
### Creative Intelligence Suite (CIS) - Innovation & Creativity
|
|
58
|
+
|
|
59
|
+
AI-powered creative thinking and brainstorming.
|
|
60
|
+
|
|
61
|
+
- **[CIS Module README](../src/modules/cis/README.md)** - Module overview and workflows
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 🖥️ IDE-Specific Guides
|
|
66
|
+
|
|
67
|
+
Instructions for loading agents and running workflows in your development environment.
|
|
68
|
+
|
|
69
|
+
**Popular IDEs:**
|
|
70
|
+
|
|
71
|
+
- [Claude Code](./ide-info/claude-code.md)
|
|
72
|
+
- [Cursor](./ide-info/cursor.md)
|
|
73
|
+
- [VS Code](./ide-info/windsurf.md)
|
|
74
|
+
|
|
75
|
+
**Other Supported IDEs:**
|
|
76
|
+
|
|
77
|
+
- [Augment](./ide-info/auggie.md)
|
|
78
|
+
- [Cline](./ide-info/cline.md)
|
|
79
|
+
- [Codex](./ide-info/codex.md)
|
|
80
|
+
- [Crush](./ide-info/crush.md)
|
|
81
|
+
- [Gemini](./ide-info/gemini.md)
|
|
82
|
+
- [GitHub Copilot](./ide-info/github-copilot.md)
|
|
83
|
+
- [IFlow](./ide-info/iflow.md)
|
|
84
|
+
- [Kilo](./ide-info/kilo.md)
|
|
85
|
+
- [OpenCode](./ide-info/opencode.md)
|
|
86
|
+
- [Qwen](./ide-info/qwen.md)
|
|
87
|
+
- [Roo](./ide-info/roo.md)
|
|
88
|
+
- [Trae](./ide-info/trae.md)
|
|
89
|
+
|
|
90
|
+
**Key concept:** Every reference to "load an agent" or "activate an agent" in the main docs links to the [ide-info](./ide-info/) directory for IDE-specific instructions.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 🔧 Advanced Topics
|
|
95
|
+
|
|
96
|
+
### Installation & Bundling
|
|
97
|
+
|
|
98
|
+
- [IDE Injections Reference](./installers-bundlers/ide-injections.md) - How agents are installed to IDEs
|
|
99
|
+
- [Installers & Platforms Reference](./installers-bundlers/installers-modules-platforms-reference.md) - CLI tool and platform support
|
|
100
|
+
- [Web Bundler Usage](./installers-bundlers/web-bundler-usage.md) - Creating web-compatible bundles
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 📊 Documentation Map
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
docs/ # Core/cross-module documentation
|
|
108
|
+
├── index.md (this file)
|
|
109
|
+
├── v4-to-v6-upgrade.md
|
|
110
|
+
├── document-sharding-guide.md
|
|
111
|
+
├── ide-info/ # IDE setup guides
|
|
112
|
+
│ ├── claude-code.md
|
|
113
|
+
│ ├── cursor.md
|
|
114
|
+
│ ├── windsurf.md
|
|
115
|
+
│ └── [14+ other IDEs]
|
|
116
|
+
└── installers-bundlers/ # Installation reference
|
|
117
|
+
├── ide-injections.md
|
|
118
|
+
├── installers-modules-platforms-reference.md
|
|
119
|
+
└── web-bundler-usage.md
|
|
120
|
+
|
|
121
|
+
src/modules/
|
|
122
|
+
├── bmm/ # BMad Method module
|
|
123
|
+
│ ├── README.md # Module overview & docs index
|
|
124
|
+
│ ├── docs/ # BMM-specific documentation
|
|
125
|
+
│ │ ├── quick-start.md
|
|
126
|
+
│ │ ├── quick-spec-flow.md
|
|
127
|
+
│ │ ├── scale-adaptive-system.md
|
|
128
|
+
│ │ └── brownfield-guide.md
|
|
129
|
+
│ ├── workflows/README.md # ESSENTIAL workflow guide
|
|
130
|
+
│ └── testarch/README.md # Testing strategy
|
|
131
|
+
├── bmb/ # BMad Builder module
|
|
132
|
+
│ ├── README.md
|
|
133
|
+
│ └── workflows/create-agent/README.md
|
|
134
|
+
└── cis/ # Creative Intelligence Suite
|
|
135
|
+
└── README.md
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🎓 Recommended Reading Paths
|
|
141
|
+
|
|
142
|
+
### Path 1: Brand New to BMad (Software Project)
|
|
143
|
+
|
|
144
|
+
1. [README.md](../README.md) - Understand the vision
|
|
145
|
+
2. [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) - Get hands-on
|
|
146
|
+
3. [BMM Module README](../src/modules/bmm/README.md) - Understand agents
|
|
147
|
+
4. [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Master the methodology
|
|
148
|
+
5. [Your IDE guide](./ide-info/) - Optimize your workflow
|
|
149
|
+
|
|
150
|
+
### Path 2: Game Development Project
|
|
151
|
+
|
|
152
|
+
1. [README.md](../README.md) - Understand the vision
|
|
153
|
+
2. [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) - Get hands-on
|
|
154
|
+
3. [BMM Module README](../src/modules/bmm/README.md) - Game agents are included
|
|
155
|
+
4. [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Game workflows
|
|
156
|
+
5. [Your IDE guide](./ide-info/) - Optimize your workflow
|
|
157
|
+
|
|
158
|
+
### Path 3: Upgrading from v4
|
|
159
|
+
|
|
160
|
+
1. [v4 to v6 Upgrade Guide](./v4-to-v6-upgrade.md) - Understand what changed
|
|
161
|
+
2. [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) - Reorient yourself
|
|
162
|
+
3. [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Learn new v6 workflows
|
|
163
|
+
|
|
164
|
+
### Path 4: Working with Existing Codebase (Brownfield)
|
|
165
|
+
|
|
166
|
+
1. [Brownfield Guide](../src/modules/bmm/docs/brownfield-guide.md) - Approach for legacy code
|
|
167
|
+
2. [Quick Start Guide](../src/modules/bmm/docs/quick-start.md) - Follow the process
|
|
168
|
+
3. [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Master the methodology
|
|
169
|
+
|
|
170
|
+
### Path 5: Building Custom Solutions
|
|
171
|
+
|
|
172
|
+
1. [BMB Module README](../src/modules/bmb/README.md) - Understand capabilities
|
|
173
|
+
2. [Agent Creation Guide](../src/modules/bmb/workflows/create-agent/README.md) - Create agents
|
|
174
|
+
3. [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Understand workflow structure
|
|
175
|
+
|
|
176
|
+
### Path 6: Contributing to BMad
|
|
177
|
+
|
|
178
|
+
1. [CONTRIBUTING.md](../CONTRIBUTING.md) - Contribution guidelines
|
|
179
|
+
2. Relevant module README - Understand the area you're contributing to
|
|
180
|
+
3. [Code Style section in CONTRIBUTING.md](../CONTRIBUTING.md#code-style) - Follow standards
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 🔍 Quick Reference
|
|
185
|
+
|
|
186
|
+
**What is each module for?**
|
|
187
|
+
|
|
188
|
+
- **BMM** - AI-driven software and game development
|
|
189
|
+
- **BMB** - Create custom agents and workflows
|
|
190
|
+
- **CIS** - Creative thinking and brainstorming
|
|
191
|
+
|
|
192
|
+
**How do I load an agent?**
|
|
193
|
+
→ See [ide-info](./ide-info/) folder for your IDE
|
|
194
|
+
|
|
195
|
+
**I'm stuck, what's next?**
|
|
196
|
+
→ Check the [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) or run `workflow-status`
|
|
197
|
+
|
|
198
|
+
**I want to contribute**
|
|
199
|
+
→ Start with [CONTRIBUTING.md](../CONTRIBUTING.md)
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## 📚 Important Concepts
|
|
204
|
+
|
|
205
|
+
### Fresh Chats
|
|
206
|
+
|
|
207
|
+
Each workflow should run in a fresh chat with the specified agent to avoid context limitations. This is emphasized throughout the docs because it's critical to successful workflows.
|
|
208
|
+
|
|
209
|
+
### Scale Levels
|
|
210
|
+
|
|
211
|
+
BMM adapts to project complexity (Levels 0-4). Documentation is scale-adaptive - you only need what's relevant to your project size.
|
|
212
|
+
|
|
213
|
+
### Update-Safe Customization
|
|
214
|
+
|
|
215
|
+
All agent customizations go in `bmad/_cfg/agents/` and survive updates. See your IDE guide and module README for details.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 🆘 Getting Help
|
|
220
|
+
|
|
221
|
+
- **Discord**: [Join the BMad Community](https://discord.gg/gk8jAdXWmj)
|
|
222
|
+
- #general-dev - Technical questions
|
|
223
|
+
- #bugs-issues - Bug reports
|
|
224
|
+
- **Issues**: [GitHub Issue Tracker](https://github.com/bmad-code-org/BMAD-METHOD/issues)
|
|
225
|
+
- **YouTube**: [BMad Code Channel](https://www.youtube.com/@BMadCode)
|
package/docs/v4-to-v6-upgrade.md
CHANGED
|
@@ -196,14 +196,16 @@ If you're using:
|
|
|
196
196
|
|
|
197
197
|
After installation:
|
|
198
198
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
1. **Load the Analyst agent** - See your IDE-specific instructions in [docs/ide-info](./ide-info/) for how to activate agents:
|
|
200
|
+
- [Claude Code](./ide-info/claude-code.md)
|
|
201
|
+
- [Cursor](./ide-info/cursor.md)
|
|
202
|
+
- [VS Code/Windsurf](./ide-info/) - Check your IDE folder
|
|
203
|
+
|
|
204
|
+
2. **Wait for the agent's menu** to appear
|
|
205
|
+
|
|
206
|
+
3. **Tell the agent**: `*workflow-init` - v6 supports excellent natural language fuzzy matching, so you could also say "workflow init" or "please init the workflow"
|
|
205
207
|
|
|
206
|
-
Since you are migrating an existing project from v4,
|
|
208
|
+
Since you are migrating an existing project from v4, it's most likely **Level 3 or 4** you will want to suggest when asked - if you've already completed PRD/architecture in v4.
|
|
207
209
|
|
|
208
210
|
---
|
|
209
211
|
|
package/package.json
CHANGED