bmad-method 6.0.0-alpha.11 → 6.0.0-alpha.13
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/.github/workflows/bundle-latest.yaml +79 -27
- package/CHANGELOG.md +167 -1
- package/README.md +3 -1
- package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
- package/custom/src/agents/commit-poet/installation-guide.md +36 -0
- package/custom/src/agents/toolsmith/installation-guide.md +36 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
- package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
- package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
- package/docs/custom-agent-installation.md +31 -17
- package/docs/ide-info/rovo-dev.md +388 -0
- package/docs/index.md +6 -81
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
- package/package.json +3 -2
- package/src/core/agents/bmad-master.agent.yaml +1 -1
- package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
- package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
- package/src/core/tasks/advanced-elicitation.xml +18 -8
- package/src/core/tasks/workflow.xml +36 -71
- package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
- package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
- package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
- package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
- package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
- package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
- package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
- package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
- package/src/core/workflows/brainstorming/template.md +13 -104
- package/src/core/workflows/brainstorming/workflow.md +51 -0
- package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
- package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
- package/src/core/workflows/party-mode/workflow.md +207 -0
- package/src/modules/bmb/README.md +153 -86
- package/src/modules/bmb/_module-installer/install-config.yaml +3 -3
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +45 -31
- package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +1 -1
- package/src/modules/bmb/docs/agents/kb.csv +0 -0
- package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +1 -1
- package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +1 -1
- package/src/modules/bmb/docs/workflows/architecture.md +220 -0
- package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
- package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
- package/src/modules/bmb/docs/workflows/index.md +45 -0
- package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
- package/src/modules/bmb/docs/workflows/kb.csv +0 -0
- package/src/modules/bmb/docs/workflows/step-template.md +283 -0
- package/src/modules/bmb/docs/workflows/terms.md +97 -0
- package/src/modules/bmb/docs/workflows/workflow-template.md +152 -0
- package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +2 -2
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
- package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
- package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +168 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-design.md +239 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-11-build.md +262 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-12-review.md +270 -0
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +36 -0
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +39 -0
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +21 -0
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +53 -0
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +18 -0
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +47 -0
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +56 -0
- package/src/modules/bmb/workflows/create-workflow/templates/step-file.md +139 -0
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
- package/src/modules/bmb/workflows/create-workflow/templates/workflow.md +58 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
- package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
- package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
- package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
- package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
- package/src/modules/bmm/_module-installer/install-config.yaml +9 -15
- package/src/modules/bmm/agents/analyst.agent.yaml +14 -14
- package/src/modules/bmm/agents/architect.agent.yaml +12 -10
- package/src/modules/bmm/agents/dev.agent.yaml +20 -16
- package/src/modules/bmm/agents/pm.agent.yaml +13 -31
- package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
- package/src/modules/bmm/agents/sm.agent.yaml +13 -31
- package/src/modules/bmm/agents/tea.agent.yaml +10 -7
- package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
- package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
- package/src/modules/bmm/data/README.md +29 -0
- package/src/modules/bmm/data/project-context-template.md +40 -0
- package/src/modules/bmm/docs/README.md +21 -9
- package/src/modules/bmm/docs/agents-guide.md +69 -23
- package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
- package/src/modules/bmm/docs/brownfield-guide.md +9 -10
- package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
- package/src/modules/bmm/docs/glossary.md +5 -5
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +909 -1654
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -2
- package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
- package/src/modules/bmm/docs/test-architecture.md +84 -18
- package/src/modules/bmm/docs/workflows-analysis.md +36 -140
- package/src/modules/bmm/docs/workflows-implementation.md +32 -157
- package/src/modules/bmm/docs/workflows-planning.md +51 -212
- package/src/modules/bmm/docs/workflows-solutioning.md +24 -69
- package/src/modules/bmm/teams/default-party.csv +15 -14
- package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
- package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
- package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
- package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
- package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
- package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
- package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
- package/src/modules/bmm/testarch/knowledge/log.md +294 -0
- package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
- package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
- package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
- package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
- package/src/modules/bmm/testarch/tea-index.csv +11 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +16 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +198 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +5 -200
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +48 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +247 -476
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +8 -18
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +176 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
- package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +324 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
- package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
- package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
- package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
- package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
- package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +18 -1
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +28 -8
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
- package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +3 -2
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +3 -2
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +3 -2
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +3 -2
- package/src/modules/cis/agents/README.md +1 -1
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
- package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
- package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
- package/src/modules/cis/teams/default-party.csv +6 -5
- package/src/utility/models/agent-activation-ide.xml +4 -4
- package/src/utility/models/agent-activation-web.xml +1 -11
- package/src/utility/models/fragments/activation-rules.xml +5 -6
- package/src/utility/models/fragments/handler-exec.xml +6 -5
- package/src/utility/models/fragments/handler-multi.xml +14 -0
- package/test/README.md +1 -1
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
- package/tools/cli/README.md +1 -0
- package/tools/cli/bundlers/web-bundler.js +3 -14
- package/tools/cli/commands/agent-install.js +8 -8
- package/tools/cli/commands/cleanup.js +141 -0
- package/tools/cli/commands/install.js +48 -3
- package/tools/cli/installers/lib/core/config-collector.js +24 -0
- package/tools/cli/installers/lib/core/installer.js +612 -43
- package/tools/cli/installers/lib/ide/antigravity.js +51 -7
- package/tools/cli/installers/lib/ide/auggie.js +53 -0
- package/tools/cli/installers/lib/ide/claude-code.js +1 -6
- package/tools/cli/installers/lib/ide/cline.js +49 -0
- package/tools/cli/installers/lib/ide/codex.js +2 -2
- package/tools/cli/installers/lib/ide/crush.js +47 -0
- package/tools/cli/installers/lib/ide/gemini.js +47 -0
- package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
- package/tools/cli/installers/lib/ide/iflow.js +47 -0
- package/tools/cli/installers/lib/ide/kilo.js +74 -0
- package/tools/cli/installers/lib/ide/qwen.js +54 -0
- package/tools/cli/installers/lib/ide/roo.js +71 -0
- package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
- package/tools/cli/installers/lib/ide/trae.js +47 -0
- package/tools/cli/lib/agent/compiler.js +156 -22
- package/tools/cli/lib/agent/installer.js +13 -3
- package/tools/cli/lib/agent-analyzer.js +46 -18
- package/tools/cli/lib/ui.js +204 -9
- package/tools/cli/lib/yaml-xml-builder.js +123 -24
- package/tools/platform-codes.yaml +12 -0
- package/tools/schema/agent.js +169 -20
- package/src/core/tasks/adv-elicit-methods.csv +0 -39
- package/src/core/workflows/brainstorming/README.md +0 -261
- package/src/core/workflows/brainstorming/instructions.md +0 -315
- package/src/core/workflows/brainstorming/workflow.yaml +0 -38
- package/src/core/workflows/party-mode/instructions.md +0 -183
- package/src/core/workflows/party-mode/workflow.yaml +0 -28
- package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
- package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
- package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
- package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
- package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
- package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
- package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
- package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
- package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
- package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
- package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
- package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
- package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
- package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
- package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
- package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
- package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
- package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
- package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
- package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
- package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
- package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
- package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
- package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
- package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
- package/src/modules/bmm/docs/quick-spec-flow.md +0 -652
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
- package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
- package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
- package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
- package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
- package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
- package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
- package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
- package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
- package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
- package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
- package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
- package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
- package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
- package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
- /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
- /package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +0 -0
- /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
- /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
- /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
- /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/README.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/brainstorm-context.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/checklist.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/install-config.yaml +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/installer.js +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/instructions.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/module-structure.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/workflow.yaml +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
- /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
- /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
<!-- BMAD BMM Tech Spec Workflow Instructions (v6) -->
|
|
2
|
-
|
|
3
|
-
```xml
|
|
4
|
-
<critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
5
|
-
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
6
|
-
<critical>Communicate all responses in {communication_language}</critical>
|
|
7
|
-
<critical>This workflow generates a comprehensive Technical Specification from PRD and Architecture, including detailed design, NFRs, acceptance criteria, and traceability mapping.</critical>
|
|
8
|
-
<critical>If required inputs cannot be auto-discovered HALT with a clear message listing missing documents, allow user to provide them to proceed.</critical>
|
|
9
|
-
|
|
10
|
-
<workflow>
|
|
11
|
-
<step n="1" goal="Collect inputs and discover next epic" tag="sprint-status">
|
|
12
|
-
<action>Identify PRD and Architecture documents from recommended_inputs. Attempt to auto-discover at default paths.</action>
|
|
13
|
-
<ask if="inputs are missing">ask the user for file paths. HALT and wait for docs to proceed</ask>
|
|
14
|
-
|
|
15
|
-
<!-- Intelligent Epic Discovery -->
|
|
16
|
-
<critical>MUST read COMPLETE {sprint-status} file to discover next epic</critical>
|
|
17
|
-
<action>Read ALL development_status entries</action>
|
|
18
|
-
<action>Find all epics with status "backlog" (not yet contexted)</action>
|
|
19
|
-
<action>Identify the FIRST backlog epic as the suggested default</action>
|
|
20
|
-
|
|
21
|
-
<check if="backlog epics found">
|
|
22
|
-
<output>📋 **Next Epic Suggested:** Epic {{suggested_epic_id}}: {{suggested_epic_title}}</output>
|
|
23
|
-
<ask>Use this epic?
|
|
24
|
-
- [y] Yes, use {{suggested_epic_id}}
|
|
25
|
-
- [n] No, let me specify a different epic_id
|
|
26
|
-
</ask>
|
|
27
|
-
|
|
28
|
-
<check if="user selects 'n'">
|
|
29
|
-
<ask>Enter the epic_id you want to context</ask>
|
|
30
|
-
<action>Store user-provided epic_id as {{epic_id}}</action>
|
|
31
|
-
</check>
|
|
32
|
-
|
|
33
|
-
<check if="user selects 'y'">
|
|
34
|
-
<action>Use {{suggested_epic_id}} as {{epic_id}}</action>
|
|
35
|
-
</check>
|
|
36
|
-
</check>
|
|
37
|
-
|
|
38
|
-
<check if="no backlog epics found">
|
|
39
|
-
<output>✅ All epics are already contexted!
|
|
40
|
-
|
|
41
|
-
No epics with status "backlog" found in sprint-status.yaml.
|
|
42
|
-
</output>
|
|
43
|
-
<ask>Do you want to re-context an existing epic? Enter epic_id or [q] to quit:</ask>
|
|
44
|
-
|
|
45
|
-
<check if="user enters epic_id">
|
|
46
|
-
<action>Store as {{epic_id}}</action>
|
|
47
|
-
</check>
|
|
48
|
-
|
|
49
|
-
<check if="user enters 'q'">
|
|
50
|
-
<action>HALT - No work needed</action>
|
|
51
|
-
</check>
|
|
52
|
-
</check>
|
|
53
|
-
|
|
54
|
-
<action>Resolve output file path using workflow variables and initialize by writing the template.</action>
|
|
55
|
-
</step>
|
|
56
|
-
|
|
57
|
-
<step n="1.5" goal="Discover and load project documents">
|
|
58
|
-
<invoke-protocol name="discover_inputs" />
|
|
59
|
-
<note>After discovery, these content variables are available: {prd_content}, {gdd_content}, {architecture_content}, {ux_design_content}, {epics_content} (will load only epic-{{epic_id}}.md if sharded), {document_project_content}</note>
|
|
60
|
-
<action>Extract {{epic_title}} from {prd_content} or {epics_content} based on {{epic_id}}.</action>
|
|
61
|
-
</step>
|
|
62
|
-
|
|
63
|
-
<step n="2" goal="Validate epic exists in sprint status" tag="sprint-status">
|
|
64
|
-
<action>Look for epic key "epic-{{epic_id}}" in development_status (already loaded from step 1)</action>
|
|
65
|
-
<action>Get current status value if epic exists</action>
|
|
66
|
-
|
|
67
|
-
<check if="epic not found">
|
|
68
|
-
<output>⚠️ Epic {{epic_id}} not found in sprint-status.yaml
|
|
69
|
-
|
|
70
|
-
This epic hasn't been registered in the sprint plan yet.
|
|
71
|
-
Run sprint-planning workflow to initialize epic tracking.
|
|
72
|
-
</output>
|
|
73
|
-
<action>HALT</action>
|
|
74
|
-
</check>
|
|
75
|
-
|
|
76
|
-
<check if="epic status == 'contexted'">
|
|
77
|
-
<output>ℹ️ Epic {{epic_id}} already marked as contexted
|
|
78
|
-
|
|
79
|
-
Continuing to regenerate tech spec...
|
|
80
|
-
</output>
|
|
81
|
-
</check>
|
|
82
|
-
</step>
|
|
83
|
-
|
|
84
|
-
<step n="3" goal="Overview and scope">
|
|
85
|
-
<action>Read COMPLETE found {recommended_inputs}.</action>
|
|
86
|
-
<template-output file="{default_output_file}">
|
|
87
|
-
Replace {{overview}} with a concise 1-2 paragraph summary referencing PRD context and goals
|
|
88
|
-
Replace {{objectives_scope}} with explicit in-scope and out-of-scope bullets
|
|
89
|
-
Replace {{system_arch_alignment}} with a short alignment summary to the architecture (components referenced, constraints)
|
|
90
|
-
</template-output>
|
|
91
|
-
</step>
|
|
92
|
-
|
|
93
|
-
<step n="4" goal="Detailed design">
|
|
94
|
-
<action>Derive concrete implementation specifics from all {recommended_inputs} (CRITICAL: NO invention). If a epic tech spec precedes this one and exists, maintain consistency where appropriate.</action>
|
|
95
|
-
<template-output file="{default_output_file}">
|
|
96
|
-
Replace {{services_modules}} with a table or bullets listing services/modules with responsibilities, inputs/outputs, and owners
|
|
97
|
-
Replace {{data_models}} with normalized data model definitions (entities, fields, types, relationships); include schema snippets where available
|
|
98
|
-
Replace {{apis_interfaces}} with API endpoint specs or interface signatures (method, path, request/response models, error codes)
|
|
99
|
-
Replace {{workflows_sequencing}} with sequence notes or diagrams-as-text (steps, actors, data flow)
|
|
100
|
-
</template-output>
|
|
101
|
-
</step>
|
|
102
|
-
|
|
103
|
-
<step n="5" goal="Non-functional requirements">
|
|
104
|
-
<template-output file="{default_output_file}">
|
|
105
|
-
Replace {{nfr_performance}} with measurable targets (latency, throughput); link to any performance requirements in PRD/Architecture
|
|
106
|
-
Replace {{nfr_security}} with authn/z requirements, data handling, threat notes; cite source sections
|
|
107
|
-
Replace {{nfr_reliability}} with availability, recovery, and degradation behavior
|
|
108
|
-
Replace {{nfr_observability}} with logging, metrics, tracing requirements; name required signals
|
|
109
|
-
</template-output>
|
|
110
|
-
</step>
|
|
111
|
-
|
|
112
|
-
<step n="6" goal="Dependencies and integrations">
|
|
113
|
-
<action>Scan repository for dependency manifests (e.g., package.json, pyproject.toml, go.mod, Unity Packages/manifest.json).</action>
|
|
114
|
-
<template-output file="{default_output_file}">
|
|
115
|
-
Replace {{dependencies_integrations}} with a structured list of dependencies and integration points with version or commit constraints when known
|
|
116
|
-
</template-output>
|
|
117
|
-
</step>
|
|
118
|
-
|
|
119
|
-
<step n="7" goal="Acceptance criteria and traceability">
|
|
120
|
-
<action>Extract acceptance criteria from PRD; normalize into atomic, testable statements.</action>
|
|
121
|
-
<template-output file="{default_output_file}">
|
|
122
|
-
Replace {{acceptance_criteria}} with a numbered list of testable acceptance criteria
|
|
123
|
-
Replace {{traceability_mapping}} with a table mapping: AC → Spec Section(s) → Component(s)/API(s) → Test Idea
|
|
124
|
-
</template-output>
|
|
125
|
-
</step>
|
|
126
|
-
|
|
127
|
-
<step n="8" goal="Risks and test strategy">
|
|
128
|
-
<template-output file="{default_output_file}">
|
|
129
|
-
Replace {{risks_assumptions_questions}} with explicit list (each item labeled as Risk/Assumption/Question) with mitigation or next step
|
|
130
|
-
Replace {{test_strategy}} with a brief plan (test levels, frameworks, coverage of ACs, edge cases)
|
|
131
|
-
</template-output>
|
|
132
|
-
</step>
|
|
133
|
-
|
|
134
|
-
<step n="9" goal="Validate and mark epic contexted" tag="sprint-status">
|
|
135
|
-
<invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
|
|
136
|
-
|
|
137
|
-
<!-- Mark epic as contexted -->
|
|
138
|
-
<action>Load the FULL file: {sprint_status}</action>
|
|
139
|
-
<action>Find development_status key "epic-{{epic_id}}"</action>
|
|
140
|
-
<action>Verify current status is "backlog" (expected previous state)</action>
|
|
141
|
-
<action>Update development_status["epic-{{epic_id}}"] = "contexted"</action>
|
|
142
|
-
<action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
|
|
143
|
-
|
|
144
|
-
<check if="epic key not found in file">
|
|
145
|
-
<output>⚠️ Could not update epic status: epic-{{epic_id}} not found</output>
|
|
146
|
-
</check>
|
|
147
|
-
|
|
148
|
-
<output>**✅ Tech Spec Generated Successfully, {user_name}!**
|
|
149
|
-
|
|
150
|
-
**Epic Details:**
|
|
151
|
-
- Epic ID: {{epic_id}}
|
|
152
|
-
- Epic Title: {{epic_title}}
|
|
153
|
-
- Tech Spec File: {{default_output_file}}
|
|
154
|
-
- Epic Status: contexted (was backlog)
|
|
155
|
-
|
|
156
|
-
**Note:** This is a JIT (Just-In-Time) workflow - run again for other epics as needed.
|
|
157
|
-
|
|
158
|
-
**Next Steps:**
|
|
159
|
-
1. Load SM agent and run `create-story` to begin implementing the first story under this epic.
|
|
160
|
-
</output>
|
|
161
|
-
</step>
|
|
162
|
-
|
|
163
|
-
</workflow>
|
|
164
|
-
```
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Epic Technical Specification: {{epic_title}}
|
|
2
|
-
|
|
3
|
-
Date: {{date}}
|
|
4
|
-
Author: {{user_name}}
|
|
5
|
-
Epic ID: {{epic_id}}
|
|
6
|
-
Status: Draft
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Overview
|
|
11
|
-
|
|
12
|
-
{{overview}}
|
|
13
|
-
|
|
14
|
-
## Objectives and Scope
|
|
15
|
-
|
|
16
|
-
{{objectives_scope}}
|
|
17
|
-
|
|
18
|
-
## System Architecture Alignment
|
|
19
|
-
|
|
20
|
-
{{system_arch_alignment}}
|
|
21
|
-
|
|
22
|
-
## Detailed Design
|
|
23
|
-
|
|
24
|
-
### Services and Modules
|
|
25
|
-
|
|
26
|
-
{{services_modules}}
|
|
27
|
-
|
|
28
|
-
### Data Models and Contracts
|
|
29
|
-
|
|
30
|
-
{{data_models}}
|
|
31
|
-
|
|
32
|
-
### APIs and Interfaces
|
|
33
|
-
|
|
34
|
-
{{apis_interfaces}}
|
|
35
|
-
|
|
36
|
-
### Workflows and Sequencing
|
|
37
|
-
|
|
38
|
-
{{workflows_sequencing}}
|
|
39
|
-
|
|
40
|
-
## Non-Functional Requirements
|
|
41
|
-
|
|
42
|
-
### Performance
|
|
43
|
-
|
|
44
|
-
{{nfr_performance}}
|
|
45
|
-
|
|
46
|
-
### Security
|
|
47
|
-
|
|
48
|
-
{{nfr_security}}
|
|
49
|
-
|
|
50
|
-
### Reliability/Availability
|
|
51
|
-
|
|
52
|
-
{{nfr_reliability}}
|
|
53
|
-
|
|
54
|
-
### Observability
|
|
55
|
-
|
|
56
|
-
{{nfr_observability}}
|
|
57
|
-
|
|
58
|
-
## Dependencies and Integrations
|
|
59
|
-
|
|
60
|
-
{{dependencies_integrations}}
|
|
61
|
-
|
|
62
|
-
## Acceptance Criteria (Authoritative)
|
|
63
|
-
|
|
64
|
-
{{acceptance_criteria}}
|
|
65
|
-
|
|
66
|
-
## Traceability Mapping
|
|
67
|
-
|
|
68
|
-
{{traceability_mapping}}
|
|
69
|
-
|
|
70
|
-
## Risks, Assumptions, Open Questions
|
|
71
|
-
|
|
72
|
-
{{risks_assumptions_questions}}
|
|
73
|
-
|
|
74
|
-
## Test Strategy Summary
|
|
75
|
-
|
|
76
|
-
{{test_strategy}}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
name: epic-tech-context
|
|
2
|
-
description: "Generate a comprehensive Technical Specification from PRD and Architecture with acceptance criteria and traceability mapping"
|
|
3
|
-
author: "BMAD BMM"
|
|
4
|
-
|
|
5
|
-
# Critical variables
|
|
6
|
-
config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
|
|
7
|
-
output_folder: "{config_source}:output_folder"
|
|
8
|
-
user_name: "{config_source}:user_name"
|
|
9
|
-
communication_language: "{config_source}:communication_language"
|
|
10
|
-
date: system-generated
|
|
11
|
-
sprint_artifacts: "{config_source}:sprint_artifacts"
|
|
12
|
-
sprint_status: "{sprint_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
|
|
13
|
-
|
|
14
|
-
# Smart input file references - handles both whole docs and sharded docs
|
|
15
|
-
# Priority: Whole document first, then sharded version
|
|
16
|
-
# Strategy: SELECTIVE LOAD - only load the specific epic needed (epic_num from context)
|
|
17
|
-
input_file_patterns:
|
|
18
|
-
prd:
|
|
19
|
-
description: "Product requirements (optional)"
|
|
20
|
-
whole: "{output_folder}/*prd*.md"
|
|
21
|
-
sharded: "{output_folder}/*prd*/*.md"
|
|
22
|
-
load_strategy: "FULL_LOAD"
|
|
23
|
-
gdd:
|
|
24
|
-
description: "Game Design Document (for game projects)"
|
|
25
|
-
whole: "{output_folder}/*gdd*.md"
|
|
26
|
-
sharded: "{output_folder}/*gdd*/*.md"
|
|
27
|
-
load_strategy: "FULL_LOAD"
|
|
28
|
-
architecture:
|
|
29
|
-
description: "System architecture and decisions"
|
|
30
|
-
whole: "{output_folder}/*architecture*.md"
|
|
31
|
-
sharded: "{output_folder}/*architecture*/*.md"
|
|
32
|
-
load_strategy: "FULL_LOAD"
|
|
33
|
-
ux_design:
|
|
34
|
-
description: "UX design specification (if UI)"
|
|
35
|
-
whole: "{output_folder}/*ux*.md"
|
|
36
|
-
sharded: "{output_folder}/*ux*/*.md"
|
|
37
|
-
load_strategy: "FULL_LOAD"
|
|
38
|
-
epics:
|
|
39
|
-
description: "Specific epic for tech spec generation"
|
|
40
|
-
whole: "{output_folder}/*epic*.md"
|
|
41
|
-
sharded_index: "{output_folder}/*epic*/index.md"
|
|
42
|
-
sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
|
|
43
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
44
|
-
document_project:
|
|
45
|
-
description: "Brownfield project documentation (optional)"
|
|
46
|
-
sharded: "{output_folder}/index.md"
|
|
47
|
-
load_strategy: "INDEX_GUIDED"
|
|
48
|
-
|
|
49
|
-
# Workflow components
|
|
50
|
-
installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/epic-tech-context"
|
|
51
|
-
template: "{installed_path}/template.md"
|
|
52
|
-
instructions: "{installed_path}/instructions.md"
|
|
53
|
-
validation: "{installed_path}/checklist.md"
|
|
54
|
-
|
|
55
|
-
# Output configuration
|
|
56
|
-
default_output_file: "{sprint_artifacts}/tech-spec-epic-{{epic_id}}.md"
|
|
57
|
-
standalone: true
|
|
58
|
-
web_bundle: false
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Story Context Assembly Checklist
|
|
2
|
-
|
|
3
|
-
```xml
|
|
4
|
-
<checklist id="{bmad_folder}/bmm/workflows/4-implementation/story-context/checklist">
|
|
5
|
-
<item>Story fields (asA/iWant/soThat) captured</item>
|
|
6
|
-
<item>Acceptance criteria list matches story draft exactly (no invention)</item>
|
|
7
|
-
<item>Tasks/subtasks captured as task list</item>
|
|
8
|
-
<item>Relevant docs (5-15) included with path and snippets</item>
|
|
9
|
-
<item>Relevant code references included with reason and line hints</item>
|
|
10
|
-
<item>Interfaces/API contracts extracted if applicable</item>
|
|
11
|
-
<item>Constraints include applicable dev rules and patterns</item>
|
|
12
|
-
<item>Dependencies detected from manifests and frameworks</item>
|
|
13
|
-
<item>Testing standards and locations populated</item>
|
|
14
|
-
<item>XML structure follows story-context template format</item>
|
|
15
|
-
</checklist>
|
|
16
|
-
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<story-context id="{bmad_folder}/bmm/workflows/4-implementation/story-context/template" v="1.0">
|
|
2
|
-
<metadata>
|
|
3
|
-
<epicId>{{epic_id}}</epicId>
|
|
4
|
-
<storyId>{{story_id}}</storyId>
|
|
5
|
-
<title>{{story_title}}</title>
|
|
6
|
-
<status>{{story_status}}</status>
|
|
7
|
-
<generatedAt>{{date}}</generatedAt>
|
|
8
|
-
<generator>BMAD Story Context Workflow</generator>
|
|
9
|
-
<sourceStoryPath>{{story_path}}</sourceStoryPath>
|
|
10
|
-
</metadata>
|
|
11
|
-
|
|
12
|
-
<story>
|
|
13
|
-
<asA>{{as_a}}</asA>
|
|
14
|
-
<iWant>{{i_want}}</iWant>
|
|
15
|
-
<soThat>{{so_that}}</soThat>
|
|
16
|
-
<tasks>{{story_tasks}}</tasks>
|
|
17
|
-
</story>
|
|
18
|
-
|
|
19
|
-
<acceptanceCriteria>{{acceptance_criteria}}</acceptanceCriteria>
|
|
20
|
-
|
|
21
|
-
<artifacts>
|
|
22
|
-
<docs>{{docs_artifacts}}</docs>
|
|
23
|
-
<code>{{code_artifacts}}</code>
|
|
24
|
-
<dependencies>{{dependencies_artifacts}}</dependencies>
|
|
25
|
-
</artifacts>
|
|
26
|
-
|
|
27
|
-
<constraints>{{constraints}}</constraints>
|
|
28
|
-
<interfaces>{{interfaces}}</interfaces>
|
|
29
|
-
<tests>
|
|
30
|
-
<standards>{{test_standards}}</standards>
|
|
31
|
-
<locations>{{test_locations}}</locations>
|
|
32
|
-
<ideas>{{test_ideas}}</ideas>
|
|
33
|
-
</tests>
|
|
34
|
-
</story-context>
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
<!-- BMAD BMM Story Context Assembly Instructions (v6) -->
|
|
2
|
-
|
|
3
|
-
```xml
|
|
4
|
-
<critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
5
|
-
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
6
|
-
<critical>Communicate all responses in {communication_language}</critical>
|
|
7
|
-
<critical>Generate all documents in {document_output_language}</critical>
|
|
8
|
-
<critical>This workflow assembles a Story Context file for a single drafted story by extracting acceptance criteria, tasks, relevant docs/code, interfaces, constraints, and testing guidance.</critical>
|
|
9
|
-
<critical>If {story_path} is provided, use it. Otherwise, find the first story with status "drafted" in sprint-status.yaml. If none found, HALT.</critical>
|
|
10
|
-
<critical>Check if context file already exists. If it does, ask user if they want to replace it, verify it, or cancel.</critical>
|
|
11
|
-
|
|
12
|
-
<critical>DOCUMENT OUTPUT: Technical context file (.context.xml). Concise, structured, project-relative paths only.</critical>
|
|
13
|
-
|
|
14
|
-
<workflow>
|
|
15
|
-
<step n="1" goal="Find drafted story and check for existing context" tag="sprint-status">
|
|
16
|
-
<check if="{{story_path}} is provided">
|
|
17
|
-
<action>Use {{story_path}} directly</action>
|
|
18
|
-
<action>Read COMPLETE story file and parse sections</action>
|
|
19
|
-
<action>Extract story_key from filename or story metadata</action>
|
|
20
|
-
<action>Verify Status is "drafted" - if not, HALT with message: "Story status must be 'drafted' to generate context"</action>
|
|
21
|
-
</check>
|
|
22
|
-
|
|
23
|
-
<check if="{{story_path}} is NOT provided">
|
|
24
|
-
<critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
|
|
25
|
-
<action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
|
|
26
|
-
<action>Read ALL lines from beginning to end - do not skip any content</action>
|
|
27
|
-
<action>Parse the development_status section completely</action>
|
|
28
|
-
|
|
29
|
-
<action>Find FIRST story (reading in order from top to bottom) where:
|
|
30
|
-
- Key matches pattern: number-number-name (e.g., "1-2-user-auth")
|
|
31
|
-
- NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
|
|
32
|
-
- Status value equals "drafted"
|
|
33
|
-
</action>
|
|
34
|
-
|
|
35
|
-
<check if="no story with status 'drafted' found">
|
|
36
|
-
<output>📋 No drafted stories found in sprint-status.yaml
|
|
37
|
-
All stories are either still in backlog or already marked ready/in-progress/done.
|
|
38
|
-
|
|
39
|
-
**Next Steps:**
|
|
40
|
-
1. Run `create-story` to draft more stories
|
|
41
|
-
2. Run `sprint-planning` to refresh story tracking
|
|
42
|
-
</output>
|
|
43
|
-
<action>HALT</action>
|
|
44
|
-
</check>
|
|
45
|
-
|
|
46
|
-
<action>Use the first drafted story found</action>
|
|
47
|
-
<action>Find matching story file in {{story_path}} using story_key pattern</action>
|
|
48
|
-
<action>Read the COMPLETE story file</action>
|
|
49
|
-
</check>
|
|
50
|
-
|
|
51
|
-
<action>Extract {{epic_id}}, {{story_id}}, {{story_title}}, {{story_status}} from filename/content</action>
|
|
52
|
-
<action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes</action>
|
|
53
|
-
<action>Extract user story fields (asA, iWant, soThat)</action>
|
|
54
|
-
<template-output file="{default_output_file}">story_tasks</template-output>
|
|
55
|
-
<template-output file="{default_output_file}">acceptance_criteria</template-output>
|
|
56
|
-
|
|
57
|
-
<!-- Check if context file already exists -->
|
|
58
|
-
<action>Check if file exists at {default_output_file}</action>
|
|
59
|
-
|
|
60
|
-
<check if="context file already exists">
|
|
61
|
-
<output>⚠️ Context file already exists: {default_output_file}
|
|
62
|
-
|
|
63
|
-
**What would you like to do?**
|
|
64
|
-
1. **Replace** - Generate new context file (overwrites existing)
|
|
65
|
-
2. **Verify** - Validate existing context file
|
|
66
|
-
3. **Cancel** - Exit without changes
|
|
67
|
-
</output>
|
|
68
|
-
<ask>Choose action (replace/verify/cancel):</ask>
|
|
69
|
-
|
|
70
|
-
<check if="user chooses verify">
|
|
71
|
-
<action>GOTO validation_step</action>
|
|
72
|
-
</check>
|
|
73
|
-
|
|
74
|
-
<check if="user chooses cancel">
|
|
75
|
-
<action>HALT with message: "Context generation cancelled"</action>
|
|
76
|
-
</check>
|
|
77
|
-
|
|
78
|
-
<check if="user chooses replace">
|
|
79
|
-
<action>Continue to generate new context file</action>
|
|
80
|
-
</check>
|
|
81
|
-
</check>
|
|
82
|
-
|
|
83
|
-
<action>Store project root path for relative path conversion: extract from {project-root} variable</action>
|
|
84
|
-
<action>Define path normalization function: convert any absolute path to project-relative by removing project root prefix</action>
|
|
85
|
-
<action>Initialize output by writing template to {default_output_file}</action>
|
|
86
|
-
<template-output file="{default_output_file}">as_a</template-output>
|
|
87
|
-
<template-output file="{default_output_file}">i_want</template-output>
|
|
88
|
-
<template-output file="{default_output_file}">so_that</template-output>
|
|
89
|
-
</step>
|
|
90
|
-
|
|
91
|
-
<step n="1.5" goal="Discover and load project documents">
|
|
92
|
-
<invoke-protocol name="discover_inputs" />
|
|
93
|
-
<note>After discovery, these content variables are available: {prd_content}, {tech_spec_content}, {architecture_content}, {ux_design_content}, {epics_content} (loads only epic for this story if sharded), {document_project_content}</note>
|
|
94
|
-
</step>
|
|
95
|
-
|
|
96
|
-
<step n="2" goal="Collect relevant documentation">
|
|
97
|
-
<action>Review loaded content from Step 1.5 for items relevant to this story's domain (use keywords from story title, ACs, and tasks).</action>
|
|
98
|
-
<action>Extract relevant sections from: {prd_content}, {tech_spec_content}, {architecture_content}, {ux_design_content}, {document_project_content}</action>
|
|
99
|
-
<action>Note: Tech-Spec ({tech_spec_content}) is used for Level 0-1 projects (instead of PRD). It contains comprehensive technical context, brownfield analysis, framework details, existing patterns, and implementation guidance.</action>
|
|
100
|
-
<action>For each discovered document: convert absolute paths to project-relative format by removing {project-root} prefix. Store only relative paths (e.g., "docs/prd.md" not "/Users/.../docs/prd.md").</action>
|
|
101
|
-
<template-output file="{default_output_file}">
|
|
102
|
-
Add artifacts.docs entries with {path, title, section, snippet}:
|
|
103
|
-
- path: PROJECT-RELATIVE path only (strip {project-root} prefix)
|
|
104
|
-
- title: Document title
|
|
105
|
-
- section: Relevant section name
|
|
106
|
-
- snippet: Brief excerpt (2-3 sentences max, NO invention)
|
|
107
|
-
</template-output>
|
|
108
|
-
</step>
|
|
109
|
-
|
|
110
|
-
<step n="3" goal="Analyze existing code, interfaces, and constraints">
|
|
111
|
-
<action>Search source tree for modules, files, and symbols matching story intent and AC keywords (controllers, services, components, tests).</action>
|
|
112
|
-
<action>Identify existing interfaces/APIs the story should reuse rather than recreate.</action>
|
|
113
|
-
<action>Extract development constraints from Dev Notes and architecture (patterns, layers, testing requirements).</action>
|
|
114
|
-
<action>For all discovered code artifacts: convert absolute paths to project-relative format (strip {project-root} prefix).</action>
|
|
115
|
-
<template-output file="{default_output_file}">
|
|
116
|
-
Add artifacts.code entries with {path, kind, symbol, lines, reason}:
|
|
117
|
-
- path: PROJECT-RELATIVE path only (e.g., "src/services/api.js" not full path)
|
|
118
|
-
- kind: file type (controller, service, component, test, etc.)
|
|
119
|
-
- symbol: function/class/interface name
|
|
120
|
-
- lines: line range if specific (e.g., "45-67")
|
|
121
|
-
- reason: brief explanation of relevance to this story
|
|
122
|
-
|
|
123
|
-
Populate interfaces with API/interface signatures:
|
|
124
|
-
- name: Interface or API name
|
|
125
|
-
- kind: REST endpoint, GraphQL, function signature, class interface
|
|
126
|
-
- signature: Full signature or endpoint definition
|
|
127
|
-
- path: PROJECT-RELATIVE path to definition
|
|
128
|
-
|
|
129
|
-
Populate constraints with development rules:
|
|
130
|
-
- Extract from Dev Notes and architecture
|
|
131
|
-
- Include: required patterns, layer restrictions, testing requirements, coding standards
|
|
132
|
-
</template-output>
|
|
133
|
-
</step>
|
|
134
|
-
|
|
135
|
-
<step n="4" goal="Gather dependencies and frameworks">
|
|
136
|
-
<action>Detect dependency manifests and frameworks in the repo:
|
|
137
|
-
- Node: package.json (dependencies/devDependencies)
|
|
138
|
-
- Python: pyproject.toml/requirements.txt
|
|
139
|
-
- Go: go.mod
|
|
140
|
-
- Unity: Packages/manifest.json, Assets/, ProjectSettings/
|
|
141
|
-
- Other: list notable frameworks/configs found</action>
|
|
142
|
-
<template-output file="{default_output_file}">
|
|
143
|
-
Populate artifacts.dependencies with keys for detected ecosystems and their packages with version ranges where present
|
|
144
|
-
</template-output>
|
|
145
|
-
</step>
|
|
146
|
-
|
|
147
|
-
<step n="5" goal="Testing standards and ideas">
|
|
148
|
-
<action>From Dev Notes, architecture docs, testing docs, and existing tests, extract testing standards (frameworks, patterns, locations).</action>
|
|
149
|
-
<template-output file="{default_output_file}">
|
|
150
|
-
Populate tests.standards with a concise paragraph
|
|
151
|
-
Populate tests.locations with directories or glob patterns where tests live
|
|
152
|
-
Populate tests.ideas with initial test ideas mapped to acceptance criteria IDs
|
|
153
|
-
</template-output>
|
|
154
|
-
</step>
|
|
155
|
-
|
|
156
|
-
<step n="6" goal="Validate and save">
|
|
157
|
-
<anchor id="validation_step" />
|
|
158
|
-
<action>Validate output context file structure and content</action>
|
|
159
|
-
<invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
|
|
160
|
-
</step>
|
|
161
|
-
|
|
162
|
-
<step n="7" goal="Update story file and mark ready for dev" tag="sprint-status">
|
|
163
|
-
<action>Open {{story_path}}</action>
|
|
164
|
-
<action>Find the "Status:" line (usually at the top)</action>
|
|
165
|
-
<action>Update story file: Change Status to "ready-for-dev"</action>
|
|
166
|
-
<action>Under 'Dev Agent Record' → 'Context Reference' (create if missing), add or update a list item for {default_output_file}.</action>
|
|
167
|
-
<action>Save the story file.</action>
|
|
168
|
-
|
|
169
|
-
<!-- Update sprint status to mark ready-for-dev -->
|
|
170
|
-
<action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
|
|
171
|
-
<action>Find development_status key matching {{story_key}}</action>
|
|
172
|
-
<action>Verify current status is "drafted" (expected previous state)</action>
|
|
173
|
-
<action>Update development_status[{{story_key}}] = "ready-for-dev"</action>
|
|
174
|
-
<action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
|
|
175
|
-
|
|
176
|
-
<check if="story key not found in file">
|
|
177
|
-
<output>⚠️ Story file updated, but could not update sprint-status: {{story_key}} not found
|
|
178
|
-
|
|
179
|
-
You may need to run sprint-planning to refresh tracking.
|
|
180
|
-
</output>
|
|
181
|
-
</check>
|
|
182
|
-
|
|
183
|
-
<output>✅ Story context generated successfully, {user_name}!
|
|
184
|
-
|
|
185
|
-
**Story Details:**
|
|
186
|
-
|
|
187
|
-
- Story: {{epic_id}}.{{story_id}} - {{story_title}}
|
|
188
|
-
- Story Key: {{story_key}}
|
|
189
|
-
- Context File: {default_output_file}
|
|
190
|
-
- Status: drafted → ready-for-dev
|
|
191
|
-
|
|
192
|
-
**Context Includes:**
|
|
193
|
-
|
|
194
|
-
- Documentation artifacts and references
|
|
195
|
-
- Existing code and interfaces
|
|
196
|
-
- Dependencies and frameworks
|
|
197
|
-
- Testing standards and ideas
|
|
198
|
-
- Development constraints
|
|
199
|
-
|
|
200
|
-
**Next Steps:**
|
|
201
|
-
|
|
202
|
-
1. Review the context file: {default_output_file}
|
|
203
|
-
2. Run `dev-story` to implement the story
|
|
204
|
-
3. Generate context for more drafted stories if needed
|
|
205
|
-
</output>
|
|
206
|
-
</step>
|
|
207
|
-
|
|
208
|
-
</workflow>
|
|
209
|
-
```
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# Story Context Creation Workflow
|
|
2
|
-
name: story-context
|
|
3
|
-
description: "Assemble a dynamic Story Context XML by pulling latest documentation and existing code/library artifacts relevant to a drafted story"
|
|
4
|
-
author: "BMad"
|
|
5
|
-
|
|
6
|
-
# Critical variables
|
|
7
|
-
config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
|
|
8
|
-
output_folder: "{config_source}:output_folder"
|
|
9
|
-
user_name: "{config_source}:user_name"
|
|
10
|
-
communication_language: "{config_source}:communication_language"
|
|
11
|
-
document_output_language: "{config_source}:document_output_language"
|
|
12
|
-
story_path: "{config_source}:sprint_artifacts"
|
|
13
|
-
date: system-generated
|
|
14
|
-
sprint_artifacts: "{config_source}:sprint_artifacts"
|
|
15
|
-
sprint_status: "{sprint_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
|
|
16
|
-
|
|
17
|
-
# Workflow components
|
|
18
|
-
installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/story-context"
|
|
19
|
-
template: "{installed_path}/context-template.xml"
|
|
20
|
-
instructions: "{installed_path}/instructions.md"
|
|
21
|
-
validation: "{installed_path}/checklist.md"
|
|
22
|
-
|
|
23
|
-
# Smart input file references - handles both whole docs and sharded docs
|
|
24
|
-
# Priority: Whole document first, then sharded version
|
|
25
|
-
# Strategy: SELECTIVE LOAD - only load the specific epic needed for this story
|
|
26
|
-
input_file_patterns:
|
|
27
|
-
prd:
|
|
28
|
-
description: "Product requirements (optional)"
|
|
29
|
-
whole: "{output_folder}/*prd*.md"
|
|
30
|
-
sharded: "{output_folder}/*prd*/*.md"
|
|
31
|
-
load_strategy: "FULL_LOAD"
|
|
32
|
-
tech_spec:
|
|
33
|
-
description: "Technical specification (Quick Flow track)"
|
|
34
|
-
whole: "{output_folder}/tech-spec.md"
|
|
35
|
-
load_strategy: "FULL_LOAD"
|
|
36
|
-
architecture:
|
|
37
|
-
description: "System architecture and decisions"
|
|
38
|
-
whole: "{output_folder}/*architecture*.md"
|
|
39
|
-
sharded: "{output_folder}/*architecture*/*.md"
|
|
40
|
-
load_strategy: "FULL_LOAD"
|
|
41
|
-
ux_design:
|
|
42
|
-
description: "UX design specification (if UI)"
|
|
43
|
-
whole: "{output_folder}/*ux*.md"
|
|
44
|
-
sharded: "{output_folder}/*ux*/*.md"
|
|
45
|
-
load_strategy: "FULL_LOAD"
|
|
46
|
-
epics:
|
|
47
|
-
description: "Epic containing this story"
|
|
48
|
-
whole: "{output_folder}/*epic*.md"
|
|
49
|
-
sharded_index: "{output_folder}/*epic*/index.md"
|
|
50
|
-
sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
|
|
51
|
-
load_strategy: "SELECTIVE_LOAD"
|
|
52
|
-
document_project:
|
|
53
|
-
description: "Brownfield project documentation (optional)"
|
|
54
|
-
sharded: "{output_folder}/index.md"
|
|
55
|
-
load_strategy: "INDEX_GUIDED"
|
|
56
|
-
|
|
57
|
-
# Output configuration
|
|
58
|
-
# Uses story_key from sprint-status.yaml (e.g., "1-2-user-authentication")
|
|
59
|
-
default_output_file: "{story_path}/{{story_key}}.context.xml"
|
|
60
|
-
|
|
61
|
-
standalone: true
|
|
62
|
-
|
|
63
|
-
web_bundle: false
|