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,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-05-adversarial-review'
|
|
3
|
+
description: 'Construct diff and invoke adversarial review task'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-05-adversarial-review.md'
|
|
7
|
+
nextStepFile: '{workflow_path}/steps/step-06-resolve-findings.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 5: Adversarial Code Review
|
|
11
|
+
|
|
12
|
+
**Goal:** Construct diff of all changes, invoke adversarial review task, present findings.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## AVAILABLE STATE
|
|
17
|
+
|
|
18
|
+
From previous steps:
|
|
19
|
+
|
|
20
|
+
- `{baseline_commit}` - Git HEAD at workflow start (CRITICAL for diff)
|
|
21
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
22
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
### 1. Construct Diff
|
|
27
|
+
|
|
28
|
+
Build complete diff of all changes since workflow started.
|
|
29
|
+
|
|
30
|
+
### If `{baseline_commit}` is a Git commit hash:
|
|
31
|
+
|
|
32
|
+
**Tracked File Changes:**
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
git diff {baseline_commit}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**New Untracked Files:**
|
|
39
|
+
Only include untracked files that YOU created during this workflow (steps 2-4).
|
|
40
|
+
Do not include pre-existing untracked files.
|
|
41
|
+
For each new file created, include its full content as a "new file" addition.
|
|
42
|
+
|
|
43
|
+
### If `{baseline_commit}` is "NO_GIT":
|
|
44
|
+
|
|
45
|
+
Use best-effort diff construction:
|
|
46
|
+
|
|
47
|
+
- List all files you modified during steps 2-4
|
|
48
|
+
- For each file, show the changes you made (before/after if you recall, or just current state)
|
|
49
|
+
- Include any new files you created with their full content
|
|
50
|
+
- Note: This is less precise than Git diff but still enables meaningful review
|
|
51
|
+
|
|
52
|
+
### Capture as {diff_output}
|
|
53
|
+
|
|
54
|
+
Merge all changes into `{diff_output}`.
|
|
55
|
+
|
|
56
|
+
**Note:** Do NOT `git add` anything - this is read-only inspection.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
### 2. Invoke Adversarial Review
|
|
61
|
+
|
|
62
|
+
With `{diff_output}` constructed, invoke the review task. If possible, use information asymmetry: run this step, and only it, in a separate subagent or process with read access to the project, but no context except the `{diff_output}`.
|
|
63
|
+
|
|
64
|
+
```xml
|
|
65
|
+
<invoke-task>Review {diff_output} using {project-root}/_bmad/core/tasks/review-adversarial-general.xml</invoke-task>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**Platform fallback:** If task invocation not available, load the task file and execute its instructions inline, passing `{diff_output}` as the content.
|
|
69
|
+
|
|
70
|
+
The task should: review `{diff_output}` and return a list of findings.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### 3. Process Findings
|
|
75
|
+
|
|
76
|
+
Capture the findings from the task output.
|
|
77
|
+
**If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
|
|
78
|
+
Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
|
|
79
|
+
DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
|
|
80
|
+
Order findings by severity.
|
|
81
|
+
Number the ordered findings (F1, F2, F3, etc.).
|
|
82
|
+
If TodoWrite or similar tool is available, turn each finding into a TODO, include ID, severity, validity, and description in the TODO; otherwise present findings as a table with columns: ID, Severity, Validity, Description
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## NEXT STEP
|
|
87
|
+
|
|
88
|
+
With findings in hand, load `step-06-resolve-findings.md` for user to choose resolution approach.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## SUCCESS METRICS
|
|
93
|
+
|
|
94
|
+
- Diff constructed from baseline_commit
|
|
95
|
+
- New files included in diff
|
|
96
|
+
- Task invoked with diff as input
|
|
97
|
+
- Findings received
|
|
98
|
+
- Findings processed into TODOs or table and presented to user
|
|
99
|
+
|
|
100
|
+
## FAILURE MODES
|
|
101
|
+
|
|
102
|
+
- Missing baseline_commit (can't construct accurate diff)
|
|
103
|
+
- Not including new untracked files in diff
|
|
104
|
+
- Invoking task without providing diff input
|
|
105
|
+
- Accepting zero findings without questioning
|
|
106
|
+
- Presenting fewer findings than the review task returned without explicit instruction to do so
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-06-resolve-findings'
|
|
3
|
+
description: 'Handle review findings interactively, apply fixes, update tech-spec with final status'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-06-resolve-findings.md'
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Step 6: Resolve Findings
|
|
10
|
+
|
|
11
|
+
**Goal:** Handle adversarial review findings interactively, apply fixes, finalize tech-spec.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## AVAILABLE STATE
|
|
16
|
+
|
|
17
|
+
From previous steps:
|
|
18
|
+
|
|
19
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
20
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
21
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
22
|
+
- Findings table from step-05
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## RESOLUTION OPTIONS
|
|
27
|
+
|
|
28
|
+
Present choice to user:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
How would you like to handle these findings?
|
|
32
|
+
|
|
33
|
+
**[1] Walk through** - Discuss each finding individually
|
|
34
|
+
**[2] Auto-fix** - Automatically fix issues classified as "real"
|
|
35
|
+
**[3] Skip** - Acknowledge and proceed to commit
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## OPTION 1: WALK THROUGH
|
|
41
|
+
|
|
42
|
+
For each finding in order:
|
|
43
|
+
|
|
44
|
+
1. Present the finding with context
|
|
45
|
+
2. Ask: **fix now / skip / discuss**
|
|
46
|
+
3. If fix: Apply the fix immediately
|
|
47
|
+
4. If skip: Note as acknowledged, continue
|
|
48
|
+
5. If discuss: Provide more context, re-ask
|
|
49
|
+
6. Move to next finding
|
|
50
|
+
|
|
51
|
+
After all findings processed, summarize what was fixed/skipped.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## OPTION 2: AUTO-FIX
|
|
56
|
+
|
|
57
|
+
1. Filter findings to only those classified as "real"
|
|
58
|
+
2. Apply fixes for each real finding
|
|
59
|
+
3. Report what was fixed:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
**Auto-fix Applied:**
|
|
63
|
+
- F1: {description of fix}
|
|
64
|
+
- F3: {description of fix}
|
|
65
|
+
...
|
|
66
|
+
|
|
67
|
+
Skipped (noise/uncertain): F2, F4
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## OPTION 3: SKIP
|
|
73
|
+
|
|
74
|
+
1. Acknowledge all findings were reviewed
|
|
75
|
+
2. Note that user chose to proceed without fixes
|
|
76
|
+
3. Continue to completion
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## UPDATE TECH-SPEC (Mode A only)
|
|
81
|
+
|
|
82
|
+
If `{execution_mode}` is "tech-spec":
|
|
83
|
+
|
|
84
|
+
1. Load `{tech_spec_path}`
|
|
85
|
+
2. Update status to "Completed"
|
|
86
|
+
3. Add review notes:
|
|
87
|
+
```
|
|
88
|
+
## Review Notes
|
|
89
|
+
- Adversarial review completed
|
|
90
|
+
- Findings: {count} total, {fixed} fixed, {skipped} skipped
|
|
91
|
+
- Resolution approach: {walk-through/auto-fix/skip}
|
|
92
|
+
```
|
|
93
|
+
4. Save changes
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## COMPLETION OUTPUT
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
**Review complete. Ready to commit.**
|
|
101
|
+
|
|
102
|
+
**Implementation Summary:**
|
|
103
|
+
- {what was implemented}
|
|
104
|
+
- Files modified: {count}
|
|
105
|
+
- Tests: {status}
|
|
106
|
+
- Review findings: {X} addressed, {Y} skipped
|
|
107
|
+
|
|
108
|
+
{Explain what was implemented based on user_skill_level}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## WORKFLOW COMPLETE
|
|
114
|
+
|
|
115
|
+
This is the final step. The Quick Dev workflow is now complete.
|
|
116
|
+
|
|
117
|
+
User can:
|
|
118
|
+
|
|
119
|
+
- Commit changes
|
|
120
|
+
- Run additional tests
|
|
121
|
+
- Start new Quick Dev session
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## SUCCESS METRICS
|
|
126
|
+
|
|
127
|
+
- User presented with resolution options
|
|
128
|
+
- Chosen approach executed correctly
|
|
129
|
+
- Fixes applied cleanly (if applicable)
|
|
130
|
+
- Tech-spec updated with final status (Mode A)
|
|
131
|
+
- Completion summary provided
|
|
132
|
+
- User understands what was implemented
|
|
133
|
+
|
|
134
|
+
## FAILURE MODES
|
|
135
|
+
|
|
136
|
+
- Not presenting resolution options
|
|
137
|
+
- Auto-fixing "noise" or "uncertain" findings
|
|
138
|
+
- Not updating tech-spec after resolution (Mode A)
|
|
139
|
+
- No completion summary
|
|
140
|
+
- Leaving user unclear on next steps
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quick-dev
|
|
3
|
+
description: 'Flexible development - execute tech-specs OR direct instructions with optional planning.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Quick Dev Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Execute implementation tasks efficiently, either from a tech-spec or direct user instructions.
|
|
9
|
+
|
|
10
|
+
**Your Role:** You are an elite full-stack developer executing tasks autonomously. Follow patterns, ship code, run tests. Every response moves the project forward.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## WORKFLOW ARCHITECTURE
|
|
15
|
+
|
|
16
|
+
This uses **step-file architecture** for focused execution:
|
|
17
|
+
|
|
18
|
+
- Each step loads fresh to combat "lost in the middle"
|
|
19
|
+
- State persists via variables: `{baseline_commit}`, `{execution_mode}`, `{tech_spec_path}`
|
|
20
|
+
- Sequential progression through implementation phases
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## INITIALIZATION
|
|
25
|
+
|
|
26
|
+
### Configuration Loading
|
|
27
|
+
|
|
28
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
29
|
+
|
|
30
|
+
- `user_name`, `communication_language`, `user_skill_level`
|
|
31
|
+
- `output_folder`, `planning_artifacts`, `implementation_artifacts`
|
|
32
|
+
- `date` as system-generated current datetime
|
|
33
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
34
|
+
|
|
35
|
+
### Paths
|
|
36
|
+
|
|
37
|
+
- `installed_path` = `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev`
|
|
38
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
39
|
+
- `project_levels` = `{project-root}/_bmad/bmm/workflows/workflow-status/project-levels.yaml`
|
|
40
|
+
|
|
41
|
+
### Related Workflows
|
|
42
|
+
|
|
43
|
+
- `create_tech_spec_workflow` = `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml`
|
|
44
|
+
- `workflow_init` = `{project-root}/_bmad/bmm/workflows/workflow-status/init/workflow.yaml`
|
|
45
|
+
- `party_mode_exec` = `{project-root}/_bmad/core/workflows/party-mode/workflow.md`
|
|
46
|
+
- `advanced_elicitation` = `{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml`
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## EXECUTION
|
|
51
|
+
|
|
52
|
+
Load and execute `steps/step-01-mode-detection.md` to begin the workflow.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Bước 1: Xác Định Tài Liệu Cần Tạo
|
|
2
|
+
|
|
3
|
+
## 1. Chào Người Dùng
|
|
4
|
+
|
|
5
|
+
Chào {user_name}! Tôi là Paige, Technical Writer Odoo. Tôi sẽ giúp bạn tạo tài liệu cho Odoo module.
|
|
6
|
+
|
|
7
|
+
## 2. Thông Tin Module
|
|
8
|
+
|
|
9
|
+
### 2.1 Module Cần Tài Liệu
|
|
10
|
+
|
|
11
|
+
**Module name:** ___
|
|
12
|
+
|
|
13
|
+
**Đường dẫn:** {odoo.customModulesPath}/___
|
|
14
|
+
|
|
15
|
+
### 2.2 Loại Tài Liệu Cần Tạo
|
|
16
|
+
|
|
17
|
+
- [ ] README.rst (Mô tả module) - **Bắt buộc cho OCA**
|
|
18
|
+
- [ ] User Guide (Hướng dẫn sử dụng)
|
|
19
|
+
- [ ] API Documentation (Tài liệu API)
|
|
20
|
+
- [ ] Installation Guide (Hướng dẫn cài đặt)
|
|
21
|
+
- [ ] Changelog (Lịch sử thay đổi)
|
|
22
|
+
|
|
23
|
+
### 2.3 Đối Tượng Đọc
|
|
24
|
+
|
|
25
|
+
Tài liệu này dành cho ai?
|
|
26
|
+
- [ ] End Users (Người dùng cuối)
|
|
27
|
+
- [ ] Administrators (Quản trị viên)
|
|
28
|
+
- [ ] Developers (Lập trình viên)
|
|
29
|
+
- [ ] IT Support (Hỗ trợ kỹ thuật)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 3. Menu
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
[C] Tiếp tục
|
|
37
|
+
[H] Trợ giúp về chuẩn OCA docs
|
|
38
|
+
[X] Thoát
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 4. Hành Động Tiếp Theo
|
|
42
|
+
|
|
43
|
+
Khi chọn **[C]**: Tải `steps/step-02-readme.md`
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Bước 2: Tạo README.rst (OCA Standard)
|
|
2
|
+
|
|
3
|
+
## 1. Cấu Trúc README.rst Chuẩn OCA
|
|
4
|
+
|
|
5
|
+
```rst
|
|
6
|
+
====================
|
|
7
|
+
{Module Display Name}
|
|
8
|
+
====================
|
|
9
|
+
|
|
10
|
+
..
|
|
11
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
13
|
+
!! changes will be overwritten. !!
|
|
14
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
15
|
+
|
|
16
|
+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
17
|
+
:target: https://odoo-community.org/page/development-status
|
|
18
|
+
:alt: Beta
|
|
19
|
+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
|
20
|
+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
|
21
|
+
:alt: License: LGPL-3
|
|
22
|
+
|
|
23
|
+
|badge1| |badge2|
|
|
24
|
+
|
|
25
|
+
{Mô tả ngắn gọn về module}
|
|
26
|
+
|
|
27
|
+
**Table of contents**
|
|
28
|
+
|
|
29
|
+
.. contents::
|
|
30
|
+
:local:
|
|
31
|
+
|
|
32
|
+
Usage
|
|
33
|
+
=====
|
|
34
|
+
|
|
35
|
+
{Hướng dẫn sử dụng cơ bản}
|
|
36
|
+
|
|
37
|
+
Configuration
|
|
38
|
+
=============
|
|
39
|
+
|
|
40
|
+
{Hướng dẫn cấu hình nếu cần}
|
|
41
|
+
|
|
42
|
+
Known issues / Roadmap
|
|
43
|
+
======================
|
|
44
|
+
|
|
45
|
+
{Các vấn đề đã biết và kế hoạch phát triển}
|
|
46
|
+
|
|
47
|
+
Bug Tracker
|
|
48
|
+
===========
|
|
49
|
+
|
|
50
|
+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/{repo}/issues>`_.
|
|
51
|
+
|
|
52
|
+
Credits
|
|
53
|
+
=======
|
|
54
|
+
|
|
55
|
+
Authors
|
|
56
|
+
~~~~~~~
|
|
57
|
+
|
|
58
|
+
* {Author Name}
|
|
59
|
+
|
|
60
|
+
Maintainers
|
|
61
|
+
~~~~~~~~~~~
|
|
62
|
+
|
|
63
|
+
{Maintainer info}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## 2. Thu Thập Thông Tin README
|
|
67
|
+
|
|
68
|
+
### 2.1 Mô Tả Module
|
|
69
|
+
**Tiêu đề:** ___
|
|
70
|
+
|
|
71
|
+
**Mô tả ngắn (1-2 câu):**
|
|
72
|
+
> ___
|
|
73
|
+
|
|
74
|
+
**Mô tả chi tiết:**
|
|
75
|
+
> ___
|
|
76
|
+
|
|
77
|
+
### 2.2 Tính Năng Chính
|
|
78
|
+
1. ___
|
|
79
|
+
2. ___
|
|
80
|
+
3. ___
|
|
81
|
+
|
|
82
|
+
### 2.3 Cấu Hình Cần Thiết
|
|
83
|
+
- [ ] Không cần cấu hình đặc biệt
|
|
84
|
+
- [ ] Cần cấu hình: ___
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 3. Menu
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
[C] Tiếp tục - Tạo User Guide
|
|
92
|
+
[P] Preview - Xem trước README
|
|
93
|
+
[B] Quay lại
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## 4. Hành Động Tiếp Theo
|
|
97
|
+
|
|
98
|
+
Khi chọn **[C]**: Tải `steps/step-03-user-guide.md`
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Bước 3: Tạo User Guide
|
|
2
|
+
|
|
3
|
+
## 1. Cấu Trúc User Guide
|
|
4
|
+
|
|
5
|
+
### 1.1 Template User Guide
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
# {Module Name} - Hướng Dẫn Sử Dụng
|
|
9
|
+
|
|
10
|
+
## Giới Thiệu
|
|
11
|
+
{Mô tả ngắn về module và mục đích}
|
|
12
|
+
|
|
13
|
+
## Yêu Cầu
|
|
14
|
+
- Odoo phiên bản: {version}
|
|
15
|
+
- Modules phụ thuộc: {list}
|
|
16
|
+
|
|
17
|
+
## Cài Đặt
|
|
18
|
+
1. Copy module vào addons path
|
|
19
|
+
2. Cập nhật Apps list
|
|
20
|
+
3. Tìm và cài đặt module
|
|
21
|
+
|
|
22
|
+
## Hướng Dẫn Sử Dụng
|
|
23
|
+
|
|
24
|
+
### {Tính năng 1}
|
|
25
|
+
**Mục đích:** {mô tả}
|
|
26
|
+
|
|
27
|
+
**Các bước thực hiện:**
|
|
28
|
+
1. Vào menu {menu path}
|
|
29
|
+
2. Nhấn nút {button}
|
|
30
|
+
3. Điền thông tin...
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
### {Tính năng 2}
|
|
35
|
+
...
|
|
36
|
+
|
|
37
|
+
## Câu Hỏi Thường Gặp (FAQ)
|
|
38
|
+
|
|
39
|
+
**Q: {Câu hỏi 1}?**
|
|
40
|
+
A: {Trả lời}
|
|
41
|
+
|
|
42
|
+
**Q: {Câu hỏi 2}?**
|
|
43
|
+
A: {Trả lời}
|
|
44
|
+
|
|
45
|
+
## Liên Hệ Hỗ Trợ
|
|
46
|
+
{Thông tin liên hệ}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## 2. Thu Thập Nội Dung
|
|
50
|
+
|
|
51
|
+
### 2.1 Các Tính Năng Cần Document
|
|
52
|
+
|
|
53
|
+
| # | Tính năng | Menu Path | Screenshots |
|
|
54
|
+
|---|-----------|-----------|-------------|
|
|
55
|
+
| 1 | | | Có/Không |
|
|
56
|
+
| 2 | | | |
|
|
57
|
+
|
|
58
|
+
### 2.2 FAQ
|
|
59
|
+
|
|
60
|
+
| Câu hỏi | Trả lời |
|
|
61
|
+
|---------|---------|
|
|
62
|
+
| | |
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 3. Menu
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
[C] Tiếp tục - Hoàn thành
|
|
70
|
+
[A] API Docs - Thêm API documentation
|
|
71
|
+
[B] Quay lại
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## 4. Hành Động Tiếp Theo
|
|
75
|
+
|
|
76
|
+
Khi chọn **[C]**: Tải `steps/step-04-complete.md`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Bước 4: Hoàn Thành Tài Liệu
|
|
2
|
+
|
|
3
|
+
## 1. Tóm Tắt
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
📝 ODOO DOCUMENTATION COMPLETE
|
|
7
|
+
|
|
8
|
+
Module: {module_name}
|
|
9
|
+
|
|
10
|
+
FILES CREATED:
|
|
11
|
+
├── README.rst ✓
|
|
12
|
+
├── static/description/index.html ✓
|
|
13
|
+
├── doc/user_guide.md ✓
|
|
14
|
+
└── doc/changelog.md ✓
|
|
15
|
+
|
|
16
|
+
SECTIONS:
|
|
17
|
+
├── Introduction ✓
|
|
18
|
+
├── Installation ✓
|
|
19
|
+
├── Configuration ✓
|
|
20
|
+
├── Usage ✓
|
|
21
|
+
└── FAQ ✓
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 2. Checklist OCA Compliance
|
|
25
|
+
|
|
26
|
+
- [ ] README.rst có đầy đủ sections
|
|
27
|
+
- [ ] static/description có icon.png (128x128)
|
|
28
|
+
- [ ] Badges hiển thị đúng
|
|
29
|
+
- [ ] License declaration đầy đủ
|
|
30
|
+
- [ ] Author information chính xác
|
|
31
|
+
|
|
32
|
+
## 3. Đầu Ra
|
|
33
|
+
|
|
34
|
+
### 3.1 Files Tạo/Cập Nhật
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
{module_path}/
|
|
38
|
+
├── README.rst
|
|
39
|
+
├── static/
|
|
40
|
+
│ └── description/
|
|
41
|
+
│ ├── icon.png
|
|
42
|
+
│ └── index.html
|
|
43
|
+
└── doc/
|
|
44
|
+
├── user_guide.md
|
|
45
|
+
└── changelog.md
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 3.2 Doc Spec
|
|
49
|
+
|
|
50
|
+
Lưu vào: `{planning_artifacts}/doc-{module_name}.md`
|
|
51
|
+
|
|
52
|
+
## 4. Bước Tiếp Theo
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
[1] Tài liệu module khác
|
|
56
|
+
[2] Tạo API documentation
|
|
57
|
+
[X] Quay về menu chính
|
|
58
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: document-odoo
|
|
3
|
+
description: Tạo tài liệu cho Odoo modules - README, User Guide, API docs theo chuẩn OCA.
|
|
4
|
+
web_bundle: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Quy Trình Tài Liệu Hóa Odoo Module
|
|
8
|
+
|
|
9
|
+
**Mục tiêu:** Tạo tài liệu toàn diện cho Odoo modules theo tiêu chuẩn OCA, bao gồm README.rst, User Guide, và API documentation.
|
|
10
|
+
|
|
11
|
+
**Vai trò:** Technical Writer chuyên về Odoo với kiến thức chuẩn OCA documentation.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## KIẾN TRÚC QUY TRÌNH
|
|
16
|
+
|
|
17
|
+
Quy trình sử dụng **kiến trúc step-file**.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## TRÌNH TỰ KHỞI TẠO
|
|
22
|
+
|
|
23
|
+
### 1. Tải Cấu Hình
|
|
24
|
+
|
|
25
|
+
Tải config từ {project-root}/_bmad-odoo/bmm/config.yaml
|
|
26
|
+
Tải: {project-root}/_bmad-odoo/bmm/data/odoo-knowledge-base.md
|
|
27
|
+
|
|
28
|
+
### 2. THỰC THI Bước Đầu Tiên
|
|
29
|
+
|
|
30
|
+
Tải và thực thi `{project-root}/_bmad-odoo/bmm/workflows/document-odoo/steps/step-01-init.md`
|