bmad-method 6.0.0-alpha.15 → 6.0.0-alpha.17
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/.coderabbit.yaml +8 -4
- package/.github/scripts/discord-helpers.sh +21 -2
- package/.github/workflows/discord.yaml +31 -7
- package/.github/workflows/manual-release.yaml +12 -42
- package/.markdownlint-cli2.yaml +2 -2
- package/.prettierignore +2 -2
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +126 -1
- package/LICENSE +1 -1
- package/README.md +29 -2
- package/docs/agent-customization-guide.md +10 -10
- package/docs/custom-content-installation.md +100 -196
- package/docs/custom-content.md +122 -0
- package/docs/ide-info/crush.md +1 -1
- package/docs/ide-info/cursor.md +7 -7
- package/docs/ide-info/iflow.md +3 -3
- package/docs/ide-info/opencode.md +1 -1
- package/docs/ide-info/rovo-dev.md +1 -1
- package/docs/index.md +2 -2
- package/docs/installers-bundlers/ide-injections.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +25 -25
- package/docs/sample-custom-modules/README.md +11 -0
- package/docs/sample-custom-modules/sample-unitary-module/README.md +8 -0
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/commit-poet/commit-poet.agent.yaml +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith.agent.yaml +14 -14
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/module.yaml +5 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-01-init.md +2 -2
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-02-q1.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-03-q2.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-04-q3.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-05-q4.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-06-q5.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-07-q6.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-08-q7.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-09-q8.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-10-q9.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-11-q10.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/steps/step-12-results.md +1 -1
- package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/workflow.md +1 -1
- package/docs/sample-custom-modules/sample-wellness-module/README.md +6 -0
- package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/meditation-guide.agent.yaml +37 -39
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/foo.md +3 -0
- package/docs/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/addition1.md +1 -0
- package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/wellness-companion/wellness-companion.agent.yaml +8 -13
- package/docs/sample-custom-modules/sample-wellness-module/module.yaml +17 -0
- package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/wellness-journal/workflow.md +3 -3
- package/docs/v4-to-v6-upgrade.md +27 -27
- package/docs/web-bundles-gemini-gpt-guide.md +6 -458
- package/eslint.config.mjs +2 -2
- package/package.json +1 -1
- package/src/core/agents/bmad-master.agent.yaml +6 -11
- package/src/core/module.yaml +10 -24
- package/src/core/resources/excalidraw/README.md +6 -6
- package/src/core/tasks/advanced-elicitation.xml +3 -3
- package/src/core/tasks/index-docs.xml +1 -1
- package/src/core/tasks/validate-workflow.xml +1 -1
- package/src/core/tasks/workflow.xml +4 -4
- package/src/core/tools/shard-doc.xml +12 -12
- package/src/core/workflows/brainstorming/workflow.md +3 -3
- package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +2 -2
- package/src/core/workflows/party-mode/workflow.md +4 -4
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +15 -15
- package/src/modules/bmb/{README.md → docs/README.md} +15 -27
- package/src/modules/bmb/docs/agents/agent-compilation.md +3 -3
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +23 -24
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +21 -22
- package/src/modules/bmb/docs/agents/index.md +1 -1
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +17 -52
- package/src/modules/bmb/docs/agents/understanding-agent-types.md +6 -6
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +3 -3
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-file.md +3 -3
- package/src/modules/bmb/docs/workflows/templates/step-template.md +3 -3
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +2 -2
- package/src/modules/bmb/docs/workflows/templates/workflow.md +1 -1
- package/src/modules/bmb/module.yaml +6 -16
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/module-examples/README.md +3 -4
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +5 -5
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/agents/simple-examples/README.md +1 -1
- package/src/modules/bmb/reference/agents/simple-examples/commit-poet.agent.yaml +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +3 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +3 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +5 -5
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +1 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +3 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +3 -3
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +5 -5
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +5 -5
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +5 -5
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +7 -11
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +7 -7
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +10 -10
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +7 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +20 -58
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/{step-11-celebrate.md → step-08-celebrate.md} +3 -7
- package/src/modules/bmb/workflows/create-agent/templates/agent-plan.template.md +3 -0
- package/src/modules/bmb/workflows/create-agent/templates/expert-agent.template.md +364 -0
- package/src/modules/bmb/workflows/create-agent/templates/simple-agent.template.md +257 -0
- package/src/modules/bmb/workflows/create-agent/workflow.md +2 -35
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +4 -4
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +2 -2
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +6 -6
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +9 -9
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +5 -5
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +8 -8
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +7 -7
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +7 -7
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +6 -6
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +15 -19
- package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +1 -1
- package/src/modules/bmb/workflows/create-module/workflow.md +3 -3
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +6 -6
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +5 -5
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-design.md +11 -11
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +14 -14
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +4 -4
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +2 -2
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +3 -3
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +13 -13
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +5 -5
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +3 -3
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +5 -5
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +4 -4
- package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +6 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +3 -3
- package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +3 -3
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +6 -6
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +4 -4
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/README.md +1 -17
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +3 -4
- package/src/modules/bmb/workflows-legacy/edit-module/instructions.md +4 -5
- package/src/modules/bmb/workflows-legacy/edit-module/workflow.yaml +10 -10
- package/src/modules/bmb/workflows-legacy/module-brief/README.md +2 -2
- package/src/modules/bmb/workflows-legacy/module-brief/instructions.md +2 -2
- package/src/modules/bmb/workflows-legacy/module-brief/workflow.yaml +4 -4
- package/src/modules/bmgd/README.md +1 -1
- package/src/modules/bmgd/agents/game-architect.agent.yaml +6 -6
- package/src/modules/bmgd/agents/game-designer.agent.yaml +7 -7
- package/src/modules/bmgd/agents/game-dev.agent.yaml +10 -10
- package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +21 -21
- package/src/modules/bmgd/module.yaml +2 -8
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
- package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
- package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +4 -4
- package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
- package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -1
- package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +1 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +4 -4
- package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +3 -3
- package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
- package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +2 -2
- package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +2 -2
- package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
- package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +2 -2
- package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +1 -1
- package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +2 -2
- package/src/modules/bmm/README.md +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +9 -9
- package/src/modules/bmm/agents/architect.agent.yaml +8 -8
- package/src/modules/bmm/agents/dev.agent.yaml +5 -5
- package/src/modules/bmm/agents/pm.agent.yaml +8 -8
- package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +5 -5
- package/src/modules/bmm/agents/sm.agent.yaml +11 -11
- package/src/modules/bmm/agents/tea.agent.yaml +13 -13
- package/src/modules/bmm/agents/tech-writer.agent.yaml +9 -9
- package/src/modules/bmm/agents/ux-designer.agent.yaml +6 -6
- package/src/modules/bmm/docs/README.md +0 -25
- package/src/modules/bmm/docs/agents-guide.md +16 -14
- package/src/modules/bmm/docs/brownfield-guide.md +6 -6
- package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
- package/src/modules/bmm/docs/faq.md +5 -18
- package/src/modules/bmm/docs/glossary.md +3 -4
- package/src/modules/bmm/docs/images/README.md +1 -1
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +8 -8
- package/src/modules/bmm/docs/party-mode.md +3 -3
- package/src/modules/bmm/docs/quick-flow-solo-dev.md +5 -5
- package/src/modules/bmm/docs/quick-spec-flow.md +2 -16
- package/src/modules/bmm/docs/quick-start.md +3 -3
- package/src/modules/bmm/docs/test-architecture.md +15 -23
- package/src/modules/bmm/docs/troubleshooting.md +6 -25
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +3 -104
- package/src/modules/bmm/module.yaml +25 -24
- package/src/modules/bmm/testarch/knowledge/overview.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-01b-continue.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-02-vision.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-03-users.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-04-metrics.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-05-scope.md +3 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/steps/step-06-complete.md +5 -3
- package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/workflow.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +4 -4
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +3 -3
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +7 -7
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +8 -8
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +12 -12
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +12 -12
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +10 -10
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +7 -7
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +9 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +9 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-01-document-discovery.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +6 -6
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/steps/step-06-final-assessment.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/workflow.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-01-init.md +1 -1
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-02-context.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-03-starter.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-04-decisions.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-05-patterns.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-06-structure.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-07-validation.md +4 -4
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-08-complete.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +3 -3
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +4 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
- package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +5 -5
- package/src/modules/bmm/workflows/4-implementation/create-story/template.md +3 -5
- package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +2 -2
- package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +11 -8
- package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +15 -22
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -5
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +90 -35
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +5 -5
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +7 -7
- package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
- package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
- package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/instructions.md +1 -1
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/instructions.md +2 -2
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/instructions.md +2 -2
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/instructions.md +1 -1
- package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +3 -3
- package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +5 -5
- package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/framework/instructions.md +3 -3
- package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/test-design/instructions.md +3 -3
- package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +10 -4
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/testarch/trace/instructions.md +6 -6
- package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +4 -4
- package/src/modules/bmm/workflows/workflow-status/instructions.md +3 -3
- package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
- package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
- package/src/modules/cis/agents/brainstorming-coach.agent.yaml +4 -4
- package/src/modules/cis/agents/creative-problem-solver.agent.yaml +4 -4
- package/src/modules/cis/agents/design-thinking-coach.agent.yaml +4 -4
- package/src/modules/cis/agents/innovation-strategist.agent.yaml +4 -4
- package/src/modules/cis/agents/presentation-master.agent.yaml +3 -3
- package/src/modules/cis/agents/storyteller/storyteller-sidecar/stories-told.md +7 -0
- package/src/modules/cis/agents/storyteller/storyteller-sidecar/story-preferences.md +7 -0
- package/src/modules/cis/agents/{storyteller.agent.yaml → storyteller/storyteller.agent.yaml} +9 -4
- package/src/modules/cis/module.yaml +3 -8
- package/src/modules/cis/{README.md → readme.md} +1 -1
- package/src/modules/cis/workflows/README.md +1 -1
- package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
- package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
- package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
- package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
- package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
- package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
- package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
- package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
- package/src/utility/agent-components/activation-rules.txt +7 -0
- package/src/utility/agent-components/activation-steps.txt +13 -0
- package/src/utility/agent-components/agent-command-header.md +1 -0
- package/src/utility/{templates → agent-components}/agent.customize.template.yaml +0 -1
- package/src/utility/agent-components/handler-action.txt +4 -0
- package/src/utility/agent-components/handler-exec.txt +6 -0
- package/src/utility/agent-components/handler-multi.txt +14 -0
- package/src/utility/agent-components/handler-tmpl.txt +5 -0
- package/src/utility/agent-components/handler-validate-workflow.txt +7 -0
- package/src/utility/agent-components/handler-workflow.txt +10 -0
- package/src/utility/agent-components/menu-handlers.txt +6 -0
- package/test/README.md +1 -1
- package/test/test-agent-schema.js +2 -2
- package/tools/cli/README.md +1 -607
- package/tools/cli/commands/build.js +7 -7
- package/tools/cli/commands/install.js +9 -20
- package/tools/cli/commands/list.js +13 -1
- package/tools/cli/installers/lib/core/config-collector.js +243 -73
- package/tools/cli/installers/lib/core/custom-module-cache.js +36 -16
- package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
- package/tools/cli/installers/lib/core/detector.js +16 -16
- package/tools/cli/installers/lib/core/ide-config-manager.js +9 -7
- package/tools/cli/installers/lib/core/installer.js +595 -1006
- package/tools/cli/installers/lib/core/manifest-generator.js +43 -40
- package/tools/cli/installers/lib/core/manifest.js +23 -20
- package/tools/cli/installers/lib/custom/handler.js +16 -49
- package/tools/cli/installers/lib/ide/_base-ide.js +26 -33
- package/tools/cli/installers/lib/ide/antigravity.js +3 -3
- package/tools/cli/installers/lib/ide/claude-code.js +3 -3
- package/tools/cli/installers/lib/ide/codex.js +2 -2
- package/tools/cli/installers/lib/ide/gemini.js +6 -6
- package/tools/cli/installers/lib/ide/kiro-cli.js +2 -2
- package/tools/cli/installers/lib/ide/opencode.js +2 -2
- package/tools/cli/installers/lib/ide/roo.js +15 -5
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/module-injections.js +2 -2
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +4 -4
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +3 -3
- package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +3 -3
- package/tools/cli/installers/lib/ide/templates/workflow-command-template.md +1 -1
- package/tools/cli/installers/lib/modules/manager.js +304 -313
- package/tools/cli/lib/activation-builder.js +8 -13
- package/tools/cli/lib/agent/compiler.js +68 -168
- package/tools/cli/lib/agent/installer.js +8 -128
- package/tools/cli/lib/agent-analyzer.js +2 -2
- package/tools/cli/lib/agent-party-generator.js +5 -17
- package/tools/cli/lib/config.js +2 -2
- package/tools/cli/lib/platform-codes.js +2 -2
- package/tools/cli/lib/ui.js +610 -551
- package/tools/cli/lib/xml-handler.js +3 -55
- package/tools/cli/lib/yaml-format.js +4 -6
- package/tools/cli/lib/yaml-xml-builder.js +14 -26
- package/tools/flattener/ignoreRules.js +1 -1
- package/tools/flattener/xml.js +1 -7
- package/tools/lib/xml-utils.js +13 -0
- package/tools/migrate-custom-module-paths.js +2 -2
- package/tools/validate-agent-schema.js +2 -2
- package/docs/v6-open-items.md +0 -17
- package/example-custom-content/README.md +0 -8
- package/example-custom-module/mwm/README.md +0 -9
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +0 -47
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +0 -17
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +0 -151
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +0 -138
- package/example-custom-module/mwm/module.yaml +0 -28
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +0 -31
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +0 -45
- package/example-custom-module/mwm/workflows/crisis-support/README.md +0 -31
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +0 -45
- package/src/core/agents/bmad-web-orchestrator.agent.xml +0 -113
- package/src/modules/bmb/_module-installer/installer.js +0 -76
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +0 -367
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +0 -179
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +0 -197
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +0 -180
- package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +0 -21
- package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +0 -25
- package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +0 -23
- package/src/modules/bmm/tasks/daily-standup.xml +0 -85
- package/src/modules/cis/agents/README.md +0 -104
- package/src/utility/models/action-command-header.md +0 -0
- package/src/utility/models/agent-activation-ide.xml +0 -51
- package/src/utility/models/agent-activation-web.xml +0 -50
- package/src/utility/models/agent-command-header.md +0 -1
- package/src/utility/models/agent-config-template.md +0 -23
- package/src/utility/models/agent-in-team-activation.xml +0 -3
- package/src/utility/models/fragments/activation-rules.xml +0 -7
- package/src/utility/models/fragments/activation-steps.xml +0 -16
- package/src/utility/models/fragments/handler-action.xml +0 -4
- package/src/utility/models/fragments/handler-exec.xml +0 -6
- package/src/utility/models/fragments/handler-multi.xml +0 -14
- package/src/utility/models/fragments/handler-tmpl.xml +0 -5
- package/src/utility/models/fragments/handler-validate-workflow.xml +0 -7
- package/src/utility/models/fragments/handler-workflow.xml +0 -9
- package/src/utility/models/fragments/menu-handlers.xml +0 -6
- package/src/utility/models/fragments/web-bundle-activation-steps.xml +0 -32
- package/tools/cli/bundlers/bundle-web.js +0 -179
- package/tools/cli/bundlers/test-analyst.js +0 -28
- package/tools/cli/bundlers/test-bundler.js +0 -118
- package/tools/cli/bundlers/web-bundler.js +0 -1764
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +0 -79
- package/tools/cli/lib/replace-project-root.js +0 -239
- package/tools/cli/regenerate-manifests.js +0 -28
- package/tools/cli/test-yaml-builder.js +0 -43
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/instructions.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/agents/toolsmith/toolsmith-sidecar/memories.md +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/quiz-master/templates/csv-headers.template +0 -0
- /package/{example-custom-content → docs/sample-custom-modules/sample-unitary-module}/workflows/wassup/workflow.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/wellness-companion/wellness-companion-sidecar/insights.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/wellness-companion/wellness-companion-sidecar/instructions.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/wellness-companion/wellness-companion-sidecar/memories.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/agents/wellness-companion/wellness-companion-sidecar/patterns.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/daily-checkin/README.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/daily-checkin/workflow.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/guided-meditation/README.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/guided-meditation/workflow.md +0 -0
- /package/{example-custom-module/mwm → docs/sample-custom-modules/sample-wellness-module}/workflows/wellness-journal/README.md +0 -0
- /package/src/modules/bmgd/workflows/4-production/code-review/{backlog_template.md → backlog-template.md} +0 -0
- /package/src/modules/bmm/workflows/1-analysis/{product-brief → create-product-brief}/product-brief.template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{implementation-readiness → check-implementation-readiness}/templates/readiness-report-template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/architecture-decision-template.md +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/data/domain-complexity.csv +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/data/project-types.csv +0 -0
- /package/src/modules/bmm/workflows/3-solutioning/{architecture → create-architecture}/steps/step-01b-continue.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/_shared/excalidraw-library.json +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/_shared/excalidraw-templates.yaml +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-dataflow/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-diagram/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-flowchart/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{diagrams → excalidraw-diagrams}/create-wireframe/checklist.md +0 -0
- /package/src/utility/{models/fragments/handler-data.xml → agent-components/handler-data.txt} +0 -0
|
@@ -3,20 +3,21 @@ name: 'step-05-name'
|
|
|
3
3
|
description: 'Name the agent based on discovered characteristics'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/
|
|
6
|
+
workflow_path: '{project-root}/bmb/workflows/create-agent/create-agent'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-05-name.md'
|
|
10
10
|
nextStepFile: '{workflow_path}/steps/step-06-build.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
agentPlan: '{bmb_creations_output_folder}/agent-plan-{agent_name}.md'
|
|
13
14
|
|
|
14
15
|
# Template References
|
|
15
16
|
identityTemplate: '{workflow_path}/templates/agent-identity.md'
|
|
16
17
|
|
|
17
18
|
# Task References
|
|
18
|
-
advancedElicitationTask: '{project-root}/
|
|
19
|
-
partyModeWorkflow: '{project-root}/
|
|
19
|
+
advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
|
|
20
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
20
21
|
---
|
|
21
22
|
|
|
22
23
|
# Step 5: Agent Naming and Identity
|
|
@@ -182,7 +183,7 @@ Once name is selected, confirm the complete identity package:
|
|
|
182
183
|
[User confirmation that identity package feels right]
|
|
183
184
|
```
|
|
184
185
|
|
|
185
|
-
Save this content to
|
|
186
|
+
Save this content to {agentPlan} for reference in subsequent steps.
|
|
186
187
|
|
|
187
188
|
### 6. Present MENU OPTIONS
|
|
188
189
|
|
|
@@ -192,7 +193,7 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
192
193
|
|
|
193
194
|
- IF A: Execute {advancedElicitationTask}
|
|
194
195
|
- IF P: Execute {partyModeWorkflow}
|
|
195
|
-
- IF C: Save content to {
|
|
196
|
+
- IF C: Save content to {agentPlan}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
196
197
|
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#6-present-menu-options)
|
|
197
198
|
|
|
198
199
|
#### EXECUTION RULES:
|
|
@@ -3,29 +3,29 @@ name: 'step-06-build'
|
|
|
3
3
|
description: 'Generate complete YAML incorporating all discovered elements'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/
|
|
6
|
+
workflow_path: '{project-root}/bmb/workflows/create-agent/create-agent'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-06-build.md'
|
|
10
10
|
nextStepFile: '{workflow_path}/steps/step-07-validate.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
standaloneOutputFile: '{workflow_path}/data/{agent_filename}/{agent_filename}.agent.yaml'
|
|
12
|
+
agentPlan: '{bmb_creations_output_folder}/agent-plan-{agent_name}.md'
|
|
13
|
+
agentBuildOutput: '{bmb_creations_output_folder}/{agent-name}'
|
|
15
14
|
|
|
16
15
|
# Template References
|
|
17
|
-
|
|
16
|
+
simpleAgentTemplate: '{workflow_path}/templates/simple-agent.template.md'
|
|
17
|
+
expertAgentTemplate: '{workflow_path}/templates/expert-agent.template.md'
|
|
18
18
|
|
|
19
19
|
# Task References
|
|
20
|
-
advancedElicitationTask: '{project-root}/
|
|
21
|
-
partyModeWorkflow: '{project-root}/
|
|
20
|
+
advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
|
|
21
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
22
22
|
---
|
|
23
23
|
|
|
24
24
|
# Step 6: Build Complete Agent YAML
|
|
25
25
|
|
|
26
26
|
## STEP GOAL:
|
|
27
27
|
|
|
28
|
-
Generate the complete YAML agent
|
|
28
|
+
Generate the complete YAML agent folder, yaml file and sidecar content to the specification defined in {agentBuildOutput} completely.
|
|
29
29
|
|
|
30
30
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
31
31
|
|
|
@@ -46,10 +46,10 @@ Generate the complete YAML agent file incorporating all discovered elements: pur
|
|
|
46
46
|
|
|
47
47
|
### Step-Specific Rules:
|
|
48
48
|
|
|
49
|
-
- 🎯 Focus only on generating complete YAML structure based on discovered elements
|
|
50
|
-
- 🚫 FORBIDDEN to duplicate auto-injected features (help
|
|
49
|
+
- 🎯 Focus only on generating complete YAML and sidecar content structure based on discovered elements
|
|
50
|
+
- 🚫 FORBIDDEN to duplicate auto-injected features (help and exit menu items, activation handler instructions)
|
|
51
51
|
- 💬 Approach: Present the journey of collaborative creation while building technical structure
|
|
52
|
-
- 📋 Generate YAML that accurately reflects all discoveries from previous steps
|
|
52
|
+
- 📋 Generate YAML and sidecar files that accurately reflects all discoveries from previous steps
|
|
53
53
|
|
|
54
54
|
## EXECUTION PROTOCOLS:
|
|
55
55
|
|
|
@@ -85,19 +85,15 @@ Present this to the user:
|
|
|
85
85
|
|
|
86
86
|
Based on determined agent type, load appropriate template:
|
|
87
87
|
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
88
|
+
- If (agent will have memories and optionally its own knowledge, separate prompt files, or data in separate files)
|
|
89
|
+
- Utilize {expertAgentTemplate} to generate the agent output file {agentBuildOutput}/{agent-name}.agent.yaml
|
|
90
|
+
- Create the Side-cre folder to hold the optional sidecar files if needed from plan in following steps at {agentBuildOutput}/{agent-name}/{agent-name}-sidecar
|
|
91
|
+
- ELSE:
|
|
92
|
+
- utilize {simpleAgentTemplate} to generate the agent output file {agentBuildOutput}/{agent-name}.agent.yaml
|
|
91
93
|
|
|
92
|
-
###
|
|
94
|
+
### 4. Generate Complete YAML and sidecar content if applicable
|
|
93
95
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"I'll now generate the complete YAML that incorporates everything we've discovered. This will include your agent's metadata, persona, capabilities, and configuration."
|
|
97
|
-
|
|
98
|
-
### 4. Generate Complete YAML
|
|
99
|
-
|
|
100
|
-
Create the complete YAML incorporating all discovered elements:
|
|
96
|
+
Create the complete YAML incorporating all discovered elements from the plan:
|
|
101
97
|
|
|
102
98
|
**Core Structure:**
|
|
103
99
|
|
|
@@ -140,41 +136,7 @@ Ensure proper implementation based on agent type:
|
|
|
140
136
|
- Memory integration points
|
|
141
137
|
- Personal workflow capabilities
|
|
142
138
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
- Workflow orchestration capabilities
|
|
146
|
-
- Team integration references
|
|
147
|
-
- Cross-agent coordination
|
|
148
|
-
|
|
149
|
-
### 6. Document Complete YAML
|
|
150
|
-
|
|
151
|
-
#### Content to Append (if applicable):
|
|
152
|
-
|
|
153
|
-
```markdown
|
|
154
|
-
## Complete Agent YAML
|
|
155
|
-
|
|
156
|
-
### Agent Type
|
|
157
|
-
|
|
158
|
-
[Simple/Expert/Module as determined]
|
|
159
|
-
|
|
160
|
-
### Generated Configuration
|
|
161
|
-
|
|
162
|
-
[Complete YAML structure with all discovered elements]
|
|
163
|
-
|
|
164
|
-
### Key Features Integrated
|
|
165
|
-
|
|
166
|
-
- Purpose and role from discovery phase
|
|
167
|
-
- Complete persona with four-field system
|
|
168
|
-
- All capabilities and commands developed
|
|
169
|
-
- Agent name and identity established
|
|
170
|
-
- Type-specific optimizations applied
|
|
171
|
-
|
|
172
|
-
### Output Configuration
|
|
173
|
-
|
|
174
|
-
[Proper file paths and configuration based on agent type]
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
Save this content to `{outputFile}` for reference.
|
|
139
|
+
Ensure all files generated are complete, and nothing from the plan has not been skipped, and then give a creational summary of what was done to the user in chat.
|
|
178
140
|
|
|
179
141
|
### 7. Present MENU OPTIONS
|
|
180
142
|
|
|
@@ -184,7 +146,7 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
184
146
|
|
|
185
147
|
- IF A: Execute {advancedElicitationTask}
|
|
186
148
|
- IF P: Execute {partyModeWorkflow}
|
|
187
|
-
- IF C: Save content to {
|
|
149
|
+
- IF C: Save content to {agentBuildOutput}, update frontmatter, then only then load, read entire file, then execute {nextStepFile}
|
|
188
150
|
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-menu-options)
|
|
189
151
|
|
|
190
152
|
#### EXECUTION RULES:
|
|
@@ -3,22 +3,22 @@ name: 'step-07-validate'
|
|
|
3
3
|
description: 'Quality check with personality and technical validation'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/
|
|
6
|
+
workflow_path: '{project-root}/bmb/workflows/create-agent/create-agent'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-07-validate.md'
|
|
10
|
-
nextStepFile: '{workflow_path}/steps/step-08-
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-08-celebrate.md'
|
|
11
11
|
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
outputFile: '{
|
|
13
|
-
agentValidationChecklist: '{project-root}/
|
|
12
|
+
outputFile: '{bmb_creations_output_folder}/agent-validation-{project_name}.md'
|
|
13
|
+
agentValidationChecklist: '{project-root}/_bmad/bmb/workflows/create-agent/agent-validation-checklist.md'
|
|
14
14
|
agentFile: '{{output_file_path}}'
|
|
15
15
|
|
|
16
16
|
# Template References
|
|
17
17
|
validationTemplate: '{workflow_path}/templates/validation-results.md'
|
|
18
18
|
|
|
19
19
|
# Task References
|
|
20
|
-
advancedElicitationTask: '{project-root}/
|
|
21
|
-
partyModeWorkflow: '{project-root}/
|
|
20
|
+
advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
|
|
21
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
22
22
|
---
|
|
23
23
|
|
|
24
24
|
# Step 7: Quality Check and Validation
|
package/src/modules/bmb/workflows/create-agent/steps/{step-11-celebrate.md → step-08-celebrate.md}
RENAMED
|
@@ -3,21 +3,17 @@ name: 'step-11-celebrate'
|
|
|
3
3
|
description: 'Celebrate completion and guide next steps for using the agent'
|
|
4
4
|
|
|
5
5
|
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/
|
|
6
|
+
workflow_path: '{project-root}/bmb/workflows/create-agent/create-agent'
|
|
7
7
|
|
|
8
8
|
# File References
|
|
9
9
|
thisStepFile: '{workflow_path}/steps/step-11-celebrate.md'
|
|
10
10
|
workflowFile: '{workflow_path}/workflow.md'
|
|
11
11
|
outputFile: '{output_folder}/agent-completion-{project_name}.md'
|
|
12
12
|
agentFile: '{{output_file_path}}'
|
|
13
|
-
compiledAgentFile: '{{compiled_agent_path}}'
|
|
14
|
-
|
|
15
|
-
# Template References
|
|
16
|
-
completionTemplate: '{workflow_path}/templates/completion-summary.md'
|
|
17
13
|
|
|
18
14
|
# Task References
|
|
19
|
-
advancedElicitationTask: '{project-root}/
|
|
20
|
-
partyModeWorkflow: '{project-root}/
|
|
15
|
+
advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
|
|
16
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
21
17
|
---
|
|
22
18
|
|
|
23
19
|
# Step 11: Celebration and Next Steps
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
# Expert Agent Architecture
|
|
2
|
+
|
|
3
|
+
Domain-specific agents with persistent memory, sidecar files, and restricted access patterns.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Personal assistants (journal keeper, diary companion)
|
|
8
|
+
- Specialized domain experts (legal advisor, medical reference)
|
|
9
|
+
- Agents that need to remember past interactions
|
|
10
|
+
- Agents with restricted file system access (privacy/security)
|
|
11
|
+
- Long-term relationship agents that learn about users
|
|
12
|
+
|
|
13
|
+
## File Structure
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
{agent-name}/
|
|
17
|
+
├── {agent-name}.agent.yaml # Main agent definition
|
|
18
|
+
└── {agent-name}-sidecar/ # Supporting files
|
|
19
|
+
├── instructions.md # Private directives
|
|
20
|
+
├── memories.md # Persistent memory
|
|
21
|
+
├── knowledge/ # Domain-specific resources
|
|
22
|
+
│ └── README.md
|
|
23
|
+
└── [custom files] # Agent-specific resources
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## YAML Structure
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
agent:
|
|
30
|
+
metadata:
|
|
31
|
+
name: 'Persona Name'
|
|
32
|
+
title: 'Agent Title'
|
|
33
|
+
icon: 'emoji'
|
|
34
|
+
type: 'expert'
|
|
35
|
+
|
|
36
|
+
persona:
|
|
37
|
+
role: 'Domain Expert with specialized capability'
|
|
38
|
+
|
|
39
|
+
identity: |
|
|
40
|
+
Background and expertise in first-person voice.
|
|
41
|
+
{{#if user_preference}}
|
|
42
|
+
Customization based on install_config.
|
|
43
|
+
{{/if}}
|
|
44
|
+
|
|
45
|
+
communication_style: |
|
|
46
|
+
{{#if tone_style == "gentle"}}
|
|
47
|
+
Gentle and supportive communication...
|
|
48
|
+
{{/if}}
|
|
49
|
+
{{#if tone_style == "direct"}}
|
|
50
|
+
Direct and efficient communication...
|
|
51
|
+
{{/if}}
|
|
52
|
+
I reference past conversations naturally.
|
|
53
|
+
|
|
54
|
+
principles:
|
|
55
|
+
- Core belief about the domain
|
|
56
|
+
- How I handle user information
|
|
57
|
+
- My approach to memory and learning
|
|
58
|
+
|
|
59
|
+
critical_actions:
|
|
60
|
+
- 'Load COMPLETE file ./{agent-name}-sidecar/memories.md and remember all past insights'
|
|
61
|
+
- 'Load COMPLETE file ./{agent-name}-sidecar/instructions.md and follow ALL protocols'
|
|
62
|
+
- 'ONLY read/write files in ./{agent-name}-sidecar/ - this is our private space'
|
|
63
|
+
- 'Address user as {{greeting_name}}'
|
|
64
|
+
- 'Track patterns, themes, and important moments'
|
|
65
|
+
- 'Reference past interactions naturally to show continuity'
|
|
66
|
+
|
|
67
|
+
prompts:
|
|
68
|
+
- id: main-function
|
|
69
|
+
content: |
|
|
70
|
+
<instructions>
|
|
71
|
+
Guide user through the primary function.
|
|
72
|
+
{{#if tone_style == "gentle"}}
|
|
73
|
+
Use gentle, supportive approach.
|
|
74
|
+
{{/if}}
|
|
75
|
+
</instructions>
|
|
76
|
+
|
|
77
|
+
<process>
|
|
78
|
+
1. Understand context
|
|
79
|
+
2. Provide guidance
|
|
80
|
+
3. Record insights
|
|
81
|
+
</process>
|
|
82
|
+
|
|
83
|
+
- id: memory-recall
|
|
84
|
+
content: |
|
|
85
|
+
<instructions>
|
|
86
|
+
Access and share relevant memories.
|
|
87
|
+
</instructions>
|
|
88
|
+
|
|
89
|
+
Reference stored information naturally.
|
|
90
|
+
|
|
91
|
+
menu:
|
|
92
|
+
- trigger: action1
|
|
93
|
+
action: '#main-function'
|
|
94
|
+
description: 'Primary agent function'
|
|
95
|
+
|
|
96
|
+
- trigger: remember
|
|
97
|
+
action: 'Update ./{agent-name}-sidecar/memories.md with session insights'
|
|
98
|
+
description: 'Save what we discussed today'
|
|
99
|
+
|
|
100
|
+
- trigger: insight
|
|
101
|
+
action: 'Document breakthrough in ./{agent-name}-sidecar/breakthroughs.md'
|
|
102
|
+
description: 'Record a significant insight'
|
|
103
|
+
|
|
104
|
+
- multi: "[DF] Do Foo or start [CH] Chat with expert"
|
|
105
|
+
triggers:
|
|
106
|
+
- do-foo
|
|
107
|
+
- input: [DF] or fuzzy match on do foo
|
|
108
|
+
- action: '#main-action'
|
|
109
|
+
- data: what is being discussed or suggested with the command, along with custom party custom agents if specified
|
|
110
|
+
- type: action
|
|
111
|
+
- expert-chat:
|
|
112
|
+
- input: [CH] or fuzzy match validate agent
|
|
113
|
+
- action: agent responds as expert based on its persona to converse
|
|
114
|
+
- type: action
|
|
115
|
+
|
|
116
|
+
install_config:
|
|
117
|
+
compile_time_only: true
|
|
118
|
+
description: 'Personalize your expert agent'
|
|
119
|
+
questions:
|
|
120
|
+
- var: greeting_name
|
|
121
|
+
prompt: 'What should the agent call you?'
|
|
122
|
+
type: text
|
|
123
|
+
default: 'friend'
|
|
124
|
+
|
|
125
|
+
- var: tone_style
|
|
126
|
+
prompt: 'Preferred communication tone?'
|
|
127
|
+
type: choice
|
|
128
|
+
options:
|
|
129
|
+
- label: 'Gentle - Supportive and nurturing'
|
|
130
|
+
value: 'gentle'
|
|
131
|
+
- label: 'Direct - Clear and efficient'
|
|
132
|
+
value: 'direct'
|
|
133
|
+
default: 'gentle'
|
|
134
|
+
|
|
135
|
+
- var: user_preference
|
|
136
|
+
prompt: 'Enable personalized features?'
|
|
137
|
+
type: boolean
|
|
138
|
+
default: true
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Key Components
|
|
142
|
+
|
|
143
|
+
### Sidecar Files (CRITICAL)
|
|
144
|
+
|
|
145
|
+
Expert agents use companion files for persistence and domain knowledge:
|
|
146
|
+
|
|
147
|
+
**memories.md** - Persistent user context
|
|
148
|
+
|
|
149
|
+
```markdown
|
|
150
|
+
# Agent Memory Bank
|
|
151
|
+
|
|
152
|
+
## User Preferences
|
|
153
|
+
|
|
154
|
+
<!-- Learned from interactions -->
|
|
155
|
+
|
|
156
|
+
## Session History
|
|
157
|
+
|
|
158
|
+
<!-- Important moments and insights -->
|
|
159
|
+
|
|
160
|
+
## Personal Notes
|
|
161
|
+
|
|
162
|
+
<!-- Agent observations -->
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**instructions.md** - Private directives
|
|
166
|
+
|
|
167
|
+
```markdown
|
|
168
|
+
# Agent Private Instructions
|
|
169
|
+
|
|
170
|
+
## Core Directives
|
|
171
|
+
|
|
172
|
+
- Maintain character consistency
|
|
173
|
+
- Domain boundaries: {specific domain}
|
|
174
|
+
- Access restrictions: Only sidecar folder
|
|
175
|
+
|
|
176
|
+
## Special Rules
|
|
177
|
+
|
|
178
|
+
<!-- Agent-specific protocols -->
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**knowledge/** - Domain resources
|
|
182
|
+
|
|
183
|
+
```markdown
|
|
184
|
+
# Agent Knowledge Base
|
|
185
|
+
|
|
186
|
+
Add domain-specific documentation here.
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Critical Actions
|
|
190
|
+
|
|
191
|
+
**MANDATORY for expert agents** - These load sidecar files at activation:
|
|
192
|
+
|
|
193
|
+
```yaml
|
|
194
|
+
critical_actions:
|
|
195
|
+
- 'Load COMPLETE file ./{sidecar}/memories.md and remember all past insights'
|
|
196
|
+
- 'Load COMPLETE file ./{sidecar}/instructions.md and follow ALL protocols'
|
|
197
|
+
- 'ONLY read/write files in ./{sidecar}/ - this is our private space'
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Key patterns:**
|
|
201
|
+
|
|
202
|
+
- **COMPLETE file loading** - Forces full file read, not partial
|
|
203
|
+
- **Domain restrictions** - Limits file access for privacy/security
|
|
204
|
+
- **Memory integration** - Past context becomes part of current session
|
|
205
|
+
- **Protocol adherence** - Ensures consistent behavior
|
|
206
|
+
|
|
207
|
+
## What Gets Injected at Compile Time
|
|
208
|
+
|
|
209
|
+
Same as simple agents, PLUS:
|
|
210
|
+
|
|
211
|
+
1. **Critical actions become numbered activation steps**
|
|
212
|
+
|
|
213
|
+
```xml
|
|
214
|
+
<step n="4">Load COMPLETE file ./memories.md...</step>
|
|
215
|
+
<step n="5">Load COMPLETE file ./instructions.md...</step>
|
|
216
|
+
<step n="6">ONLY read/write files in ./...</step>
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
2. **Sidecar files copied during installation**
|
|
220
|
+
- Entire sidecar folder structure preserved
|
|
221
|
+
- Relative paths maintained
|
|
222
|
+
- Files ready for agent use
|
|
223
|
+
|
|
224
|
+
## Reference Example
|
|
225
|
+
|
|
226
|
+
See: `bmb/reference/agents/expert-examples/journal-keeper/`
|
|
227
|
+
|
|
228
|
+
Features demonstrated:
|
|
229
|
+
|
|
230
|
+
- Complete sidecar structure (memories, instructions, breakthroughs)
|
|
231
|
+
- Critical actions for loading persistent context
|
|
232
|
+
- Domain restrictions for privacy
|
|
233
|
+
- Pattern recognition and memory recall
|
|
234
|
+
- Handlebars-based personalization
|
|
235
|
+
- Menu actions that update sidecar files
|
|
236
|
+
|
|
237
|
+
## Installation
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
# Copy entire folder to your project
|
|
241
|
+
cp -r /path/to/journal-keeper/ _bmad/custom/agents/
|
|
242
|
+
|
|
243
|
+
# Install with personalization
|
|
244
|
+
bmad agent-install
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
The installer:
|
|
248
|
+
|
|
249
|
+
1. Detects expert agent (folder with .agent.yaml)
|
|
250
|
+
2. Prompts for personalization
|
|
251
|
+
3. Compiles agent YAML to XML-in-markdown
|
|
252
|
+
4. **Copies sidecar files to installation target**
|
|
253
|
+
5. Creates IDE slash commands
|
|
254
|
+
6. Saves source for reinstallation
|
|
255
|
+
|
|
256
|
+
## Memory Patterns
|
|
257
|
+
|
|
258
|
+
### Accumulative Memory
|
|
259
|
+
|
|
260
|
+
```yaml
|
|
261
|
+
menu:
|
|
262
|
+
- trigger: save
|
|
263
|
+
action: "Update ./sidecar/memories.md with today's session insights"
|
|
264
|
+
description: 'Save session to memory'
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Reference Memory
|
|
268
|
+
|
|
269
|
+
```yaml
|
|
270
|
+
prompts:
|
|
271
|
+
- id: recall
|
|
272
|
+
content: |
|
|
273
|
+
<instructions>
|
|
274
|
+
Reference memories.md naturally:
|
|
275
|
+
"Last week you mentioned..." or "I notice a pattern..."
|
|
276
|
+
</instructions>
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
### Structured Insights
|
|
280
|
+
|
|
281
|
+
```yaml
|
|
282
|
+
menu:
|
|
283
|
+
- trigger: insight
|
|
284
|
+
action: 'Document in ./sidecar/breakthroughs.md with date, context, significance'
|
|
285
|
+
description: 'Record meaningful insight'
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## Domain Restriction Patterns
|
|
289
|
+
|
|
290
|
+
### Single Folder Access
|
|
291
|
+
|
|
292
|
+
```yaml
|
|
293
|
+
critical_actions:
|
|
294
|
+
- 'ONLY read/write files in ./sidecar/ - NO OTHER FOLDERS'
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### User Space Access
|
|
298
|
+
|
|
299
|
+
```yaml
|
|
300
|
+
critical_actions:
|
|
301
|
+
- 'ONLY access files in {user-folder}/journals/ - private space'
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### Read-Only Access
|
|
305
|
+
|
|
306
|
+
```yaml
|
|
307
|
+
critical_actions:
|
|
308
|
+
- 'Load knowledge from ./knowledge/ but NEVER modify'
|
|
309
|
+
- 'Write ONLY to ./sessions/'
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## Best Practices
|
|
313
|
+
|
|
314
|
+
1. **Load sidecar files in critical_actions** - Must be explicit and MANDATORY
|
|
315
|
+
2. **Enforce domain restrictions** - Clear boundaries prevent scope creep
|
|
316
|
+
3. **Use \_bmad/\_memory/[agentname]-sidcar/ paths** - For reference to any sidecar content
|
|
317
|
+
4. **Design for memory growth** - Structure sidecar files for accumulation
|
|
318
|
+
5. **Reference past naturally** - Don't dump memory, weave it into conversation
|
|
319
|
+
6. **Separate concerns** - Memories, instructions, knowledge in distinct files
|
|
320
|
+
7. **Include privacy features** - Users trust expert agents with personal data
|
|
321
|
+
|
|
322
|
+
## Common Patterns
|
|
323
|
+
|
|
324
|
+
### Session Continuity
|
|
325
|
+
|
|
326
|
+
```yaml
|
|
327
|
+
communication_style: |
|
|
328
|
+
I reference past conversations naturally:
|
|
329
|
+
"Last time we discussed..." or "I've noticed over the weeks..."
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### Pattern Recognition
|
|
333
|
+
|
|
334
|
+
```yaml
|
|
335
|
+
critical_actions:
|
|
336
|
+
- 'Track mood patterns, recurring themes, and breakthrough moments'
|
|
337
|
+
- 'Cross-reference current session with historical patterns'
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Adaptive Responses
|
|
341
|
+
|
|
342
|
+
```yaml
|
|
343
|
+
identity: |
|
|
344
|
+
I learn your preferences and adapt my approach over time.
|
|
345
|
+
{{#if track_preferences}}
|
|
346
|
+
I maintain notes about what works best for you.
|
|
347
|
+
{{/if}}
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## Validation Checklist
|
|
351
|
+
|
|
352
|
+
- [ ] Valid YAML syntax
|
|
353
|
+
- [ ] Metadata includes `type: "expert"`
|
|
354
|
+
- [ ] critical_actions loads sidecar files explicitly
|
|
355
|
+
- [ ] critical_actions enforces domain restrictions
|
|
356
|
+
- [ ] Sidecar folder structure created and populated
|
|
357
|
+
- [ ] memories.md has clear section structure
|
|
358
|
+
- [ ] instructions.md contains core directives
|
|
359
|
+
- [ ] Menu actions reference \_bmad/\_memory/[agentname]-sidcar/ correctly if needing sidecar content reference
|
|
360
|
+
- [ ] File paths use \_bmad/\_memory/[agentname]-sidcar/ to reference where the file will be after sidecar content is installed
|
|
361
|
+
- [ ] Install config personalizes sidecar references
|
|
362
|
+
- [ ] Agent folder named consistently: `{agent-name}/`
|
|
363
|
+
- [ ] YAML file named: `{agent-name}.agent.yaml`
|
|
364
|
+
- [ ] Sidecar folder named: `{agent-name}-sidecar/`
|