bmad-method 6.0.0-alpha.12 → 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 +159 -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 +1 -1
- 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,13 +1,11 @@
|
|
|
1
|
-
# Epic and Story
|
|
1
|
+
# Epic and Story Creation with Full Technical Context
|
|
2
2
|
|
|
3
3
|
<critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
|
|
4
4
|
<critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
|
|
5
|
-
<critical>
|
|
5
|
+
<critical>PREREQUISITES: PRD.md AND Architecture.md MUST be completed before running this workflow</critical>
|
|
6
|
+
<critical>UX Design.md is highly recommended if the product has user interfaces</critical>
|
|
6
7
|
<critical>EVERY story must be completable by a single dev agent in one focused session</critical>
|
|
7
|
-
<critical>⚠️ EPIC STRUCTURE PRINCIPLE: Each epic MUST deliver USER VALUE, not just technical capability. Epics are NOT organized by technical layers (database, API, frontend). Each epic should result in something USERS can actually use or benefit from. Exception: Foundation/setup stories at the start of first epic are acceptable
|
|
8
|
-
<critical>BMAD METHOD WORKFLOW POSITION: This workflow can be invoked at multiple points - after PRD only, after PRD+UX, after PRD+UX+Architecture, or to update existing epics. If epics.md already exists, ASK the user: (1) CONTINUING - previous run was incomplete, (2) REPLACING - starting fresh/discarding old, (3) UPDATING - new planning document created since last epic generation</critical>
|
|
9
|
-
<critical>This is a LIVING DOCUMENT that evolves through the BMad Method workflow chain</critical>
|
|
10
|
-
<critical>Phase 4 Implementation pulls context from: PRD + epics.md + UX + Architecture</critical>
|
|
8
|
+
<critical>⚠️ EPIC STRUCTURE PRINCIPLE: Each epic MUST deliver USER VALUE, not just technical capability. Epics are NOT organized by technical layers (database, API, frontend). Each epic should result in something USERS can actually use or benefit from. Exception: Foundation/setup stories at the start of first epic are acceptable.</critical>
|
|
11
9
|
<critical>Communicate all responses in {communication_language} and adapt to {user_skill_level}</critical>
|
|
12
10
|
<critical>Generate all documents in {document_output_language}</critical>
|
|
13
11
|
<critical>LIVING DOCUMENT: Write to epics.md continuously as you work - never wait until the end</critical>
|
|
@@ -17,600 +15,373 @@
|
|
|
17
15
|
|
|
18
16
|
<workflow>
|
|
19
17
|
|
|
20
|
-
<step n="0" goal="
|
|
21
|
-
<action>
|
|
18
|
+
<step n="0" goal="Validate prerequisites and load all context">
|
|
19
|
+
<action>Welcome {user_name} to comprehensive epic and story creation</action>
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
</action>
|
|
25
|
-
|
|
26
|
-
<action>Check if {default_output_file} exists (epics.md)</action>
|
|
27
|
-
|
|
28
|
-
<check if="epics.md exists">
|
|
29
|
-
<action>Load existing epics.md completely</action>
|
|
30
|
-
<action>Extract existing:
|
|
31
|
-
- Epic structure and titles
|
|
32
|
-
- Story breakdown
|
|
33
|
-
- FR coverage mapping
|
|
34
|
-
- Existing acceptance criteria
|
|
35
|
-
</action>
|
|
36
|
-
|
|
37
|
-
<output>📝 **Existing epics.md found!**
|
|
38
|
-
|
|
39
|
-
Current structure:
|
|
21
|
+
<action>**CRITICAL PREREQUISITE VALIDATION:**</action>
|
|
40
22
|
|
|
41
|
-
|
|
42
|
-
- {{story_count}} total stories
|
|
43
|
-
</output>
|
|
23
|
+
<action>Verify required documents exist and are complete:
|
|
44
24
|
|
|
45
|
-
|
|
25
|
+
1. **PRD.md** - Contains functional requirements (FRs) and product scope
|
|
26
|
+
2. **Architecture.md** - Contains technical decisions, API contracts, data models
|
|
27
|
+
3. **UX Design.md** (if UI exists) - Contains interaction patterns, mockups, user flows
|
|
46
28
|
|
|
47
|
-
|
|
48
|
-
2. **REPLACING** - Start fresh, discard existing epic structure
|
|
49
|
-
3. **UPDATING** - New planning document created (UX/Architecture), enhance existing epics
|
|
29
|
+
Missing any required document means this workflow cannot proceed successfully.</action>
|
|
50
30
|
|
|
51
|
-
|
|
31
|
+
<check if="!prd_content">
|
|
32
|
+
<output>❌ **PREREQUISITE FAILED: PRD.md not found**
|
|
52
33
|
|
|
53
|
-
|
|
34
|
+
The PRD is required to define what functionality needs to be built.
|
|
54
35
|
|
|
55
|
-
|
|
56
|
-
- Choice 2: mode = "CREATE" (start fresh, ignore existing)
|
|
57
|
-
- Choice 3: mode = "UPDATE" (enhance with new context)
|
|
58
|
-
</action>
|
|
59
|
-
</check>
|
|
36
|
+
Please complete the PRD workflow first, then run this workflow again.</output>
|
|
60
37
|
|
|
61
|
-
<
|
|
62
|
-
<action>Set mode = "CREATE"</action>
|
|
63
|
-
<output>🆕 **INITIAL CREATION MODE**
|
|
64
|
-
|
|
65
|
-
No existing epics found - I'll create the initial epic breakdown.
|
|
66
|
-
</output>
|
|
38
|
+
<exit workflow="Missing required PRD document"/>
|
|
67
39
|
</check>
|
|
68
40
|
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
<action>Check which documents exist:
|
|
72
|
-
|
|
73
|
-
- UX Design specification ({ux_design_content})
|
|
74
|
-
- Architecture document ({architecture_content})
|
|
75
|
-
- Domain brief ({domain_brief_content})
|
|
76
|
-
- Product brief ({product_brief_content})
|
|
77
|
-
</action>
|
|
78
|
-
|
|
79
|
-
<check if="mode == 'UPDATE'">
|
|
80
|
-
<action>Identify what's NEW since last epic update:
|
|
41
|
+
<check if="!architecture_content">
|
|
42
|
+
<output>❌ **PREREQUISITE FAILED: Architecture.md not found**
|
|
81
43
|
|
|
82
|
-
|
|
83
|
-
- Flag: "ADD_UX_DETAILS = true"
|
|
84
|
-
- Note UX sections to extract (interaction patterns, mockup references, responsive breakpoints)
|
|
44
|
+
The Architecture document is required to provide technical implementation context for stories.
|
|
85
45
|
|
|
86
|
-
|
|
87
|
-
- Flag: "ADD_ARCH_DETAILS = true"
|
|
88
|
-
- Note Architecture sections to extract (tech stack, API contracts, data models)
|
|
89
|
-
</action>
|
|
46
|
+
Please complete the Architecture workflow first, then run this workflow again.</output>
|
|
90
47
|
|
|
91
|
-
<
|
|
92
|
-
{{if ADD_UX_DETAILS}}
|
|
93
|
-
✅ UX Design found - will add interaction details to stories
|
|
94
|
-
{{/if}}
|
|
95
|
-
{{if ADD_ARCH_DETAILS}}
|
|
96
|
-
✅ Architecture found - will add technical implementation notes
|
|
97
|
-
{{/if}}
|
|
98
|
-
{{if !ADD_UX_DETAILS && !ADD_ARCH_DETAILS}}
|
|
99
|
-
⚠️ No new context documents found - reviewing for any PRD changes
|
|
100
|
-
{{/if}}
|
|
101
|
-
</output>
|
|
102
|
-
</check>
|
|
103
|
-
|
|
104
|
-
<check if="mode == 'CREATE'">
|
|
105
|
-
<output>**Available Context:**
|
|
106
|
-
- ✅ PRD (required)
|
|
107
|
-
{{if ux_design_content}}
|
|
108
|
-
- ✅ UX Design (will incorporate interaction patterns)
|
|
109
|
-
{{/if}}
|
|
110
|
-
{{if architecture_content}}
|
|
111
|
-
- ✅ Architecture (will incorporate technical decisions)
|
|
112
|
-
{{/if}}
|
|
113
|
-
{{if !ux_design_content && !architecture_content}}
|
|
114
|
-
- ℹ️ Creating basic epic structure (can be enhanced later with UX/Architecture)
|
|
115
|
-
{{/if}}
|
|
116
|
-
</output>
|
|
48
|
+
<exit workflow="Missing required Architecture document"/>
|
|
117
49
|
</check>
|
|
118
50
|
|
|
119
|
-
<
|
|
120
|
-
<template-output>available_context</template-output>
|
|
121
|
-
</step>
|
|
51
|
+
<action>List the documents loaded</action>
|
|
122
52
|
|
|
123
|
-
<
|
|
124
|
-
<action>
|
|
125
|
-
<check if="mode == 'CREATE'">
|
|
126
|
-
Welcome {user_name} to epic and story planning
|
|
127
|
-
</check>
|
|
128
|
-
<check if="mode == 'UPDATE'">
|
|
129
|
-
Welcome back {user_name} - let's enhance your epic breakdown with new context
|
|
130
|
-
</check>
|
|
53
|
+
<action>**LOAD ALL CONTEXT DOCUMENTS:**</action>
|
|
131
54
|
|
|
132
|
-
Load
|
|
55
|
+
<action>Load and analyze PRD.md:
|
|
133
56
|
|
|
134
|
-
|
|
135
|
-
- domain-brief.md (if exists)
|
|
136
|
-
- product-brief.md (if exists)
|
|
57
|
+
Extract ALL functional requirements:
|
|
137
58
|
|
|
138
|
-
|
|
59
|
+
- Complete FR inventory (FR1, FR2, FR3...)
|
|
60
|
+
- Non-functional requirements and constraints
|
|
61
|
+
- Project scope boundaries (MVP vs growth vs vision)
|
|
62
|
+
- User types and their goals
|
|
63
|
+
- Success criteria
|
|
64
|
+
- Technical constraints
|
|
65
|
+
- Compliance requirements
|
|
139
66
|
|
|
140
|
-
|
|
141
|
-
|
|
67
|
+
**FR Inventory Creation:**
|
|
68
|
+
List every functional requirement with description for coverage tracking.
|
|
69
|
+
</action>
|
|
142
70
|
|
|
143
|
-
|
|
71
|
+
<action>Load and analyze Architecture.md:
|
|
144
72
|
|
|
145
|
-
|
|
146
|
-
- FR2: Users can log in securely and maintain sessions
|
|
147
|
-
- FR6: Users can create, edit, and delete content items
|
|
73
|
+
Extract ALL technical implementation context relevant to the PRD functional requirements and project needs:
|
|
148
74
|
|
|
149
|
-
|
|
75
|
+
Scan comprehensively for any technical details needed to create complete user stories, including but not limited to:
|
|
150
76
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
77
|
+
- Technology stack decisions and framework choices
|
|
78
|
+
- API design, contracts, and integration patterns
|
|
79
|
+
- Data models, schemas, and relationships
|
|
80
|
+
- Authentication, authorization, and security patterns
|
|
81
|
+
- Performance requirements and scaling approaches
|
|
82
|
+
- Error handling, logging, and monitoring strategies
|
|
83
|
+
- Deployment architecture and infrastructure considerations
|
|
84
|
+
- Any other technical decisions, patterns, or constraints that impact implementation
|
|
154
85
|
|
|
155
|
-
|
|
86
|
+
Focus on extracting whatever technical context exists in the Architecture document that will be needed to create comprehensive, actionable user stories for all PRD requirements.
|
|
87
|
+
</action>
|
|
156
88
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
- Domain considerations and compliance needs
|
|
160
|
-
- Project type and complexity
|
|
161
|
-
- MVP vs growth vs vision scope boundaries
|
|
162
|
-
- Product differentiator (what makes it special)
|
|
163
|
-
- Technical constraints
|
|
164
|
-
- User types and their goals
|
|
165
|
-
- Success criteria
|
|
89
|
+
<action if="UX Design Exists">
|
|
90
|
+
Load and analyze UX Design.md:
|
|
166
91
|
|
|
167
|
-
|
|
92
|
+
Extract ALL user experience context relevant to the PRD functional requirements and project needs:
|
|
168
93
|
|
|
169
|
-
|
|
94
|
+
Scan comprehensively for any user experience details needed to create complete user stories, including but not limited to:
|
|
170
95
|
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
96
|
+
- User flows, journey patterns, and interaction design
|
|
97
|
+
- Screen layouts, components, and visual specifications
|
|
98
|
+
- Interaction patterns, behaviors, and micro-interactions
|
|
99
|
+
- Responsive design and mobile-first considerations
|
|
100
|
+
- Accessibility requirements and inclusive design patterns
|
|
101
|
+
- Animations, transitions, and feedback mechanisms
|
|
102
|
+
- Error states, validation patterns, and user guidance
|
|
103
|
+
- Any other UX/UI decisions, patterns, or specifications that impact implementation
|
|
175
104
|
|
|
176
|
-
|
|
105
|
+
Focus on extracting whatever user experience context exists in the UX document that will be needed to create comprehensive, actionable user stories for all PRD requirements.
|
|
177
106
|
</action>
|
|
178
107
|
|
|
108
|
+
<template-output>context_validation</template-output>
|
|
179
109
|
<template-output>fr_inventory</template-output>
|
|
180
110
|
</step>
|
|
181
111
|
|
|
182
|
-
<step n="
|
|
183
|
-
|
|
184
|
-
<check if="mode == 'UPDATE'">
|
|
185
|
-
<action>**MAINTAIN existing epic structure:**
|
|
186
|
-
|
|
187
|
-
Use the epic structure already defined in epics.md:
|
|
188
|
-
|
|
189
|
-
- Keep all existing epic titles and goals
|
|
190
|
-
- Preserve epic sequencing
|
|
191
|
-
- Maintain FR coverage mapping
|
|
112
|
+
<step n="1" goal="Design epic structure with full technical context">
|
|
113
|
+
<action>**STRATEGIC EPIC PLANNING WITH COMPLETE CONTEXT:**</action>
|
|
192
114
|
|
|
193
|
-
|
|
194
|
-
</action>
|
|
195
|
-
|
|
196
|
-
<output>**Using existing epic structure:**
|
|
197
|
-
{{list_existing_epics_with_titles}}
|
|
115
|
+
<action>Now that you have ALL available context (PRD + Architecture + UX), design epics that deliver incremental user value while leveraging the technical design decisions.
|
|
198
116
|
|
|
199
|
-
|
|
200
|
-
</output>
|
|
117
|
+
**EPIC DESIGN PRINCIPLES:**
|
|
201
118
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</check>
|
|
119
|
+
1. **User-Value First**: Each epic must enable users to accomplish something meaningful
|
|
120
|
+
2. **Leverage Architecture**: Build upon the technical decisions already made
|
|
121
|
+
3. **Incremental Delivery**: Each epic should be independently valuable
|
|
122
|
+
4. **Logical Dependencies**: Dependencies should flow naturally, not artificially
|
|
207
123
|
|
|
208
|
-
|
|
209
|
-
<action>Analyze requirements and identify natural epic boundaries
|
|
124
|
+
**USE YOUR FULL CONTEXT:**
|
|
210
125
|
|
|
211
|
-
|
|
126
|
+
From PRD: Group related functional requirements that deliver user outcomes
|
|
127
|
+
From Architecture: Respect technical boundaries and integration points
|
|
128
|
+
From UX: Design around user journeys and interaction flows
|
|
212
129
|
|
|
213
|
-
|
|
130
|
+
**VALID EPIC EXAMPLES:**
|
|
214
131
|
|
|
215
|
-
-
|
|
216
|
-
- User journeys that connect
|
|
217
|
-
- Business capabilities that cluster
|
|
218
|
-
- Domain requirements that relate (compliance, validation, security)
|
|
219
|
-
- Technical systems that should be built together
|
|
132
|
+
✅ **CORRECT - User Value with Technical Context:**
|
|
220
133
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
**⚠️ ANTI-PATTERN EXAMPLES (DO NOT DO THIS):**
|
|
134
|
+
- Epic 1: Foundation Setup (infrastructure, deployment, core services)
|
|
135
|
+
- Epic 2: User Authentication & Profile Management (register, login, profile management)
|
|
136
|
+
- Epic 3: Content Creation & Management (create, edit, publish, organize content)
|
|
137
|
+
- Epic 4: Content Discovery & Interaction (browse, search, share, comment)
|
|
227
138
|
|
|
228
139
|
❌ **WRONG - Technical Layer Breakdown:**
|
|
229
140
|
|
|
230
141
|
- Epic 1: Database Schema & Models
|
|
231
|
-
- Epic 2: API
|
|
232
|
-
- Epic 3: Frontend
|
|
233
|
-
- Epic 4:
|
|
234
|
-
|
|
235
|
-
WHY IT'S WRONG: User gets ZERO value until ALL epics complete. No incremental delivery.
|
|
142
|
+
- Epic 2: REST API Endpoints
|
|
143
|
+
- Epic 3: Frontend Components
|
|
144
|
+
- Epic 4: Authentication Service
|
|
236
145
|
|
|
237
|
-
|
|
146
|
+
**PRESENT YOUR EPIC STRUCTURE:**
|
|
238
147
|
|
|
239
|
-
|
|
240
|
-
- Epic 2: User Authentication (user can register/login - VALUE DELIVERED)
|
|
241
|
-
- Epic 3: Content Management (user can create/edit content - VALUE DELIVERED)
|
|
242
|
-
- Epic 4: Social Features (user can share/interact - VALUE DELIVERED)
|
|
148
|
+
For each proposed epic, provide:
|
|
243
149
|
|
|
244
|
-
|
|
150
|
+
- **Epic Title**: Value-based, not technical
|
|
151
|
+
- **User Value Statement**: What users can accomplish after this epic
|
|
152
|
+
- **PRD Coverage**: Which FRs this epic addresses
|
|
153
|
+
- **Technical Context**: How this leverages Architecture decisions
|
|
154
|
+
- **UX Integration**: How this incorporates user experience patterns (if available)
|
|
155
|
+
- **Dependencies**: What must come before (natural dependencies only)
|
|
245
156
|
|
|
246
|
-
**
|
|
157
|
+
**FOUNDATION EPIC GUIDELINES:**
|
|
247
158
|
|
|
248
|
-
|
|
249
|
-
2. **API-First Epic**: ONLY valid if the API has standalone value (third-party consumers, multiple frontends, API-as-product). If it's just "backend for our frontend", that's the WRONG pattern.
|
|
159
|
+
For Epic 1, include technical foundation based on Architecture:
|
|
250
160
|
|
|
251
|
-
|
|
161
|
+
- Project setup and build system
|
|
162
|
+
- Core infrastructure and deployment pipeline
|
|
163
|
+
- Database schema setup
|
|
164
|
+
- Basic authentication foundation
|
|
165
|
+
- API framework setup
|
|
252
166
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
- Contain 3-8 related capabilities
|
|
256
|
-
- Be deliverable in cohesive phase
|
|
257
|
-
|
|
258
|
-
For greenfield projects:
|
|
167
|
+
This enables all subsequent user-facing epics.
|
|
168
|
+
</action>
|
|
259
169
|
|
|
260
|
-
-
|
|
261
|
-
-
|
|
170
|
+
<template-output>epics_structure_plan</template-output>
|
|
171
|
+
<template-output>epics_technical_context</template-output>
|
|
172
|
+
</step>
|
|
262
173
|
|
|
263
|
-
|
|
174
|
+
<step n="2" goal="Create detailed stories with complete implementation context" repeat="for-each-epic">
|
|
175
|
+
<action>**EPIC {{N}} - COMPREHENSIVE STORY CREATION:**</action>
|
|
264
176
|
|
|
265
|
-
-
|
|
266
|
-
- Group validation and safety requirements logically
|
|
267
|
-
- Note expertise requirements
|
|
177
|
+
<action>For Epic {{N}}: {{epic_title}}, create bite-sized stories that incorporate ALL available context.
|
|
268
178
|
|
|
269
|
-
|
|
179
|
+
**STORY CREATION WITH FULL CONTEXT:**
|
|
270
180
|
|
|
271
|
-
|
|
272
|
-
- High-level scope of each epic
|
|
273
|
-
- **FR COVERAGE MAP: Which FRs does each epic address?**
|
|
274
|
-
- Example: "Epic 1 (Foundation): Covers infrastructure needs for all FRs"
|
|
275
|
-
- Example: "Epic 2 (User Management): FR1, FR2, FR3, FR4, FR5"
|
|
276
|
-
- Example: "Epic 3 (Content System): FR6, FR7, FR8, FR9"
|
|
277
|
-
- Suggested sequencing
|
|
278
|
-
- Why this grouping makes sense
|
|
181
|
+
For each story, you now have the complete picture:
|
|
279
182
|
|
|
280
|
-
**
|
|
183
|
+
- **WHAT to build** (from PRD FRs)
|
|
184
|
+
- **HOW to build it** (from Architecture decisions)
|
|
185
|
+
- **HOW users interact** (from UX patterns, if available)
|
|
281
186
|
|
|
282
|
-
|
|
283
|
-
If any FRs are unmapped, add them now or explain why they're deferred.
|
|
284
|
-
</action>
|
|
187
|
+
**TRANSFORM STRATEGIC REQUIREMENTS INTO TACTICAL IMPLEMENTATION:**
|
|
285
188
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
</step>
|
|
189
|
+
PRD says: "Users can create accounts"
|
|
190
|
+
Architecture says: "Use PostgreSQL with bcrypt hashing, JWT tokens, rate limiting"
|
|
191
|
+
UX says: "Modal dialog with email/password fields, real-time validation, loading states"
|
|
290
192
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
<check if="mode == 'UPDATE'">
|
|
294
|
-
<action>**ENHANCE Epic {{N}} stories with new context:**
|
|
295
|
-
|
|
296
|
-
For each existing story in Epic {{N}}:
|
|
297
|
-
|
|
298
|
-
1. Preserve core story structure (title, user story statement)
|
|
299
|
-
2. Add/enhance based on available NEW context:
|
|
300
|
-
|
|
301
|
-
<check if="ADD_UX_DETAILS">
|
|
302
|
-
**Add from UX Design:**
|
|
303
|
-
- Specific mockup/wireframe references
|
|
304
|
-
- Exact interaction patterns
|
|
305
|
-
- Animation/transition specifications
|
|
306
|
-
- Responsive breakpoints
|
|
307
|
-
- Component specifications
|
|
308
|
-
- Error states and feedback patterns
|
|
309
|
-
- Accessibility requirements (WCAG compliance)
|
|
310
|
-
|
|
311
|
-
Example enhancement:
|
|
312
|
-
BEFORE: "User can log in"
|
|
313
|
-
AFTER: "User can log in via modal (UX pg 12-15) with email/password fields,
|
|
314
|
-
password visibility toggle, remember me checkbox,
|
|
315
|
-
loading state during auth (spinner overlay),
|
|
316
|
-
error messages below fields (red, 14px),
|
|
317
|
-
success redirects to dashboard with fade transition"
|
|
318
|
-
|
|
319
|
-
</check>
|
|
320
|
-
|
|
321
|
-
<check if="ADD_ARCH_DETAILS">
|
|
322
|
-
**Add from Architecture:**
|
|
323
|
-
- Specific API endpoints and contracts
|
|
324
|
-
- Data model references
|
|
325
|
-
- Tech stack implementation details
|
|
326
|
-
- Performance requirements
|
|
327
|
-
- Security implementation notes
|
|
328
|
-
- Cache strategies
|
|
329
|
-
- Error handling patterns
|
|
330
|
-
|
|
331
|
-
Example enhancement:
|
|
332
|
-
BEFORE: "System authenticates user"
|
|
333
|
-
AFTER: "System authenticates user via POST /api/v1/auth/login,
|
|
334
|
-
validates against users table (see Arch section 6.2),
|
|
335
|
-
returns JWT token (expires 7d) + refresh token (30d),
|
|
336
|
-
rate limited to 5 attempts/hour/IP,
|
|
337
|
-
logs failures to security_events table"
|
|
338
|
-
|
|
339
|
-
</check>
|
|
340
|
-
|
|
341
|
-
3. Update acceptance criteria with new details
|
|
342
|
-
4. Preserve existing prerequisites
|
|
343
|
-
5. Enhance technical notes with new context
|
|
344
|
-
</action>
|
|
345
|
-
</check>
|
|
193
|
+
Your story becomes: Specific implementation details with exact acceptance criteria
|
|
346
194
|
|
|
347
|
-
|
|
348
|
-
<action>Break down Epic {{N}} into small, implementable stories
|
|
195
|
+
**STORY PATTERN FOR EACH EPIC {{N}}:**
|
|
349
196
|
|
|
350
|
-
|
|
197
|
+
**Epic Goal:** {{epic_goal}}
|
|
351
198
|
|
|
352
|
-
|
|
199
|
+
For each story M in Epic {{N}}:
|
|
353
200
|
|
|
354
|
-
|
|
201
|
+
- **User Story**: As a [user type], I want [specific capability], So that [value/benefit]
|
|
202
|
+
- **Acceptance Criteria**: BDD format with COMPLETE implementation details
|
|
203
|
+
- **Technical Implementation**: Specific guidance from Architecture
|
|
204
|
+
- **User Experience**: Exact interaction patterns from UX (if available)
|
|
205
|
+
- **Prerequisites**: Only previous stories, never forward dependencies
|
|
355
206
|
|
|
356
|
-
|
|
207
|
+
**DETAILED ACCEPTANCE CRITERIA GUIDELINES:**
|
|
357
208
|
|
|
358
|
-
|
|
209
|
+
Include ALL implementation specifics:
|
|
359
210
|
|
|
360
|
-
|
|
361
|
-
- Password requirements: 8+ chars, 1 uppercase, 1 number, 1 special
|
|
362
|
-
- Password strength meter with visual feedback
|
|
363
|
-
- Email verification within 15 minutes
|
|
364
|
-
- reCAPTCHA v3 integration
|
|
365
|
-
- Account creation completes in < 2 seconds
|
|
366
|
-
- Mobile responsive with 44x44px touch targets
|
|
367
|
-
- WCAG 2.1 AA compliant
|
|
211
|
+
**From Architecture:**
|
|
368
212
|
|
|
369
|
-
|
|
213
|
+
- Exact API endpoints and contracts
|
|
214
|
+
- Database operations and validations
|
|
215
|
+
- Authentication/authorization requirements
|
|
216
|
+
- Error handling patterns
|
|
217
|
+
- Performance requirements
|
|
218
|
+
- Security considerations
|
|
219
|
+
- Integration points with other systems
|
|
370
220
|
|
|
371
|
-
|
|
372
|
-
- Performance targets (< 2s, 60fps, etc.)
|
|
373
|
-
- Technical implementation hints (libraries, patterns, APIs)
|
|
374
|
-
- Edge cases (what happens when...)
|
|
375
|
-
- Validation rules (regex patterns, constraints)
|
|
376
|
-
- Error handling (specific error messages, retry logic)
|
|
377
|
-
- Accessibility requirements (ARIA labels, keyboard nav, screen readers)
|
|
378
|
-
- Platform specifics (mobile responsive, browser support)
|
|
221
|
+
**From UX (if available):**
|
|
379
222
|
|
|
380
|
-
|
|
223
|
+
- Specific screen/page references
|
|
224
|
+
- Interaction patterns and behaviors
|
|
225
|
+
- Form validation rules and error messages
|
|
226
|
+
- Responsive behavior
|
|
227
|
+
- Accessibility requirements
|
|
228
|
+
- Loading states and transitions
|
|
229
|
+
- Success/error feedback patterns
|
|
381
230
|
|
|
382
|
-
|
|
383
|
-
- Epic goal/value as `epic_goal_{{N}}`
|
|
384
|
-
- All stories as repeated pattern `story_title_{{N}}_{{M}}` for each story M
|
|
231
|
+
**From PRD:**
|
|
385
232
|
|
|
386
|
-
|
|
233
|
+
- Business rules and constraints
|
|
234
|
+
- User types and permissions
|
|
235
|
+
- Compliance requirements
|
|
236
|
+
- Success criteria
|
|
387
237
|
|
|
388
|
-
|
|
389
|
-
- Sets up: repo structure, build system, deployment pipeline basics, core dependencies
|
|
390
|
-
- Creates foundation for all subsequent stories
|
|
391
|
-
- Note: Architecture workflow will flesh out technical details
|
|
238
|
+
**STORY SIZING PRINCIPLE:**
|
|
392
239
|
|
|
393
|
-
Each story
|
|
240
|
+
Each story must be completable by a single dev agent in one focused session. If a story becomes too large, break it down further while maintaining user value.
|
|
394
241
|
|
|
395
|
-
**
|
|
396
|
-
As a [user type],
|
|
397
|
-
I want [specific capability],
|
|
398
|
-
So that [clear value/benefit].
|
|
242
|
+
**EXAMPLE RICH STORY:**
|
|
399
243
|
|
|
400
|
-
**
|
|
401
|
-
Given [precondition or initial state]
|
|
402
|
-
When [action or trigger]
|
|
403
|
-
Then [expected outcome]
|
|
244
|
+
**Story:** User Registration with Email Verification
|
|
404
245
|
|
|
405
|
-
|
|
246
|
+
As a new user, I want to create an account using my email address, So that I can access the platform's features.
|
|
406
247
|
|
|
407
|
-
**
|
|
248
|
+
**Acceptance Criteria:**
|
|
249
|
+
Given I am on the landing page
|
|
250
|
+
When I click the "Sign Up" button
|
|
251
|
+
Then the registration modal opens (UX Mockup 3.2)
|
|
408
252
|
|
|
409
|
-
|
|
253
|
+
And I see email and password fields with proper labels
|
|
254
|
+
And the email field validates RFC 5322 format in real-time
|
|
255
|
+
And the password field shows strength meter (red→yellow→green)
|
|
256
|
+
And I see "Password must be 8+ chars with 1 uppercase, 1 number, 1 special"
|
|
410
257
|
|
|
411
|
-
|
|
258
|
+
When I submit valid registration data
|
|
259
|
+
Then POST /api/v1/auth/register is called (Architecture section 4.1)
|
|
260
|
+
And the user record is created in users table with bcrypt hash (Architecture 6.2)
|
|
261
|
+
And a verification email is sent via SendGrid (Architecture 7.3)
|
|
262
|
+
And I see "Check your email for verification link" message
|
|
263
|
+
And I cannot log in until email is verified
|
|
412
264
|
|
|
413
|
-
|
|
414
|
-
- Sequentially ordered (logical progression, no forward dependencies)
|
|
415
|
-
- Independently valuable when possible
|
|
416
|
-
- Small enough for single-session completion
|
|
417
|
-
- Clear enough for autonomous implementation
|
|
265
|
+
**Technical Notes:**
|
|
418
266
|
|
|
419
|
-
|
|
267
|
+
- Use PostgreSQL users table (Architecture section 6.2)
|
|
268
|
+
- Implement rate limiting: 3 attempts per hour per IP (Architecture 8.1)
|
|
269
|
+
- Return JWT token on successful verification (Architecture 5.2)
|
|
270
|
+
- Log registration events to audit_events table (Architecture 9.4)
|
|
271
|
+
- Form validation follows UX Design patterns (UX section 4.1)
|
|
420
272
|
|
|
421
|
-
-
|
|
422
|
-
|
|
273
|
+
**Prerequisites:** Epic 1.1 - Foundation Setup Complete
|
|
274
|
+
</action>
|
|
423
275
|
|
|
276
|
+
<action>**Generate all stories for Epic {{N}}**</action>
|
|
424
277
|
<template-output>epic*title*{{N}}</template-output>
|
|
425
278
|
<template-output>epic*goal*{{N}}</template-output>
|
|
426
279
|
|
|
427
280
|
<action>For each story M in epic {{N}}, generate story content</action>
|
|
428
|
-
<template-output>story
|
|
429
|
-
</check>
|
|
430
|
-
|
|
431
|
-
<action>**EPIC {{N}} REVIEW - Present for Checkpoint:**
|
|
432
|
-
|
|
433
|
-
Summarize the COMPLETE epic breakdown:
|
|
281
|
+
<template-output>story*{{N}}*{{M}}</template-output>
|
|
434
282
|
|
|
435
|
-
|
|
436
|
-
Goal: {{epic_goal}}
|
|
283
|
+
<action>**EPIC {{N}} COMPLETION REVIEW:**</action>
|
|
437
284
|
|
|
438
|
-
|
|
439
|
-
{{for each story, show:}}
|
|
285
|
+
<output>**Epic {{N}} Complete: {{epic_title}}**
|
|
440
286
|
|
|
441
|
-
|
|
442
|
-
- User Story: As a... I want... So that...
|
|
443
|
-
- Acceptance Criteria: (BDD format summary)
|
|
444
|
-
- Prerequisites: {{list}}
|
|
287
|
+
Stories Created: {{count}}
|
|
445
288
|
|
|
446
|
-
**
|
|
289
|
+
**FR Coverage:** {{list of FRs covered by this epic}}
|
|
447
290
|
|
|
448
|
-
|
|
449
|
-
- Are acceptance criteria clear and testable?
|
|
450
|
-
- Are there any missing stories for the FRs this epic covers?
|
|
451
|
-
- Are the stories sized appropriately (single dev agent session)?
|
|
452
|
-
- FRs covered by this epic: {{FR_list}}
|
|
291
|
+
**Technical Context Used:** {{Architecture sections referenced}}
|
|
453
292
|
|
|
454
|
-
|
|
455
|
-
|
|
293
|
+
{{if ux_design_content}}
|
|
294
|
+
**UX Patterns Incorporated:** {{UX sections referenced}}
|
|
295
|
+
{{/if}}
|
|
456
296
|
|
|
457
|
-
|
|
297
|
+
Ready for checkpoint validation.</output>
|
|
458
298
|
|
|
299
|
+
<template-output>epic\_{{N}}\_complete</template-output>
|
|
459
300
|
</step>
|
|
460
301
|
|
|
461
|
-
<step n="
|
|
302
|
+
<step n="3" goal="Final validation and coverage matrix">
|
|
303
|
+
<action>**COMPREHENSIVE VALIDATION WITH FULL CONTEXT:**</action>
|
|
462
304
|
|
|
463
|
-
<
|
|
464
|
-
<action>Review the ENHANCED epic breakdown for completeness
|
|
305
|
+
<action>Review the complete epic and story breakdown for quality and completeness using ALL available context.
|
|
465
306
|
|
|
466
|
-
**
|
|
307
|
+
**FR COVERAGE VALIDATION:**
|
|
467
308
|
|
|
468
|
-
|
|
469
|
-
- UX references added where applicable
|
|
470
|
-
- Architecture decisions incorporated where applicable
|
|
471
|
-
- Acceptance criteria updated with new specifics
|
|
472
|
-
- Technical notes enhanced with implementation details
|
|
309
|
+
Create complete FR Coverage Matrix showing every PRD functional requirement mapped to specific stories:
|
|
473
310
|
|
|
474
|
-
**
|
|
311
|
+
- **FR1:** [description] → Epic X, Story X.Y (with implementation details)
|
|
312
|
+
- **FR2:** [description] → Epic Y, Story Y.A (with implementation details)
|
|
313
|
+
- **FR3:** [description] → Epic Z, Story Z.B (with implementation details)
|
|
314
|
+
- ...
|
|
475
315
|
|
|
476
|
-
|
|
477
|
-
- No forward dependencies introduced
|
|
478
|
-
- All new context properly integrated
|
|
479
|
-
</action>
|
|
316
|
+
**CRITICAL VALIDATION:** Every single FR from the PRD must be covered by at least one story with complete acceptance criteria.
|
|
480
317
|
|
|
481
|
-
|
|
482
|
-
<template-output>enhancement_summary</template-output>
|
|
318
|
+
**ARCHITECTURE INTEGRATION VALIDATION:**
|
|
483
319
|
|
|
484
|
-
|
|
320
|
+
Verify that Architecture decisions are properly implemented:
|
|
485
321
|
|
|
486
|
-
|
|
322
|
+
- All API endpoints from Architecture are covered in stories
|
|
323
|
+
- Data models from Architecture are properly created and populated
|
|
324
|
+
- Authentication/authorization patterns are consistently applied
|
|
325
|
+
- Performance requirements are addressed in relevant stories
|
|
326
|
+
- Security measures are implemented where required
|
|
327
|
+
- Error handling follows Architecture patterns
|
|
328
|
+
- Integration points between systems are properly handled
|
|
487
329
|
|
|
488
|
-
**
|
|
489
|
-
{{if ADD_UX_DETAILS}}
|
|
330
|
+
**UX INTEGRATION VALIDATION** {{if ux_design_content}}:
|
|
490
331
|
|
|
491
|
-
|
|
492
|
-
{{/if}}
|
|
493
|
-
{{if ADD_ARCH_DETAILS}}
|
|
494
|
-
- ✅ Architecture technical decisions and API contracts added
|
|
495
|
-
{{/if}}
|
|
332
|
+
Verify that UX design patterns are properly implemented:
|
|
496
333
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
- Ready for Phase 4: Sprint Planning
|
|
334
|
+
- User flows follow the designed journey
|
|
335
|
+
- Screen layouts and components match specifications
|
|
336
|
+
- Interaction patterns work as designed
|
|
337
|
+
- Responsive behavior matches breakpoints
|
|
338
|
+
- Accessibility requirements are met
|
|
339
|
+
- Error states and feedback patterns are implemented
|
|
340
|
+
- Form validation follows UX guidelines
|
|
341
|
+
- Loading states and transitions are implemented
|
|
506
342
|
{{/if}}
|
|
507
|
-
</output>
|
|
508
|
-
</check>
|
|
509
|
-
|
|
510
|
-
<check if="mode == 'CREATE'">
|
|
511
|
-
<action>Review the complete epic breakdown for quality and completeness
|
|
512
|
-
|
|
513
|
-
**Validate Epic Structure (USER VALUE CHECK):**
|
|
514
343
|
|
|
515
|
-
|
|
344
|
+
**STORY QUALITY VALIDATION:**
|
|
516
345
|
|
|
517
|
-
-
|
|
518
|
-
-
|
|
519
|
-
-
|
|
346
|
+
- All stories are sized for single dev agent completion
|
|
347
|
+
- Acceptance criteria are specific and testable
|
|
348
|
+
- Technical implementation guidance is clear
|
|
349
|
+
- User experience details are incorporated
|
|
350
|
+
- No forward dependencies exist
|
|
351
|
+
- Epic sequence delivers incremental value
|
|
352
|
+
- Foundation epic properly enables subsequent work
|
|
520
353
|
|
|
521
|
-
|
|
354
|
+
**FINAL QUALITY CHECK:**
|
|
522
355
|
|
|
523
|
-
|
|
356
|
+
Answer these critical questions:
|
|
524
357
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
358
|
+
1. **User Value:** Does each epic deliver something users can actually do/use?
|
|
359
|
+
2. **Completeness:** Are ALL PRD functional requirements covered?
|
|
360
|
+
3. **Technical Soundness:** Do stories properly implement Architecture decisions?
|
|
361
|
+
4. **User Experience:** {{if ux_design_content}} Do stories follow UX design patterns? {{/if}}
|
|
362
|
+
5. **Implementation Ready:** Can dev agents implement these stories autonomously?
|
|
363
|
+
</action>
|
|
531
364
|
|
|
532
|
-
|
|
365
|
+
<output>**✅ EPIC AND STORY CREATION COMPLETE**
|
|
533
366
|
|
|
534
|
-
|
|
535
|
-
- FR2: [description] → Epic X, Story X.Z
|
|
536
|
-
- FR3: [description] → Epic Y, Story Y.A
|
|
537
|
-
- ...
|
|
538
|
-
- FRN: [description] → Epic Z, Story Z.B
|
|
539
|
-
|
|
540
|
-
Confirm: EVERY FR from Step 1 inventory is covered by at least one story.
|
|
541
|
-
If any FRs are missing, add stories now.
|
|
542
|
-
|
|
543
|
-
**Validate Story Quality:**
|
|
544
|
-
|
|
545
|
-
- All functional requirements from PRD are covered by stories
|
|
546
|
-
- Epic 1 establishes proper foundation (if greenfield)
|
|
547
|
-
- All stories are vertically sliced (deliver complete functionality, not just one layer)
|
|
548
|
-
- No forward dependencies exist (only backward references)
|
|
549
|
-
- Story sizing is appropriate for single-session completion
|
|
550
|
-
- BDD acceptance criteria are clear and testable
|
|
551
|
-
- Details added (what was missing from PRD FRs: UI specifics, performance targets, etc.)
|
|
552
|
-
- Domain/compliance requirements are properly distributed
|
|
553
|
-
- Sequencing enables incremental value delivery
|
|
554
|
-
|
|
555
|
-
Confirm with {user_name}:
|
|
556
|
-
|
|
557
|
-
- Epic structure makes sense
|
|
558
|
-
- All FRs covered by stories (validated via coverage matrix)
|
|
559
|
-
- Story breakdown is actionable
|
|
560
|
-
<check if="ux_design_content && architecture_content">
|
|
561
|
-
- All available context has been incorporated (PRD + UX + Architecture)
|
|
562
|
-
- Ready for Phase 4 Implementation
|
|
563
|
-
</check>
|
|
564
|
-
<check if="ux_design_content && !architecture_content">
|
|
565
|
-
- UX context has been incorporated
|
|
566
|
-
- Ready for Architecture workflow (recommended next step)
|
|
567
|
-
</check>
|
|
568
|
-
<check if="!ux_design_content && architecture_content">
|
|
569
|
-
- Architecture context has been incorporated
|
|
570
|
-
- Consider running UX Design workflow if UI exists
|
|
571
|
-
</check>
|
|
572
|
-
<check if="!ux_design_content && !architecture_content">
|
|
573
|
-
- Basic epic structure created from PRD
|
|
574
|
-
- Ready for next planning phase (UX Design or Architecture)
|
|
575
|
-
</check>
|
|
576
|
-
</action>
|
|
577
|
-
|
|
578
|
-
<template-output>epic_breakdown_summary</template-output>
|
|
579
|
-
<template-output>fr_coverage_matrix</template-output>
|
|
367
|
+
**Output Generated:** epics.md with comprehensive implementation details
|
|
580
368
|
|
|
581
|
-
|
|
582
|
-
<output>**✅ Epic Breakdown Complete**
|
|
369
|
+
**Full Context Incorporated:**
|
|
583
370
|
|
|
584
|
-
|
|
371
|
+
- ✅ PRD functional requirements and scope
|
|
372
|
+
- ✅ Architecture technical decisions and contracts
|
|
373
|
+
{{if ux_design_content}}
|
|
374
|
+
- ✅ UX Design interaction patterns and specifications
|
|
375
|
+
{{/if}}
|
|
585
376
|
|
|
586
|
-
**FR Coverage:**
|
|
377
|
+
**FR Coverage:** {{count}} functional requirements mapped to {{story_count}} stories
|
|
378
|
+
**Epic Structure:** {{epic_count}} epics delivering incremental user value
|
|
587
379
|
|
|
588
|
-
**
|
|
589
|
-
|
|
380
|
+
**Ready for Phase 4:** Sprint Planning and Development Implementation
|
|
381
|
+
</output>
|
|
590
382
|
|
|
591
|
-
-
|
|
592
|
-
-
|
|
593
|
-
|
|
594
|
-
**Status:** COMPLETE - Ready for Phase 4 Implementation!
|
|
595
|
-
{{/if}}
|
|
596
|
-
{{if ux_design_content && !architecture_content}}
|
|
597
|
-
- ✅ PRD requirements
|
|
598
|
-
- ✅ UX interaction patterns
|
|
599
|
-
**Next:** Run Architecture workflow for technical decisions
|
|
600
|
-
{{/if}}
|
|
601
|
-
{{if !ux_design_content && architecture_content}}
|
|
602
|
-
- ✅ PRD requirements
|
|
603
|
-
- ✅ Architecture technical decisions
|
|
604
|
-
**Next:** Consider UX Design workflow if UI needed
|
|
605
|
-
{{/if}}
|
|
606
|
-
{{if !ux_design_content && !architecture_content}}
|
|
607
|
-
- ✅ PRD requirements (basic structure)
|
|
608
|
-
**Next:** Run UX Design (if UI) or Architecture workflow
|
|
609
|
-
**Note:** Epics will be enhanced with additional context later
|
|
610
|
-
{{/if}}
|
|
611
|
-
</output>
|
|
612
|
-
</check>
|
|
613
|
-
</check>
|
|
614
|
-
</step>
|
|
383
|
+
<template-output>final_validation</template-output>
|
|
384
|
+
<template-output>fr_coverage_matrix</template-output>
|
|
385
|
+
</step>
|
|
615
386
|
|
|
616
387
|
</workflow>
|