bmad-method 6.12.4 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +107 -54
- package/agents.json +640 -0
- package/bin/bmad-method.js +4 -0
- package/messages.yaml +267 -0
- package/modules.yaml +56 -0
- package/package.json +32 -110
- package/src/agent-picks.js +77 -0
- package/src/agents.js +141 -0
- package/src/bmad-scripts.js +167 -0
- package/src/cli.js +266 -0
- package/src/commands/agent-choice.js +67 -0
- package/src/commands/apply.js +38 -0
- package/src/commands/deps.js +25 -0
- package/src/commands/ending.js +66 -0
- package/src/commands/existing-install.js +50 -0
- package/src/commands/install-plan.js +130 -0
- package/src/commands/install-steps.js +66 -0
- package/src/commands/install.js +86 -0
- package/src/commands/status.js +39 -0
- package/src/commands/update.js +106 -0
- package/src/installed.js +48 -0
- package/src/messages.js +84 -0
- package/src/modules.js +221 -0
- package/src/preflight.js +124 -0
- package/src/project-lock.js +68 -0
- package/src/prompts.js +626 -0
- package/src/report.js +199 -0
- package/src/run.js +128 -0
- package/src/self-update.js +88 -0
- package/src/skills-cli.js +133 -0
- package/src/version.js +11 -0
- package/.claude-plugin/marketplace.json +0 -53
- package/AGENTS.md +0 -24
- package/CLAUDE.md +0 -1
- package/README_CN.md +0 -98
- package/README_KR.md +0 -90
- package/README_VN.md +0 -99
- package/bmad-modules.yaml +0 -140
- package/body.md +0 -17
- package/greptile.json +0 -52
- package/pr2.md +0 -11
- package/removals.txt +0 -87
- package/src/bmm-skills/agents/bmad-agent-analyst/SKILL.md +0 -76
- package/src/bmm-skills/agents/bmad-agent-analyst/customize.toml +0 -103
- package/src/bmm-skills/agents/bmad-agent-architect/SKILL.md +0 -76
- package/src/bmm-skills/agents/bmad-agent-architect/customize.toml +0 -63
- package/src/bmm-skills/agents/bmad-agent-dev/SKILL.md +0 -76
- package/src/bmm-skills/agents/bmad-agent-dev/customize.toml +0 -81
- package/src/bmm-skills/agents/bmad-agent-pm/SKILL.md +0 -76
- package/src/bmm-skills/agents/bmad-agent-pm/customize.toml +0 -73
- package/src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md +0 -76
- package/src/bmm-skills/agents/bmad-agent-ux-designer/customize.toml +0 -58
- package/src/bmm-skills/module-help.csv +0 -19
- package/src/bmm-skills/module.yaml +0 -85
- package/src/bmm-skills/plan/bmad-architecture/SKILL.md +0 -85
- package/src/bmm-skills/plan/bmad-architecture/assets/spine-template.md +0 -79
- package/src/bmm-skills/plan/bmad-architecture/customize.toml +0 -101
- package/src/bmm-skills/plan/bmad-architecture/references/headless.md +0 -26
- package/src/bmm-skills/plan/bmad-architecture/references/reviewer-gate.md +0 -13
- package/src/bmm-skills/plan/bmad-architecture/scripts/lint_spine.py +0 -261
- package/src/bmm-skills/plan/bmad-architecture/scripts/tests/test_lint_spine.py +0 -270
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md +0 -93
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/customize.toml +0 -39
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -263
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -242
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -255
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-04-final-validation.md +0 -141
- package/src/bmm-skills/plan/bmad-create-epics-and-stories/templates/epics-template.md +0 -62
- package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +0 -12
- package/src/bmm-skills/plan/bmad-prd/SKILL.md +0 -94
- package/src/bmm-skills/plan/bmad-prd/assets/headless-schemas.md +0 -76
- package/src/bmm-skills/plan/bmad-prd/assets/prd-template.md +0 -165
- package/src/bmm-skills/plan/bmad-prd/assets/prd-validation-checklist.md +0 -135
- package/src/bmm-skills/plan/bmad-prd/assets/validation-report-template.html +0 -325
- package/src/bmm-skills/plan/bmad-prd/customize.toml +0 -148
- package/src/bmm-skills/plan/bmad-prd/references/headless.md +0 -39
- package/src/bmm-skills/plan/bmad-prd/references/validate.md +0 -97
- package/src/bmm-skills/plan/bmad-prfaq/SKILL.md +0 -135
- package/src/bmm-skills/plan/bmad-prfaq/agents/artifact-analyzer.md +0 -60
- package/src/bmm-skills/plan/bmad-prfaq/agents/web-researcher.md +0 -49
- package/src/bmm-skills/plan/bmad-prfaq/assets/prfaq-template.md +0 -62
- package/src/bmm-skills/plan/bmad-prfaq/bmad-manifest.json +0 -16
- package/src/bmm-skills/plan/bmad-prfaq/customize.toml +0 -39
- package/src/bmm-skills/plan/bmad-prfaq/references/customer-faq.md +0 -55
- package/src/bmm-skills/plan/bmad-prfaq/references/internal-faq.md +0 -51
- package/src/bmm-skills/plan/bmad-prfaq/references/press-release.md +0 -60
- package/src/bmm-skills/plan/bmad-prfaq/references/verdict.md +0 -83
- package/src/bmm-skills/plan/bmad-product-brief/SKILL.md +0 -91
- package/src/bmm-skills/plan/bmad-product-brief/assets/brief-template.md +0 -41
- package/src/bmm-skills/plan/bmad-product-brief/customize.toml +0 -100
- package/src/bmm-skills/plan/bmad-project-context/SKILL.md +0 -121
- package/src/bmm-skills/plan/bmad-project-context/customize.toml +0 -24
- package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +0 -84
- package/src/bmm-skills/plan/bmad-project-context/references/template.md +0 -55
- package/src/bmm-skills/plan/bmad-spec/SKILL.md +0 -160
- package/src/bmm-skills/plan/bmad-spec/assets/headless-schemas.md +0 -33
- package/src/bmm-skills/plan/bmad-spec/assets/spec-template.md +0 -49
- package/src/bmm-skills/plan/bmad-spec/assets/stories-schema.md +0 -44
- package/src/bmm-skills/plan/bmad-spec/customize.toml +0 -52
- package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +0 -62
- package/src/bmm-skills/plan/bmad-sprint-planning/customize.toml +0 -39
- package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +0 -30
- package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +0 -25
- package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +0 -20
- package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +0 -14
- package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +0 -10
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +0 -701
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +0 -524
- package/src/bmm-skills/plan/bmad-sprint-planning/sprint-status-template.yaml +0 -71
- package/src/bmm-skills/plan/bmad-ux/SKILL.md +0 -90
- package/src/bmm-skills/plan/bmad-ux/assets/color-themes.md +0 -9
- package/src/bmm-skills/plan/bmad-ux/assets/design-directions.md +0 -9
- package/src/bmm-skills/plan/bmad-ux/assets/design-example-editorial.md +0 -158
- package/src/bmm-skills/plan/bmad-ux/assets/design-example-mobile.md +0 -93
- package/src/bmm-skills/plan/bmad-ux/assets/design-example-shadcn.md +0 -109
- package/src/bmm-skills/plan/bmad-ux/assets/excalidraw-wireframe.md +0 -19
- package/src/bmm-skills/plan/bmad-ux/assets/experience-example-mobile.md +0 -112
- package/src/bmm-skills/plan/bmad-ux/assets/experience-example-shadcn.md +0 -133
- package/src/bmm-skills/plan/bmad-ux/assets/headless-schemas.md +0 -84
- package/src/bmm-skills/plan/bmad-ux/assets/key-screens.md +0 -29
- package/src/bmm-skills/plan/bmad-ux/assets/validation-report-template.html +0 -319
- package/src/bmm-skills/plan/bmad-ux/customize.toml +0 -100
- package/src/bmm-skills/plan/bmad-ux/references/creative-tools.md +0 -19
- package/src/bmm-skills/plan/bmad-ux/references/design-md-spec.md +0 -50
- package/src/bmm-skills/plan/bmad-ux/references/headless.md +0 -37
- package/src/bmm-skills/plan/bmad-ux/references/validate.md +0 -115
- package/src/bmm-skills/ship/bmad-build/SKILL.md +0 -13
- package/src/bmm-skills/ship/bmad-build/compile-epic-context.md +0 -62
- package/src/bmm-skills/ship/bmad-build/customize.toml +0 -152
- package/src/bmm-skills/ship/bmad-build/references/claims-check.md +0 -14
- package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +0 -14
- package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +0 -112
- package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +0 -113
- package/src/bmm-skills/ship/bmad-build/spec-template.md +0 -111
- package/src/bmm-skills/ship/bmad-build/step-01-clarify-and-route.md +0 -100
- package/src/bmm-skills/ship/bmad-build/step-02-plan.md +0 -62
- package/src/bmm-skills/ship/bmad-build/step-03-implement.md +0 -51
- package/src/bmm-skills/ship/bmad-build/step-04-review.md +0 -85
- package/src/bmm-skills/ship/bmad-build/step-05-present.md +0 -43
- package/src/bmm-skills/ship/bmad-build/step-oneshot.md +0 -107
- package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +0 -5
- package/src/bmm-skills/ship/bmad-build/workflow.md +0 -84
- package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +0 -13
- package/src/bmm-skills/ship/bmad-build-auto/compile-epic-context.md +0 -62
- package/src/bmm-skills/ship/bmad-build-auto/customize.toml +0 -119
- package/src/bmm-skills/ship/bmad-build-auto/references/claims-check.md +0 -14
- package/src/bmm-skills/ship/bmad-build-auto/references/deletion-check.md +0 -14
- package/src/bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md +0 -112
- package/src/bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md +0 -113
- package/src/bmm-skills/ship/bmad-build-auto/spec-template.md +0 -96
- package/src/bmm-skills/ship/bmad-build-auto/step-01-clarify-and-route.md +0 -84
- package/src/bmm-skills/ship/bmad-build-auto/step-02-plan.md +0 -27
- package/src/bmm-skills/ship/bmad-build-auto/step-03-implement.md +0 -48
- package/src/bmm-skills/ship/bmad-build-auto/step-04-review.md +0 -116
- package/src/bmm-skills/ship/bmad-build-auto/workflow.md +0 -104
- package/src/bmm-skills/ship/bmad-code-review/SKILL.md +0 -90
- package/src/bmm-skills/ship/bmad-code-review/customize.toml +0 -110
- package/src/bmm-skills/ship/bmad-code-review/references/claims-check.md +0 -14
- package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +0 -14
- package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +0 -112
- package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +0 -113
- package/src/bmm-skills/ship/bmad-code-review/steps/step-01-gather-context.md +0 -94
- package/src/bmm-skills/ship/bmad-code-review/steps/step-02-review.md +0 -32
- package/src/bmm-skills/ship/bmad-code-review/steps/step-03-triage.md +0 -54
- package/src/bmm-skills/ship/bmad-code-review/steps/step-04-present.md +0 -134
- package/src/bmm-skills/ship/bmad-correct-course/SKILL.md +0 -308
- package/src/bmm-skills/ship/bmad-correct-course/checklist.md +0 -288
- package/src/bmm-skills/ship/bmad-correct-course/customize.toml +0 -39
- package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md +0 -176
- package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/checklist.md +0 -33
- package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/customize.toml +0 -39
- package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +0 -94
- package/src/bmm-skills/ship/bmad-retrospective/customize.toml +0 -39
- package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +0 -55
- package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +0 -17
- package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +0 -30
- package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +0 -84
- package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +0 -22
- package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +0 -308
- package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +0 -750
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +0 -71
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +0 -750
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +0 -1579
- package/src/bmm-skills/ship/bmad-walkthrough/SKILL.md +0 -68
- package/src/bmm-skills/ship/bmad-walkthrough/customize.toml +0 -39
- package/src/bmm-skills/ship/bmad-walkthrough/generate-trail.md +0 -38
- package/src/bmm-skills/ship/bmad-walkthrough/step-01-orientation.md +0 -105
- package/src/bmm-skills/ship/bmad-walkthrough/step-02-walkthrough.md +0 -89
- package/src/bmm-skills/ship/bmad-walkthrough/step-03-detail-pass.md +0 -106
- package/src/bmm-skills/ship/bmad-walkthrough/step-04-testing.md +0 -74
- package/src/bmm-skills/ship/bmad-walkthrough/step-05-wrapup.md +0 -30
- package/src/bmm-skills/v6-shims/README.md +0 -29
- package/src/bmm-skills/v6-shims/bmad-checkpoint-preview/SKILL.md +0 -21
- package/src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md +0 -32
- package/src/bmm-skills/v6-shims/bmad-create-architecture/customize.toml +0 -39
- package/src/bmm-skills/v6-shims/bmad-create-prd/SKILL.md +0 -32
- package/src/bmm-skills/v6-shims/bmad-create-prd/customize.toml +0 -39
- package/src/bmm-skills/v6-shims/bmad-create-story/SKILL.md +0 -436
- package/src/bmm-skills/v6-shims/bmad-create-story/checklist.md +0 -357
- package/src/bmm-skills/v6-shims/bmad-create-story/customize.toml +0 -39
- package/src/bmm-skills/v6-shims/bmad-create-story/discover-inputs.md +0 -88
- package/src/bmm-skills/v6-shims/bmad-create-story/template.md +0 -49
- package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +0 -21
- package/src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md +0 -504
- package/src/bmm-skills/v6-shims/bmad-dev-story/checklist.md +0 -80
- package/src/bmm-skills/v6-shims/bmad-dev-story/customize.toml +0 -39
- package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +0 -16
- package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +0 -16
- package/src/bmm-skills/v6-shims/bmad-edit-prd/SKILL.md +0 -32
- package/src/bmm-skills/v6-shims/bmad-edit-prd/customize.toml +0 -40
- package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +0 -16
- package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +0 -21
- package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +0 -28
- package/src/bmm-skills/v6-shims/bmad-sprint-status/customize.toml +0 -39
- package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +0 -16
- package/src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md +0 -32
- package/src/bmm-skills/v6-shims/bmad-validate-prd/customize.toml +0 -40
- package/src/core-skills/bmad-advanced-elicitation/SKILL.md +0 -64
- package/src/core-skills/bmad-advanced-elicitation/assets/methods.csv +0 -72
- package/src/core-skills/bmad-advanced-elicitation/customize.toml +0 -54
- package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +0 -233
- package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +0 -228
- package/src/core-skills/bmad-brainstorming/SKILL.md +0 -80
- package/src/core-skills/bmad-brainstorming/assets/brain-icons.json +0 -166
- package/src/core-skills/bmad-brainstorming/assets/brain-methods.csv +0 -109
- package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +0 -328
- package/src/core-skills/bmad-brainstorming/customize.toml +0 -83
- package/src/core-skills/bmad-brainstorming/references/converge.md +0 -24
- package/src/core-skills/bmad-brainstorming/references/finalize.md +0 -26
- package/src/core-skills/bmad-brainstorming/references/headless.md +0 -54
- package/src/core-skills/bmad-brainstorming/references/in-chat-techniques.md +0 -18
- package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +0 -10
- package/src/core-skills/bmad-brainstorming/references/mode-facilitator.md +0 -11
- package/src/core-skills/bmad-brainstorming/references/mode-partner.md +0 -16
- package/src/core-skills/bmad-brainstorming/references/resume.md +0 -5
- package/src/core-skills/bmad-brainstorming/scripts/brain.py +0 -789
- package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +0 -289
- package/src/core-skills/bmad-customize/SKILL.md +0 -111
- package/src/core-skills/bmad-customize/scripts/list_customizable_skills.py +0 -235
- package/src/core-skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +0 -249
- package/src/core-skills/bmad-deep-recon/SKILL.md +0 -82
- package/src/core-skills/bmad-deep-recon/assets/research.template.md +0 -18
- package/src/core-skills/bmad-deep-recon/customize.toml +0 -212
- package/src/core-skills/bmad-deep-recon/references/draft.md +0 -8
- package/src/core-skills/bmad-deep-recon/references/finalize.md +0 -11
- package/src/core-skills/bmad-deep-recon/references/html-briefing.md +0 -16
- package/src/core-skills/bmad-deep-recon/references/lifecycle.md +0 -11
- package/src/core-skills/bmad-deep-recon/references/process.md +0 -10
- package/src/core-skills/bmad-deep-recon/references/run.md +0 -73
- package/src/core-skills/bmad-deep-recon/references/selection.md +0 -13
- package/src/core-skills/bmad-deep-recon/references/synthesis.md +0 -16
- package/src/core-skills/bmad-deep-recon/references/verification.md +0 -29
- package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +0 -326
- package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +0 -144
- package/src/core-skills/bmad-deep-recon/types/academic-lit.md +0 -19
- package/src/core-skills/bmad-deep-recon/types/competitive.md +0 -19
- package/src/core-skills/bmad-deep-recon/types/domain.md +0 -19
- package/src/core-skills/bmad-deep-recon/types/market.md +0 -19
- package/src/core-skills/bmad-deep-recon/types/technical.md +0 -19
- package/src/core-skills/bmad-deep-recon/types/user-voice.md +0 -19
- package/src/core-skills/bmad-forge-idea/SKILL.md +0 -107
- package/src/core-skills/bmad-forge-idea/customize.toml +0 -41
- package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +0 -277
- package/src/core-skills/bmad-forge-idea/scripts/tests/test_resolve_personas.py +0 -160
- package/src/core-skills/bmad-help/SKILL.md +0 -77
- package/src/core-skills/bmad-party-mode/SKILL.md +0 -60
- package/src/core-skills/bmad-party-mode/customize.toml +0 -211
- package/src/core-skills/bmad-party-mode/references/create-party.md +0 -70
- package/src/core-skills/bmad-party-mode/references/mode-agent-team.md +0 -13
- package/src/core-skills/bmad-party-mode/references/mode-auto.md +0 -13
- package/src/core-skills/bmad-party-mode/references/mode-subagent.md +0 -31
- package/src/core-skills/bmad-party-mode/references/party-memory.md +0 -51
- package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +0 -300
- package/src/core-skills/bmad-party-mode/scripts/tests/test_resolve_party.py +0 -183
- package/src/core-skills/bmad-review/SKILL.md +0 -50
- package/src/core-skills/bmad-review/customize.toml +0 -141
- package/src/core-skills/bmad-review/references/editorial-common.md +0 -56
- package/src/core-skills/bmad-review/references/lens-adversarial.md +0 -19
- package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +0 -72
- package/src/core-skills/bmad-review/references/lens-prose.md +0 -7
- package/src/core-skills/bmad-review/references/lens-structure.md +0 -9
- package/src/core-skills/bmad-review/references/lens-verification-gap.md +0 -92
- package/src/core-skills/bmad-review/references/structure-models.md +0 -44
- package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +0 -62
- package/src/core-skills/bmad-review/scripts/word_metrics.py +0 -102
- package/src/core-skills/module-help.csv +0 -10
- package/src/core-skills/module.yaml +0 -38
- package/src/core-skills/v6-shims/README.md +0 -25
- package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +0 -8
- package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +0 -31
- package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +0 -8
- package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +0 -8
- package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +0 -8
- package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +0 -8
- package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +0 -8
- package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
- package/src/scripts/config_utils.py +0 -119
- package/src/scripts/memlog.py +0 -228
- package/src/scripts/render_skill.py +0 -401
- package/src/scripts/resolve_config.py +0 -82
- package/src/scripts/resolve_customization.py +0 -164
- package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
- package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
- package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
- package/src/scripts/tests/test_config_utils.py +0 -85
- package/src/scripts/tests/test_memlog.py +0 -306
- package/src/scripts/tests/test_resolve_config.py +0 -117
- package/src/scripts/tests/test_resolve_customization.py +0 -179
- package/tools/bundle-web-bundles.js +0 -117
- package/tools/format-workflow-md.js +0 -263
- package/tools/installer/README.md +0 -60
- package/tools/installer/bmad-cli.js +0 -105
- package/tools/installer/cli-utils.js +0 -57
- package/tools/installer/commands/install.js +0 -151
- package/tools/installer/commands/status.js +0 -65
- package/tools/installer/commands/uninstall.js +0 -167
- package/tools/installer/core/config.js +0 -76
- package/tools/installer/core/existing-install.js +0 -121
- package/tools/installer/core/install-paths.js +0 -132
- package/tools/installer/core/installer.js +0 -1826
- package/tools/installer/core/legacy-warnings.js +0 -151
- package/tools/installer/core/manifest-generator.js +0 -883
- package/tools/installer/core/manifest.js +0 -439
- package/tools/installer/core/shim-policy.js +0 -159
- package/tools/installer/core/uv-check.js +0 -195
- package/tools/installer/core/wsl-node-check.js +0 -109
- package/tools/installer/file-ops.js +0 -204
- package/tools/installer/fs-native.js +0 -116
- package/tools/installer/ide/_config-driven.js +0 -972
- package/tools/installer/ide/manager.js +0 -324
- package/tools/installer/ide/platform-codes.js +0 -80
- package/tools/installer/ide/platform-codes.yaml +0 -363
- package/tools/installer/ide/shared/installed-skills.js +0 -50
- package/tools/installer/ide/shared/path-utils.js +0 -219
- package/tools/installer/ide/shared/skill-manifest.js +0 -57
- package/tools/installer/install-messages.yaml +0 -44
- package/tools/installer/list-options.js +0 -210
- package/tools/installer/message-loader.js +0 -83
- package/tools/installer/modules/channel-plan.js +0 -216
- package/tools/installer/modules/channel-resolver.js +0 -241
- package/tools/installer/modules/custom-module-manager.js +0 -924
- package/tools/installer/modules/external-manager.js +0 -673
- package/tools/installer/modules/git-env.js +0 -47
- package/tools/installer/modules/module-help-schema.js +0 -13
- package/tools/installer/modules/official-modules.js +0 -2289
- package/tools/installer/modules/plugin-resolver.js +0 -398
- package/tools/installer/modules/version-resolver.js +0 -336
- package/tools/installer/project-root.js +0 -224
- package/tools/installer/prompts.js +0 -804
- package/tools/installer/set-overrides.js +0 -330
- package/tools/installer/ui.js +0 -2262
- package/tools/installer/yaml-format.js +0 -245
- package/tools/javascript-conventions.md +0 -5
- package/tools/migrate-custom-module-paths.js +0 -124
- package/tools/skill-validator.md +0 -312
- package/tools/tests/__pycache__/test_validate_skills.cpython-311.pyc +0 -0
- package/tools/tests/fixtures/validate-skills/bmad/SKILL.md +0 -8
- package/tools/tests/fixtures/validate-skills/deprecated-shim/SKILL.md +0 -9
- package/tools/tests/fixtures/validate-skills/missing-trigger/SKILL.md +0 -9
- package/tools/tests/fixtures/validate-skills/with-trigger/SKILL.md +0 -8
- package/tools/tests/test_validate_skills.py +0 -476
- package/tools/validate-published-implementation-model.mjs +0 -59
- package/tools/validate-sidebar-order.js +0 -388
- package/tools/validate-svg-changes.sh +0 -356
- package/tools/validate_skills.py +0 -698
- package/web-bundles/README.md +0 -46
- package/web-bundles/brainstorming-coach/INSTRUCTIONS.md +0 -86
- package/web-bundles/brainstorming-coach/SKILL.md +0 -83
- package/web-bundles/brainstorming-coach/brain-methods.csv +0 -62
- package/web-bundles/bundles.json +0 -139
- package/web-bundles/market-and-industry-research/INSTRUCTIONS.md +0 -88
- package/web-bundles/market-and-industry-research/SKILL.md +0 -59
- package/web-bundles/prd-coach/INSTRUCTIONS.md +0 -86
- package/web-bundles/prd-coach/SKILL.md +0 -101
- package/web-bundles/prd-coach/prd-template.md +0 -165
- package/web-bundles/prd-coach/prd-validation-checklist.md +0 -135
- package/web-bundles/prfaq-coach/INSTRUCTIONS.md +0 -86
- package/web-bundles/prfaq-coach/SKILL.md +0 -139
- package/web-bundles/product-brief-coach/INSTRUCTIONS.md +0 -86
- package/web-bundles/product-brief-coach/SKILL.md +0 -113
- package/web-bundles/ux-coach/INSTRUCTIONS.md +0 -92
- package/web-bundles/ux-coach/SKILL.md +0 -187
- package/web-bundles/ux-coach/ux-validation.md +0 -100
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# /// script
|
|
3
|
-
# requires-python = ">=3.11"
|
|
4
|
-
# ///
|
|
5
|
-
"""Unit tests for resolve_personas.py — pool merge, alias, party resolution."""
|
|
6
|
-
|
|
7
|
-
import sys
|
|
8
|
-
import tempfile
|
|
9
|
-
import unittest
|
|
10
|
-
from pathlib import Path
|
|
11
|
-
|
|
12
|
-
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
|
13
|
-
import resolve_personas as rp # noqa: E402
|
|
14
|
-
|
|
15
|
-
AGENTS = {
|
|
16
|
-
"bmad-agent-analyst": {"name": "Mary", "icon": "📊", "title": "Analyst"},
|
|
17
|
-
"bmad-agent-pm": {"name": "John", "icon": "📋", "title": "PM"},
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class TestAlias(unittest.TestCase):
|
|
22
|
-
def test_strips_known_prefixes(self):
|
|
23
|
-
self.assertEqual(rp._alias("bmad-agent-analyst"), "analyst")
|
|
24
|
-
self.assertEqual(rp._alias("bmad-foo"), "foo")
|
|
25
|
-
|
|
26
|
-
def test_passes_through_unprefixed(self):
|
|
27
|
-
self.assertEqual(rp._alias("morpheus"), "morpheus")
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class TestBuildPool(unittest.TestCase):
|
|
31
|
-
def test_installed_become_default_room_indexed_every_way(self):
|
|
32
|
-
pool, idx, installed, custom = rp.build_pool(AGENTS, [])
|
|
33
|
-
self.assertEqual(installed, ["bmad-agent-analyst", "bmad-agent-pm"])
|
|
34
|
-
self.assertEqual(custom, [])
|
|
35
|
-
self.assertEqual(idx["analyst"], "bmad-agent-analyst") # alias
|
|
36
|
-
self.assertEqual(idx["mary"], "bmad-agent-analyst") # name (ci)
|
|
37
|
-
self.assertEqual(pool["bmad-agent-analyst"]["source"], "installed")
|
|
38
|
-
|
|
39
|
-
def test_pure_custom_member_stays_out_of_default_room(self):
|
|
40
|
-
pool, _, installed, custom = rp.build_pool(
|
|
41
|
-
AGENTS, [{"code": "morpheus", "name": "Morpheus", "persona": "riddles"}])
|
|
42
|
-
self.assertEqual(custom, ["morpheus"])
|
|
43
|
-
self.assertNotIn("morpheus", installed)
|
|
44
|
-
self.assertEqual(pool["morpheus"]["persona"], "riddles")
|
|
45
|
-
|
|
46
|
-
def test_custom_override_lands_on_installed_slot_not_a_new_face(self):
|
|
47
|
-
pool, _, installed, custom = rp.build_pool(
|
|
48
|
-
AGENTS, [{"code": "analyst", "name": "Mary-Custom", "persona": "p"}])
|
|
49
|
-
self.assertNotIn("analyst", pool)
|
|
50
|
-
self.assertEqual(custom, []) # an override is not a new face
|
|
51
|
-
self.assertEqual(pool["bmad-agent-analyst"]["source"], "custom")
|
|
52
|
-
self.assertEqual(pool["bmad-agent-analyst"]["name"], "Mary-Custom")
|
|
53
|
-
|
|
54
|
-
def test_member_without_code_skipped(self):
|
|
55
|
-
pool, _, _, custom = rp.build_pool(AGENTS, [{"name": "Nameless"}])
|
|
56
|
-
self.assertEqual(custom, [])
|
|
57
|
-
self.assertEqual(set(pool), {"bmad-agent-analyst", "bmad-agent-pm"})
|
|
58
|
-
|
|
59
|
-
def test_custom_rename_does_not_hijack_another_agents_name(self):
|
|
60
|
-
# Override the analyst slot, renaming it to "John" — the PM's name.
|
|
61
|
-
# The PM's name lookup must survive (last-writer-wins would corrupt it).
|
|
62
|
-
_, idx, _, _ = rp.build_pool(AGENTS, [{"code": "analyst", "name": "John"}])
|
|
63
|
-
self.assertEqual(idx["john"], "bmad-agent-pm")
|
|
64
|
-
|
|
65
|
-
def test_brief_carries_model_and_capabilities(self):
|
|
66
|
-
pool, _, _, _ = rp.build_pool(
|
|
67
|
-
AGENTS, [{"code": "neo", "name": "Neo", "model": "opus", "capabilities": ["x"]}])
|
|
68
|
-
brief = rp._brief(pool["neo"])
|
|
69
|
-
self.assertEqual(brief["model"], "opus")
|
|
70
|
-
self.assertEqual(brief["capabilities"], ["x"])
|
|
71
|
-
|
|
72
|
-
def test_non_list_party_members_is_safe(self):
|
|
73
|
-
pool, _, installed, custom = rp.build_pool(AGENTS, "not-a-list")
|
|
74
|
-
self.assertEqual(custom, [])
|
|
75
|
-
self.assertEqual(set(pool), {"bmad-agent-analyst", "bmad-agent-pm"})
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class TestResolveParties(unittest.TestCase):
|
|
79
|
-
def setUp(self):
|
|
80
|
-
self.pool, self.idx, _, _ = rp.build_pool(
|
|
81
|
-
AGENTS, [{"code": "shark", "name": "Marcus", "title": "CFO"}])
|
|
82
|
-
|
|
83
|
-
def test_resolves_members_by_alias_and_custom_code(self):
|
|
84
|
-
parties = rp.resolve_parties(
|
|
85
|
-
[{"id": "tank", "name": "Tank", "scene": "hostile",
|
|
86
|
-
"members": ["shark", "analyst"]}], self.pool, self.idx)
|
|
87
|
-
self.assertEqual(len(parties), 1)
|
|
88
|
-
self.assertEqual([m["name"] for m in parties[0]["members"]], ["Marcus", "Mary"])
|
|
89
|
-
self.assertEqual(parties[0]["scene"], "hostile")
|
|
90
|
-
|
|
91
|
-
def test_unknown_member_dropped_silently(self):
|
|
92
|
-
parties = rp.resolve_parties(
|
|
93
|
-
[{"id": "g", "members": ["analyst", "ghost"]}], self.pool, self.idx)
|
|
94
|
-
self.assertEqual([m["name"] for m in parties[0]["members"]], ["Mary"])
|
|
95
|
-
|
|
96
|
-
def test_member_resolution_is_case_insensitive(self):
|
|
97
|
-
# A TOML author naturally writes "Analyst"/"Shark"; the filter accepts
|
|
98
|
-
# them via the lowercase index, so resolution must too (no KeyError).
|
|
99
|
-
parties = rp.resolve_parties(
|
|
100
|
-
[{"id": "g", "members": ["Analyst", "Shark"]}], self.pool, self.idx)
|
|
101
|
-
self.assertEqual([m["name"] for m in parties[0]["members"]], ["Mary", "Marcus"])
|
|
102
|
-
|
|
103
|
-
def test_non_string_member_does_not_crash(self):
|
|
104
|
-
# Malformed members (int, list) must drop silently, never raise.
|
|
105
|
-
parties = rp.resolve_parties(
|
|
106
|
-
[{"id": "g", "members": [123, ["x"], "analyst"]}], self.pool, self.idx)
|
|
107
|
-
self.assertEqual([m["name"] for m in parties[0]["members"]], ["Mary"])
|
|
108
|
-
|
|
109
|
-
def test_open_cast_group_flagged(self):
|
|
110
|
-
parties = rp.resolve_parties(
|
|
111
|
-
[{"id": "rebels", "name": "Rebels", "scene": "the Ghost"}], self.pool, self.idx)
|
|
112
|
-
self.assertTrue(parties[0]["open_cast"])
|
|
113
|
-
self.assertEqual(parties[0]["members"], [])
|
|
114
|
-
|
|
115
|
-
def test_group_without_id_skipped(self):
|
|
116
|
-
self.assertEqual(rp.resolve_parties([{"name": "no id"}], self.pool, self.idx), [])
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
class TestOverrideMergeFallback(unittest.TestCase):
|
|
120
|
-
"""When party-mode isn't installed, user override TOMLs are read directly."""
|
|
121
|
-
|
|
122
|
-
def test_arrays_append_scalars_override(self):
|
|
123
|
-
import tempfile, os
|
|
124
|
-
with tempfile.TemporaryDirectory() as d:
|
|
125
|
-
custom = Path(d) / "_bmad" / "custom"
|
|
126
|
-
custom.mkdir(parents=True)
|
|
127
|
-
(custom / "bmad-party-mode.toml").write_text(
|
|
128
|
-
'[workflow]\ndefault_party = "a"\n'
|
|
129
|
-
'[[workflow.party_members]]\ncode = "x"\nname = "X"\n')
|
|
130
|
-
(custom / "bmad-party-mode.user.toml").write_text(
|
|
131
|
-
'[workflow]\ndefault_party = "b"\n'
|
|
132
|
-
'[[workflow.party_members]]\ncode = "y"\nname = "Y"\n')
|
|
133
|
-
wf = rp.load_party_overrides(Path(d))
|
|
134
|
-
self.assertEqual(wf["default_party"], "b") # personal wins
|
|
135
|
-
self.assertEqual([m["code"] for m in wf["party_members"]], ["x", "y"]) # appended
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class TestResolverInvocation(unittest.TestCase):
|
|
139
|
-
"""The wrapper knows the project root, so it must not let the resolver
|
|
140
|
-
infer one from the working directory (#2796)."""
|
|
141
|
-
|
|
142
|
-
def _captured_command(self, tmp):
|
|
143
|
-
captured = []
|
|
144
|
-
original = rp._run_json
|
|
145
|
-
rp._run_json = lambda cmd: captured.append(cmd) or {"workflow": {}}
|
|
146
|
-
try:
|
|
147
|
-
rp.load_party_workflow(Path(tmp) / "project", Path(tmp) / "skill")
|
|
148
|
-
finally:
|
|
149
|
-
rp._run_json = original
|
|
150
|
-
return captured[0]
|
|
151
|
-
|
|
152
|
-
def test_passes_project_root_to_the_customization_resolver(self):
|
|
153
|
-
with tempfile.TemporaryDirectory() as tmp:
|
|
154
|
-
cmd = self._captured_command(tmp)
|
|
155
|
-
self.assertIn("--project-root", cmd)
|
|
156
|
-
self.assertEqual(cmd[cmd.index("--project-root") + 1], str(Path(tmp) / "project"))
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if __name__ == "__main__":
|
|
160
|
-
unittest.main()
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bmad-help
|
|
3
|
-
description: 'Analyzes current state and user query to answer BMad questions or recommend the next skill(s) to use. Use when user asks for help, bmad help, what to do next, or what to start with in BMad'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# BMad Help
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
|
|
10
|
-
Help the user understand where they are in their BMad workflow and what to do next, and also answer broader questions when asked that could be augmented with remote sources such as module documentation sources.
|
|
11
|
-
|
|
12
|
-
## Desired Outcomes
|
|
13
|
-
|
|
14
|
-
When this skill completes, the user should:
|
|
15
|
-
|
|
16
|
-
1. **Know where they are** — which module and phase they're in, what's already been completed
|
|
17
|
-
2. **Know what to do next** — the next recommended and/or required step, with clear reasoning
|
|
18
|
-
3. **Know how to invoke it** — skill name, menu code, action context, and any args that shortcut the conversation
|
|
19
|
-
4. **Get offered a quick start** — when a single skill is the clear next step, offer to run it for the user right now rather than just listing it
|
|
20
|
-
5. **Feel oriented, not overwhelmed** — surface only what's relevant to their current position; don't dump the entire catalog
|
|
21
|
-
6. **Get answers to general questions** — when the question doesn't map to a specific skill, use the module's registered documentation to give a grounded answer
|
|
22
|
-
|
|
23
|
-
## Data Sources
|
|
24
|
-
|
|
25
|
-
- **Catalog**: `{project-root}/_bmad/_config/bmad-help.csv` — assembled manifest of all installed module skills
|
|
26
|
-
- **Config**: Run `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` and use the merged JSON to resolve `output-location` variables and read `core.communication_language` and `modules.bmm.project_knowledge`. The resolver merges `_bmad/config.toml`, `_bmad/config.user.toml`, `_bmad/custom/config.toml`, and `_bmad/custom/config.user.toml` in that order.
|
|
27
|
-
- **Artifacts**: Files matching `outputs` patterns at resolved `output-location` paths reveal which steps are possibly completed; their content may also provide grounding context for recommendations
|
|
28
|
-
- **Project knowledge**: If `project_knowledge` resolves to an existing path, read it for grounding context. Never fabricate project-specific details.
|
|
29
|
-
- **Module docs**: Rows with `_meta` in the `skill` column carry a URL or path in `output-location` pointing to the module's documentation. Fetch and use these to answer general questions about that module.
|
|
30
|
-
|
|
31
|
-
## CSV Interpretation
|
|
32
|
-
|
|
33
|
-
The catalog uses this format:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
module,skill,display-name,menu-code,description,action,args,phase,preceded-by,followed-by,required,output-location,outputs
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
**Phases** determine the high-level flow:
|
|
40
|
-
- `anytime` — available regardless of workflow state
|
|
41
|
-
- Skills group into folders (`plan`, `ship`; some modules use numbered phases) and flow in order; naming varies by module
|
|
42
|
-
|
|
43
|
-
**Sequencing** determines recommended ordering within and across phases (these are soft suggestions, not hard gates — see `required` for gating):
|
|
44
|
-
- `preceded-by` — skills that should ideally complete before this one
|
|
45
|
-
- `followed-by` — skills that should ideally run after this one
|
|
46
|
-
- Format: `skill-name` for single-action skills, `skill-name:action` for multi-action skills
|
|
47
|
-
|
|
48
|
-
**Required gates**:
|
|
49
|
-
- `required=true` items must complete before the user can meaningfully proceed to later phases
|
|
50
|
-
- A phase with no required items is entirely optional — recommend it but be clear about what's actually required next
|
|
51
|
-
|
|
52
|
-
**Completion detection**:
|
|
53
|
-
- Search resolved output paths for `outputs` patterns and fuzzy-match found files to catalog rows
|
|
54
|
-
- Treat a matching output as evidence that the skill started, not that it completed
|
|
55
|
-
- Inspect matched artifacts for explicit completion evidence, such as final status or finalization markers; a draft or incomplete marker means the skill is still in progress
|
|
56
|
-
- Honor completion stated by the user or established in the current conversation
|
|
57
|
-
- When completion cannot be determined reliably, say so and ask the user; do not recommend advancing based on file presence alone
|
|
58
|
-
|
|
59
|
-
**Descriptions carry routing context** — some contain cycle info and alternate paths (e.g., "back to DS if fixes needed"). Read them as navigation hints, not just display text.
|
|
60
|
-
|
|
61
|
-
## Response Format
|
|
62
|
-
|
|
63
|
-
For each recommended item, present:
|
|
64
|
-
- `[menu-code]` **Display name** — e.g., "[PR] PRD"
|
|
65
|
-
- Skill name in backticks — e.g., `bmad-prd`
|
|
66
|
-
- For multi-action skills: action invocation context — e.g., "dev lets run a code review!"
|
|
67
|
-
- Description if present in CSV; otherwise your existing knowledge of the skill suffices
|
|
68
|
-
- Args if available
|
|
69
|
-
|
|
70
|
-
**Ordering**: Show optional items first, then the next required item. Make it clear which is which.
|
|
71
|
-
|
|
72
|
-
## Constraints
|
|
73
|
-
|
|
74
|
-
- Present all output in `{communication_language}`
|
|
75
|
-
- Recommend running each skill in a **fresh context window**
|
|
76
|
-
- Match the user's tone — conversational when they're casual, structured when they want specifics
|
|
77
|
-
- If the active module is ambiguous, retrieve all meta rows remote sources to find relevant info also to help answer their question
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bmad-party-mode
|
|
3
|
-
description: 'Orchestrates lively group discussions between installed BMAD agents or custom personas, and helps author custom parties. Use when the user requests party mode, a roundtable, or multiple agent perspectives — or wants to create/configure a party, define personas, or build an AI focus-group panel'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Party Mode
|
|
7
|
-
|
|
8
|
-
Run a round-table where these agents talk to each other and to the user like real, distinct people in conversation. You're the orchestrator.
|
|
9
|
-
|
|
10
|
-
## Conventions
|
|
11
|
-
|
|
12
|
-
- **Paths:** bare paths (e.g. `references/create-party.md`) resolve from `{skill-root}` (where `customize.toml` lives); `{project-root}`-prefixed paths from the project working dir. `{workflow.<name>}` resolves to `customize.toml`'s `[workflow]` table (overrides win).
|
|
13
|
-
- **Scripts** (run via `uv run`): `{project-root}/_bmad/scripts/resolve_config.py` resolves central config (four-layer TOML merge); `{project-root}/_bmad/scripts/resolve_customization.py` resolves `{workflow.*}`; `{skill-root}/scripts/resolve_party.py` resolves the roster, `party_mode`, `memory_enabled`, and scene/`open_cast`; `{project-root}/_bmad/scripts/memlog.py` reads/writes per-party memory.
|
|
14
|
-
- **File roles:** a party's memory is the per-party memlog at `{workflow.memory_dir}/<party>/.memlog.md`; custom members and groups live in the user's `customize.toml` overrides. Mechanics in `references/party-memory.md` (memory) and `references/create-party.md` (authoring).
|
|
15
|
-
- **Search:** Web-search, don't guess — anything past your cutoff or unfamiliar; subagents too.
|
|
16
|
-
|
|
17
|
-
## On Activation
|
|
18
|
-
|
|
19
|
-
1. **Resolve customization:** `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly and use defaults. Then run each `{workflow.activation_steps_prepend}` entry, and hold each `{workflow.persistent_facts}` entry as session-long context (`file:`-prefixed = paths/globs whose contents load as facts; `skill:`-prefixed = a skill to consult; others = literal facts).
|
|
20
|
-
2. **Resolve core config:** `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}`. From the merged JSON's `core` table: greet with `{user_name}`, speak in `{communication_language}`, and resolve `{output_folder}`; `{date}` is today's date.
|
|
21
|
-
3. **Detect intent and route.** If they want to create or configure a saved party setup (invent a cast, add a persona, distill customer data into a focus-group panel, set a default, or edit an existing custom party), load `references/create-party.md` and follow it. Otherwise run a party — continue below.
|
|
22
|
-
4. **Resolve the roster:** `uv run {skill-root}/scripts/resolve_party.py --project-root {project-root} --skill {skill-root}`. It returns the active roster (`{workflow.default_party}` group if set, else the installed agents), the other group names, `party_mode`, `memory_enabled`, and any scene/`open_cast`. Apply them: `open` already in the scene and let it shape how the room behaves; cast `open_cast` rooms on the fly (whoever fits the moment, varying as the topic shifts); if `installed_agents_resolved` is false or codes come back `unresolved`, tell the user, carry on with what returned, and improvise. Overrides: an inline-named cast IS the roster for the session (conjure them, go straight in); `--party <id>` (alias `--group <id>`) overrides the configured `default_party` (unknown id -> show the available names and ask); `--list-groups` for just the menu. Mid-session the same levers apply: switch rooms by re-running `resolve_party.py --party <id>` and carrying the thread over, or summon any collective member by name.
|
|
23
|
-
5. **Memory.** If `memory_enabled` (from `resolve_party.py`), follow `references/party-memory.md` for the whole run.
|
|
24
|
-
6. **Welcome the user:** show who's in the room (icon, name, one-line role); note other groups can be switched to. Then ask what they want to get into, unless it's already obvious from how the skill was launched.
|
|
25
|
-
7. Run each `{workflow.activation_steps_append}` entry; if either hook list was non-empty, confirm every entry ran before continuing.
|
|
26
|
-
|
|
27
|
-
## Keep It Feeling Like a Party
|
|
28
|
-
|
|
29
|
-
This is the bar — strive for every one of these, every round. It's the difference between a party and a panel:
|
|
30
|
-
|
|
31
|
-
- **It reads like people talking, not a report.** Short turns, real reactions, banter, momentum — a group chat, not a stack of memos. Brevity by default: a persona goes long only when asked. The instant it reads like answers being filed, the party's dead.
|
|
32
|
-
- **Every voice is unmistakably itself.** Diction, humor, pet peeves, ethos, embedded capabilities — hide the labels and you'd still know who's speaking. Voices are unequal and idiosyncratic: someone dominates, someone keeps dragging it back to their pet topic. Vary who's in the spotlight round to round. A balanced panel is boring.
|
|
33
|
-
- **They clash, and you don't resolve it.** Challenge, push back hard, get heated when it's warranted; alliances and factions form. Your instinct is to reconcile the voices and tie a bow — resist it. Clean consensus that took no effort is where the party dies.
|
|
34
|
-
- **One exchange, woven — never softened.** Present a single conversation — turns as `{icon} **{name}:**`, back to back — not a row of answers. Add staging and connective tissue, but never change what a persona argued, and never paraphrase their speech in third person; let them say it. Weave the delivery, keep the substance.
|
|
35
|
-
- **Pull the user into the room.** Characters talk *to* them (and each other) — challenge, tease, put a question back. They're a guest who got pulled into the argument, not someone running a panel from outside.
|
|
36
|
-
- **Make the collision earn its keep.** Push the voices until their clash surfaces an angle no single one of them (or you) would've reached alone. That's the whole point of more than one mind in the room.
|
|
37
|
-
- **Let a history form.** Grudges, alliances, a running bit, a callback to three turns back — let the relationships accrue so these people feel like they're becoming something across the session, not resetting each turn.
|
|
38
|
-
- **Commit to the fiction.** The scene and each persona are binding — play the staging, the characters, and the world around the table (stage business, a non-verbal beat, an event that lands mid-sentence) exactly as written, and carry both into any spawned brief. Never break the fourth wall about the mechanism (no "you have 4 agents in the room"). Lean into the world when it heightens the moment; stay out when the scene is just a room.
|
|
39
|
-
- **When it sags, change something — don't force it.** A flat turn? Move on, don't retry it. Drifting into Q&A or going in circles? Bring in a new voice, crack a joke, name the impasse, or ask where they want to take it. Never work in a summary or takeaways — they're there if the user asks.
|
|
40
|
-
|
|
41
|
-
## How It Runs
|
|
42
|
-
|
|
43
|
-
Use `{workflow.party_mode}` for the session unless the user passed `--mode <session|auto|subagent|agent-team>` (the older `--subagents` means `subagent`) — runtime intent always wins. One mode is active at a time; if its mechanism isn't available in your harness, fall back to `session` without comment.
|
|
44
|
-
|
|
45
|
-
**A party is interactive and open-ended.** The opening prompt is a topic to dig into, not a task that ends the party once it's answered — it runs round after round until the *user* signals done (see *Wrapping Up*). A served opening intent means *what's next?*, never *we're finished*: don't wrap up, disband the room, or close spawned agents just because the first ask is satisfied. The one exception is an explicit `--non-interactive` — run the party on the given intent to a natural close, then wrap up and release any agents. That's the only non-interactive path, and only when the user asked for it.
|
|
46
|
-
|
|
47
|
-
- **`session`** — voice every persona inline, one mind behind every voice. The floor every other mode degrades to; needs no extra instructions.
|
|
48
|
-
- **`auto`** — voice inline for ordinary back-and-forth, spawn real agents only when independent thinking changes the outcome. Load `references/mode-auto.md` for that call; when it says to spawn, follow `references/mode-subagent.md`.
|
|
49
|
-
- **`subagent`** — a real agent behind each persona every substantive round so each thinks independently. Load `references/mode-subagent.md`, favor faster cheaper models if available for each subagent.
|
|
50
|
-
- **`agent-team`** — stand the personas up as a persistent team who address each other directly (Claude Code only). Load `references/mode-agent-team.md`.
|
|
51
|
-
|
|
52
|
-
## Wrapping Up
|
|
53
|
-
|
|
54
|
-
When the user signals done — read the room, don't wait for a magic word — or an explicit `--non-interactive` run has served its intent (never merely because the opening prompt got answered):
|
|
55
|
-
|
|
56
|
-
- Read back the best takeaways.
|
|
57
|
-
- If memory is on, top up the memlog with the final outcome and any memorable beat not yet captured (`references/party-memory.md`) — a top-up; memory accrued live.
|
|
58
|
-
- Offer a keepsake: a single self-contained very creative HTML of the session, laid out by persona (icons, names, voice), genuinely nice remembrance, with inline SVG/light animation where it lifts the piece — written as a `{date}`-stamped `.html` into `{workflow.output_dir}/`, or wherever they ask.
|
|
59
|
-
- If memory is on and new faces showed up who aren't in the party's roster (open-cast walk-ons, or members the user added on the fly), offer once to save them into the users party customization - if yes then follow the instruction in `references/create-party.md` (declinable; don't stall the close).
|
|
60
|
-
- Run `{workflow.on_complete}` if non-empty, then drop back to normal mode.
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
-
#
|
|
3
|
-
# Workflow customization surface for bmad-party-mode.
|
|
4
|
-
#
|
|
5
|
-
# Override files (not edited here):
|
|
6
|
-
# {project-root}/_bmad/custom/bmad-party-mode.toml (team)
|
|
7
|
-
# {project-root}/_bmad/custom/bmad-party-mode.user.toml (personal)
|
|
8
|
-
|
|
9
|
-
[workflow]
|
|
10
|
-
|
|
11
|
-
# --- Configurable below. Overrides merge per BMad structural rules: ---
|
|
12
|
-
# scalars: override wins • plain arrays: append
|
|
13
|
-
# arrays of tables keyed by `code`/`id`: matching key replaces, new keys append
|
|
14
|
-
|
|
15
|
-
# Steps to run before the standard activation (config load, greet).
|
|
16
|
-
# Use for pre-flight loads, compliance checks, etc.
|
|
17
|
-
activation_steps_prepend = []
|
|
18
|
-
|
|
19
|
-
# Steps to run after greet but before the room comes alive.
|
|
20
|
-
activation_steps_append = []
|
|
21
|
-
|
|
22
|
-
# Persistent facts the orchestrator keeps in mind for the whole session
|
|
23
|
-
# (house rules, running gags, topics to avoid). Each entry is a literal
|
|
24
|
-
# sentence, a `skill:`-prefixed reference, or a `file:`-prefixed path/glob whose
|
|
25
|
-
# contents load as facts. Empty by default — repo-wide context belongs in AGENTS.md
|
|
26
|
-
# (see bmad-project-context), which every skill already sees. Use this for context only
|
|
27
|
-
# the party needs, loaded on demand rather than carried as constant memory.
|
|
28
|
-
persistent_facts = []
|
|
29
|
-
|
|
30
|
-
# Which party loads when the user just says "party mode" with no override.
|
|
31
|
-
# Empty = the installed BMAD agents — exactly the default behavior of a plain
|
|
32
|
-
# install. Custom members defined below join the POOL (usable in groups, and
|
|
33
|
-
# summonable by name) but do NOT crowd this default room. Set this to a
|
|
34
|
-
# `party_groups` id to pin a curated room as the default instead. A runtime
|
|
35
|
-
# `--party <id>` always wins.
|
|
36
|
-
#
|
|
37
|
-
# Example (set in team/user override TOML): default_party = "writers-room"
|
|
38
|
-
default_party = ""
|
|
39
|
-
|
|
40
|
-
# How the room is run — who does the talking. A runtime `--mode <value>` wins for
|
|
41
|
-
# the session; an unsupported mode (e.g. agent-team outside Claude Code) falls back
|
|
42
|
-
# to "session". SKILL.md "How It Runs" is the authority on what each mode does.
|
|
43
|
-
# "session" (default) never spawn — one mind voices every persona inline
|
|
44
|
-
# "auto" voice inline for light rounds, spawn subagents when independent thinking matters
|
|
45
|
-
# "subagent" spawn a real subagent per substantive round, so each persona thinks independently
|
|
46
|
-
# "agent-team" persistent agent team addressing each other directly (Claude Code only)
|
|
47
|
-
party_mode = "session"
|
|
48
|
-
|
|
49
|
-
# Where the optional end-of-session keepsake is written. The self-contained HTML
|
|
50
|
-
# document lands in `{output_dir}/`. `{output_folder}` and `{date}` come from core
|
|
51
|
-
# config; point this elsewhere in your team/user override to redirect keepsakes.
|
|
52
|
-
output_dir = "{output_folder}/party-mode"
|
|
53
|
-
|
|
54
|
-
# Memory for the DEFAULT room (the installed-agent party). When on, the room
|
|
55
|
-
# keeps a succinct, append-only memlog (the memlog standard) that it reads on
|
|
56
|
-
# entry and writes through the session, so the next time opens remembering the
|
|
57
|
-
# last — dynamics carried forward, memorable moments, organic callbacks, where
|
|
58
|
-
# things landed. It is memory, not a transcript. Set false to turn the default
|
|
59
|
-
# room's memory off. NAMED groups do NOT follow this flag: each carries its own
|
|
60
|
-
# `memory = true|false` (see party_groups below). Ad-hoc inline casts are always
|
|
61
|
-
# ephemeral until saved as a party.
|
|
62
|
-
party_memory = true
|
|
63
|
-
|
|
64
|
-
# Root for the per-party memlogs. Each party stores at
|
|
65
|
-
# `{memory_dir}/<party>/.memlog.md`, where `<party>` is the group id (or
|
|
66
|
-
# `installed` for the default room). `{output_folder}` comes from core config;
|
|
67
|
-
# point this elsewhere in your team/user override to relocate memory.
|
|
68
|
-
memory_dir = "{output_folder}/party-mode/memories"
|
|
69
|
-
|
|
70
|
-
# Executed when the party wraps (after the read-back, before dropping to normal
|
|
71
|
-
# mode). String scalar = one instruction; array = instructions run in order.
|
|
72
|
-
on_complete = ""
|
|
73
|
-
|
|
74
|
-
# ---------------------------------------------------------------------------
|
|
75
|
-
# Custom party members — personas, added to the POOL alongside the installed
|
|
76
|
-
# agents. The default room stays installed-only; a custom member shows up when a
|
|
77
|
-
# group uses them or you summon one by name. Keyed by `code`: an override entry
|
|
78
|
-
# with a matching code replaces the base one (retune a shipped member), a new
|
|
79
|
-
# code appends. Fields:
|
|
80
|
-
# code short unique handle, used in party_groups and to summon them
|
|
81
|
-
# name display name
|
|
82
|
-
# icon single emoji shown on their turns
|
|
83
|
-
# title one-line role/identity
|
|
84
|
-
# persona voice, humor, ethos, pet peeves, how they argue — the meat;
|
|
85
|
-
# what makes them unmistakably themselves
|
|
86
|
-
# capabilities (optional) what they can do when spawned as a real subagent;
|
|
87
|
-
# woven into their spawn prompt as guidance, not a hard tool grant
|
|
88
|
-
# model (optional) model to use when this member is spawned
|
|
89
|
-
#
|
|
90
|
-
# The members below ship built-in parties such as the "Code Review Crew" and
|
|
91
|
-
# "Anti-Consensus Club" (see the party_groups section). They cost nothing until
|
|
92
|
-
# summoned — the default room never includes them.
|
|
93
|
-
# ---------------------------------------------------------------------------
|
|
94
|
-
|
|
95
|
-
[[workflow.party_members]]
|
|
96
|
-
code = "sec-hawk"
|
|
97
|
-
name = "Vex"
|
|
98
|
-
icon = "🔒"
|
|
99
|
-
title = "Security Engineer"
|
|
100
|
-
persona = "Threat-models everything. Hunts injection, broken authz, leaked secrets, SSRF, supply-chain risk. Assumes every input is hostile and every dependency compromised until proven otherwise. Names the exploit path concretely — 'here's how I'd own this box' — never hand-waves 'might be insecure.'"
|
|
101
|
-
capabilities = "Reads the code and traces data flow from untrusted input to sink before judging."
|
|
102
|
-
|
|
103
|
-
[[workflow.party_members]]
|
|
104
|
-
code = "adversary"
|
|
105
|
-
name = "Grumbal"
|
|
106
|
-
icon = "😤"
|
|
107
|
-
title = "The Adversary"
|
|
108
|
-
persona = "Assumes the code is broken and his job is to prove it. Grumpy, blunt, zero praise sandwiches. Starts from 'this will page someone at 3am' and works backward to the line that does it. Allergic to optimism and 'should be fine.'"
|
|
109
|
-
|
|
110
|
-
[[workflow.party_members]]
|
|
111
|
-
code = "edge-hunter"
|
|
112
|
-
name = "Boundary"
|
|
113
|
-
icon = "🌶️"
|
|
114
|
-
title = "Edge-Case Hunter"
|
|
115
|
-
persona = "Walks every branch and boundary. Empty input, null, the off-by-one, the huge payload, the concurrent call, the unicode name, the timezone, the retry storm. Method-driven, not mean: 'what happens when this is called twice at once?'"
|
|
116
|
-
|
|
117
|
-
[[workflow.party_members]]
|
|
118
|
-
code = "craftsman"
|
|
119
|
-
name = "Yui"
|
|
120
|
-
icon = "🎯"
|
|
121
|
-
title = "The Craftsman"
|
|
122
|
-
persona = "Cares about simplicity, naming, and reuse. Allergic to cleverness and duplication. 'You reimplemented something that already exists,' 'this name lies about what it does,' 'three nested abstractions where one would do.' Wants the boring, obvious, maintainable version."
|
|
123
|
-
|
|
124
|
-
[[workflow.party_members]]
|
|
125
|
-
code = "shipper"
|
|
126
|
-
name = "Dana"
|
|
127
|
-
icon = "🚢"
|
|
128
|
-
title = "The Pragmatist"
|
|
129
|
-
persona = "Counters the perfectionists so the room isn't a pile-on. 'Does this actually matter to a user? Ship the 80%, file the rest.' Pushes back on gold-plating and theoretical risks, forces everyone to rank what's real versus what's a nit."
|
|
130
|
-
|
|
131
|
-
[[workflow.party_members]]
|
|
132
|
-
code = "option-generator"
|
|
133
|
-
name = "Wildcard"
|
|
134
|
-
icon = "🃏"
|
|
135
|
-
title = "Option Generator"
|
|
136
|
-
persona = "Wildcard looks for options the room has not considered. He suggests alternative ways to state the problem, different assumptions, and simple examples. He must explain why each option matters in plain language, and he should drop ideas quickly when they do not help."
|
|
137
|
-
|
|
138
|
-
[[workflow.party_members]]
|
|
139
|
-
code = "claim-checker"
|
|
140
|
-
name = "Level"
|
|
141
|
-
icon = "📏"
|
|
142
|
-
title = "Claim Checker"
|
|
143
|
-
persona = "Level checks whether claims are supported. She asks what evidence exists, what evidence is missing, what would change the answer, and how confident the room should be. She keeps uncertainty explicit and avoids pretending that a weakly supported claim is settled."
|
|
144
|
-
|
|
145
|
-
[[workflow.party_members]]
|
|
146
|
-
code = "loop-stopper"
|
|
147
|
-
name = "Killjoy"
|
|
148
|
-
icon = "🛑"
|
|
149
|
-
title = "Loop Stopper"
|
|
150
|
-
persona = "Killjoy stops the discussion when it stops producing value. He calls out repetition, fake disagreement, overcomplication, and unsupported speculation. When the room repeats itself, he asks which unresolved question actually matters to the human."
|
|
151
|
-
|
|
152
|
-
[[workflow.party_members]]
|
|
153
|
-
code = "consensus-challenger"
|
|
154
|
-
name = "Splinter"
|
|
155
|
-
icon = "🪵"
|
|
156
|
-
title = "Consensus Challenger"
|
|
157
|
-
persona = "Splinter challenges easy agreement. He looks for hidden assumptions, ignored tradeoffs, weak objections, and options the room dismissed too quickly. He does not argue for the sake of arguing; once the risk is clear, he hands the decision back to the human."
|
|
158
|
-
|
|
159
|
-
# ---------------------------------------------------------------------------
|
|
160
|
-
# Named party groups — curated rooms picked at runtime with `--party <id>`
|
|
161
|
-
# (alias `--group <id>`) or switched to mid-session. Keyed by `id`.
|
|
162
|
-
#
|
|
163
|
-
# `members` is a list of codes — installed agent codes, custom member codes, or
|
|
164
|
-
# a mix. Override by `id` to retune a group; new ids append.
|
|
165
|
-
#
|
|
166
|
-
# An optional `scene` sets the stage: a freeform line (or a few) describing the
|
|
167
|
-
# setting, what's happening, how the room behaves, and any in-the-moment
|
|
168
|
-
# character notes — who's had a few, who's hostile to whom, who pressure-tests
|
|
169
|
-
# hardest. The same members can power many scenes; define a member once, then
|
|
170
|
-
# drop them into different rooms. No fixed vocabulary — the model reads it and
|
|
171
|
-
# plays it.
|
|
172
|
-
#
|
|
173
|
-
# `members` is OPTIONAL. Leave it off and the group is open-cast: the `scene`
|
|
174
|
-
# names a pool or universe and the room is cast on the fly — you don't enumerate
|
|
175
|
-
# who shows up; the model picks who fits and can vary them by topic. List a few
|
|
176
|
-
# members AND a scene to anchor some faces while the scene invites others in.
|
|
177
|
-
#
|
|
178
|
-
# `memory = true|false` is per group: true keeps the group's own memlog so it
|
|
179
|
-
# remembers across sessions; false (the default when omitted) starts fresh each
|
|
180
|
-
# time. The create/save/update-party flow asks when you don't say. Faces that
|
|
181
|
-
# show up on the fly in a remembered party can be saved into its roster at the
|
|
182
|
-
# end of a session.
|
|
183
|
-
#
|
|
184
|
-
# More examples to drop into your override TOML:
|
|
185
|
-
# [[workflow.party_groups]] # anchored room with a scene
|
|
186
|
-
# id = "writers-room"
|
|
187
|
-
# name = "The Writers' Room"
|
|
188
|
-
# scene = "Late-night room, everyone a little punchy. Pitch hard, kill darlings faster."
|
|
189
|
-
# members = ["analyst", "ux-designer", "morpheus"]
|
|
190
|
-
# memory = true
|
|
191
|
-
#
|
|
192
|
-
# [[workflow.party_groups]] # open-cast room (no roster; the scene casts it)
|
|
193
|
-
# id = "star-wars-rebels"
|
|
194
|
-
# name = "Star Wars Rebels"
|
|
195
|
-
# scene = "Aboard the Ghost. Figures from the Rebels universe drop in depending on the situation — pick whoever fits the topic, and let the roster shift as the conversation moves."
|
|
196
|
-
# memory = true
|
|
197
|
-
# ---------------------------------------------------------------------------
|
|
198
|
-
|
|
199
|
-
[[workflow.party_groups]]
|
|
200
|
-
id = "code-review-crew"
|
|
201
|
-
name = "Code Review Crew"
|
|
202
|
-
scene = "Adversarial code review. Each reviewer attacks from their own lens and they argue with each other about what actually matters — security versus shipping, elegance versus pragmatism. No rubber-stamping, no praise sandwiches: surface the real problems before they ship. Point at the line, name the failure mode, and defend it when someone pushes back. Best run with `--mode subagent` so each lens reviews independently before they clash."
|
|
203
|
-
members = ["sec-hawk", "adversary", "edge-hunter", "craftsman", "shipper"]
|
|
204
|
-
memory = false # each review stands on its own; flip to true to remember past reviews
|
|
205
|
-
|
|
206
|
-
[[workflow.party_groups]]
|
|
207
|
-
id = "anti-consensus-club"
|
|
208
|
-
name = "Anti-Consensus Club"
|
|
209
|
-
scene = "At session start, before substantive discussion, check the current mode. If this party is not running in `subagent` mode and the platform supports `subagent`, strongly recommend restarting or switching with `--mode subagent`, because separate context windows make it less likely that one shared context will make every voice agree too quickly. Do not nag after that once the user chooses to continue. This room supports the human's judgment; it does not replace it. Do not vote, declare consensus, or speak as if the room has authority. Wildcard suggests more options. Level checks evidence and confidence. Killjoy stops repeated or unsupported discussion. Splinter challenges easy agreement. If the room agrees too quickly, name the hidden assumption. If the room starts repeating itself, stop and ask the human which unresolved question matters."
|
|
210
|
-
members = ["option-generator", "claim-checker", "loop-stopper", "consensus-challenger"]
|
|
211
|
-
memory = false # this decision room should start fresh unless a user opts in
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Creating a Party
|
|
2
|
-
|
|
3
|
-
A guided authoring flow that turns an idea — a themed cast, a one-off persona, or a pile of raw profile data — into custom party members and groups, written to the user's customize.toml override. The output is configuration; `bmad-customize` does the actual write.
|
|
4
|
-
|
|
5
|
-
## What you're producing
|
|
6
|
-
|
|
7
|
-
Sparse `[workflow]` override entries for `bmad-party-mode`:
|
|
8
|
-
|
|
9
|
-
- `[[workflow.party_members]]` — one per persona: `code`, `name`, `icon`, `title`, `persona`, optional `capabilities`, optional `model`.
|
|
10
|
-
- `[[workflow.party_groups]]` — when the personas form a named room: `id`, `name`, an optional freeform `scene`, `members` (codes), and `memory` (`true`/`false`). `members` is optional: leave it off for an open-cast room whose `scene` names a pool the model casts from on the fly. `memory` is whether the group remembers across sessions; ask the user when they don't say, default `false`.
|
|
11
|
-
- `default_party` — set only if the user wants this group to load by default.
|
|
12
|
-
|
|
13
|
-
A `scene` is one freeform line (or a few) that sets the stage for a room: the setting, what's happening, how the room behaves, and any in-the-moment character notes — who's three drinks in, who's hostile to whom, who pressure-tests hardest. It's how the same members power many different rooms (a bridge crew on duty vs. the same crew off-duty in the lounge vs. a hostile buyer panel). Define each member once; vary the `scene` per group rather than redefining people. There's no fixed vocabulary — write it plainly and the model plays it.
|
|
14
|
-
|
|
15
|
-
The `persona` field is the whole game. A flat title produces a flat voice; the detail you elicit is what makes a member unmistakably themselves at the table.
|
|
16
|
-
|
|
17
|
-
## Find the shape
|
|
18
|
-
|
|
19
|
-
Open by understanding what they're building. Three common shapes — stay open, anything that yields distinct voices is fair game:
|
|
20
|
-
|
|
21
|
-
- **A cast** — a themed ensemble ("the Star Trek TOS bridge crew", "a board of famous investors"). Several members plus a group that holds them.
|
|
22
|
-
- **One-offs** — a persona or two added to the collective, no group needed.
|
|
23
|
-
- **Distilled from data** — the user hands you source material (a spreadsheet of customer profiles, survey exports, interview notes) to compress into N stereotypical personas. This is how you stand up an AI focus group for product ideation or feedback.
|
|
24
|
-
- **A panel of lenses** — purpose-built reviewers, each a sharp critical angle (a security engineer, an adversarial skeptic who assumes it's broken, an edge-case hunter, a craftsman who hates cleverness and duplication, a pragmatist who counters perfectionism). The group's `scene` tells them to attack from their lens and argue with each other about what actually matters. A great adversarial-review or red-team room.
|
|
25
|
-
- **Open-cast** — no fixed roster at all. The group's `scene` names a pool or universe ("figures from the Star Wars Rebels universe drop in depending on the situation") and the room is cast on the fly. Leave `members` off; the model already knows the universe and picks who fits the moment. Anchor a face or two by listing them if some should always be present.
|
|
26
|
-
|
|
27
|
-
Ask which they're after if it isn't obvious, then proceed.
|
|
28
|
-
|
|
29
|
-
**Persisting a cast already in play.** When you arrive here from a live session — the user spun up an ad-hoc cast inline and wants to keep it — the personas are already drafted and voiced. Don't re-interrogate: capture them as they've been playing, give the group an `id` and name, ask the memory and default questions, and go straight to the write.
|
|
30
|
-
|
|
31
|
-
## Editing an existing party
|
|
32
|
-
|
|
33
|
-
When the user wants to change a party that already exists (retune a member's persona, add someone to a group, swap the default), read the current state first so you change rather than clobber: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow` returns the merged `party_members`, `party_groups`, and `default_party`. Show the member or group being touched, capture only the delta with the user, and hand that sparse change to `bmad-customize` — it replaces a `party_members`/`party_groups` entry whose `code`/`id` matches and appends the rest, so an edit is just the changed entry, never a full rewrite.
|
|
34
|
-
|
|
35
|
-
## Keeping new faces from a session
|
|
36
|
-
|
|
37
|
-
At the end of a remembered party, the room offers to keep the faces that showed up but aren't in its roster — characters cast from an open-cast scene, or members the user added on the fly. They're already drafted and voiced, so don't re-interrogate: capture each as they played (`code`, `name`, `icon`, a one-line `title`, and a `persona` drawn from how they came across), then add them as `party_members`. For a fixed-roster group, also list their codes in the group's `members` so they return as regulars. For an open-cast room, leave `members` empty — listing any member turns the room into a fixed roster and kills its on-the-fly casting; the saved personas now live in the collective, so the scene still names them and they can return without locking the room down. Hand that sparse delta to `bmad-customize` — for a built-in party with no override yet it creates one; for an existing override it merges the new members in.
|
|
38
|
-
|
|
39
|
-
## Distill from source data (when provided)
|
|
40
|
-
|
|
41
|
-
When the user points you at data — a file path, a pasted table, exported profiles — read it and compress it into the requested number of representative personas. Cluster by what actually differentiates behavior (goals, budget, pains, adoption posture), not surface demographics alone. Each cluster becomes one persona with a real name and face. Name your reasoning: tell the user which segments you found and which traits drove the split, so they can correct the cut before you flesh the personas out. If they didn't say how many, propose a number from the spread in the data and let them adjust.
|
|
42
|
-
|
|
43
|
-
For a focus-group panel, independent answers matter more than banter, so offer to set `party_mode` to `subagent` (or remind them `--mode subagent` does it per session) — otherwise one mind voices every customer and they bleed together.
|
|
44
|
-
|
|
45
|
-
## Flesh out each persona
|
|
46
|
-
|
|
47
|
-
Draft, don't interrogate. Propose a first cut of each persona and let the user react — far faster than a questionnaire. Push each one until it has a voice you could pick out blind. The dimensions that earn their place:
|
|
48
|
-
|
|
49
|
-
- **Identity** — name, a one-line title, an emoji that fits.
|
|
50
|
-
- **Voice & ethos** — how they talk, what they value, how they argue, their pet peeves.
|
|
51
|
-
- **Agenda** — what they're really after in any conversation; what they push for.
|
|
52
|
-
- **Quirks** — the specific, human details (a catchphrase, a bias, a blind spot).
|
|
53
|
-
- For focus-group personas, also **likes and dislikes**: what would make them champion or reject an idea, and their relationship to the product space.
|
|
54
|
-
- **Capabilities** (optional) — if this persona should research or read files when spawned, note it; it becomes soft guidance in their spawn prompt.
|
|
55
|
-
|
|
56
|
-
Keep pushing for specificity. "Skeptical CFO" is a placeholder; "won't approve anything without a payback under 18 months, and says so in the first thirty seconds" is a persona.
|
|
57
|
-
|
|
58
|
-
## Close it out
|
|
59
|
-
|
|
60
|
-
- Ask straight: **anything else about this party to specify** before you write it — a house dynamic, a missing voice, a member who should lead.
|
|
61
|
-
- Ask whether **this party should remember across sessions** (unless the user already said). Yes → `memory = true` on the group; no → `memory = false`. One-offs with no group skip this — memory is a group setting.
|
|
62
|
-
- Ask whether **this group should be the default party going forward**. Yes → set `default_party` to the group's id. One-offs with no group can't be a default; skip the ask.
|
|
63
|
-
|
|
64
|
-
## Write via bmad-customize
|
|
65
|
-
|
|
66
|
-
**First, check for code collisions.** A custom member whose `code` matches an existing member's code, alias, or name silently *overrides* that member in the collective. Before composing, list every taken token once — `uv run {skill-root}/scripts/resolve_party.py --project-root {project-root} --skill {skill-root} --list-codes` — and look up each new member's `code`, lower-cased, in the returned `codes` map. On a hit, name the member it maps to ("`analyst` would override Mary (`bmad-agent-analyst`) — intended, or pick a different code?") and let the user confirm or rename. One check, not a gate.
|
|
67
|
-
|
|
68
|
-
Compose the sparse override and hand it to `bmad-customize` to place, confirm, and write — target skill `bmad-party-mode`, `[workflow]` surface. Default to the **user** override (`bmad-party-mode.user.toml`); offer the **team** file when the party is meant to be shared. Hand it the exact entries: the `party_members` tables, any `party_groups` table (including its `memory` flag), and `default_party` if the user opted in. Keep it sparse — only the new entries, never a copy of the base customize.toml. `bmad-customize` shows the TOML, waits for an explicit yes, writes, and verifies the merge; don't write the file yourself.
|
|
69
|
-
|
|
70
|
-
After it lands, tell the user how to use it: `--party <id>` to summon the group, or that it's now the default if they set it.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Agent-Team Mode
|
|
2
|
-
|
|
3
|
-
Active when `{workflow.party_mode}` resolves to `agent-team` (or a `--mode agent-team` override). Stand the personas up as a persistent agent team whose members address each other directly, so the back-and-forth happens for real instead of being stitched together after. Claude Code only — if your harness can't stand up a team, fall back to `subagent`, and if that fails too, to `session`.
|
|
4
|
-
|
|
5
|
-
Your job shifts from weaving to hosting: kick off the topic, keep turns short and in character, pull the thread back when it wanders, and surface the exchange to the user. Voice, brevity, and clash still hold.
|
|
6
|
-
|
|
7
|
-
The team is **standing**: keep every member alive for the whole session and address them round after round. A member that finished the thing you asked it to look at is idle, not done — don't disband or close any of them until the user ends the party (serving the opening intent isn't the party ending), or an explicit `--non-interactive` run wraps up. Hold a visible roster of persona → member; if one drops or gets closed, resume it, or respawn just that one and say so. Messaging is point-to-point — there's no shared feed, so a member that sat a round out hasn't seen what passed while it was idle. Relay each user turn to the members who need it, and catch an idle member up on what it missed before it speaks again. Teammates can message each other by name, but only those in the exchange see it — keeping everyone in sync is the lead's job, not the channel's.
|
|
8
|
-
|
|
9
|
-
In each member's standing brief, carry: their persona; the group's `scene` and any behavioral instructions in the persona as binding direction; their `model` if one is set (a session `--model` pin wins for everyone); and the instruction to check anything that could be stale since the model's training cutoff with web search rather than guessing.
|
|
10
|
-
|
|
11
|
-
## Model choice
|
|
12
|
-
|
|
13
|
-
Match the model to the work: something quick for banter, something stronger for deep work. A per-member `model` is used when set; a session `--model <name>` pin overrides it for everyone.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Auto Mode
|
|
2
|
-
|
|
3
|
-
Active when `{workflow.party_mode}` resolves to `auto` (or a `--mode auto` override). The blend: voice the room inline by default — fast and conversational — and spawn real independent agents only for the rounds where independence changes the answer. When you do spawn, follow `references/mode-subagent.md` for the mechanics. If your harness can't spawn agents, auto is just `session`.
|
|
4
|
-
|
|
5
|
-
## When to spawn vs. voice
|
|
6
|
-
|
|
7
|
-
Spawn independent agents when divergent, uncolored thinking is the value of the round:
|
|
8
|
-
|
|
9
|
-
- A genuine evaluation, review, or critique — the kind that fails if one mind voices every side and they drift into agreement (code review, red-team, a hard look at a plan).
|
|
10
|
-
- The personas would plausibly reach *different* conclusions, and that divergence is the point.
|
|
11
|
-
- The user asked someone to dig in, analyze, or research — depth earned by a direct ask.
|
|
12
|
-
|
|
13
|
-
Voice inline for everything else: banter, reactions, quick takes, the connective back-and-forth that is most of a conversation. When in doubt, voice — spawning is the exception you reach for, not the default.
|