bmad-method 5.0.0 → 5.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/.github/FUNDING.yaml +15 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
- package/.github/workflows/discord.yaml +25 -0
- package/.github/workflows/format-check.yaml +42 -0
- package/.github/workflows/manual-release.yaml +173 -0
- package/.husky/pre-commit +3 -2
- package/.vscode/settings.json +67 -74
- package/CHANGELOG.md +564 -19
- package/CONTRIBUTING.md +168 -5
- package/LICENSE +1 -1
- package/README.md +146 -218
- package/bmad-core/agent-teams/team-all.yaml +14 -0
- package/bmad-core/agent-teams/team-fullstack.yaml +18 -0
- package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
- package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
- package/bmad-core/agents/analyst.md +81 -0
- package/bmad-core/agents/architect.md +83 -0
- package/bmad-core/agents/bmad-master.md +107 -0
- package/bmad-core/agents/bmad-orchestrator.md +149 -0
- package/bmad-core/agents/dev.md +75 -0
- package/bmad-core/agents/pm.md +81 -0
- package/bmad-core/agents/po.md +76 -0
- package/bmad-core/agents/qa.md +88 -0
- package/bmad-core/agents/sm.md +62 -0
- package/bmad-core/agents/ux-expert.md +66 -0
- package/{.bmad-core → bmad-core}/checklists/architect-checklist.md +0 -5
- package/{.bmad-core → bmad-core}/checklists/change-checklist.md +2 -2
- package/{.bmad-core → bmad-core}/checklists/pm-checklist.md +0 -5
- package/{.bmad-core → bmad-core}/checklists/po-master-checklist.md +0 -9
- package/{.bmad-core → bmad-core}/checklists/story-dod-checklist.md +0 -7
- package/{.bmad-core → bmad-core}/checklists/story-draft-checklist.md +1 -4
- package/bmad-core/core-config.yaml +20 -0
- package/bmad-core/data/bmad-kb.md +806 -0
- package/bmad-core/data/brainstorming-techniques.md +36 -0
- package/bmad-core/data/elicitation-methods.md +154 -0
- package/bmad-core/data/test-levels-framework.md +146 -0
- package/bmad-core/data/test-priorities-matrix.md +172 -0
- package/bmad-core/tasks/advanced-elicitation.md +117 -0
- package/{.bmad-core → bmad-core}/tasks/correct-course.md +9 -12
- package/bmad-core/tasks/create-brownfield-story.md +312 -0
- package/{.bmad-core → bmad-core}/tasks/create-deep-research-prompt.md +4 -27
- package/bmad-core/tasks/create-next-story.md +112 -0
- package/bmad-core/tasks/document-project.md +343 -0
- package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
- package/{.bmad-core → bmad-core}/tasks/index-docs.md +3 -13
- package/bmad-core/tasks/kb-mode-interaction.md +75 -0
- package/bmad-core/tasks/nfr-assess.md +343 -0
- package/bmad-core/tasks/qa-gate.md +159 -0
- package/bmad-core/tasks/review-story.md +314 -0
- package/bmad-core/tasks/risk-profile.md +353 -0
- package/{.bmad-core → bmad-core}/tasks/shard-doc.md +27 -15
- package/bmad-core/tasks/test-design.md +174 -0
- package/bmad-core/tasks/trace-requirements.md +264 -0
- package/bmad-core/tasks/validate-next-story.md +134 -0
- package/bmad-core/templates/architecture-tmpl.yaml +650 -0
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +306 -0
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +218 -0
- package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +823 -0
- package/bmad-core/templates/market-research-tmpl.yaml +252 -0
- package/bmad-core/templates/prd-tmpl.yaml +202 -0
- package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
- package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
- package/bmad-core/templates/story-tmpl.yaml +137 -0
- package/bmad-core/workflows/brownfield-fullstack.yaml +297 -0
- package/bmad-core/workflows/brownfield-service.yaml +187 -0
- package/bmad-core/workflows/brownfield-ui.yaml +197 -0
- package/{.bmad-core/workflows/greenfield-fullstack.yml → bmad-core/workflows/greenfield-fullstack.yaml} +140 -77
- package/bmad-core/workflows/greenfield-service.yaml +206 -0
- package/bmad-core/workflows/greenfield-ui.yaml +235 -0
- package/common/tasks/create-doc.md +101 -0
- package/{.bmad-core → common}/tasks/execute-checklist.md +2 -13
- package/common/utils/bmad-doc-template.md +325 -0
- package/common/utils/workflow-management.md +69 -0
- package/dist/agents/analyst.txt +2889 -0
- package/dist/agents/architect.txt +3552 -0
- package/dist/agents/bmad-master.txt +8769 -0
- package/dist/agents/bmad-orchestrator.txt +1513 -0
- package/dist/agents/dev.txt +414 -0
- package/{.bmad-core/web-bundles → dist}/agents/pm.txt +668 -1119
- package/{.bmad-core/web-bundles → dist}/agents/po.txt +341 -484
- package/dist/agents/qa.txt +1987 -0
- package/dist/agents/sm.txt +658 -0
- package/dist/agents/ux-expert.txt +694 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2371 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +1620 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +815 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +10952 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4012 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3698 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +450 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +973 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +15376 -0
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2075 -0
- package/dist/teams/team-all.txt +12682 -0
- package/dist/teams/team-fullstack.txt +10421 -0
- package/dist/teams/team-ide-minimal.txt +5103 -0
- package/dist/teams/team-no-ui.txt +8980 -0
- package/docs/GUIDING-PRINCIPLES.md +91 -0
- package/docs/core-architecture.md +219 -0
- package/docs/enhanced-ide-development-workflow.md +248 -0
- package/docs/expansion-packs.md +280 -0
- package/docs/how-to-contribute-with-pull-requests.md +158 -0
- package/docs/user-guide.md +504 -0
- package/docs/versioning-and-releases.md +8 -16
- package/docs/versions.md +4 -5
- package/docs/working-in-the-brownfield.md +597 -0
- package/eslint.config.mjs +119 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +102 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +13 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +13 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +25 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +34 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +70 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +26 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +109 -0
- package/expansion-packs/README.md +2 -112
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +13 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +71 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +78 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +64 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +201 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +160 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +8 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +250 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +647 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +110 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +216 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +290 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +183 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +175 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +14 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +77 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +78 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +65 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +391 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +201 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +124 -0
- package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +6 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +769 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +586 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +110 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +141 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +184 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +290 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +1030 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +356 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +705 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +256 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +183 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +175 -0
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/README.md +9 -9
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/agents/infra-devops-platform.md +30 -18
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +9 -0
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +305 -0
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/review-infrastructure.md +4 -5
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/validate-infrastructure.md +4 -5
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
- package/package.json +74 -42
- package/prettier.config.mjs +32 -0
- package/release_notes.md +25 -0
- package/tools/bmad-npx-wrapper.js +13 -15
- package/tools/builders/web-builder.js +544 -15
- package/tools/bump-all-versions.js +115 -0
- package/tools/bump-expansion-version.js +90 -0
- package/tools/cli.js +65 -32
- package/tools/flattener/aggregate.js +76 -0
- package/tools/flattener/binary.js +80 -0
- package/tools/flattener/discovery.js +71 -0
- package/tools/flattener/files.js +35 -0
- package/tools/flattener/ignoreRules.js +176 -0
- package/tools/flattener/main.js +573 -0
- package/tools/flattener/projectRoot.js +206 -0
- package/tools/flattener/prompts.js +44 -0
- package/tools/flattener/stats.helpers.js +395 -0
- package/tools/flattener/stats.js +80 -0
- package/tools/flattener/test-matrix.js +413 -0
- package/tools/flattener/xml.js +88 -0
- package/tools/installer/README.md +3 -53
- package/tools/installer/bin/bmad.js +475 -90
- package/tools/installer/config/ide-agent-config.yaml +58 -0
- package/tools/installer/config/install.config.yaml +123 -0
- package/tools/installer/lib/config-loader.js +208 -40
- package/tools/installer/lib/file-manager.js +258 -55
- package/tools/installer/lib/ide-base-setup.js +228 -0
- package/tools/installer/lib/ide-setup.js +1265 -253
- package/tools/installer/lib/installer.js +1651 -310
- package/tools/installer/lib/memory-profiler.js +225 -0
- package/tools/installer/lib/module-manager.js +114 -0
- package/tools/installer/lib/resource-locator.js +308 -0
- package/tools/installer/package.json +25 -24
- package/tools/lib/dependency-resolver.js +44 -48
- package/tools/lib/yaml-utils.js +29 -0
- package/tools/md-assets/web-agent-startup-instructions.md +39 -0
- package/tools/preview-release-notes.js +66 -0
- package/tools/shared/bannerArt.js +105 -0
- package/tools/sync-installer-version.js +7 -9
- package/tools/update-expansion-version.js +53 -0
- package/tools/upgraders/v3-to-v4-upgrader.js +221 -320
- package/tools/version-bump.js +42 -27
- package/tools/yaml-format.js +57 -44
- package/.bmad-core/agent-teams/team-all.yml +0 -16
- package/.bmad-core/agent-teams/team-fullstack.yml +0 -26
- package/.bmad-core/agent-teams/team-no-ui.yml +0 -15
- package/.bmad-core/agents/analyst.md +0 -59
- package/.bmad-core/agents/architect.md +0 -66
- package/.bmad-core/agents/bmad-master.md +0 -104
- package/.bmad-core/agents/bmad-orchestrator.md +0 -81
- package/.bmad-core/agents/dev.md +0 -70
- package/.bmad-core/agents/pm.md +0 -59
- package/.bmad-core/agents/po.md +0 -60
- package/.bmad-core/agents/qa.md +0 -52
- package/.bmad-core/agents/sm.md +0 -55
- package/.bmad-core/agents/ux-expert.md +0 -66
- package/.bmad-core/data/bmad-kb.md +0 -47
- package/.bmad-core/schemas/agent-team-schema.yml +0 -153
- package/.bmad-core/tasks/advanced-elicitation.md +0 -92
- package/.bmad-core/tasks/brainstorming-techniques.md +0 -238
- package/.bmad-core/tasks/core-dump.md +0 -74
- package/.bmad-core/tasks/create-agent.md +0 -202
- package/.bmad-core/tasks/create-doc.md +0 -74
- package/.bmad-core/tasks/create-expansion-pack.md +0 -425
- package/.bmad-core/tasks/create-next-story.md +0 -206
- package/.bmad-core/tasks/create-team.md +0 -229
- package/.bmad-core/tasks/doc-migration-task.md +0 -143
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -58
- package/.bmad-core/templates/agent-tmpl.md +0 -58
- package/.bmad-core/templates/architecture-tmpl.md +0 -771
- package/.bmad-core/templates/brownfield-architecture-tmpl.md +0 -542
- package/.bmad-core/templates/brownfield-prd-tmpl.md +0 -240
- package/.bmad-core/templates/competitor-analysis-tmpl.md +0 -289
- package/.bmad-core/templates/expansion-pack-plan-tmpl.md +0 -91
- package/.bmad-core/templates/front-end-architecture-tmpl.md +0 -173
- package/.bmad-core/templates/front-end-spec-tmpl.md +0 -411
- package/.bmad-core/templates/fullstack-architecture-tmpl.md +0 -1016
- package/.bmad-core/templates/market-research-tmpl.md +0 -261
- package/.bmad-core/templates/prd-tmpl.md +0 -200
- package/.bmad-core/templates/project-brief-tmpl.md +0 -228
- package/.bmad-core/templates/simple-project-prd-tmpl.md +0 -461
- package/.bmad-core/templates/story-tmpl.md +0 -61
- package/.bmad-core/templates/web-agent-startup-instructions-template.md +0 -39
- package/.bmad-core/utils/agent-switcher.ide.md +0 -112
- package/.bmad-core/utils/template-format.md +0 -26
- package/.bmad-core/utils/workflow-management.md +0 -224
- package/.bmad-core/web-bundles/agents/analyst.txt +0 -1684
- package/.bmad-core/web-bundles/agents/architect.txt +0 -3584
- package/.bmad-core/web-bundles/agents/bmad-master.txt +0 -9491
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +0 -1466
- package/.bmad-core/web-bundles/agents/dev.txt +0 -316
- package/.bmad-core/web-bundles/agents/qa.txt +0 -129
- package/.bmad-core/web-bundles/agents/sm.txt +0 -658
- package/.bmad-core/web-bundles/agents/ux-expert.txt +0 -1099
- package/.bmad-core/web-bundles/teams/team-all.txt +0 -10757
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +0 -10109
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +0 -8950
- package/.bmad-core/workflows/brownfield-fullstack.yml +0 -116
- package/.bmad-core/workflows/brownfield-service.yml +0 -117
- package/.bmad-core/workflows/brownfield-ui.yml +0 -127
- package/.bmad-core/workflows/greenfield-service.yml +0 -143
- package/.bmad-core/workflows/greenfield-ui.yml +0 -172
- package/.claude/commands/analyst.md +0 -63
- package/.claude/commands/architect.md +0 -70
- package/.claude/commands/bmad-master.md +0 -108
- package/.claude/commands/bmad-orchestrator.md +0 -85
- package/.claude/commands/dev.md +0 -74
- package/.claude/commands/pm.md +0 -63
- package/.claude/commands/po.md +0 -64
- package/.claude/commands/qa.md +0 -56
- package/.claude/commands/sm.md +0 -59
- package/.claude/commands/ux-expert.md +0 -70
- package/.cursor/rules/analyst.mdc +0 -77
- package/.cursor/rules/architect.mdc +0 -84
- package/.cursor/rules/bmad-master.mdc +0 -122
- package/.cursor/rules/bmad-orchestrator.mdc +0 -99
- package/.cursor/rules/dev.mdc +0 -88
- package/.cursor/rules/pm.mdc +0 -77
- package/.cursor/rules/po.mdc +0 -78
- package/.cursor/rules/qa.mdc +0 -70
- package/.cursor/rules/sm.mdc +0 -73
- package/.cursor/rules/ux-expert.mdc +0 -84
- package/.github/workflows/release.yml +0 -59
- package/.releaserc.json +0 -18
- package/.roo/.roomodes +0 -95
- package/.roo/README.md +0 -38
- package/.vscode/extensions.json +0 -6
- package/.windsurf/rules/analyst.md +0 -71
- package/.windsurf/rules/architect.md +0 -78
- package/.windsurf/rules/bmad-master.md +0 -116
- package/.windsurf/rules/bmad-orchestrator.md +0 -93
- package/.windsurf/rules/dev.md +0 -82
- package/.windsurf/rules/pm.md +0 -71
- package/.windsurf/rules/po.md +0 -72
- package/.windsurf/rules/qa.md +0 -64
- package/.windsurf/rules/sm.md +0 -67
- package/.windsurf/rules/ux-expert.md +0 -78
- package/docs/bmad-workflow-guide.md +0 -161
- package/docs/claude-code-guide.md +0 -119
- package/docs/cursor-guide.md +0 -127
- package/docs/roo-code-guide.md +0 -140
- package/docs/sample-output/simple-fullstack-greenfield/prd.md +0 -42
- package/docs/windsurf-guide.md +0 -127
- package/expansion-packs/infrastructure-devops/manifest.yml +0 -38
- package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
- package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/tools/installer/config/install.config.yml +0 -139
- package/tools/installer/package-lock.json +0 -906
- package/tools/installer/templates/claude-commands.md +0 -7
- package/tools/installer/templates/cursor-rules.md +0 -22
- package/tools/installer/templates/windsurf-rules.md +0 -22
- package/tools/semantic-release-sync-installer.js +0 -31
- /package/{.bmad-core → bmad-core}/data/technical-preferences.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/brownfield-create-epic.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/brownfield-create-story.md +0 -0
package/CONTRIBUTING.md
CHANGED
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Thank you for considering contributing to this project! This document outlines the process for contributing and some guidelines to follow.
|
|
4
4
|
|
|
5
|
+
🆕 **New to GitHub or pull requests?** Check out our [beginner-friendly Pull Request Guide](docs/how-to-contribute-with-pull-requests.md) first!
|
|
6
|
+
|
|
7
|
+
📋 **Before contributing**, please read our [Guiding Principles](docs/GUIDING-PRINCIPLES.md) to understand the BMad Method's core philosophy and architectural decisions.
|
|
8
|
+
|
|
5
9
|
Also note, we use the discussions feature in GitHub to have a community to discuss potential ideas, uses, additions and enhancements.
|
|
6
10
|
|
|
11
|
+
💬 **Discord Community**: Join our [Discord server](https://discord.gg/gk8jAdXWmj) for real-time discussions:
|
|
12
|
+
|
|
13
|
+
- **#general-dev** - Technical discussions, feature ideas, and development questions
|
|
14
|
+
- **#bugs-issues** - Bug reports and issue discussions
|
|
15
|
+
|
|
7
16
|
## Code of Conduct
|
|
8
17
|
|
|
9
18
|
By participating in this project, you agree to abide by our Code of Conduct. Please read it before participating.
|
|
@@ -12,18 +21,96 @@ By participating in this project, you agree to abide by our Code of Conduct. Ple
|
|
|
12
21
|
|
|
13
22
|
### Reporting Bugs
|
|
14
23
|
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
24
|
+
1. **Check existing issues** first to avoid duplicates
|
|
25
|
+
2. **Use the bug report template** when creating a new issue - it will guide you through providing:
|
|
26
|
+
- Clear bug description
|
|
27
|
+
- Steps to reproduce
|
|
28
|
+
- Expected vs actual behavior
|
|
29
|
+
- Model/IDE/BMad version details
|
|
30
|
+
- Screenshots or links if applicable
|
|
31
|
+
3. **Consider discussing in Discord** (#bugs-issues channel) for quick help
|
|
32
|
+
4. **Indicate if you're working on a fix** to avoid duplicate efforts
|
|
18
33
|
|
|
19
34
|
### Suggesting Features
|
|
20
35
|
|
|
21
|
-
|
|
36
|
+
1. **Discuss first in Discord** (#general-dev channel) - the feature request template asks if you've done this
|
|
37
|
+
2. **Check existing issues and discussions** to avoid duplicates
|
|
38
|
+
3. **Use the feature request template** when creating an issue - it will guide you through:
|
|
39
|
+
- Confirming Discord discussion
|
|
40
|
+
- Describing the problem it solves
|
|
41
|
+
- Explaining your solution
|
|
42
|
+
- Listing alternatives considered
|
|
43
|
+
4. **Be specific** about why this feature would benefit the BMad community
|
|
22
44
|
|
|
23
45
|
### Pull Request Process
|
|
24
46
|
|
|
47
|
+
⚠️ **Before starting work:**
|
|
48
|
+
|
|
49
|
+
1. **For bugs**: Check if an issue exists (create one using the bug template if not)
|
|
50
|
+
2. **For features**: Ensure you've discussed in Discord (#general-dev) AND created a feature request issue
|
|
51
|
+
3. **For large changes**: Always open an issue first to discuss alignment
|
|
52
|
+
|
|
25
53
|
Please only propose small granular commits! If its large or significant, please discuss in the discussions tab and open up an issue first. I do not want you to waste your time on a potentially very large PR to have it rejected because it is not aligned or deviates from other planned changes. Communicate and lets work together to build and improve this great community project!
|
|
26
54
|
|
|
55
|
+
**Important**: All contributions must align with our [Guiding Principles](docs/GUIDING-PRINCIPLES.md). Key points:
|
|
56
|
+
|
|
57
|
+
- Keep dev agents lean - they need context for coding, not documentation
|
|
58
|
+
- Web/planning agents can be larger with more complex tasks
|
|
59
|
+
- Everything is natural language (markdown) - no code in core framework
|
|
60
|
+
- Use expansion packs for domain-specific features
|
|
61
|
+
|
|
62
|
+
#### Which Branch for Your PR?
|
|
63
|
+
|
|
64
|
+
**Submit to `next` branch** (most contributions):
|
|
65
|
+
|
|
66
|
+
- ✨ New features or agents
|
|
67
|
+
- 🎨 Enhancements to existing features
|
|
68
|
+
- 📚 Documentation updates
|
|
69
|
+
- ♻️ Code refactoring
|
|
70
|
+
- ⚡ Performance improvements
|
|
71
|
+
- 🧪 New tests
|
|
72
|
+
- 🎁 New expansion packs
|
|
73
|
+
|
|
74
|
+
**Submit to `main` branch** (critical only):
|
|
75
|
+
|
|
76
|
+
- 🚨 Critical bug fixes that break basic functionality
|
|
77
|
+
- 🔒 Security patches
|
|
78
|
+
- 📚 Fixing dangerously incorrect documentation
|
|
79
|
+
- 🐛 Bugs preventing installation or basic usage
|
|
80
|
+
|
|
81
|
+
**When in doubt, submit to `next`**. We'd rather test changes thoroughly before they hit stable.
|
|
82
|
+
|
|
83
|
+
#### PR Size Guidelines
|
|
84
|
+
|
|
85
|
+
- **Ideal PR size**: 200-400 lines of code changes
|
|
86
|
+
- **Maximum PR size**: 800 lines (excluding generated files)
|
|
87
|
+
- **One feature/fix per PR**: Each PR should address a single issue or add one feature
|
|
88
|
+
- **If your change is larger**: Break it into multiple smaller PRs that can be reviewed independently
|
|
89
|
+
- **Related changes**: Even related changes should be separate PRs if they deliver independent value
|
|
90
|
+
|
|
91
|
+
#### Breaking Down Large PRs
|
|
92
|
+
|
|
93
|
+
If your change exceeds 800 lines, use this checklist to split it:
|
|
94
|
+
|
|
95
|
+
- [ ] Can I separate the refactoring from the feature implementation?
|
|
96
|
+
- [ ] Can I introduce the new API/interface in one PR and implementation in another?
|
|
97
|
+
- [ ] Can I split by file or module?
|
|
98
|
+
- [ ] Can I create a base PR with shared utilities first?
|
|
99
|
+
- [ ] Can I separate test additions from implementation?
|
|
100
|
+
- [ ] Even if changes are related, can they deliver value independently?
|
|
101
|
+
- [ ] Can these changes be merged in any order without breaking things?
|
|
102
|
+
|
|
103
|
+
Example breakdown:
|
|
104
|
+
|
|
105
|
+
1. PR #1: Add utility functions and types (100 lines)
|
|
106
|
+
2. PR #2: Refactor existing code to use utilities (200 lines)
|
|
107
|
+
3. PR #3: Implement new feature using refactored code (300 lines)
|
|
108
|
+
4. PR #4: Add comprehensive tests (200 lines)
|
|
109
|
+
|
|
110
|
+
**Note**: PRs #1 and #4 could be submitted simultaneously since they deliver independent value and don't depend on each other's merge order.
|
|
111
|
+
|
|
112
|
+
#### Pull Request Steps
|
|
113
|
+
|
|
27
114
|
1. Fork the repository
|
|
28
115
|
2. Create a new branch (`git checkout -b feature/your-feature-name`)
|
|
29
116
|
3. Make your changes
|
|
@@ -32,9 +119,85 @@ Please only propose small granular commits! If its large or significant, please
|
|
|
32
119
|
6. Push to your branch (`git push origin feature/your-feature-name`)
|
|
33
120
|
7. Open a Pull Request against the main branch
|
|
34
121
|
|
|
122
|
+
## Issue Templates
|
|
123
|
+
|
|
124
|
+
We use GitHub issue templates to ensure all necessary information is provided:
|
|
125
|
+
|
|
126
|
+
- **Bug Reports**: Automatically guides you through providing reproduction steps, environment details, and expected behavior
|
|
127
|
+
- **Feature Requests**: Requires Discord discussion confirmation and asks for problem/solution descriptions
|
|
128
|
+
|
|
129
|
+
Using these templates helps maintainers understand and address your contribution faster.
|
|
130
|
+
|
|
131
|
+
## Pull Request Description Guidelines
|
|
132
|
+
|
|
133
|
+
Keep PR descriptions short and to the point following this template:
|
|
134
|
+
|
|
135
|
+
### PR Description Template
|
|
136
|
+
|
|
137
|
+
Keep your PR description concise and focused. Use this template:
|
|
138
|
+
|
|
139
|
+
```markdown
|
|
140
|
+
## What
|
|
141
|
+
|
|
142
|
+
[1-2 sentences describing WHAT changed]
|
|
143
|
+
|
|
144
|
+
## Why
|
|
145
|
+
|
|
146
|
+
[1-2 sentences explaining WHY this change is needed]
|
|
147
|
+
Fixes #[issue number] (if applicable)
|
|
148
|
+
|
|
149
|
+
## How
|
|
150
|
+
|
|
151
|
+
[2-3 bullets listing HOW you implemented it]
|
|
152
|
+
|
|
153
|
+
-
|
|
154
|
+
-
|
|
155
|
+
-
|
|
156
|
+
|
|
157
|
+
## Testing
|
|
158
|
+
|
|
159
|
+
[1-2 sentences on how you tested this]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Maximum PR description length: 200 words** (excluding code examples if needed)
|
|
163
|
+
|
|
164
|
+
### Good vs Bad PR Descriptions
|
|
165
|
+
|
|
166
|
+
❌ **Bad Example:**
|
|
167
|
+
|
|
168
|
+
> This revolutionary PR introduces a paradigm-shifting enhancement to the system's architecture by implementing a state-of-the-art solution that leverages cutting-edge methodologies to optimize performance metrics and deliver unprecedented value to stakeholders through innovative approaches...
|
|
169
|
+
|
|
170
|
+
✅ **Good Example:**
|
|
171
|
+
|
|
172
|
+
> **What:** Added validation for agent dependency resolution
|
|
173
|
+
> **Why:** Build was failing silently when agents had circular dependencies
|
|
174
|
+
> **How:**
|
|
175
|
+
>
|
|
176
|
+
> - Added cycle detection in dependency-resolver.js
|
|
177
|
+
> - Throws clear error with dependency chain
|
|
178
|
+
> **Testing:** Tested with circular deps between 3 agents
|
|
179
|
+
|
|
35
180
|
## Commit Message Convention
|
|
36
181
|
|
|
37
|
-
|
|
182
|
+
Use conventional commits format:
|
|
183
|
+
|
|
184
|
+
- `feat:` New feature
|
|
185
|
+
- `fix:` Bug fix
|
|
186
|
+
- `docs:` Documentation only
|
|
187
|
+
- `refactor:` Code change that neither fixes a bug nor adds a feature
|
|
188
|
+
- `test:` Adding missing tests
|
|
189
|
+
- `chore:` Changes to build process or auxiliary tools
|
|
190
|
+
|
|
191
|
+
Keep commit messages under 72 characters.
|
|
192
|
+
|
|
193
|
+
### Atomic Commits
|
|
194
|
+
|
|
195
|
+
Each commit should represent one logical change:
|
|
196
|
+
|
|
197
|
+
- **Do:** One bug fix per commit
|
|
198
|
+
- **Do:** One feature addition per commit
|
|
199
|
+
- **Don't:** Mix refactoring with bug fixes
|
|
200
|
+
- **Don't:** Combine unrelated changes
|
|
38
201
|
|
|
39
202
|
## Code Style
|
|
40
203
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025 Brian AKA BMad AKA
|
|
3
|
+
Copyright (c) 2025 Brian AKA BMad AKA BMad Code
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,292 +1,220 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BMad-Method: Universal AI Agent Framework
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/bmad-method)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](https://discord.gg/
|
|
5
|
+
[](https://nodejs.org)
|
|
6
|
+
[](https://discord.gg/gk8jAdXWmj)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Foundations in Agentic Agile Driven Development, known as the Breakthrough Method of Agile AI-Driven Development, yet so much more. Transform any domain with specialized AI expertise: software development, entertainment, creative writing, business strategy to personal wellness just to name a few.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**[Subscribe to BMadCode on YouTube](https://www.youtube.com/@BMadCode?sub_confirmation=1)**
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
**[Join our Discord Community](https://discord.gg/gk8jAdXWmj)** - A growing community for AI enthusiasts! Get help, share ideas, explore AI agents & frameworks, collaborate on tech projects, enjoy hobbies, and help each other succeed. Whether you're stuck on BMad, building your own agents, or just want to chat about the latest in AI - we're here for you! **Some mobile and VPN may have issue joining the discord, this is a discord issue - if the invite does not work, try from your own internet or another network, or non-VPN.**
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
⭐ **If you find this project helpful or useful, please give it a star in the upper right hand corner!** It helps others discover BMad-Method and you will be notified of updates!
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
1. Copy `.bmad-core/web-bundles/teams/team-fullstack.txt`
|
|
19
|
-
2. Create a new Gemini Gem or CustomGPT
|
|
20
|
-
3. Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
21
|
-
4. Start chatting! Type `/help` to see available commands
|
|
22
|
-
|
|
23
|
-
### IDE Quick Start (5 minutes) 💻
|
|
24
|
-
|
|
25
|
-
**Prerequisites**: Install [Node.js](https://nodejs.org) (v14 or higher)
|
|
26
|
-
|
|
27
|
-
````bash
|
|
28
|
-
npx bmad-method install
|
|
29
|
-
# The installer will automatically detect your project state and guide you through:
|
|
30
|
-
# - Fresh installation or upgrade from v3
|
|
31
|
-
# - Full installation or single agent
|
|
32
|
-
# - Destination folder and IDE configuration
|
|
33
|
-
```text
|
|
16
|
+
## Overview
|
|
34
17
|
|
|
35
|
-
|
|
18
|
+
**BMad Method's Two Key Innovations:**
|
|
36
19
|
|
|
37
|
-
|
|
20
|
+
**1. Agentic Planning:** Dedicated agents (Analyst, PM, Architect) collaborate with you to create detailed, consistent PRDs and Architecture documents. Through advanced prompt engineering and human-in-the-loop refinement, these planning agents produce comprehensive specifications that go far beyond generic AI task generation.
|
|
38
21
|
|
|
39
|
-
-
|
|
40
|
-
- [Installation](#installation)
|
|
41
|
-
- [Available Agents](#available-agents)
|
|
42
|
-
- [Usage](#usage)
|
|
43
|
-
- [Project Structure](#project-structure)
|
|
44
|
-
- [Contributing](#contributing)
|
|
22
|
+
**2. Context-Engineered Development:** The Scrum Master agent then transforms these detailed plans into hyper-detailed development stories that contain everything the Dev agent needs - full context, implementation details, and architectural guidance embedded directly in story files.
|
|
45
23
|
|
|
46
|
-
|
|
24
|
+
This two-phase approach eliminates both **planning inconsistency** and **context loss** - the biggest problems in AI-assisted development. Your Dev agent opens a story file with complete understanding of what to build, how to build it, and why.
|
|
47
25
|
|
|
48
|
-
|
|
26
|
+
**📖 [See the complete workflow in the User Guide](docs/user-guide.md)** - Planning phase, development cycle, and all agent roles
|
|
49
27
|
|
|
50
|
-
|
|
28
|
+
## Quick Navigation
|
|
51
29
|
|
|
52
|
-
|
|
53
|
-
- **🔄 True Agile Workflow**: Follows real Agile methodologies and best practices
|
|
54
|
-
- **📦 Modular Design**: Use one agent or an entire team
|
|
55
|
-
- **🛠️ IDE Integration**: Works seamlessly with Cursor, Claude Code, and Windsurf
|
|
56
|
-
- **🌐 Platform Agnostic**: Use with ChatGPT, Claude, Gemini, or any AI platform
|
|
30
|
+
### Understanding the BMad Workflow
|
|
57
31
|
|
|
58
|
-
|
|
32
|
+
**Before diving in, review these critical workflow diagrams that explain how BMad works:**
|
|
59
33
|
|
|
60
|
-
|
|
34
|
+
1. **[Planning Workflow (Web UI)](docs/user-guide.md#the-planning-workflow-web-ui)** - How to create PRD and Architecture documents
|
|
35
|
+
2. **[Core Development Cycle (IDE)](docs/user-guide.md#the-core-development-cycle-ide)** - How SM, Dev, and QA agents collaborate through story files
|
|
61
36
|
|
|
62
|
-
|
|
37
|
+
> ⚠️ **These diagrams explain 90% of BMad Method Agentic Agile flow confusion** - Understanding the PRD+Architecture creation and the SM/Dev/QA workflow and how agents pass notes through story files is essential - and also explains why this is NOT taskmaster or just a simple task runner!
|
|
63
38
|
|
|
64
|
-
|
|
65
|
-
- **Recommended**: `.bmad-core/web-bundles/teams/team-fullstack.txt` (complete development team)
|
|
66
|
-
- Or pick from individual agents in `.bmad-core/web-bundles/agents/`
|
|
67
|
-
2. Upload to your AI platform (Gemini Gem, CustomGPT, or directly in chat)
|
|
68
|
-
3. Set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
69
|
-
4. Type `/help` to see available commands
|
|
39
|
+
### What would you like to do?
|
|
70
40
|
|
|
71
|
-
|
|
41
|
+
- **[Install and Build software with Full Stack Agile AI Team](#quick-start)** → Quick Start Instruction
|
|
42
|
+
- **[Learn how to use BMad](docs/user-guide.md)** → Complete user guide and walkthrough
|
|
43
|
+
- **[See available AI agents](/bmad-core/agents))** → Specialized roles for your team
|
|
44
|
+
- **[Explore non-technical uses](#-beyond-software-development---expansion-packs)** → Creative writing, business, wellness, education
|
|
45
|
+
- **[Create my own AI agents](docs/expansion-packs.md)** → Build agents for your domain
|
|
46
|
+
- **[Browse ready-made expansion packs](expansion-packs/)** → Game dev, DevOps, infrastructure and get inspired with ideas and examples
|
|
47
|
+
- **[Understand the architecture](docs/core-architecture.md)** → Technical deep dive
|
|
48
|
+
- **[Join the community](https://discord.gg/gk8jAdXWmj)** → Get help and share ideas
|
|
72
49
|
|
|
73
|
-
|
|
50
|
+
## Important: Keep Your BMad Installation Updated
|
|
74
51
|
|
|
75
|
-
|
|
52
|
+
**Stay up-to-date effortlessly!** If you already have BMad-Method installed in your project, simply run:
|
|
76
53
|
|
|
77
54
|
```bash
|
|
78
|
-
# Interactive installation (recommended)
|
|
79
55
|
npx bmad-method install
|
|
80
|
-
#
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
# - IDE configuration
|
|
85
|
-
|
|
86
|
-
# Or use command line options for fresh installations
|
|
87
|
-
npx bmad-method install --full --directory ./my-project --ide cursor
|
|
88
|
-
npx bmad-method install --agent pm --directory ./my-project --ide claude-code
|
|
89
|
-
````
|
|
90
|
-
|
|
91
|
-
**Supported IDEs:**
|
|
92
|
-
|
|
93
|
-
The BMad Method works with any IDE, but has built-in integration for:
|
|
94
|
-
|
|
95
|
-
- `cursor` - Cursor IDE with @agent commands
|
|
96
|
-
- `claude-code` - Claude Code with /agent commands
|
|
97
|
-
- `windsurf` - Windsurf with @agent commands
|
|
98
|
-
- `roo` - Roo Code with custom modes (see `.roomodes`)
|
|
99
|
-
- More coming soon - BUT ITS easy to use with ANY IDE!
|
|
100
|
-
|
|
101
|
-
## Available Agents
|
|
102
|
-
|
|
103
|
-
### Core Development Team
|
|
104
|
-
|
|
105
|
-
| Agent | Role | Specialty |
|
|
106
|
-
| ----------- | ------------------ | --------------------------------------------- |
|
|
107
|
-
| `analyst` | Business Analyst | market analysis, brainstorming, project brief |
|
|
108
|
-
| `pm` | Product Manager | Product strategy, roadmaps, PRDs |
|
|
109
|
-
| `architect` | Solution Architect | System design, technical architecture |
|
|
110
|
-
| `dev` | Developer | Code implementation across all technologies |
|
|
111
|
-
| `qa` | QA Specialist | Testing strategies, quality assurance |
|
|
112
|
-
| `ux-expert` | UX Designer | User experience, UI design, prototypes |
|
|
113
|
-
| `po` | Product Owner | Backlog management, story validation |
|
|
114
|
-
| `sm` | Scrum Master | Sprint planning, story creation |
|
|
115
|
-
|
|
116
|
-
### Meta Agents
|
|
117
|
-
|
|
118
|
-
| Agent | Role | Specialty |
|
|
119
|
-
| ------------------- | ---------------- | ------------------------------------------------------------------- |
|
|
120
|
-
| `bmad-orchestrator` | Team Coordinator | Multi-agent workflows, role switching, is part of every team bundle |
|
|
121
|
-
| `bmad-master` | Universal Expert | All capabilities without switching |
|
|
122
|
-
|
|
123
|
-
## Usage
|
|
124
|
-
|
|
125
|
-
### With IDE Integration
|
|
56
|
+
# OR
|
|
57
|
+
git pull
|
|
58
|
+
npm run install:bmad
|
|
59
|
+
```
|
|
126
60
|
|
|
127
|
-
|
|
61
|
+
This will:
|
|
128
62
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
63
|
+
- ✅ Automatically detect your existing v4 installation
|
|
64
|
+
- ✅ Update only the files that have changed and add new files
|
|
65
|
+
- ✅ Create `.bak` backup files for any custom modifications you've made
|
|
66
|
+
- ✅ Preserve your project-specific configurations
|
|
132
67
|
|
|
133
|
-
|
|
134
|
-
/architect Design a microservices architecture
|
|
68
|
+
This makes it easy to benefit from the latest improvements, bug fixes, and new agents without losing your customizations!
|
|
135
69
|
|
|
136
|
-
|
|
137
|
-
@dev Implement story 1.3
|
|
138
|
-
```text
|
|
70
|
+
## Quick Start
|
|
139
71
|
|
|
140
|
-
###
|
|
72
|
+
### One Command for Everything (IDE Installation)
|
|
141
73
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### CLI Commands
|
|
74
|
+
**Just run one of these commands:**
|
|
145
75
|
|
|
146
76
|
```bash
|
|
147
|
-
# List all available agents
|
|
148
|
-
npx bmad-method list
|
|
149
|
-
|
|
150
|
-
# Install or update (automatically detects existing installations)
|
|
151
77
|
npx bmad-method install
|
|
78
|
+
# OR explicitly use stable tag:
|
|
79
|
+
npx bmad-method@stable install
|
|
80
|
+
# OR if you already have BMad installed:
|
|
81
|
+
git pull
|
|
82
|
+
npm run install:bmad
|
|
83
|
+
```
|
|
152
84
|
|
|
153
|
-
|
|
154
|
-
npx bmad-method status
|
|
155
|
-
````
|
|
156
|
-
|
|
157
|
-
### Upgrading from V3 to V4
|
|
158
|
-
|
|
159
|
-
If you have an existing BMAD-METHOD V3 project, simply run the installer in your project directory:
|
|
160
|
-
|
|
161
|
-
````bash
|
|
162
|
-
npx bmad-method install
|
|
163
|
-
# The installer will automatically detect your V3 installation and offer to upgrade
|
|
164
|
-
```text
|
|
165
|
-
|
|
166
|
-
The upgrade process will:
|
|
167
|
-
|
|
168
|
-
1. Create a backup of your V3 files in `.bmad-v3-backup/`
|
|
169
|
-
2. Install the new V4 `.bmad-core/` structure
|
|
170
|
-
3. Migrate your documents (PRD, Architecture, Stories, Epics)
|
|
171
|
-
4. Set up IDE integration for all V4 agents
|
|
172
|
-
5. Create an install manifest for future updates
|
|
173
|
-
|
|
174
|
-
After upgrading:
|
|
175
|
-
|
|
176
|
-
1. Review your documents in the `docs/` folder
|
|
177
|
-
2. Use `@bmad-master` agent to run the `doc-migration-task` to align your documents with V4 templates
|
|
178
|
-
3. If you have separate front-end and backend architecture docs, the migration task will help merge them into a unified `full-stack-architecture.md`
|
|
179
|
-
|
|
180
|
-
**Note**: The agents in `.bmad-core/` fully replace the items in `bmad-agent/`.
|
|
181
|
-
|
|
182
|
-
## Teams & Workflows
|
|
85
|
+
This single command handles:
|
|
183
86
|
|
|
184
|
-
|
|
87
|
+
- **New installations** - Sets up BMad in your project
|
|
88
|
+
- **Upgrades** - Updates existing installations automatically
|
|
89
|
+
- **Expansion packs** - Installs any expansion packs you've added to package.json
|
|
185
90
|
|
|
186
|
-
|
|
91
|
+
> **That's it!** Whether you're installing for the first time, upgrading, or adding expansion packs - these commands do everything.
|
|
187
92
|
|
|
188
|
-
|
|
189
|
-
- **Team Fullstack**: Frontend + Backend development focus
|
|
190
|
-
- **Team No-UI**: Backend/API development without UX
|
|
93
|
+
**Prerequisites**: [Node.js](https://nodejs.org) v20+ required
|
|
191
94
|
|
|
192
|
-
###
|
|
95
|
+
### Fastest Start: Web UI Full Stack Team at your disposal (2 minutes)
|
|
193
96
|
|
|
194
|
-
|
|
97
|
+
1. **Get the bundle**: Save or clone the [full stack team file](dist/teams/team-fullstack.txt) or choose another team
|
|
98
|
+
2. **Create AI agent**: Create a new Gemini Gem or CustomGPT
|
|
99
|
+
3. **Upload & configure**: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
100
|
+
4. **Start Ideating and Planning**: Start chatting! Type `*help` to see available commands or pick an agent like `*analyst` to start right in on creating a brief.
|
|
101
|
+
5. **CRITICAL**: Talk to BMad Orchestrator in the web at ANY TIME (#bmad-orchestrator command) and ask it questions about how this all works!
|
|
102
|
+
6. **When to move to the IDE**: Once you have your PRD, Architecture, optional UX and Briefs - its time to switch over to the IDE to shard your docs, and start implementing the actual code! See the [User guide](docs/user-guide.md) for more details
|
|
195
103
|
|
|
196
|
-
|
|
197
|
-
- **Brownfield**: Enhancing existing projects
|
|
198
|
-
- **Simple**: Quick prototypes and MVPs
|
|
199
|
-
- **Complex**: Enterprise and large-scale projects
|
|
104
|
+
### Alternative: Clone and Build
|
|
200
105
|
|
|
201
|
-
|
|
106
|
+
```bash
|
|
107
|
+
git clone https://github.com/bmadcode/bmad-method.git
|
|
108
|
+
npm run install:bmad # build and install all to a destination folder
|
|
109
|
+
```
|
|
202
110
|
|
|
203
|
-
|
|
204
|
-
.bmad-core/
|
|
205
|
-
├── agents/ # Individual agent definitions
|
|
206
|
-
├── agent-teams/ # Team configurations
|
|
207
|
-
├── workflows/ # Development workflows
|
|
208
|
-
├── templates/ # Document templates (PRD, Architecture, etc.)
|
|
209
|
-
├── tasks/ # Reusable task definitions
|
|
210
|
-
├── checklists/ # Quality checklists
|
|
211
|
-
├── data/ # Knowledge base
|
|
212
|
-
└── web-bundles/ # Pre-built bundles
|
|
111
|
+
## 🌟 Beyond Software Development - Expansion Packs
|
|
213
112
|
|
|
214
|
-
|
|
215
|
-
├── cli.js # Build tool
|
|
216
|
-
├── installer/ # NPX installer
|
|
217
|
-
└── lib/ # Build utilities
|
|
113
|
+
BMad's natural language framework works in ANY domain. Expansion packs provide specialized AI agents for creative writing, business strategy, health & wellness, education, and more. Also expansion packs can expand the core BMad-Method with specific functionality that is not generic for all cases. [See the Expansion Packs Guide](docs/expansion-packs.md) and learn to create your own!
|
|
218
114
|
|
|
219
|
-
|
|
220
|
-
````
|
|
115
|
+
## Codebase Flattener Tool
|
|
221
116
|
|
|
222
|
-
|
|
117
|
+
The BMad-Method includes a powerful codebase flattener tool designed to prepare your project files for AI model consumption. This tool aggregates your entire codebase into a single XML file, making it easy to share your project context with AI assistants for analysis, debugging, or development assistance.
|
|
223
118
|
|
|
224
|
-
###
|
|
119
|
+
### Features
|
|
225
120
|
|
|
226
|
-
|
|
121
|
+
- **AI-Optimized Output**: Generates clean XML format specifically designed for AI model consumption
|
|
122
|
+
- **Smart Filtering**: Automatically respects `.gitignore` patterns to exclude unnecessary files
|
|
123
|
+
- **Binary File Detection**: Intelligently identifies and excludes binary files, focusing on source code
|
|
124
|
+
- **Progress Tracking**: Real-time progress indicators and comprehensive completion statistics
|
|
125
|
+
- **Flexible Output**: Customizable output file location and naming
|
|
227
126
|
|
|
228
|
-
###
|
|
127
|
+
### Usage
|
|
229
128
|
|
|
230
|
-
|
|
129
|
+
```bash
|
|
130
|
+
# Basic usage - creates flattened-codebase.xml in current directory
|
|
131
|
+
npx bmad-method flatten
|
|
231
132
|
|
|
232
|
-
|
|
233
|
-
-
|
|
234
|
-
-
|
|
235
|
-
- Test Plans
|
|
236
|
-
- And more...
|
|
133
|
+
# Specify custom input directory
|
|
134
|
+
npx bmad-method flatten --input /path/to/source/directory
|
|
135
|
+
npx bmad-method flatten -i /path/to/source/directory
|
|
237
136
|
|
|
238
|
-
|
|
137
|
+
# Specify custom output file
|
|
138
|
+
npx bmad-method flatten --output my-project.xml
|
|
139
|
+
npx bmad-method flatten -o /path/to/output/codebase.xml
|
|
239
140
|
|
|
240
|
-
|
|
141
|
+
# Combine input and output options
|
|
142
|
+
npx bmad-method flatten --input /path/to/source --output /path/to/output/codebase.xml
|
|
143
|
+
```
|
|
241
144
|
|
|
242
|
-
|
|
145
|
+
### Example Output
|
|
243
146
|
|
|
244
|
-
|
|
147
|
+
The tool will display progress and provide a comprehensive summary:
|
|
245
148
|
|
|
246
|
-
|
|
149
|
+
```text
|
|
150
|
+
📊 Completion Summary:
|
|
151
|
+
✅ Successfully processed 156 files into flattened-codebase.xml
|
|
152
|
+
📁 Output file: /path/to/your/project/flattened-codebase.xml
|
|
153
|
+
📏 Total source size: 2.3 MB
|
|
154
|
+
📄 Generated XML size: 2.1 MB
|
|
155
|
+
📝 Total lines of code: 15,847
|
|
156
|
+
🔢 Estimated tokens: 542,891
|
|
157
|
+
📊 File breakdown: 142 text, 14 binary, 0 errors
|
|
158
|
+
```
|
|
247
159
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
160
|
+
The generated XML file contains your project's text-based source files in a structured format that AI models can easily parse and understand, making it perfect for code reviews, architecture discussions, or getting AI assistance with your BMad-Method projects.
|
|
161
|
+
|
|
162
|
+
#### Advanced Usage & Options
|
|
163
|
+
|
|
164
|
+
- CLI options
|
|
165
|
+
- `-i, --input <path>`: Directory to flatten. Default: current working directory or auto-detected project root when run interactively.
|
|
166
|
+
- `-o, --output <path>`: Output file path. Default: `flattened-codebase.xml` in the chosen directory.
|
|
167
|
+
- Interactive mode
|
|
168
|
+
- If you do not pass `--input` and `--output` and the terminal is interactive (TTY), the tool will attempt to detect your project root (by looking for markers like `.git`, `package.json`, etc.) and prompt you to confirm or override the paths.
|
|
169
|
+
- In non-interactive contexts (e.g., CI), it will prefer the detected root silently; otherwise it falls back to the current directory and default filename.
|
|
170
|
+
- File discovery and ignoring
|
|
171
|
+
- Uses `git ls-files` when inside a git repository for speed and correctness; otherwise falls back to a glob-based scan.
|
|
172
|
+
- Applies your `.gitignore` plus a curated set of default ignore patterns (e.g., `node_modules`, build outputs, caches, logs, IDE folders, lockfiles, large media/binaries, `.env*`, and previously generated XML outputs).
|
|
173
|
+
- Binary handling
|
|
174
|
+
- Binary files are detected and excluded from the XML content. They are counted in the final summary but not embedded in the output.
|
|
175
|
+
- XML format and safety
|
|
176
|
+
- UTF-8 encoded file with root element `<files>`.
|
|
177
|
+
- Each text file is emitted as a `<file path="relative/path">` element whose content is wrapped in `<![CDATA[ ... ]]>`.
|
|
178
|
+
- The tool safely handles occurrences of `]]>` inside content by splitting the CDATA to preserve correctness.
|
|
179
|
+
- File contents are preserved as-is and indented for readability inside the XML.
|
|
180
|
+
- Performance
|
|
181
|
+
- Concurrency is selected automatically based on your CPU and workload size. No configuration required.
|
|
182
|
+
- Running inside a git repo improves discovery performance.
|
|
183
|
+
|
|
184
|
+
#### Minimal XML example
|
|
185
|
+
|
|
186
|
+
```xml
|
|
187
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
188
|
+
<files>
|
|
189
|
+
<file path="src/index.js"><![CDATA[
|
|
190
|
+
// your source content
|
|
191
|
+
]]></file>
|
|
192
|
+
</files>
|
|
252
193
|
```
|
|
253
194
|
|
|
254
|
-
## Documentation &
|
|
195
|
+
## Documentation & Resources
|
|
255
196
|
|
|
256
|
-
###
|
|
197
|
+
### Essential Guides
|
|
257
198
|
|
|
258
|
-
-
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
- 🌊 [Windsurf Guide](docs/windsurf-guide.md) - Complete workflow for Windsurf users
|
|
262
|
-
- 🦘 [Roo Code Guide](docs/roo-code-guide.md) - Complete workflow for Roo Code users
|
|
199
|
+
- 📖 **[User Guide](docs/user-guide.md)** - Complete walkthrough from project inception to completion
|
|
200
|
+
- 🏗️ **[Core Architecture](docs/core-architecture.md)** - Technical deep dive and system design
|
|
201
|
+
- 🚀 **[Expansion Packs Guide](docs/expansion-packs.md)** - Extend BMad to any domain beyond software development
|
|
263
202
|
|
|
264
203
|
## Support
|
|
265
204
|
|
|
266
|
-
- 💬 [Discord Community](https://discord.gg/
|
|
267
|
-
- 📖 [Documentation](docs/)
|
|
205
|
+
- 💬 [Discord Community](https://discord.gg/gk8jAdXWmj)
|
|
268
206
|
- 🐛 [Issue Tracker](https://github.com/bmadcode/bmad-method/issues)
|
|
269
207
|
- 💬 [Discussions](https://github.com/bmadcode/bmad-method/discussions)
|
|
270
208
|
|
|
271
|
-
##
|
|
272
|
-
|
|
273
|
-
MIT License - see [LICENSE](LICENSE) for details.
|
|
274
|
-
|
|
275
|
-
## Version History
|
|
276
|
-
|
|
277
|
-
- **Current**: [v4.0.0](https://github.com/bmadcode/bmad-method) - Complete framework rewrite with CLI installer, dynamic dependencies, and expansion packs
|
|
278
|
-
- **Previous Versions**:
|
|
279
|
-
- [Version 3](https://github.com/bmadcode/BMAD-METHOD/tree/V3) - Introduced the unified BMAD Agent and Gemini optimization
|
|
280
|
-
- [Version 2](https://github.com/bmadcode/BMAD-METHOD/tree/V2) - Added web agents and template separation
|
|
281
|
-
- [Version 1](https://github.com/bmadcode/BMAD-METHOD/tree/V1) - Original 7-file proof of concept
|
|
209
|
+
## Contributing
|
|
282
210
|
|
|
283
|
-
|
|
211
|
+
**We're excited about contributions and welcome your ideas, improvements, and expansion packs!** 🎉
|
|
284
212
|
|
|
285
|
-
|
|
213
|
+
📋 **[Read CONTRIBUTING.md](CONTRIBUTING.md)** - Complete guide to contributing, including guidelines, process, and requirements
|
|
286
214
|
|
|
287
|
-
|
|
215
|
+
## License
|
|
288
216
|
|
|
289
|
-
|
|
217
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
290
218
|
|
|
291
219
|
[](https://github.com/bmadcode/bmad-method/graphs/contributors)
|
|
292
220
|
|