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,103 @@
|
|
|
1
|
+
# BMad Method - Brownfield
|
|
2
|
+
# Full product + architecture planning for complex brownfield additions (10-50+ stories typically)
|
|
3
|
+
|
|
4
|
+
method_name: "BMad Method"
|
|
5
|
+
track: "bmad-method"
|
|
6
|
+
field_type: "brownfield"
|
|
7
|
+
description: "Complete product and system design for complex brownfield work"
|
|
8
|
+
|
|
9
|
+
phases:
|
|
10
|
+
- phase: 0
|
|
11
|
+
name: "Documentation"
|
|
12
|
+
conditional: "if_undocumented"
|
|
13
|
+
note: "Prerequisite for brownfield without docs"
|
|
14
|
+
workflows:
|
|
15
|
+
- id: "document-project"
|
|
16
|
+
required: true
|
|
17
|
+
workflow: "{project-root}/_bmad/bmm/workflows/document-project/workflow.yaml"
|
|
18
|
+
agent: "analyst"
|
|
19
|
+
command: "/bmad:bmm:workflows:document-project"
|
|
20
|
+
output: "Comprehensive project documentation"
|
|
21
|
+
purpose: "Understand existing codebase before planning"
|
|
22
|
+
- phase: 1
|
|
23
|
+
name: "Analysis (Optional)"
|
|
24
|
+
optional: true
|
|
25
|
+
note: "User-selected during workflow-init"
|
|
26
|
+
workflows:
|
|
27
|
+
- id: "brainstorm-project"
|
|
28
|
+
exec: "{project-root}/_bmad/core/workflows/brainstorming/workflow.md"
|
|
29
|
+
optional: true
|
|
30
|
+
agent: "analyst"
|
|
31
|
+
command: "/bmad:bmm:workflows:brainstorming"
|
|
32
|
+
included_by: "user_choice"
|
|
33
|
+
note: "Uses core brainstorming workflow with project context template"
|
|
34
|
+
- id: "research"
|
|
35
|
+
exec: "{project-root}/_bmad/bmm/workflows/1-analysis/research/workflow.md"
|
|
36
|
+
optional: true
|
|
37
|
+
agent: "analyst"
|
|
38
|
+
command: "/bmad:bmm:workflows:research"
|
|
39
|
+
included_by: "user_choice"
|
|
40
|
+
note: "Can have multiple research workflows"
|
|
41
|
+
- id: "product-brief"
|
|
42
|
+
exec: "{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md"
|
|
43
|
+
optional: true
|
|
44
|
+
agent: "analyst"
|
|
45
|
+
command: "/bmad:bmm:workflows:create-product-brief"
|
|
46
|
+
included_by: "user_choice"
|
|
47
|
+
note: "Recommended for greenfield Method projects"
|
|
48
|
+
- phase: 2
|
|
49
|
+
name: "Planning"
|
|
50
|
+
required: true
|
|
51
|
+
workflows:
|
|
52
|
+
- id: "prd"
|
|
53
|
+
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md"
|
|
54
|
+
required: true
|
|
55
|
+
agent: "pm"
|
|
56
|
+
command: "/bmad:bmm:workflows:create-prd"
|
|
57
|
+
output: "Product Requirements Document with FRs and NFRs"
|
|
58
|
+
- id: "create-ux-design"
|
|
59
|
+
conditional: "if_has_ui"
|
|
60
|
+
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
|
|
61
|
+
agent: "ux-designer"
|
|
62
|
+
command: "/bmad:bmm:workflows:create-ux-design"
|
|
63
|
+
note: "Determined after PRD - user/agent decides if needed"
|
|
64
|
+
- phase: 3
|
|
65
|
+
name: "Solutioning"
|
|
66
|
+
required: true
|
|
67
|
+
workflows:
|
|
68
|
+
- id: "create-architecture"
|
|
69
|
+
required: true
|
|
70
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md"
|
|
71
|
+
agent: "architect"
|
|
72
|
+
command: "/bmad:bmm:workflows:create-architecture"
|
|
73
|
+
output: "System architecture document"
|
|
74
|
+
note: "Complete system design for greenfield projects"
|
|
75
|
+
- id: "create-epics-and-stories"
|
|
76
|
+
required: true
|
|
77
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md"
|
|
78
|
+
agent: "pm"
|
|
79
|
+
command: "/bmad:bmm:workflows:create-epics-and-stories"
|
|
80
|
+
note: "Required: Break down PRD into implementable epics and stories with full context (PRD + UX + Architecture)"
|
|
81
|
+
- id: "test-design"
|
|
82
|
+
optional: true
|
|
83
|
+
workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-design/workflow.yaml"
|
|
84
|
+
agent: "tea"
|
|
85
|
+
command: "/bmad:bmm:workflows:test-design"
|
|
86
|
+
output: "System-level testability review"
|
|
87
|
+
note: "Testability assessment before gate check - auto-detects system-level mode"
|
|
88
|
+
- id: "implementation-readiness"
|
|
89
|
+
required: true
|
|
90
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
|
|
91
|
+
agent: "architect"
|
|
92
|
+
command: "/bmad:bmm:workflows:implementation-readiness"
|
|
93
|
+
note: "Validates PRD + Architecture + Epics + UX (optional)"
|
|
94
|
+
- phase: 4
|
|
95
|
+
name: "Implementation"
|
|
96
|
+
required: true
|
|
97
|
+
workflows:
|
|
98
|
+
- id: "sprint-planning"
|
|
99
|
+
required: true
|
|
100
|
+
workflow: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml"
|
|
101
|
+
agent: "sm"
|
|
102
|
+
command: "/bmad:bmm:workflows:sprint-planning"
|
|
103
|
+
note: "Creates sprint plan - subsequent work tracked there"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# BMad Method - Greenfield
|
|
2
|
+
# Full product + architecture planning for greenfield projects (10-50+ stories typically)
|
|
3
|
+
|
|
4
|
+
method_name: "BMad Method"
|
|
5
|
+
track: "bmad-method"
|
|
6
|
+
field_type: "greenfield"
|
|
7
|
+
description: "Complete product and system design methodology for greenfield projects"
|
|
8
|
+
|
|
9
|
+
phases:
|
|
10
|
+
- phase: 1
|
|
11
|
+
name: "Analysis (Optional)"
|
|
12
|
+
optional: true
|
|
13
|
+
note: "User-selected during workflow-init"
|
|
14
|
+
workflows:
|
|
15
|
+
- id: "brainstorm-project"
|
|
16
|
+
exec: "{project-root}/_bmad/core/workflows/brainstorming/workflow.md"
|
|
17
|
+
optional: true
|
|
18
|
+
agent: "analyst"
|
|
19
|
+
command: "/bmad:bmm:workflows:brainstorming"
|
|
20
|
+
included_by: "user_choice"
|
|
21
|
+
note: "Uses core brainstorming workflow with project context template"
|
|
22
|
+
|
|
23
|
+
- id: "research"
|
|
24
|
+
exec: "{project-root}/_bmad/bmm/workflows/1-analysis/research/workflow.md"
|
|
25
|
+
optional: true
|
|
26
|
+
agent: "analyst"
|
|
27
|
+
command: "/bmad:bmm:workflows:research"
|
|
28
|
+
included_by: "user_choice"
|
|
29
|
+
note: "Can have multiple research workflows"
|
|
30
|
+
|
|
31
|
+
- id: "product-brief"
|
|
32
|
+
exec: "{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md"
|
|
33
|
+
optional: true
|
|
34
|
+
agent: "analyst"
|
|
35
|
+
command: "/bmad:bmm:workflows:create-product-brief"
|
|
36
|
+
included_by: "user_choice"
|
|
37
|
+
note: "Recommended for greenfield Method projects"
|
|
38
|
+
|
|
39
|
+
- phase: 2
|
|
40
|
+
name: "Planning"
|
|
41
|
+
required: true
|
|
42
|
+
workflows:
|
|
43
|
+
- id: "prd"
|
|
44
|
+
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md"
|
|
45
|
+
required: true
|
|
46
|
+
agent: "pm"
|
|
47
|
+
command: "/bmad:bmm:workflows:create-prd"
|
|
48
|
+
output: "Product Requirements Document with FRs and NFRs"
|
|
49
|
+
|
|
50
|
+
- id: "create-ux-design"
|
|
51
|
+
conditional: "if_has_ui"
|
|
52
|
+
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
|
|
53
|
+
agent: "ux-designer"
|
|
54
|
+
command: "/bmad:bmm:workflows:create-ux-design"
|
|
55
|
+
note: "Determined after PRD - user/agent decides if needed"
|
|
56
|
+
|
|
57
|
+
- phase: 3
|
|
58
|
+
name: "Solutioning"
|
|
59
|
+
required: true
|
|
60
|
+
workflows:
|
|
61
|
+
- id: "create-architecture"
|
|
62
|
+
required: true
|
|
63
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md"
|
|
64
|
+
agent: "architect"
|
|
65
|
+
command: "/bmad:bmm:workflows:create-architecture"
|
|
66
|
+
output: "System architecture document"
|
|
67
|
+
note: "Complete system design for greenfield projects"
|
|
68
|
+
|
|
69
|
+
- id: "create-epics-and-stories"
|
|
70
|
+
required: true
|
|
71
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md"
|
|
72
|
+
agent: "pm"
|
|
73
|
+
command: "/bmad:bmm:workflows:create-epics-and-stories"
|
|
74
|
+
note: "Required: Break down PRD into implementable epics and stories with full context (PRD + UX + Architecture)"
|
|
75
|
+
|
|
76
|
+
- id: "test-design"
|
|
77
|
+
optional: true
|
|
78
|
+
workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-design/workflow.yaml"
|
|
79
|
+
agent: "tea"
|
|
80
|
+
command: "/bmad:bmm:workflows:test-design"
|
|
81
|
+
output: "System-level testability review"
|
|
82
|
+
note: "Testability assessment before gate check - auto-detects system-level mode"
|
|
83
|
+
|
|
84
|
+
- id: "implementation-readiness"
|
|
85
|
+
required: true
|
|
86
|
+
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
|
|
87
|
+
agent: "architect"
|
|
88
|
+
command: "/bmad:bmm:workflows:implementation-readiness"
|
|
89
|
+
note: "Validates PRD + Architecture + Epics + UX (optional)"
|
|
90
|
+
|
|
91
|
+
- phase: 4
|
|
92
|
+
name: "Implementation"
|
|
93
|
+
required: true
|
|
94
|
+
workflows:
|
|
95
|
+
- id: "sprint-planning"
|
|
96
|
+
required: true
|
|
97
|
+
workflow: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml"
|
|
98
|
+
agent: "sm"
|
|
99
|
+
command: "/bmad:bmm:workflows:sprint-planning"
|
|
100
|
+
note: "Creates sprint plan - subsequent work tracked there"
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# BMM Project Scale Levels - Source of Truth
|
|
2
|
+
# Reference: /_bmad/bmm/README.md lines 77-85
|
|
3
|
+
|
|
4
|
+
levels:
|
|
5
|
+
0:
|
|
6
|
+
name: "Level 0"
|
|
7
|
+
title: "Single Atomic Change"
|
|
8
|
+
stories: "1 story"
|
|
9
|
+
description: "Bug fix, tiny feature, one small change"
|
|
10
|
+
documentation: "Minimal - tech spec only"
|
|
11
|
+
architecture: false
|
|
12
|
+
|
|
13
|
+
1:
|
|
14
|
+
name: "Level 1"
|
|
15
|
+
title: "Small Feature"
|
|
16
|
+
stories: "1-10 stories"
|
|
17
|
+
description: "Small coherent feature, minimal documentation"
|
|
18
|
+
documentation: "Tech spec"
|
|
19
|
+
architecture: false
|
|
20
|
+
|
|
21
|
+
2:
|
|
22
|
+
name: "Level 2"
|
|
23
|
+
title: "Medium Project"
|
|
24
|
+
stories: "5-15 stories"
|
|
25
|
+
description: "Multiple features, focused PRD"
|
|
26
|
+
documentation: "PRD + optional tech spec"
|
|
27
|
+
architecture: false
|
|
28
|
+
|
|
29
|
+
3:
|
|
30
|
+
name: "Level 3"
|
|
31
|
+
title: "Complex System"
|
|
32
|
+
stories: "12-40 stories"
|
|
33
|
+
description: "Subsystems, integrations, full architecture"
|
|
34
|
+
documentation: "PRD + architecture + JIT tech specs"
|
|
35
|
+
architecture: true
|
|
36
|
+
|
|
37
|
+
4:
|
|
38
|
+
name: "Level 4"
|
|
39
|
+
title: "Enterprise Scale"
|
|
40
|
+
stories: "40+ stories"
|
|
41
|
+
description: "Multiple products, enterprise architecture"
|
|
42
|
+
documentation: "PRD + architecture + JIT tech specs"
|
|
43
|
+
architecture: true
|
|
44
|
+
|
|
45
|
+
# Quick detection hints for workflow-init
|
|
46
|
+
detection_hints:
|
|
47
|
+
keywords:
|
|
48
|
+
level_0: ["fix", "bug", "typo", "small change", "quick update", "patch"]
|
|
49
|
+
level_1: ["simple", "basic", "small feature", "add", "minor"]
|
|
50
|
+
level_2: ["dashboard", "several features", "admin panel", "medium"]
|
|
51
|
+
level_3: ["platform", "integration", "complex", "system", "architecture"]
|
|
52
|
+
level_4: ["enterprise", "multi-tenant", "multiple products", "ecosystem", "scale"]
|
|
53
|
+
|
|
54
|
+
story_counts:
|
|
55
|
+
level_0: [1, 1]
|
|
56
|
+
level_1: [1, 10]
|
|
57
|
+
level_2: [5, 15]
|
|
58
|
+
level_3: [12, 40]
|
|
59
|
+
level_4: [40, 999]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Workflow Status Template
|
|
2
|
+
|
|
3
|
+
# This tracks progress through BMM methodology Analysis, Planning, and Solutioning phases.
|
|
4
|
+
# Implementation phase is tracked separately in sprint-status.yaml
|
|
5
|
+
|
|
6
|
+
# STATUS DEFINITIONS:
|
|
7
|
+
# ==================
|
|
8
|
+
# Initial Status (before completion):
|
|
9
|
+
# - required: Must be completed to progress
|
|
10
|
+
# - optional: Can be completed but not required
|
|
11
|
+
# - recommended: Strongly suggested but not required
|
|
12
|
+
# - conditional: Required only if certain conditions met (e.g., if_has_ui)
|
|
13
|
+
#
|
|
14
|
+
# Completion Status:
|
|
15
|
+
# - {file-path}: File created/found (e.g., "docs/product-brief.md")
|
|
16
|
+
# - skipped: Optional/conditional workflow that was skipped
|
|
17
|
+
|
|
18
|
+
generated: "{{generated}}"
|
|
19
|
+
project: "{{project_name}}"
|
|
20
|
+
project_type: "{{project_type}}"
|
|
21
|
+
selected_track: "{{selected_track}}"
|
|
22
|
+
field_type: "{{field_type}}"
|
|
23
|
+
workflow_path: "{{workflow_path_file}}"
|
|
24
|
+
workflow_status: "{{workflow_items}}"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Workflow Status - Master Router and Status Tracker
|
|
2
|
+
name: workflow-status
|
|
3
|
+
description: 'Lightweight status checker - answers "what should I do now?" for any agent. Reads YAML status file for workflow tracking. Use workflow-init for new projects.'
|
|
4
|
+
author: "BMad"
|
|
5
|
+
|
|
6
|
+
# Critical variables from config
|
|
7
|
+
config_source: "{project-root}/_bmad/bmm/config.yaml"
|
|
8
|
+
output_folder: "{config_source}:output_folder"
|
|
9
|
+
planning_artifacts: "{config_source}:planning_artifacts"
|
|
10
|
+
implementation_artifacts: "{config_source}:implementation_artifacts"
|
|
11
|
+
user_name: "{config_source}:user_name"
|
|
12
|
+
communication_language: "{config_source}:communication_language"
|
|
13
|
+
document_output_language: "{config_source}:document_output_language"
|
|
14
|
+
user_skill_level: "{config_source}:user_skill_level"
|
|
15
|
+
date: system-generated
|
|
16
|
+
|
|
17
|
+
# Workflow components
|
|
18
|
+
installed_path: "{project-root}/_bmad/bmm/workflows/workflow-status"
|
|
19
|
+
instructions: "{installed_path}/instructions.md"
|
|
20
|
+
|
|
21
|
+
# Template for status file creation (used by workflow-init)
|
|
22
|
+
template: "{installed_path}/workflow-status-template.yaml"
|
|
23
|
+
|
|
24
|
+
# Path definitions for project types
|
|
25
|
+
path_files: "{installed_path}/paths/"
|
|
26
|
+
|
|
27
|
+
# Output configuration - reads existing status
|
|
28
|
+
default_output_file: "{planning_artifacts}/bmm-workflow-status.yaml"
|
|
29
|
+
|
|
30
|
+
standalone: true
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "bmad-odoo master"
|
|
3
|
+
description: "Người Thực Thi Chính BMAD-Odoo, Người Quản Lý Kiến Thức, và Điều Phối Quy Trình"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Bạn phải hoàn toàn nhập vai persona của agent này và tuân theo tất cả hướng dẫn kích hoạt chính xác như được chỉ định. KHÔNG BAO GIỜ phá vỡ vai trò cho đến khi nhận lệnh thoát.
|
|
7
|
+
|
|
8
|
+
```xml
|
|
9
|
+
<agent id="bmad-odoo-master" name="BMAD-Odoo Master" title="Người Thực Thi Chính BMAD-Odoo" icon="🧙">
|
|
10
|
+
<activation critical="BẮT BUỘC">
|
|
11
|
+
<step n="1">Tải persona từ file agent hiện tại (đã có trong context)</step>
|
|
12
|
+
<step n="2">🚨 HÀNH ĐỘNG NGAY LẬP TỨC - TRƯỚC BẤT KỲ OUTPUT NÀO:
|
|
13
|
+
- Tải và đọc {project-root}/_bmad-odoo/core/config.yaml NGAY
|
|
14
|
+
- Lưu TẤT CẢ các trường dưới dạng biến session: {user_name}, {communication_language}, {output_folder}
|
|
15
|
+
- XÁC MINH: Nếu config không được tải, DỪNG và báo lỗi cho người dùng
|
|
16
|
+
</step>
|
|
17
|
+
<step n="3">Ghi nhớ: tên người dùng là {user_name}</step>
|
|
18
|
+
<step n="4">LUÔN giao tiếp bằng {communication_language}</step>
|
|
19
|
+
<step n="5">Hiển thị lời chào sử dụng {user_name}, sau đó hiển thị danh sách đánh số TẤT CẢ các mục menu</step>
|
|
20
|
+
<step n="6">DỪNG và CHỜ input từ người dùng</step>
|
|
21
|
+
<step n="7">Khi nhận input: Số → thực thi menu item[n] | Văn bản → khớp chuỗi con không phân biệt hoa thường</step>
|
|
22
|
+
|
|
23
|
+
<menu-handlers>
|
|
24
|
+
<handlers>
|
|
25
|
+
<handler type="action">
|
|
26
|
+
Khi mục menu có: action="#id" → Tìm prompt với id="id" trong XML agent hiện tại, thực thi nội dung của nó
|
|
27
|
+
Khi mục menu có: action="văn bản" → Thực thi văn bản trực tiếp như một hướng dẫn inline
|
|
28
|
+
</handler>
|
|
29
|
+
<handler type="exec">
|
|
30
|
+
Khi mục menu có: exec="đường dẫn" → Tải và thực thi file
|
|
31
|
+
</handler>
|
|
32
|
+
</handlers>
|
|
33
|
+
</menu-handlers>
|
|
34
|
+
|
|
35
|
+
<rules>
|
|
36
|
+
<r>LUÔN giao tiếp bằng {communication_language}</r>
|
|
37
|
+
<r>Giữ vai trò cho đến khi chọn thoát</r>
|
|
38
|
+
<r>Tải file CHỈ KHI thực thi workflow do người dùng chọn</r>
|
|
39
|
+
</rules>
|
|
40
|
+
</activation>
|
|
41
|
+
|
|
42
|
+
<persona>
|
|
43
|
+
<role>Người Thực Thi Chính + Chuyên Gia BMAD-Odoo + Điều Phối Viên</role>
|
|
44
|
+
<identity>Chuyên gia cấp cao về Nền tảng BMAD-Odoo với kiến thức toàn diện về tất cả các Odoo agents, resources, tasks, và workflows. Có kinh nghiệm trong thực thi task trực tiếp và quản lý resource runtime cho phát triển Odoo.</identity>
|
|
45
|
+
<communication_style>Trực tiếp và toàn diện, tự gọi mình ở ngôi thứ ba. Giao tiếp cấp chuyên gia tập trung vào thực thi task Odoo hiệu quả.</communication_style>
|
|
46
|
+
<principles>- "Tải resources lúc runtime không bao giờ tải trước, và luôn trình bày danh sách đánh số cho các lựa chọn."</principles>
|
|
47
|
+
</persona>
|
|
48
|
+
|
|
49
|
+
<menu>
|
|
50
|
+
<item cmd="MH hoặc khớp mờ với menu hoặc help">[MH] Hiển Thị Lại Trợ Giúp Menu</item>
|
|
51
|
+
<item cmd="CH hoặc khớp mờ với chat">[CH] Chat với Agent về bất kỳ điều gì</item>
|
|
52
|
+
<item cmd="LA hoặc khớp mờ với list-agents" action="liệt kê tất cả agents từ {project-root}/_bmad-odoo/_config/agent-manifest.csv">[LA] Liệt Kê Các Agent Có Sẵn</item>
|
|
53
|
+
<item cmd="LW hoặc khớp mờ với list-workflows" action="liệt kê tất cả workflows từ {project-root}/_bmad-odoo/_config/workflow-manifest.csv">[LW] Liệt Kê Workflows</item>
|
|
54
|
+
<item cmd="AP hoặc khớp mờ với analyze-process" workflow="{project-root}/_bmad-odoo/bmm/workflows/1-analysis/analyze-process/workflow.md">[AP] Phân Tích Quy Trình Odoo</item>
|
|
55
|
+
<item cmd="CA hoặc khớp mờ với create-addon" workflow="{project-root}/_bmad-odoo/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md">[CA] Tạo Odoo Addon Mới</item>
|
|
56
|
+
<item cmd="CE hoặc khớp mờ với create-epic" workflow="{project-root}/_bmad-odoo/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md">[CE] Tạo Epic Odoo</item>
|
|
57
|
+
<item cmd="PM hoặc khớp mờ với party-mode" exec="{project-root}/_bmad-odoo/core/workflows/party-mode/workflow.md">[PM] Bắt Đầu Party Mode</item>
|
|
58
|
+
<item cmd="DA hoặc khớp mờ với exit, leave, goodbye hoặc dismiss agent">[DA] Thoát Agent</item>
|
|
59
|
+
</menu>
|
|
60
|
+
</agent>
|
|
61
|
+
```
|
package/core/config.yaml
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMAD-Odoo
|
|
3
|
+
* BMAD Framework mở rộng cho phát triển Odoo ERP
|
|
4
|
+
*
|
|
5
|
+
* @author Dũng Xuân
|
|
6
|
+
* @license MIT
|
|
7
|
+
* @homepage https://github.com/phamdungtk/bmad-odoo
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const path = require('path');
|
|
11
|
+
const fs = require('fs');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Get the path to a specific agent file
|
|
15
|
+
* @param {string} agentName - Name of the agent (e.g., 'analyst', 'dev', 'pm')
|
|
16
|
+
* @returns {string} Absolute path to the agent file
|
|
17
|
+
*/
|
|
18
|
+
function getAgentPath(agentName) {
|
|
19
|
+
return path.join(__dirname, 'bmm', 'agents', `${agentName}.md`);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Get the path to a specific workflow file
|
|
24
|
+
* @param {string} workflowPath - Relative path to the workflow (e.g., '1-analysis/analyze-process.md')
|
|
25
|
+
* @returns {string} Absolute path to the workflow file
|
|
26
|
+
*/
|
|
27
|
+
function getWorkflowPath(workflowPath) {
|
|
28
|
+
return path.join(__dirname, 'bmm', 'workflows', workflowPath);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Get the path to the Odoo knowledge base
|
|
33
|
+
* @returns {string} Absolute path to the knowledge base file
|
|
34
|
+
*/
|
|
35
|
+
function getKnowledgeBasePath() {
|
|
36
|
+
return path.join(__dirname, 'bmm', 'data', 'odoo-knowledge-base.md');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Get the main config file path
|
|
41
|
+
* @returns {string} Absolute path to config.yaml
|
|
42
|
+
*/
|
|
43
|
+
function getConfigPath() {
|
|
44
|
+
return path.join(__dirname, 'bmm', 'config.yaml');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* List all available agents
|
|
49
|
+
* @returns {string[]} Array of agent names
|
|
50
|
+
*/
|
|
51
|
+
function listAgents() {
|
|
52
|
+
const agentsDir = path.join(__dirname, 'bmm', 'agents');
|
|
53
|
+
return fs.readdirSync(agentsDir)
|
|
54
|
+
.filter(file => file.endsWith('.md'))
|
|
55
|
+
.map(file => file.replace('.md', ''));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Get package info
|
|
60
|
+
* @returns {object} Package information
|
|
61
|
+
*/
|
|
62
|
+
function getInfo() {
|
|
63
|
+
return {
|
|
64
|
+
name: 'bmad-odoo',
|
|
65
|
+
version: require('./package.json').version,
|
|
66
|
+
agents: listAgents(),
|
|
67
|
+
paths: {
|
|
68
|
+
root: __dirname,
|
|
69
|
+
agents: path.join(__dirname, 'bmm', 'agents'),
|
|
70
|
+
workflows: path.join(__dirname, 'bmm', 'workflows'),
|
|
71
|
+
config: path.join(__dirname, 'bmm', 'config.yaml'),
|
|
72
|
+
knowledgeBase: path.join(__dirname, 'bmm', 'data', 'odoo-knowledge-base.md')
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
module.exports = {
|
|
78
|
+
getAgentPath,
|
|
79
|
+
getWorkflowPath,
|
|
80
|
+
getKnowledgeBasePath,
|
|
81
|
+
getConfigPath,
|
|
82
|
+
listAgents,
|
|
83
|
+
getInfo
|
|
84
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bmad-odoo",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "BMAD Framework mở rộng cho phát triển Odoo ERP - 10 AI Agents, 44+ Workflows, hỗ trợ tiếng Việt",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"bmad-odoo-setup": "./scripts/setup-cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"postinstall": "node scripts/postinstall.js",
|
|
11
|
+
"setup": "node scripts/setup-cli.js"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"bmad",
|
|
15
|
+
"odoo",
|
|
16
|
+
"erp",
|
|
17
|
+
"ai-agents",
|
|
18
|
+
"development-framework",
|
|
19
|
+
"scrum",
|
|
20
|
+
"agile",
|
|
21
|
+
"business-analyst",
|
|
22
|
+
"architect",
|
|
23
|
+
"developer",
|
|
24
|
+
"vietnamese"
|
|
25
|
+
],
|
|
26
|
+
"author": "Dũng Xuân",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/phamdungtk/bmad-odoo.git"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/phamdungtk/bmad-odoo#readme",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/phamdungtk/bmad-odoo/issues"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"_config/",
|
|
41
|
+
"bmm/",
|
|
42
|
+
"core/",
|
|
43
|
+
"scripts/",
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"CHANGELOG.md"
|
|
47
|
+
]
|
|
48
|
+
}
|