bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.5
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/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
- package/.claude/commands/bmad/bmm/agents/architect.md +72 -0
- package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
- package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
- package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
- package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
- package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
- package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
- package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
- package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
- package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
- package/.claude/commands/bmad/cis/agents/README.md +104 -0
- package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
- package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
- package/.claude/commands/bmad/cis/workflows/README.md +37 -0
- package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
- package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
- package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
- package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
- package/.claude/commands/bmad/core/workflows/README.md +10 -0
- package/.claude/settings.local.json +7 -42
- package/CHANGELOG.md +544 -0
- package/README.md +266 -101
- package/bmad/_cfg/agent-manifest.csv +13 -3
- package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
- package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
- package/bmad/_cfg/files-manifest.csv +267 -22
- package/bmad/_cfg/ides/claude-code.yaml +6 -0
- package/bmad/_cfg/manifest.yaml +5 -5
- package/bmad/_cfg/task-manifest.csv +5 -0
- package/bmad/_cfg/tool-manifest.csv +1 -0
- package/bmad/_cfg/workflow-manifest.csv +37 -2
- package/bmad/bmb/README.md +135 -73
- package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
- package/bmad/bmb/workflows/create-agent/README.md +126 -243
- package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
- package/bmad/bmb/workflows/create-module/README.md +163 -154
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
- package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
- package/bmad/bmm/README.md +128 -0
- package/bmad/bmm/README.md.bak +169 -0
- package/bmad/bmm/agents/analyst.md +67 -0
- package/bmad/bmm/agents/analyst.md.bak +67 -0
- package/bmad/bmm/agents/architect.md +72 -0
- package/bmad/bmm/agents/architect.md.bak +73 -0
- package/bmad/bmm/agents/dev.md +69 -0
- package/bmad/bmm/agents/dev.md.bak +69 -0
- package/bmad/bmm/agents/paige.md.bak +82 -0
- package/bmad/bmm/agents/pm.md +76 -0
- package/bmad/bmm/agents/pm.md.bak +76 -0
- package/bmad/bmm/agents/sm.md +85 -0
- package/bmad/bmm/agents/sm.md.bak +85 -0
- package/bmad/bmm/agents/tea.md +72 -0
- package/bmad/bmm/agents/tea.md.bak +72 -0
- package/bmad/bmm/agents/tech-writer.md +82 -0
- package/bmad/bmm/agents/ux-designer.md +71 -0
- package/bmad/bmm/agents/ux-designer.md.bak +71 -0
- package/bmad/bmm/config.yaml +17 -0
- package/bmad/bmm/docs/README.md +235 -0
- package/bmad/bmm/docs/agents-guide.md +1057 -0
- package/bmad/bmm/docs/brownfield-guide.md +759 -0
- package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
- package/bmad/bmm/docs/faq.md +589 -0
- package/bmad/bmm/docs/glossary.md +321 -0
- package/bmad/bmm/docs/party-mode.md +224 -0
- package/bmad/bmm/docs/quick-spec-flow.md +652 -0
- package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +72 -47
- package/bmad/bmm/docs/scale-adaptive-system.md +599 -0
- package/bmad/bmm/docs/troubleshooting.md +680 -0
- package/{src/modules/bmm/workflows/3-solutioning/architecture/README.md → bmad/bmm/docs/workflow-architecture-reference.md} +130 -77
- package/{src/modules/bmm/workflows/document-project/README.md → bmad/bmm/docs/workflow-document-project-reference.md} +45 -2
- package/bmad/bmm/docs/workflows-analysis.md +670 -0
- package/bmad/bmm/docs/workflows-implementation.md +1758 -0
- package/bmad/bmm/docs/workflows-planning.md +1086 -0
- package/bmad/bmm/docs/workflows-solutioning.md +726 -0
- package/bmad/bmm/tasks/daily-standup.xml +85 -0
- package/bmad/bmm/teams/team-fullstack.yaml +11 -0
- package/bmad/bmm/teams/team-gamedev.yaml +14 -0
- package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
- package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
- package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
- package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
- package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
- package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
- package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
- package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
- package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
- package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
- package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
- package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
- package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
- package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
- package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
- package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
- package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
- package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
- package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
- package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
- package/bmad/bmm/testarch/tea-index.csv +22 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
- package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
- package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
- package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
- package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
- package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
- package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
- package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
- package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
- package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
- package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
- package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
- package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
- package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
- package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
- package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
- package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
- package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
- package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
- package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
- package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
- package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
- package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
- package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
- package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
- package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
- package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
- package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
- package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
- package/bmad/bmm/workflows/document-project/checklist.md +245 -0
- package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
- package/bmad/bmm/workflows/document-project/instructions.md +222 -0
- package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
- package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
- package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
- package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
- package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
- package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
- package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
- package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
- package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
- package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
- package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
- package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
- package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
- package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
- package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
- package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
- package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
- package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
- package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
- package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
- package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
- package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
- package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
- package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
- package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
- package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
- package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
- package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
- package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
- package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
- package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
- package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +771 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
- package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
- package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml} +16 -18
- package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
- package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
- package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
- package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
- package/bmad/cis/README.md +153 -0
- package/bmad/cis/agents/README.md +104 -0
- package/bmad/cis/agents/brainstorming-coach.md +62 -0
- package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
- package/bmad/cis/agents/creative-problem-solver.md +62 -0
- package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
- package/bmad/cis/agents/design-thinking-coach.md +62 -0
- package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
- package/bmad/cis/agents/innovation-strategist.md +62 -0
- package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
- package/bmad/cis/agents/storyteller.md +59 -0
- package/bmad/cis/agents/storyteller.md.bak +59 -0
- package/bmad/{bmd → cis}/config.yaml +3 -3
- package/bmad/cis/teams/creative-squad.yaml +6 -0
- package/bmad/cis/workflows/README.md +139 -0
- package/bmad/cis/workflows/design-thinking/README.md +56 -0
- package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
- package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
- package/bmad/cis/workflows/design-thinking/template.md +111 -0
- package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
- package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
- package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
- package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
- package/bmad/cis/workflows/problem-solving/README.md +56 -0
- package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
- package/bmad/cis/workflows/problem-solving/template.md +165 -0
- package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
- package/bmad/cis/workflows/storytelling/README.md +58 -0
- package/bmad/cis/workflows/storytelling/instructions.md +291 -0
- package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
- package/bmad/cis/workflows/storytelling/template.md +113 -0
- package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
- package/bmad/core/agents/bmad-master.md.bak +71 -0
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +1 -19
- package/bmad/core/tools/shard-doc.xml +8 -43
- package/docs/document-sharding-guide.md +447 -0
- package/docs/index.md +37 -41
- package/package.json +1 -1
- package/src/core/tasks/workflow.xml +1 -11
- package/src/core/tools/shard-doc.xml +8 -43
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
- package/src/modules/bmm/README.md +79 -95
- package/src/modules/bmm/agents/architect.agent.yaml +0 -4
- package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
- package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
- package/src/modules/bmm/agents/pm.agent.yaml +11 -1
- package/src/modules/bmm/agents/sm.agent.yaml +1 -1
- package/src/modules/bmm/agents/tech-writer.agent.yaml +69 -0
- package/src/modules/bmm/docs/README.md +235 -0
- package/src/modules/bmm/docs/agents-guide.md +1057 -0
- package/src/modules/bmm/docs/brownfield-guide.md +759 -0
- package/src/modules/bmm/docs/enterprise-agentic-development.md +680 -0
- package/src/modules/bmm/docs/faq.md +589 -0
- package/src/modules/bmm/docs/glossary.md +321 -0
- package/src/modules/bmm/docs/party-mode.md +224 -0
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +366 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +599 -0
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
- package/src/modules/bmm/docs/workflows-analysis.md +670 -0
- package/src/modules/bmm/docs/workflows-implementation.md +1758 -0
- package/src/modules/bmm/docs/workflows-planning.md +1086 -0
- package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
- package/src/modules/bmm/tasks/daily-standup.xml +1 -1
- package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
- package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
- package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
- package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
- package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
- package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
- package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
- package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
- package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
- package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
- package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
- package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +296 -63
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +55 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +268 -291
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
- package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +26 -8
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +73 -4
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +971 -109
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +54 -20
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +23 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +40 -32
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -0
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +32 -6
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
- package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-4.yaml → method-brownfield.yaml} +35 -26
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-3.yaml → method-greenfield.yaml} +32 -17
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-0.yaml → quick-flow-brownfield.yaml} +23 -19
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-0.yaml → quick-flow-greenfield.yaml} +18 -16
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/tools/cli/commands/install.js +1 -1
- package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
- package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
- package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
- package/.claude/hooks/bmad-tts-injector.sh +0 -415
- package/.claude/hooks/bmad-voice-manager.sh +0 -511
- package/.claude/hooks/check-output-style.sh +0 -112
- package/.claude/hooks/download-extra-voices.sh +0 -244
- package/.claude/hooks/github-star-reminder.sh +0 -154
- package/.claude/hooks/language-manager.sh +0 -392
- package/.claude/hooks/learn-manager.sh +0 -475
- package/.claude/hooks/personality-manager.sh +0 -438
- package/.claude/hooks/piper-download-voices.sh +0 -165
- package/.claude/hooks/piper-installer.sh +0 -178
- package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
- package/.claude/hooks/piper-voice-manager.sh +0 -293
- package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
- package/.claude/hooks/play-tts-piper.sh +0 -338
- package/.claude/hooks/play-tts.sh +0 -100
- package/.claude/hooks/provider-commands.sh +0 -540
- package/.claude/hooks/provider-manager.sh +0 -298
- package/.claude/hooks/replay-target-audio.sh +0 -95
- package/.claude/hooks/sentiment-manager.sh +0 -201
- package/.claude/hooks/speed-manager.sh +0 -291
- package/.claude/hooks/voice-manager.sh +0 -594
- package/.claude/hooks/voices-config.sh +0 -70
- package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
- package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
- package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
- package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
- package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
- package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
- package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
- package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
- package/bmad/bmd/README.md +0 -193
- package/bmad/bmd/README.md.bak +0 -193
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
- package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
- package/bmad/bmd/agents/cli-chief.md +0 -108
- package/bmad/bmd/agents/cli-chief.md.bak +0 -108
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
- package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
- package/bmad/bmd/agents/doc-keeper.md +0 -115
- package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
- package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
- package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
- package/bmad/bmd/agents/release-chief.md +0 -109
- package/bmad/bmd/agents/release-chief.md.bak +0 -109
- package/bmad/docs/codex-instructions.md +0 -21
- package/docs/bmad-brownfield-guide.md +0 -1260
- package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
- package/src/modules/bmm/tasks/retrospective.xml +0 -104
- package/src/modules/bmm/testarch/README.md +0 -311
- package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
- package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
- package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
- package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
- package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
- package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
- package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
- package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
- package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
- package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
- package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
- package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
- package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -146
- package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
- package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
- package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
- package/src/modules/bmm/workflows/README.md +0 -215
- package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
- package/src/modules/bmm/workflows/testarch/README.md +0 -26
- package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
- package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
- package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
- package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
- package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
- package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
- package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
- package/src/modules/bmm/workflows/workflow-status/README.md +0 -260
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
- /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
- /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
# Build Module Workflow
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The Build Module workflow is an interactive scaffolding system that creates complete BMAD modules with agents, workflows, tasks, and installation infrastructure. It serves as the primary tool for building new modules in the BMAD ecosystem, guiding users through the entire module creation process from concept to deployment-ready structure.
|
|
6
|
-
|
|
7
|
-
## Key Features
|
|
8
|
-
|
|
9
|
-
- **Interactive Module Planning** - Collaborative session to define module concept, scope, and architecture
|
|
10
|
-
- **Intelligent Scaffolding** - Automatic creation of proper directory structures and configuration files
|
|
11
|
-
- **Component Integration** - Seamless integration with create-agent and create-workflow workflows
|
|
12
|
-
- **Installation Infrastructure** - Complete installer setup with configuration templates
|
|
13
|
-
- **Module Brief Integration** - Can use existing module briefs as blueprints for accelerated development
|
|
14
|
-
- **Validation and Documentation** - Built-in validation checks and comprehensive README generation
|
|
15
|
-
|
|
16
|
-
## Usage
|
|
17
|
-
|
|
18
|
-
### Basic Invocation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
workflow create-module
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### With Module Brief Input
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# If you have a module brief from the module-brief workflow
|
|
28
|
-
workflow create-module --input module-brief-my-module-2024-09-26.md
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Configuration
|
|
32
|
-
|
|
33
|
-
The workflow loads critical variables from the BMB configuration:
|
|
34
|
-
|
|
35
|
-
- **custom_module_location**: Where custom modules are created (default: `bmad/`)
|
|
36
|
-
- **user_name**: Module author information
|
|
37
|
-
- **date**: Automatic timestamp for versioning
|
|
38
|
-
|
|
39
|
-
## Workflow Structure
|
|
40
|
-
|
|
41
|
-
### Files Included
|
|
42
|
-
|
|
43
|
-
```
|
|
44
|
-
create-module/
|
|
45
|
-
├── workflow.yaml # Configuration and metadata
|
|
46
|
-
├── instructions.md # Step-by-step execution guide
|
|
47
|
-
├── checklist.md # Validation criteria
|
|
48
|
-
├── module-structure.md # Module architecture guide
|
|
49
|
-
├── installer-templates/ # Installation templates
|
|
50
|
-
│ ├── install-config.yaml
|
|
51
|
-
│ └── installer.js
|
|
52
|
-
└── README.md # This file
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Workflow Process
|
|
56
|
-
|
|
57
|
-
### Phase 1: Concept Definition (Steps 1-2)
|
|
58
|
-
|
|
59
|
-
**Module Vision and Identity**
|
|
60
|
-
|
|
61
|
-
- Define module concept, purpose, and target audience
|
|
62
|
-
- Establish module code (kebab-case) and friendly name
|
|
63
|
-
- Choose module category (Domain-Specific, Creative, Technical, Business, Personal)
|
|
64
|
-
- Plan component architecture with agent and workflow specifications
|
|
65
|
-
|
|
66
|
-
**Module Brief Integration**
|
|
67
|
-
|
|
68
|
-
- Automatically detects existing module briefs in output folder
|
|
69
|
-
- Can load and use briefs as pre-populated blueprints
|
|
70
|
-
- Accelerates planning when comprehensive brief exists
|
|
71
|
-
|
|
72
|
-
### Phase 2: Architecture Planning (Steps 3-4)
|
|
73
|
-
|
|
74
|
-
**Directory Structure Creation**
|
|
75
|
-
|
|
76
|
-
- Creates complete module directory hierarchy
|
|
77
|
-
- Sets up agent, workflow, task, template, and data folders
|
|
78
|
-
- Establishes installer directory with proper configuration
|
|
79
|
-
|
|
80
|
-
**Module Configuration**
|
|
81
|
-
|
|
82
|
-
- Generates main config.yaml with module metadata
|
|
83
|
-
- Configures component counts and references
|
|
84
|
-
- Sets up output and data folder specifications
|
|
85
|
-
|
|
86
|
-
### Phase 3: Component Creation (Steps 5-6)
|
|
87
|
-
|
|
88
|
-
**Interactive Component Building**
|
|
89
|
-
|
|
90
|
-
- Optional creation of first agent using create-agent workflow
|
|
91
|
-
- Optional creation of first workflow using create-workflow workflow
|
|
92
|
-
- Creates placeholders for components to be built later
|
|
93
|
-
|
|
94
|
-
**Workflow Integration**
|
|
95
|
-
|
|
96
|
-
- Seamlessly invokes sub-workflows for component creation
|
|
97
|
-
- Ensures proper file placement and structure
|
|
98
|
-
- Maintains module consistency across components
|
|
99
|
-
|
|
100
|
-
### Phase 4: Installation and Documentation (Steps 7-9)
|
|
101
|
-
|
|
102
|
-
**Installer Infrastructure**
|
|
103
|
-
|
|
104
|
-
- Creates install-config.yaml for deployment
|
|
105
|
-
- Sets up optional installer.js for complex installation logic
|
|
106
|
-
- Configures post-install messaging and instructions
|
|
107
|
-
|
|
108
|
-
**Comprehensive Documentation**
|
|
109
|
-
|
|
110
|
-
- Generates detailed README.md with usage examples
|
|
111
|
-
- Creates development roadmap for remaining components
|
|
112
|
-
- Provides quick commands for continued development
|
|
113
|
-
|
|
114
|
-
### Phase 5: Validation and Finalization (Step 10)
|
|
115
|
-
|
|
116
|
-
**Quality Assurance**
|
|
117
|
-
|
|
118
|
-
- Validates directory structure and configuration files
|
|
119
|
-
- Checks component references and path consistency
|
|
120
|
-
- Ensures installer configuration is deployment-ready
|
|
121
|
-
- Provides comprehensive module summary and next steps
|
|
122
|
-
|
|
123
|
-
## Output
|
|
124
|
-
|
|
125
|
-
### Generated Files
|
|
126
|
-
|
|
127
|
-
- **Module Directory**: Complete module structure at `{project-root}/bmad/{module_code}/`
|
|
128
|
-
- **Configuration Files**: config.yaml, install-config.yaml
|
|
129
|
-
- **Documentation**: README.md, TODO.md development roadmap
|
|
130
|
-
- **Component Placeholders**: Structured folders for agents, workflows, and tasks
|
|
131
|
-
|
|
132
|
-
### Output Structure
|
|
133
|
-
|
|
134
|
-
The workflow creates a complete module ready for development:
|
|
135
|
-
|
|
136
|
-
1. **Module Identity** - Name, code, version, and metadata
|
|
137
|
-
2. **Directory Structure** - Proper BMAD module hierarchy
|
|
138
|
-
3. **Configuration System** - Runtime and installation configs
|
|
139
|
-
4. **Component Framework** - Ready-to-use agent and workflow scaffolding
|
|
140
|
-
5. **Installation Infrastructure** - Deployment-ready installer
|
|
141
|
-
6. **Documentation Suite** - README, roadmap, and development guides
|
|
142
|
-
|
|
143
|
-
## Requirements
|
|
144
|
-
|
|
145
|
-
- **Module Brief** (optional but recommended) - Use module-brief workflow first for best results
|
|
146
|
-
- **BMAD Core Configuration** - Properly configured BMB config.yaml
|
|
147
|
-
- **Build Tools Access** - create-agent and create-workflow workflows must be available
|
|
148
|
-
|
|
149
|
-
## Best Practices
|
|
150
|
-
|
|
151
|
-
### Before Starting
|
|
152
|
-
|
|
153
|
-
1. **Create a Module Brief** - Run module-brief workflow for comprehensive planning
|
|
154
|
-
2. **Review Existing Modules** - Study similar modules in `/bmad/` for patterns and inspiration
|
|
155
|
-
3. **Define Clear Scope** - Have a concrete vision of what the module will accomplish
|
|
156
|
-
|
|
157
|
-
### During Execution
|
|
158
|
-
|
|
159
|
-
1. **Use Module Briefs** - Load existing briefs when prompted for accelerated development
|
|
160
|
-
2. **Start Simple** - Create one core agent and workflow, then expand iteratively
|
|
161
|
-
3. **Leverage Sub-workflows** - Use create-agent and create-workflow for quality components
|
|
162
|
-
4. **Validate Early** - Review generated structure before proceeding to next phases
|
|
163
|
-
|
|
164
|
-
### After Completion
|
|
165
|
-
|
|
166
|
-
1. **Follow the Roadmap** - Use generated TODO.md for systematic development
|
|
167
|
-
2. **Test Installation** - Validate installer with `bmad install {module_code}`
|
|
168
|
-
3. **Iterate Components** - Use quick commands to add agents and workflows
|
|
169
|
-
4. **Document Progress** - Update README.md as the module evolves
|
|
170
|
-
|
|
171
|
-
## Troubleshooting
|
|
172
|
-
|
|
173
|
-
### Common Issues
|
|
174
|
-
|
|
175
|
-
**Issue**: Module already exists at target location
|
|
176
|
-
|
|
177
|
-
- **Solution**: Choose a different module code or remove existing module
|
|
178
|
-
- **Check**: Verify output folder permissions and available space
|
|
179
|
-
|
|
180
|
-
**Issue**: Sub-workflow invocation fails
|
|
181
|
-
|
|
182
|
-
- **Solution**: Ensure create-agent and create-workflow workflows are available
|
|
183
|
-
- **Check**: Validate workflow paths in config.yaml
|
|
184
|
-
|
|
185
|
-
**Issue**: Installation configuration invalid
|
|
186
|
-
|
|
187
|
-
- **Solution**: Review install-config.yaml syntax and paths
|
|
188
|
-
- **Check**: Ensure all referenced paths use {project-root} variables correctly
|
|
189
|
-
|
|
190
|
-
## Customization
|
|
191
|
-
|
|
192
|
-
To customize this workflow:
|
|
193
|
-
|
|
194
|
-
1. **Modify Instructions** - Update instructions.md to adjust scaffolding steps
|
|
195
|
-
2. **Extend Templates** - Add new installer templates in installer-templates/
|
|
196
|
-
3. **Update Validation** - Enhance checklist.md with additional quality checks
|
|
197
|
-
4. **Add Components** - Integrate additional sub-workflows for specialized components
|
|
198
|
-
|
|
199
|
-
## Version History
|
|
200
|
-
|
|
201
|
-
- **v1.0.0** - Initial release
|
|
202
|
-
- Interactive module scaffolding
|
|
203
|
-
- Component integration with create-agent and create-workflow
|
|
204
|
-
- Complete installation infrastructure
|
|
205
|
-
- Module brief integration support
|
|
206
|
-
|
|
207
|
-
## Support
|
|
208
|
-
|
|
209
|
-
For issues or questions:
|
|
210
|
-
|
|
211
|
-
- Review the workflow creation guide at `/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md`
|
|
212
|
-
- Study module structure patterns at `module-structure.md`
|
|
213
|
-
- Validate output using `checklist.md`
|
|
214
|
-
- Consult existing modules in `/bmad/` for examples
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
_Part of the BMad Method v6 - BMB (Builder) Module_
|
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
# Build Module Validation Checklist
|
|
2
|
-
|
|
3
|
-
## Module Identity and Metadata
|
|
4
|
-
|
|
5
|
-
### Basic Information
|
|
6
|
-
|
|
7
|
-
- [ ] Module code follows kebab-case convention (e.g., "rpg-toolkit")
|
|
8
|
-
- [ ] Module name is descriptive and title-cased
|
|
9
|
-
- [ ] Module purpose is clearly defined (1-2 sentences)
|
|
10
|
-
- [ ] Target audience is identified
|
|
11
|
-
- [ ] Version number follows semantic versioning (e.g., "1.0.0")
|
|
12
|
-
- [ ] Author information is present
|
|
13
|
-
|
|
14
|
-
### Naming Consistency
|
|
15
|
-
|
|
16
|
-
- [ ] Module code used consistently throughout all files
|
|
17
|
-
- [ ] No naming conflicts with existing modules
|
|
18
|
-
- [ ] All paths use consistent module code references
|
|
19
|
-
|
|
20
|
-
## Directory Structure
|
|
21
|
-
|
|
22
|
-
### Source Directories (bmad/{module-code}/)
|
|
23
|
-
|
|
24
|
-
- [ ] `/agents` directory created (even if empty)
|
|
25
|
-
- [ ] `/workflows` directory created (even if empty)
|
|
26
|
-
- [ ] `/tasks` directory exists (if tasks planned)
|
|
27
|
-
- [ ] `/templates` directory exists (if templates used)
|
|
28
|
-
- [ ] `/data` directory exists (if data files needed)
|
|
29
|
-
- [ ] `config.yaml` present in module root
|
|
30
|
-
- [ ] `README.md` present with documentation
|
|
31
|
-
|
|
32
|
-
### Runtime Directories (bmad/{module-code}/)
|
|
33
|
-
|
|
34
|
-
- [ ] `/_module-installer` directory created
|
|
35
|
-
- [ ] `/data` directory for user data
|
|
36
|
-
- [ ] `/agents` directory for overrides
|
|
37
|
-
- [ ] `/workflows` directory for instances
|
|
38
|
-
- [ ] Runtime `config.yaml` present
|
|
39
|
-
|
|
40
|
-
## Component Planning
|
|
41
|
-
|
|
42
|
-
### Agents
|
|
43
|
-
|
|
44
|
-
- [ ] At least one agent defined or planned
|
|
45
|
-
- [ ] Agent purposes are distinct and clear
|
|
46
|
-
- [ ] Agent types (Simple/Expert/Module) identified
|
|
47
|
-
- [ ] No significant overlap between agents
|
|
48
|
-
- [ ] Primary agent is identified
|
|
49
|
-
|
|
50
|
-
### Workflows
|
|
51
|
-
|
|
52
|
-
- [ ] At least one workflow defined or planned
|
|
53
|
-
- [ ] Workflow purposes are clear
|
|
54
|
-
- [ ] Workflow types identified (Document/Action/Interactive)
|
|
55
|
-
- [ ] Primary workflow is identified
|
|
56
|
-
- [ ] Workflow complexity is appropriate
|
|
57
|
-
|
|
58
|
-
### Tasks (if applicable)
|
|
59
|
-
|
|
60
|
-
- [ ] Tasks have single, clear purposes
|
|
61
|
-
- [ ] Tasks don't duplicate workflow functionality
|
|
62
|
-
- [ ] Task files follow naming conventions
|
|
63
|
-
|
|
64
|
-
## Configuration Files
|
|
65
|
-
|
|
66
|
-
### Module config.yaml
|
|
67
|
-
|
|
68
|
-
- [ ] All required fields present (name, code, version, author)
|
|
69
|
-
- [ ] Component lists accurate (agents, workflows, tasks)
|
|
70
|
-
- [ ] Paths use proper variables ({project-root}, etc.)
|
|
71
|
-
- [ ] Output folders configured
|
|
72
|
-
- [ ] Custom settings documented
|
|
73
|
-
|
|
74
|
-
### Install Configuration
|
|
75
|
-
|
|
76
|
-
- [ ] `install-config.yaml` exists in `_module-installer`
|
|
77
|
-
- [ ] Installation steps defined
|
|
78
|
-
- [ ] Directory creation steps present
|
|
79
|
-
- [ ] File copy operations specified
|
|
80
|
-
- [ ] Module registration included
|
|
81
|
-
- [ ] Post-install message defined
|
|
82
|
-
|
|
83
|
-
## Installation Infrastructure
|
|
84
|
-
|
|
85
|
-
### Installer Files
|
|
86
|
-
|
|
87
|
-
- [ ] Install configuration validates against schema
|
|
88
|
-
- [ ] All source paths exist or are marked as templates
|
|
89
|
-
- [ ] Destination paths use correct variables
|
|
90
|
-
- [ ] Optional vs required steps clearly marked
|
|
91
|
-
|
|
92
|
-
### installer.js (if present)
|
|
93
|
-
|
|
94
|
-
- [ ] Main `installModule` function exists
|
|
95
|
-
- [ ] Error handling implemented
|
|
96
|
-
- [ ] Console logging for user feedback
|
|
97
|
-
- [ ] Exports correct function names
|
|
98
|
-
- [ ] Placeholder code replaced with actual logic (or logged as TODO)
|
|
99
|
-
|
|
100
|
-
### External Assets (if any)
|
|
101
|
-
|
|
102
|
-
- [ ] Asset files exist in assets directory
|
|
103
|
-
- [ ] Copy destinations are valid
|
|
104
|
-
- [ ] Permissions requirements documented
|
|
105
|
-
|
|
106
|
-
## Documentation
|
|
107
|
-
|
|
108
|
-
### README.md
|
|
109
|
-
|
|
110
|
-
- [ ] Module overview section present
|
|
111
|
-
- [ ] Installation instructions included
|
|
112
|
-
- [ ] Component listing with descriptions
|
|
113
|
-
- [ ] Quick start guide provided
|
|
114
|
-
- [ ] Configuration options documented
|
|
115
|
-
- [ ] At least one usage example
|
|
116
|
-
- [ ] Directory structure shown
|
|
117
|
-
- [ ] Author and date information
|
|
118
|
-
|
|
119
|
-
### Component Documentation
|
|
120
|
-
|
|
121
|
-
- [ ] Each agent has purpose documentation
|
|
122
|
-
- [ ] Each workflow has description
|
|
123
|
-
- [ ] Tasks are documented (if present)
|
|
124
|
-
- [ ] Examples demonstrate typical usage
|
|
125
|
-
|
|
126
|
-
### Development Roadmap
|
|
127
|
-
|
|
128
|
-
- [ ] TODO.md or roadmap section exists
|
|
129
|
-
- [ ] Planned components listed
|
|
130
|
-
- [ ] Development phases identified
|
|
131
|
-
- [ ] Quick commands for adding components
|
|
132
|
-
|
|
133
|
-
## Integration
|
|
134
|
-
|
|
135
|
-
### Cross-component References
|
|
136
|
-
|
|
137
|
-
- [ ] Agents reference correct workflow paths
|
|
138
|
-
- [ ] Workflows reference correct task paths
|
|
139
|
-
- [ ] All internal paths use module variables
|
|
140
|
-
- [ ] External dependencies declared
|
|
141
|
-
|
|
142
|
-
### Module Boundaries
|
|
143
|
-
|
|
144
|
-
- [ ] Module scope is well-defined
|
|
145
|
-
- [ ] No feature creep into other domains
|
|
146
|
-
- [ ] Clear separation from other modules
|
|
147
|
-
|
|
148
|
-
## Quality Checks
|
|
149
|
-
|
|
150
|
-
### Completeness
|
|
151
|
-
|
|
152
|
-
- [ ] At least one functional component (not all placeholders)
|
|
153
|
-
- [ ] Core functionality is implementable
|
|
154
|
-
- [ ] Module provides clear value
|
|
155
|
-
|
|
156
|
-
### Consistency
|
|
157
|
-
|
|
158
|
-
- [ ] Formatting consistent across files
|
|
159
|
-
- [ ] Variable naming follows conventions
|
|
160
|
-
- [ ] Communication style appropriate for domain
|
|
161
|
-
|
|
162
|
-
### Scalability
|
|
163
|
-
|
|
164
|
-
- [ ] Structure supports future growth
|
|
165
|
-
- [ ] Component organization is logical
|
|
166
|
-
- [ ] No hard-coded limits
|
|
167
|
-
|
|
168
|
-
## Testing and Validation
|
|
169
|
-
|
|
170
|
-
### Structural Validation
|
|
171
|
-
|
|
172
|
-
- [ ] YAML files parse without errors
|
|
173
|
-
- [ ] JSON files (if any) are valid
|
|
174
|
-
- [ ] XML files (if any) are well-formed
|
|
175
|
-
- [ ] No syntax errors in JavaScript files
|
|
176
|
-
|
|
177
|
-
### Path Validation
|
|
178
|
-
|
|
179
|
-
- [ ] All referenced paths exist or are clearly marked as TODO
|
|
180
|
-
- [ ] Variable substitutions are correct
|
|
181
|
-
- [ ] No absolute paths (unless intentional)
|
|
182
|
-
|
|
183
|
-
### Installation Testing
|
|
184
|
-
|
|
185
|
-
- [ ] Installation steps can be simulated
|
|
186
|
-
- [ ] No circular dependencies
|
|
187
|
-
- [ ] Uninstall process defined (if complex)
|
|
188
|
-
|
|
189
|
-
## Final Checks
|
|
190
|
-
|
|
191
|
-
### Ready for Use
|
|
192
|
-
|
|
193
|
-
- [ ] Module can be installed without errors
|
|
194
|
-
- [ ] At least one component is functional
|
|
195
|
-
- [ ] User can understand how to get started
|
|
196
|
-
- [ ] Next steps are clear
|
|
197
|
-
|
|
198
|
-
### Professional Quality
|
|
199
|
-
|
|
200
|
-
- [ ] No placeholder text remains (unless marked TODO)
|
|
201
|
-
- [ ] No obvious typos or grammar issues
|
|
202
|
-
- [ ] Professional tone throughout
|
|
203
|
-
- [ ] Contact/support information provided
|
|
204
|
-
|
|
205
|
-
## Issues Found
|
|
206
|
-
|
|
207
|
-
### Critical Issues
|
|
208
|
-
|
|
209
|
-
<!-- List any issues that MUST be fixed before module can be used -->
|
|
210
|
-
|
|
211
|
-
### Warnings
|
|
212
|
-
|
|
213
|
-
<!-- List any issues that should be addressed but won't prevent basic usage -->
|
|
214
|
-
|
|
215
|
-
### Improvements
|
|
216
|
-
|
|
217
|
-
<!-- List any optional enhancements that would improve the module -->
|
|
218
|
-
|
|
219
|
-
### Missing Components
|
|
220
|
-
|
|
221
|
-
<!-- List any planned components not yet implemented -->
|
|
222
|
-
|
|
223
|
-
## Module Complexity Assessment
|
|
224
|
-
|
|
225
|
-
### Complexity Rating
|
|
226
|
-
|
|
227
|
-
- [ ] Simple (1-2 agents, 2-3 workflows)
|
|
228
|
-
- [ ] Standard (3-5 agents, 5-10 workflows)
|
|
229
|
-
- [ ] Complex (5+ agents, 10+ workflows)
|
|
230
|
-
|
|
231
|
-
### Readiness Level
|
|
232
|
-
|
|
233
|
-
- [ ] Prototype (Basic structure, mostly placeholders)
|
|
234
|
-
- [ ] Alpha (Core functionality works)
|
|
235
|
-
- [ ] Beta (Most features complete, needs testing)
|
|
236
|
-
- [ ] Release (Full functionality, documented)
|
|
237
|
-
|
|
238
|
-
## Sign-off
|
|
239
|
-
|
|
240
|
-
**Module Name:** \***\*\*\*\*\***\_\_\***\*\*\*\*\***
|
|
241
|
-
**Module Code:** \***\*\*\*\*\***\_\_\***\*\*\*\*\***
|
|
242
|
-
**Version:** \***\*\*\*\*\***\_\_\***\*\*\*\*\***
|
|
243
|
-
**Validated By:** \***\*\*\*\*\***\_\_\***\*\*\*\*\***
|
|
244
|
-
**Date:** \***\*\*\*\*\***\_\_\***\*\*\*\*\***
|
|
245
|
-
**Status:** ⬜ Pass / ⬜ Pass with Issues / ⬜ Fail
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
/* eslint-disable unicorn/prefer-module, unicorn/prefer-node-protocol */
|
|
2
|
-
/**
|
|
3
|
-
* {{MODULE_NAME}} Module Installer
|
|
4
|
-
* Custom installation logic for complex module setup
|
|
5
|
-
*
|
|
6
|
-
* This is a template - replace {{VARIABLES}} with actual values
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// const fs = require('fs'); // Uncomment when implementing file operations
|
|
10
|
-
const path = require('path');
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Main installation function
|
|
14
|
-
* Called by BMAD installer when processing the module
|
|
15
|
-
*/
|
|
16
|
-
async function installModule(config) {
|
|
17
|
-
console.log('🚀 Installing {{MODULE_NAME}} module...');
|
|
18
|
-
console.log(` Version: ${config.version}`);
|
|
19
|
-
console.log(` Module Code: ${config.module_code}`);
|
|
20
|
-
|
|
21
|
-
try {
|
|
22
|
-
// Step 1: Validate environment
|
|
23
|
-
await validateEnvironment(config);
|
|
24
|
-
|
|
25
|
-
// Step 2: Setup custom configurations
|
|
26
|
-
await setupConfigurations(config);
|
|
27
|
-
|
|
28
|
-
// Step 3: Initialize module-specific features
|
|
29
|
-
await initializeFeatures(config);
|
|
30
|
-
|
|
31
|
-
// Step 4: Run post-install tasks
|
|
32
|
-
await runPostInstallTasks(config);
|
|
33
|
-
|
|
34
|
-
console.log('✅ {{MODULE_NAME}} module installed successfully!');
|
|
35
|
-
return {
|
|
36
|
-
success: true,
|
|
37
|
-
message: 'Module installed and configured',
|
|
38
|
-
};
|
|
39
|
-
} catch (error) {
|
|
40
|
-
console.error('❌ Installation failed:', error.message);
|
|
41
|
-
return {
|
|
42
|
-
success: false,
|
|
43
|
-
error: error.message,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Validate that the environment meets module requirements
|
|
50
|
-
*/
|
|
51
|
-
async function validateEnvironment(config) {
|
|
52
|
-
console.log(' Validating environment...');
|
|
53
|
-
|
|
54
|
-
// TODO: Add environment checks
|
|
55
|
-
// Examples:
|
|
56
|
-
// - Check for required tools/binaries
|
|
57
|
-
// - Verify permissions
|
|
58
|
-
// - Check network connectivity
|
|
59
|
-
// - Validate API keys
|
|
60
|
-
|
|
61
|
-
// Placeholder validation
|
|
62
|
-
if (!config.project_root) {
|
|
63
|
-
throw new Error('Project root not defined');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
console.log(' ✓ Environment validated');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Setup module-specific configurations
|
|
71
|
-
*/
|
|
72
|
-
async function setupConfigurations(config) {
|
|
73
|
-
console.log(' Setting up configurations...');
|
|
74
|
-
|
|
75
|
-
// TODO: Add configuration setup
|
|
76
|
-
// Examples:
|
|
77
|
-
// - Create config files
|
|
78
|
-
// - Setup environment variables
|
|
79
|
-
// - Configure external services
|
|
80
|
-
// - Initialize settings
|
|
81
|
-
|
|
82
|
-
// Placeholder configuration
|
|
83
|
-
const configPath = path.join(config.project_root, 'bmad', config.module_code, 'config.json');
|
|
84
|
-
|
|
85
|
-
// Example of module config that would be created
|
|
86
|
-
// const moduleConfig = {
|
|
87
|
-
// installed: new Date().toISOString(),
|
|
88
|
-
// settings: {
|
|
89
|
-
// // Add default settings
|
|
90
|
-
// }
|
|
91
|
-
// };
|
|
92
|
-
|
|
93
|
-
// Note: This is a placeholder - actual implementation would write the file
|
|
94
|
-
console.log(` ✓ Would create config at: ${configPath}`);
|
|
95
|
-
console.log(' ✓ Configurations complete');
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Initialize module-specific features
|
|
100
|
-
*/
|
|
101
|
-
async function initializeFeatures(config) {
|
|
102
|
-
console.log(' Initializing features...');
|
|
103
|
-
|
|
104
|
-
// TODO: Add feature initialization
|
|
105
|
-
// Examples:
|
|
106
|
-
// - Create database schemas
|
|
107
|
-
// - Setup cron jobs
|
|
108
|
-
// - Initialize caches
|
|
109
|
-
// - Register webhooks
|
|
110
|
-
// - Setup file watchers
|
|
111
|
-
|
|
112
|
-
// Module-specific initialization based on type
|
|
113
|
-
switch (config.module_category) {
|
|
114
|
-
case 'data': {
|
|
115
|
-
await initializeDataFeatures(config);
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
case 'automation': {
|
|
119
|
-
await initializeAutomationFeatures(config);
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
|
-
case 'integration': {
|
|
123
|
-
await initializeIntegrationFeatures(config);
|
|
124
|
-
break;
|
|
125
|
-
}
|
|
126
|
-
default: {
|
|
127
|
-
console.log(' - Using standard initialization');
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
console.log(' ✓ Features initialized');
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Initialize data-related features
|
|
136
|
-
*/
|
|
137
|
-
async function initializeDataFeatures(/* config */) {
|
|
138
|
-
console.log(' - Setting up data storage...');
|
|
139
|
-
// TODO: Setup databases, data folders, etc.
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Initialize automation features
|
|
144
|
-
*/
|
|
145
|
-
async function initializeAutomationFeatures(/* config */) {
|
|
146
|
-
console.log(' - Setting up automation hooks...');
|
|
147
|
-
// TODO: Setup triggers, watchers, schedulers
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Initialize integration features
|
|
152
|
-
*/
|
|
153
|
-
async function initializeIntegrationFeatures(/* config */) {
|
|
154
|
-
console.log(' - Setting up integrations...');
|
|
155
|
-
// TODO: Configure APIs, webhooks, external services
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Run post-installation tasks
|
|
160
|
-
*/
|
|
161
|
-
async function runPostInstallTasks(/* config */) {
|
|
162
|
-
console.log(' Running post-install tasks...');
|
|
163
|
-
|
|
164
|
-
// TODO: Add post-install tasks
|
|
165
|
-
// Examples:
|
|
166
|
-
// - Generate sample data
|
|
167
|
-
// - Run initial workflows
|
|
168
|
-
// - Send notifications
|
|
169
|
-
// - Update registries
|
|
170
|
-
|
|
171
|
-
console.log(' ✓ Post-install tasks complete');
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Initialize database for the module (optional)
|
|
176
|
-
*/
|
|
177
|
-
async function initDatabase(/* config */) {
|
|
178
|
-
console.log(' Initializing database...');
|
|
179
|
-
|
|
180
|
-
// TODO: Add database initialization
|
|
181
|
-
// This function can be called from install-config.yaml
|
|
182
|
-
|
|
183
|
-
console.log(' ✓ Database initialized');
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Generate sample data for the module (optional)
|
|
188
|
-
*/
|
|
189
|
-
async function generateSamples(config) {
|
|
190
|
-
console.log(' Generating sample data...');
|
|
191
|
-
|
|
192
|
-
// TODO: Create sample files, data, configurations
|
|
193
|
-
// This helps users understand how to use the module
|
|
194
|
-
|
|
195
|
-
const samplesPath = path.join(config.project_root, 'examples', config.module_code);
|
|
196
|
-
|
|
197
|
-
console.log(` - Would create samples at: ${samplesPath}`);
|
|
198
|
-
console.log(' ✓ Samples generated');
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Uninstall the module (cleanup)
|
|
203
|
-
*/
|
|
204
|
-
async function uninstallModule(/* config */) {
|
|
205
|
-
console.log('🗑️ Uninstalling {{MODULE_NAME}} module...');
|
|
206
|
-
|
|
207
|
-
try {
|
|
208
|
-
// TODO: Add cleanup logic
|
|
209
|
-
// - Remove configurations
|
|
210
|
-
// - Clean up databases
|
|
211
|
-
// - Unregister services
|
|
212
|
-
// - Backup user data
|
|
213
|
-
|
|
214
|
-
console.log('✅ Module uninstalled successfully');
|
|
215
|
-
return { success: true };
|
|
216
|
-
} catch (error) {
|
|
217
|
-
console.error('❌ Uninstall failed:', error.message);
|
|
218
|
-
return {
|
|
219
|
-
success: false,
|
|
220
|
-
error: error.message,
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// Export functions for BMAD installer
|
|
226
|
-
module.exports = {
|
|
227
|
-
installModule,
|
|
228
|
-
initDatabase,
|
|
229
|
-
generateSamples,
|
|
230
|
-
uninstallModule,
|
|
231
|
-
};
|