bmad-odoo 1.0.0
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/CHANGELOG.md +38 -0
- package/LICENSE +21 -0
- package/README.md +317 -0
- package/_config/agent-manifest.csv +10 -0
- package/_config/manifest.yaml +10 -0
- package/_config/workflow-manifest.csv +10 -0
- package/bmm/agents/analyst.md +93 -0
- package/bmm/agents/architect.md +72 -0
- package/bmm/agents/dev.md +85 -0
- package/bmm/agents/pm.md +61 -0
- package/bmm/agents/quick-flow-solo-dev.md +58 -0
- package/bmm/agents/sm.md +56 -0
- package/bmm/agents/tea.md +57 -0
- package/bmm/agents/tech-writer.md +56 -0
- package/bmm/agents/ux-designer.md +56 -0
- package/bmm/config.yaml +27 -0
- package/bmm/data/odoo-knowledge-base.md +90 -0
- package/bmm/teams/default-team.md +17 -0
- package/bmm/testarch/odoo-test-design/steps/step-01-init.md +44 -0
- package/bmm/testarch/odoo-test-design/steps/step-02-test-cases.md +82 -0
- package/bmm/testarch/odoo-test-design/steps/step-03-complete.md +69 -0
- package/bmm/testarch/odoo-test-design/workflow.md +30 -0
- package/bmm/testarch/odoo-testing-guide.md +30 -0
- package/bmm/workflows/1-analysis/analyze-process/process-analysis.template.md +80 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-01-init.md +44 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-02-current-state.md +55 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-03-pain-points.md +67 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-04-odoo-mapping.md +67 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-05-recommendations.md +99 -0
- package/bmm/workflows/1-analysis/analyze-process/steps/step-06-complete.md +62 -0
- package/bmm/workflows/1-analysis/analyze-process/workflow.md +60 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-01-init.md +45 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-02-users-stakeholders.md +46 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-03-odoo-modules.md +59 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-04-scope-timeline.md +64 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-05-complete.md +32 -0
- package/bmm/workflows/1-analysis/create-odoo-product-brief/workflow.md +35 -0
- package/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +182 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +166 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +204 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +207 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +210 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +224 -0
- package/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +199 -0
- package/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-01-init.md +45 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-02-odoo-capabilities.md +36 -0
- package/bmm/workflows/1-analysis/gap-analysis/steps/step-03-gap-matrix.md +51 -0
- package/bmm/workflows/1-analysis/gap-analysis/workflow.md +45 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
- package/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
- package/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
- package/bmm/workflows/1-analysis/research/research.template.md +29 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
- package/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
- package/bmm/workflows/1-analysis/research/workflow.md +173 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-01-init.md +48 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-02-technical-design.md +82 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-03-generate.md +86 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md +39 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-01-init.md +55 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-02-stories.md +53 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-03-complete.md +39 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md +35 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-01-init.md +46 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-02-functional-requirements.md +56 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-03-technical-requirements.md +45 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-04-complete.md +40 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-prd/workflow.md +29 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-01-init.md +52 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-02-form-design.md +78 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-03-tree-design.md +84 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-04-complete.md +55 -0
- package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/workflow.md +30 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
- package/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-01-init.md +49 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-02-risk-assessment.md +51 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-03-roadmap.md +58 -0
- package/bmm/workflows/2-plan-workflows/plan-odoo-migration/workflow.md +29 -0
- package/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/bmm/workflows/2-plan-workflows/prd/prd-template.md +11 -0
- package/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +197 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +166 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +421 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +290 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +291 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +271 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +262 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +258 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +299 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +270 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
- package/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +186 -0
- package/bmm/workflows/2-plan-workflows/prd/workflow.md +63 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
- package/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
- package/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
- package/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
- package/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
- package/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-01-init.md +44 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md +75 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-03-implementation.md +64 -0
- package/bmm/workflows/3-solutioning/enhance-existing-system/workflow.md +30 -0
- package/bmm/workflows/3-solutioning/quick-addon/workflow.md +23 -0
- package/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
- package/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
- package/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
- package/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
- package/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
- package/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-01-init.md +53 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-02-acceptance-criteria.md +63 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-03-tasks.md +68 -0
- package/bmm/workflows/4-implementation/create-next-story/steps/step-04-complete.md +70 -0
- package/bmm/workflows/4-implementation/create-next-story/workflow.md +30 -0
- package/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
- package/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
- package/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
- package/bmm/workflows/4-implementation/rapid-brownfield/steps/step-01-quick-story.md +79 -0
- package/bmm/workflows/4-implementation/rapid-brownfield/workflow.md +29 -0
- package/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
- package/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
- package/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
- package/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
- package/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
- package/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
- package/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
- package/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +74 -0
- package/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +79 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
- package/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
- package/bmm/workflows/document-odoo/steps/step-01-init.md +43 -0
- package/bmm/workflows/document-odoo/steps/step-02-readme.md +98 -0
- package/bmm/workflows/document-odoo/steps/step-03-user-guide.md +76 -0
- package/bmm/workflows/document-odoo/steps/step-04-complete.md +58 -0
- package/bmm/workflows/document-odoo/workflow.md +30 -0
- package/bmm/workflows/document-project/checklist.md +245 -0
- package/bmm/workflows/document-project/documentation-requirements.csv +12 -0
- package/bmm/workflows/document-project/instructions.md +221 -0
- package/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
- package/bmm/workflows/document-project/templates/index-template.md +169 -0
- package/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
- package/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
- package/bmm/workflows/document-project/workflow.yaml +28 -0
- package/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
- package/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
- package/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
- package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
- package/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
- package/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
- package/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
- package/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
- package/bmm/workflows/generate-project-context/project-context-template.md +21 -0
- package/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
- package/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
- package/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
- package/bmm/workflows/generate-project-context/workflow.md +49 -0
- package/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
- package/bmm/workflows/testarch/atdd/checklist.md +374 -0
- package/bmm/workflows/testarch/atdd/instructions.md +806 -0
- package/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
- package/bmm/workflows/testarch/automate/checklist.md +582 -0
- package/bmm/workflows/testarch/automate/instructions.md +1324 -0
- package/bmm/workflows/testarch/automate/workflow.yaml +52 -0
- package/bmm/workflows/testarch/ci/checklist.md +248 -0
- package/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
- package/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
- package/bmm/workflows/testarch/ci/instructions.md +536 -0
- package/bmm/workflows/testarch/ci/workflow.yaml +45 -0
- package/bmm/workflows/testarch/framework/checklist.md +321 -0
- package/bmm/workflows/testarch/framework/instructions.md +481 -0
- package/bmm/workflows/testarch/framework/workflow.yaml +47 -0
- package/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
- package/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
- package/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
- package/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
- package/bmm/workflows/testarch/test-design/checklist.md +235 -0
- package/bmm/workflows/testarch/test-design/instructions.md +788 -0
- package/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
- package/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
- package/bmm/workflows/testarch/test-review/checklist.md +472 -0
- package/bmm/workflows/testarch/test-review/instructions.md +628 -0
- package/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
- package/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
- package/bmm/workflows/testarch/trace/checklist.md +655 -0
- package/bmm/workflows/testarch/trace/instructions.md +1047 -0
- package/bmm/workflows/testarch/trace/trace-template.md +675 -0
- package/bmm/workflows/testarch/trace/workflow.yaml +55 -0
- package/bmm/workflows/workflow-status/init/instructions.md +346 -0
- package/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
- package/bmm/workflows/workflow-status/instructions.md +395 -0
- package/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
- package/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
- package/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
- package/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
- package/bmm/workflows/workflow-status/project-levels.yaml +59 -0
- package/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
- package/bmm/workflows/workflow-status/workflow.yaml +30 -0
- package/core/agents/bmad-odoo-master.md +61 -0
- package/core/config.yaml +7 -0
- package/core/resources/README.md +5 -0
- package/core/tasks/README.md +7 -0
- package/core/workflows/README.md +8 -0
- package/index.js +84 -0
- package/package.json +48 -0
- package/scripts/postinstall.js +447 -0
- package/scripts/setup-cli.js +17 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-03-create-stories'
|
|
3
|
+
description: 'Generate all epics with their stories following the template structure'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-03-create-stories.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-04-final-validation.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
outputFile: '{planning_artifacts}/epics.md'
|
|
13
|
+
|
|
14
|
+
# Task References
|
|
15
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
|
|
16
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
17
|
+
|
|
18
|
+
# Template References
|
|
19
|
+
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Step 3: Generate Epics and Stories
|
|
23
|
+
|
|
24
|
+
## STEP GOAL:
|
|
25
|
+
|
|
26
|
+
To generate all epics with their stories based on the approved epics_list, following the template structure exactly.
|
|
27
|
+
|
|
28
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
29
|
+
|
|
30
|
+
### Universal Rules:
|
|
31
|
+
|
|
32
|
+
- 🛑 NEVER generate content without user input
|
|
33
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
34
|
+
- 🔄 CRITICAL: Process epics sequentially
|
|
35
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
36
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
37
|
+
|
|
38
|
+
### Role Reinforcement:
|
|
39
|
+
|
|
40
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
41
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
42
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
43
|
+
- ✅ You bring story creation and acceptance criteria expertise
|
|
44
|
+
- ✅ User brings their implementation priorities and constraints
|
|
45
|
+
|
|
46
|
+
### Step-Specific Rules:
|
|
47
|
+
|
|
48
|
+
- 🎯 Generate stories for each epic following the template exactly
|
|
49
|
+
- 🚫 FORBIDDEN to deviate from template structure
|
|
50
|
+
- 💬 Each story must have clear acceptance criteria
|
|
51
|
+
- 🚪 ENSURE each story is completable by a single dev agent
|
|
52
|
+
- 🔗 **CRITICAL: Stories MUST NOT depend on future stories within the same epic**
|
|
53
|
+
|
|
54
|
+
## EXECUTION PROTOCOLS:
|
|
55
|
+
|
|
56
|
+
- 🎯 Generate stories collaboratively with user input
|
|
57
|
+
- 💾 Append epics and stories to {outputFile} following template
|
|
58
|
+
- 📖 Process epics one at a time in sequence
|
|
59
|
+
- 🚫 FORBIDDEN to skip any epic or rush through stories
|
|
60
|
+
|
|
61
|
+
## STORY GENERATION PROCESS:
|
|
62
|
+
|
|
63
|
+
### 1. Load Approved Epic Structure
|
|
64
|
+
|
|
65
|
+
Load {outputFile} and review:
|
|
66
|
+
|
|
67
|
+
- Approved epics_list from Step 2
|
|
68
|
+
- FR coverage map
|
|
69
|
+
- All requirements (FRs, NFRs, additional)
|
|
70
|
+
- Template structure at the end of the document
|
|
71
|
+
|
|
72
|
+
### 2. Explain Story Creation Approach
|
|
73
|
+
|
|
74
|
+
**STORY CREATION GUIDELINES:**
|
|
75
|
+
|
|
76
|
+
For each epic, create stories that:
|
|
77
|
+
|
|
78
|
+
- Follow the exact template structure
|
|
79
|
+
- Are sized for single dev agent completion
|
|
80
|
+
- Have clear user value
|
|
81
|
+
- Include specific acceptance criteria
|
|
82
|
+
- Reference requirements being fulfilled
|
|
83
|
+
|
|
84
|
+
**🚨 DATABASE/ENTITY CREATION PRINCIPLE:**
|
|
85
|
+
Create tables/entities ONLY when needed by the story:
|
|
86
|
+
|
|
87
|
+
- ❌ WRONG: Epic 1 Story 1 creates all 50 database tables
|
|
88
|
+
- ✅ RIGHT: Each story creates/alters ONLY the tables it needs
|
|
89
|
+
|
|
90
|
+
**🔗 STORY DEPENDENCY PRINCIPLE:**
|
|
91
|
+
Stories must be independently completable in sequence:
|
|
92
|
+
|
|
93
|
+
- ❌ WRONG: Story 1.2 requires Story 1.3 to be completed first
|
|
94
|
+
- ✅ RIGHT: Each story can be completed based only on previous stories
|
|
95
|
+
- ❌ WRONG: "Wait for Story 1.4 to be implemented before this works"
|
|
96
|
+
- ✅ RIGHT: "This story works independently and enables future stories"
|
|
97
|
+
|
|
98
|
+
**STORY FORMAT (from template):**
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
### Story {N}.{M}: {story_title}
|
|
102
|
+
|
|
103
|
+
As a {user_type},
|
|
104
|
+
I want {capability},
|
|
105
|
+
So that {value_benefit}.
|
|
106
|
+
|
|
107
|
+
**Acceptance Criteria:**
|
|
108
|
+
|
|
109
|
+
**Given** {precondition}
|
|
110
|
+
**When** {action}
|
|
111
|
+
**Then** {expected_outcome}
|
|
112
|
+
**And** {additional_criteria}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**✅ GOOD STORY EXAMPLES:**
|
|
116
|
+
|
|
117
|
+
_Epic 1: User Authentication_
|
|
118
|
+
|
|
119
|
+
- Story 1.1: User Registration with Email
|
|
120
|
+
- Story 1.2: User Login with Password
|
|
121
|
+
- Story 1.3: Password Reset via Email
|
|
122
|
+
|
|
123
|
+
_Epic 2: Content Creation_
|
|
124
|
+
|
|
125
|
+
- Story 2.1: Create New Blog Post
|
|
126
|
+
- Story 2.2: Edit Existing Blog Post
|
|
127
|
+
- Story 2.3: Publish Blog Post
|
|
128
|
+
|
|
129
|
+
**❌ BAD STORY EXAMPLES:**
|
|
130
|
+
|
|
131
|
+
- Story: "Set up database" (no user value)
|
|
132
|
+
- Story: "Create all models" (too large, no user value)
|
|
133
|
+
- Story: "Build authentication system" (too large)
|
|
134
|
+
- Story: "Login UI (depends on Story 1.3 API endpoint)" (future dependency!)
|
|
135
|
+
- Story: "Edit post (requires Story 1.4 to be implemented first)" (wrong order!)
|
|
136
|
+
|
|
137
|
+
### 3. Process Epics Sequentially
|
|
138
|
+
|
|
139
|
+
For each epic in the approved epics_list:
|
|
140
|
+
|
|
141
|
+
#### A. Epic Overview
|
|
142
|
+
|
|
143
|
+
Display:
|
|
144
|
+
|
|
145
|
+
- Epic number and title
|
|
146
|
+
- Epic goal statement
|
|
147
|
+
- FRs covered by this epic
|
|
148
|
+
- Any NFRs or additional requirements relevant
|
|
149
|
+
|
|
150
|
+
#### B. Story Breakdown
|
|
151
|
+
|
|
152
|
+
Work with user to break down the epic into stories:
|
|
153
|
+
|
|
154
|
+
- Identify distinct user capabilities
|
|
155
|
+
- Ensure logical flow within the epic
|
|
156
|
+
- Size stories appropriately
|
|
157
|
+
|
|
158
|
+
#### C. Generate Each Story
|
|
159
|
+
|
|
160
|
+
For each story in the epic:
|
|
161
|
+
|
|
162
|
+
1. **Story Title**: Clear, action-oriented
|
|
163
|
+
2. **User Story**: Complete the As a/I want/So that format
|
|
164
|
+
3. **Acceptance Criteria**: Write specific, testable criteria
|
|
165
|
+
|
|
166
|
+
**AC Writing Guidelines:**
|
|
167
|
+
|
|
168
|
+
- Use Given/When/Then format
|
|
169
|
+
- Each AC should be independently testable
|
|
170
|
+
- Include edge cases and error conditions
|
|
171
|
+
- Reference specific requirements when applicable
|
|
172
|
+
|
|
173
|
+
#### D. Collaborative Review
|
|
174
|
+
|
|
175
|
+
After writing each story:
|
|
176
|
+
|
|
177
|
+
- Present the story to user
|
|
178
|
+
- Ask: "Does this story capture the requirement correctly?"
|
|
179
|
+
- "Is the scope appropriate for a single dev session?"
|
|
180
|
+
- "Are the acceptance criteria complete and testable?"
|
|
181
|
+
|
|
182
|
+
#### E. Append to Document
|
|
183
|
+
|
|
184
|
+
When story is approved:
|
|
185
|
+
|
|
186
|
+
- Append it to {outputFile} following template structure
|
|
187
|
+
- Use correct numbering (Epic N, Story M)
|
|
188
|
+
- Maintain proper markdown formatting
|
|
189
|
+
|
|
190
|
+
### 4. Epic Completion
|
|
191
|
+
|
|
192
|
+
After all stories for an epic are complete:
|
|
193
|
+
|
|
194
|
+
- Display epic summary
|
|
195
|
+
- Show count of stories created
|
|
196
|
+
- Verify all FRs for the epic are covered
|
|
197
|
+
- Get user confirmation to proceed to next epic
|
|
198
|
+
|
|
199
|
+
### 5. Repeat for All Epics
|
|
200
|
+
|
|
201
|
+
Continue the process for each epic in the approved list, processing them in order (Epic 1, Epic 2, etc.).
|
|
202
|
+
|
|
203
|
+
### 6. Final Document Completion
|
|
204
|
+
|
|
205
|
+
After all epics and stories are generated:
|
|
206
|
+
|
|
207
|
+
- Verify the document follows template structure exactly
|
|
208
|
+
- Ensure all placeholders are replaced
|
|
209
|
+
- Confirm all FRs are covered
|
|
210
|
+
- Check formatting consistency
|
|
211
|
+
|
|
212
|
+
## TEMPLATE STRUCTURE COMPLIANCE:
|
|
213
|
+
|
|
214
|
+
The final {outputFile} must follow this structure exactly:
|
|
215
|
+
|
|
216
|
+
1. **Overview** section with project name
|
|
217
|
+
2. **Requirements Inventory** with all three subsections populated
|
|
218
|
+
3. **FR Coverage Map** showing requirement to epic mapping
|
|
219
|
+
4. **Epic List** with approved epic structure
|
|
220
|
+
5. **Epic sections** for each epic (N = 1, 2, 3...)
|
|
221
|
+
- Epic title and goal
|
|
222
|
+
- All stories for that epic (M = 1, 2, 3...)
|
|
223
|
+
- Story title and user story
|
|
224
|
+
- Acceptance Criteria using Given/When/Then format
|
|
225
|
+
|
|
226
|
+
### 7. Present FINAL MENU OPTIONS
|
|
227
|
+
|
|
228
|
+
After all epics and stories are complete:
|
|
229
|
+
|
|
230
|
+
Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue"
|
|
231
|
+
|
|
232
|
+
#### Menu Handling Logic:
|
|
233
|
+
|
|
234
|
+
- IF A: Execute {advancedElicitationTask}
|
|
235
|
+
- IF P: Execute {partyModeWorkflow}
|
|
236
|
+
- IF C: Save content to {outputFile}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
237
|
+
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-final-menu-options)
|
|
238
|
+
|
|
239
|
+
#### EXECUTION RULES:
|
|
240
|
+
|
|
241
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
242
|
+
- ONLY proceed to next step when user selects 'C'
|
|
243
|
+
- After other menu items execution, return to this menu
|
|
244
|
+
- User can chat or ask questions - always respond and then end with display again of the menu options
|
|
245
|
+
|
|
246
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
247
|
+
|
|
248
|
+
ONLY WHEN [C continue option] is selected and [all epics and stories saved to document following the template structure exactly], will you then load and read fully `{nextStepFile}` to execute and begin final validation phase.
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
253
|
+
|
|
254
|
+
### ✅ SUCCESS:
|
|
255
|
+
|
|
256
|
+
- All epics processed in sequence
|
|
257
|
+
- Stories created for each epic
|
|
258
|
+
- Template structure followed exactly
|
|
259
|
+
- All FRs covered by stories
|
|
260
|
+
- Stories appropriately sized
|
|
261
|
+
- Acceptance criteria are specific and testable
|
|
262
|
+
- Document is complete and ready for development
|
|
263
|
+
|
|
264
|
+
### ❌ SYSTEM FAILURE:
|
|
265
|
+
|
|
266
|
+
- Deviating from template structure
|
|
267
|
+
- Missing epics or stories
|
|
268
|
+
- Stories too large or unclear
|
|
269
|
+
- Missing acceptance criteria
|
|
270
|
+
- Not following proper formatting
|
|
271
|
+
|
|
272
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-04-final-validation'
|
|
3
|
+
description: 'Validate complete coverage of all requirements and ensure implementation readiness'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-04-final-validation.md'
|
|
10
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
11
|
+
outputFile: '{planning_artifacts}/epics.md'
|
|
12
|
+
|
|
13
|
+
# Task References
|
|
14
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
|
|
15
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
16
|
+
|
|
17
|
+
# Template References
|
|
18
|
+
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Step 4: Final Validation
|
|
22
|
+
|
|
23
|
+
## STEP GOAL:
|
|
24
|
+
|
|
25
|
+
To validate complete coverage of all requirements and ensure stories are ready for development.
|
|
26
|
+
|
|
27
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
28
|
+
|
|
29
|
+
### Universal Rules:
|
|
30
|
+
|
|
31
|
+
- 🛑 NEVER generate content without user input
|
|
32
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
33
|
+
- 🔄 CRITICAL: Process validation sequentially without skipping
|
|
34
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
35
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
36
|
+
|
|
37
|
+
### Role Reinforcement:
|
|
38
|
+
|
|
39
|
+
- ✅ You are a product strategist and technical specifications writer
|
|
40
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
41
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
42
|
+
- ✅ You bring validation expertise and quality assurance
|
|
43
|
+
- ✅ User brings their implementation priorities and final review
|
|
44
|
+
|
|
45
|
+
### Step-Specific Rules:
|
|
46
|
+
|
|
47
|
+
- 🎯 Focus ONLY on validating complete requirements coverage
|
|
48
|
+
- 🚫 FORBIDDEN to skip any validation checks
|
|
49
|
+
- 💬 Validate FR coverage, story completeness, and dependencies
|
|
50
|
+
- 🚪 ENSURE all stories are ready for development
|
|
51
|
+
|
|
52
|
+
## EXECUTION PROTOCOLS:
|
|
53
|
+
|
|
54
|
+
- 🎯 Validate every requirement has story coverage
|
|
55
|
+
- 💾 Check story dependencies and flow
|
|
56
|
+
- 📖 Verify architecture compliance
|
|
57
|
+
- 🚫 FORBIDDEN to approve incomplete coverage
|
|
58
|
+
|
|
59
|
+
## CONTEXT BOUNDARIES:
|
|
60
|
+
|
|
61
|
+
- Available context: Complete epic and story breakdown from previous steps
|
|
62
|
+
- Focus: Final validation of requirements coverage and story readiness
|
|
63
|
+
- Limits: Validation only, no new content creation
|
|
64
|
+
- Dependencies: Completed story generation from Step 3
|
|
65
|
+
|
|
66
|
+
## VALIDATION PROCESS:
|
|
67
|
+
|
|
68
|
+
### 1. FR Coverage Validation
|
|
69
|
+
|
|
70
|
+
Review the complete epic and story breakdown to ensure EVERY FR is covered:
|
|
71
|
+
|
|
72
|
+
**CRITICAL CHECK:**
|
|
73
|
+
|
|
74
|
+
- Go through each FR from the Requirements Inventory
|
|
75
|
+
- Verify it appears in at least one story
|
|
76
|
+
- Check that acceptance criteria fully address the FR
|
|
77
|
+
- No FRs should be left uncovered
|
|
78
|
+
|
|
79
|
+
### 2. Architecture Implementation Validation
|
|
80
|
+
|
|
81
|
+
**Check for Starter Template Setup:**
|
|
82
|
+
|
|
83
|
+
- Does Architecture document specify a starter template?
|
|
84
|
+
- If YES: Epic 1 Story 1 must be "Set up initial project from starter template"
|
|
85
|
+
- This includes cloning, installing dependencies, initial configuration
|
|
86
|
+
|
|
87
|
+
**Database/Entity Creation Validation:**
|
|
88
|
+
|
|
89
|
+
- Are database tables/entities created ONLY when needed by stories?
|
|
90
|
+
- ❌ WRONG: Epic 1 creates all tables upfront
|
|
91
|
+
- ✅ RIGHT: Tables created as part of the first story that needs them
|
|
92
|
+
- Each story should create/modify ONLY what it needs
|
|
93
|
+
|
|
94
|
+
### 3. Story Quality Validation
|
|
95
|
+
|
|
96
|
+
**Each story must:**
|
|
97
|
+
|
|
98
|
+
- Be completable by a single dev agent
|
|
99
|
+
- Have clear acceptance criteria
|
|
100
|
+
- Reference specific FRs it implements
|
|
101
|
+
- Include necessary technical details
|
|
102
|
+
- **Not have forward dependencies** (can only depend on PREVIOUS stories)
|
|
103
|
+
- Be implementable without waiting for future stories
|
|
104
|
+
|
|
105
|
+
### 4. Epic Structure Validation
|
|
106
|
+
|
|
107
|
+
**Check that:**
|
|
108
|
+
|
|
109
|
+
- Epics deliver user value, not technical milestones
|
|
110
|
+
- Dependencies flow naturally
|
|
111
|
+
- Foundation stories only setup what's needed
|
|
112
|
+
- No big upfront technical work
|
|
113
|
+
|
|
114
|
+
### 5. Dependency Validation (CRITICAL)
|
|
115
|
+
|
|
116
|
+
**Epic Independence Check:**
|
|
117
|
+
|
|
118
|
+
- Does each epic deliver COMPLETE functionality for its domain?
|
|
119
|
+
- Can Epic 2 function without Epic 3 being implemented?
|
|
120
|
+
- Can Epic 3 function standalone using Epic 1 & 2 outputs?
|
|
121
|
+
- ❌ WRONG: Epic 2 requires Epic 3 features to work
|
|
122
|
+
- ✅ RIGHT: Each epic is independently valuable
|
|
123
|
+
|
|
124
|
+
**Within-Epic Story Dependency Check:**
|
|
125
|
+
For each epic, review stories in order:
|
|
126
|
+
|
|
127
|
+
- Can Story N.1 be completed without Stories N.2, N.3, etc.?
|
|
128
|
+
- Can Story N.2 be completed using only Story N.1 output?
|
|
129
|
+
- Can Story N.3 be completed using only Stories N.1 & N.2 outputs?
|
|
130
|
+
- ❌ WRONG: "This story depends on a future story"
|
|
131
|
+
- ❌ WRONG: Story references features not yet implemented
|
|
132
|
+
- ✅ RIGHT: Each story builds only on previous stories
|
|
133
|
+
|
|
134
|
+
### 6. Complete and Save
|
|
135
|
+
|
|
136
|
+
If all validations pass:
|
|
137
|
+
|
|
138
|
+
- Update any remaining placeholders in the document
|
|
139
|
+
- Ensure proper formatting
|
|
140
|
+
- Save the final epics.md
|
|
141
|
+
|
|
142
|
+
**Present Final Menu:**
|
|
143
|
+
**All validations complete!** [C] Complete Workflow
|
|
144
|
+
|
|
145
|
+
When C is selected, the workflow is complete and the epics.md is ready for development.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
stepsCompleted: []
|
|
3
|
+
inputDocuments: []
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# {{project_name}} - Epic Breakdown
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This document provides the complete epic and story breakdown for {{project_name}}, decomposing the requirements from the PRD, UX Design if it exists, and Architecture requirements into implementable stories.
|
|
11
|
+
|
|
12
|
+
## Requirements Inventory
|
|
13
|
+
|
|
14
|
+
### Functional Requirements
|
|
15
|
+
|
|
16
|
+
{{fr_list}}
|
|
17
|
+
|
|
18
|
+
### NonFunctional Requirements
|
|
19
|
+
|
|
20
|
+
{{nfr_list}}
|
|
21
|
+
|
|
22
|
+
### Additional Requirements
|
|
23
|
+
|
|
24
|
+
{{additional_requirements}}
|
|
25
|
+
|
|
26
|
+
### FR Coverage Map
|
|
27
|
+
|
|
28
|
+
{{requirements_coverage_map}}
|
|
29
|
+
|
|
30
|
+
## Epic List
|
|
31
|
+
|
|
32
|
+
{{epics_list}}
|
|
33
|
+
|
|
34
|
+
<!-- Repeat for each epic in epics_list (N = 1, 2, 3...) -->
|
|
35
|
+
|
|
36
|
+
## Epic {{N}}: {{epic_title_N}}
|
|
37
|
+
|
|
38
|
+
{{epic_goal_N}}
|
|
39
|
+
|
|
40
|
+
<!-- Repeat for each story (M = 1, 2, 3...) within epic N -->
|
|
41
|
+
|
|
42
|
+
### Story {{N}}.{{M}}: {{story_title_N_M}}
|
|
43
|
+
|
|
44
|
+
As a {{user_type}},
|
|
45
|
+
I want {{capability}},
|
|
46
|
+
So that {{value_benefit}}.
|
|
47
|
+
|
|
48
|
+
**Acceptance Criteria:**
|
|
49
|
+
|
|
50
|
+
<!-- for each AC on this story -->
|
|
51
|
+
|
|
52
|
+
**Given** {{precondition}}
|
|
53
|
+
**When** {{action}}
|
|
54
|
+
**Then** {{expected_outcome}}
|
|
55
|
+
**And** {{additional_criteria}}
|
|
56
|
+
|
|
57
|
+
<!-- End story repeat -->
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-epics-and-stories
|
|
3
|
+
description: 'Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value. This workflow requires completed PRD + Architecture documents (UX recommended if UI exists) and breaks down requirements into implementation-ready epics and user stories that incorporate all available technical and design context. Creates detailed, actionable stories with complete acceptance criteria for development teams.'
|
|
4
|
+
web_bundle: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Create Epics and Stories
|
|
8
|
+
|
|
9
|
+
**Goal:** Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value, creating detailed, actionable stories with complete acceptance criteria for development teams.
|
|
10
|
+
|
|
11
|
+
**Your Role:** In addition to your name, communication_style, and persona, you are also a product strategist and technical specifications writer collaborating with a product owner. This is a partnership, not a client-vendor relationship. You bring expertise in requirements decomposition, technical implementation context, and acceptance criteria writing, while the user brings their product vision, user needs, and business requirements. Work together as equals.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## WORKFLOW ARCHITECTURE
|
|
16
|
+
|
|
17
|
+
This uses **step-file architecture** for disciplined execution:
|
|
18
|
+
|
|
19
|
+
### Core Principles
|
|
20
|
+
|
|
21
|
+
- **Micro-file Design**: Each step of the overall goal is a self contained instruction file that you will adhere too 1 file as directed at a time
|
|
22
|
+
- **Just-In-Time Loading**: Only 1 current step file will be loaded, read, and executed to completion - never load future step files until told to do so
|
|
23
|
+
- **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
|
|
24
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
|
|
25
|
+
- **Append-Only Building**: Build documents by appending content as directed to the output file
|
|
26
|
+
|
|
27
|
+
### Step Processing Rules
|
|
28
|
+
|
|
29
|
+
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
30
|
+
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
31
|
+
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
32
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
33
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
34
|
+
6. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
|
|
35
|
+
|
|
36
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
37
|
+
|
|
38
|
+
- 🛑 **NEVER** load multiple step files simultaneously
|
|
39
|
+
- 📖 **ALWAYS** read entire step file before execution
|
|
40
|
+
- 🚫 **NEVER** skip steps or optimize the sequence
|
|
41
|
+
- 💾 **ALWAYS** update frontmatter of output files when writing the final output for a specific step
|
|
42
|
+
- 🎯 **ALWAYS** follow the exact instructions in the step file
|
|
43
|
+
- ⏸️ **ALWAYS** halt at menus and wait for user input
|
|
44
|
+
- 📋 **NEVER** create mental todo lists from future steps
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## INITIALIZATION SEQUENCE
|
|
49
|
+
|
|
50
|
+
### 1. Configuration Loading
|
|
51
|
+
|
|
52
|
+
Load and read full config from {project-root}/_bmad/bmm/config.yaml and resolve:
|
|
53
|
+
|
|
54
|
+
- `project_name`, `output_folder`, `planning_artifacts`, `user_name`, `communication_language`, `document_output_language`
|
|
55
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
56
|
+
|
|
57
|
+
### 2. First Step EXECUTION
|
|
58
|
+
|
|
59
|
+
Load, read the full file and then execute `{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md` to begin the workflow.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Bước 1: Xác Định Mục Tiêu Nâng Cấp
|
|
2
|
+
|
|
3
|
+
## 1. Chào Người Dùng
|
|
4
|
+
|
|
5
|
+
Chào {user_name}! Tôi sẽ giúp bạn nâng cấp hệ thống Odoo hiện có một cách an toàn sử dụng các mẫu kế thừa.
|
|
6
|
+
|
|
7
|
+
## 2. Thông Tin Nâng Cấp
|
|
8
|
+
|
|
9
|
+
### 2.1 Module/Model Cần Nâng Cấp
|
|
10
|
+
|
|
11
|
+
- **Module gốc:** (ví dụ: sale, stock, account)
|
|
12
|
+
- **Model cần enhance:** (ví dụ: sale.order, res.partner)
|
|
13
|
+
|
|
14
|
+
### 2.2 Chức Năng Hiện Tại
|
|
15
|
+
|
|
16
|
+
Mô tả chức năng hiện tại của model/module:
|
|
17
|
+
|
|
18
|
+
### 2.3 Thay Đổi Mong Muốn
|
|
19
|
+
|
|
20
|
+
Bạn muốn thay đổi/thêm gì?
|
|
21
|
+
- [ ] Thêm fields mới
|
|
22
|
+
- [ ] Thêm/sửa methods
|
|
23
|
+
- [ ] Thay đổi workflow
|
|
24
|
+
- [ ] Thêm constraints
|
|
25
|
+
- [ ] Thay đổi views
|
|
26
|
+
- [ ] Khác: ___
|
|
27
|
+
|
|
28
|
+
### 2.4 Lý Do
|
|
29
|
+
|
|
30
|
+
Tại sao cần thay đổi này?
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 3. Menu
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
[C] Tiếp tục - Đã xác định mục tiêu
|
|
38
|
+
[H] Trợ giúp - Giải thích inheritance patterns
|
|
39
|
+
[X] Thoát
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 4. Hành Động Tiếp Theo
|
|
43
|
+
|
|
44
|
+
Khi chọn **[C]**: Tải `steps/step-02-inheritance-strategy.md`
|
package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Bước 2: Chọn Chiến Lược Kế Thừa
|
|
2
|
+
|
|
3
|
+
## 1. Mục Tiêu
|
|
4
|
+
|
|
5
|
+
Chọn mẫu kế thừa phù hợp cho việc nâng cấp.
|
|
6
|
+
|
|
7
|
+
## 2. Các Mẫu Kế Thừa Odoo
|
|
8
|
+
|
|
9
|
+
### 2.1 Class Inheritance (`_inherit`)
|
|
10
|
+
|
|
11
|
+
**Khi nào dùng:** Mở rộng model hiện có, thêm fields/methods.
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
class SaleOrderExtension(models.Model):
|
|
15
|
+
_inherit = 'sale.order'
|
|
16
|
+
|
|
17
|
+
custom_field = fields.Char('Custom Field')
|
|
18
|
+
|
|
19
|
+
def custom_method(self):
|
|
20
|
+
pass
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Ưu điểm:** Đơn giản, phổ biến nhất
|
|
24
|
+
**Nhược điểm:** Thay đổi trực tiếp model gốc
|
|
25
|
+
|
|
26
|
+
### 2.2 Delegation Inheritance (`_inherits`)
|
|
27
|
+
|
|
28
|
+
**Khi nào dùng:** Tạo model mới kế thừa data từ model khác.
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
class CustomPartner(models.Model):
|
|
32
|
+
_name = 'custom.partner'
|
|
33
|
+
_inherits = {'res.partner': 'partner_id'}
|
|
34
|
+
|
|
35
|
+
partner_id = fields.Many2one('res.partner', required=True, ondelete='cascade')
|
|
36
|
+
extra_field = fields.Char()
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Ưu điểm:** Có bảng riêng, không ảnh hưởng model gốc
|
|
40
|
+
**Nhược điểm:** Phức tạp hơn
|
|
41
|
+
|
|
42
|
+
### 2.3 Prototype Inheritance (`_inherit + _name`)
|
|
43
|
+
|
|
44
|
+
**Khi nào dùng:** Copy toàn bộ cấu trúc model sang model mới.
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
class NewModel(models.Model):
|
|
48
|
+
_name = 'new.model'
|
|
49
|
+
_inherit = 'base.model' # Copy tất cả
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Ưu điểm:** Model độc lập hoàn toàn
|
|
53
|
+
**Nhược điểm:** Không liên kết với model gốc
|
|
54
|
+
|
|
55
|
+
## 3. Đề Xuất
|
|
56
|
+
|
|
57
|
+
Dựa trên yêu cầu của bạn, tôi đề xuất sử dụng: **{pattern}**
|
|
58
|
+
|
|
59
|
+
Lý do: {explanation}
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## 4. Menu
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
[C] Tiếp tục với đề xuất
|
|
67
|
+
[1] Class Inheritance
|
|
68
|
+
[2] Delegation Inheritance
|
|
69
|
+
[3] Prototype Inheritance
|
|
70
|
+
[B] Quay lại
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## 5. Hành Động Tiếp Theo
|
|
74
|
+
|
|
75
|
+
Khi chọn pattern: Tải `steps/step-03-implementation.md`
|