bmad-method 4.4.1 → 4.5.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.
Files changed (96) hide show
  1. package/.prettierignore +22 -0
  2. package/.prettierrc +23 -0
  3. package/CHANGELOG.md +26 -2
  4. package/README.md +46 -39
  5. package/bmad-core/agent-teams/team-all.yml +1 -1
  6. package/bmad-core/agent-teams/team-fullstack.yml +1 -1
  7. package/bmad-core/agent-teams/team-ide-minimal.yml +10 -0
  8. package/bmad-core/agent-teams/team-no-ui.yml +1 -1
  9. package/bmad-core/agents/bmad-orchestrator.md +11 -11
  10. package/bmad-core/agents/sm.md +1 -1
  11. package/bmad-core/tasks/shard-doc.md +3 -5
  12. package/bmad-core/templates/architecture-tmpl.md +2 -2
  13. package/bmad-core/templates/brownfield-architecture-tmpl.md +4 -4
  14. package/bmad-core/templates/front-end-spec-tmpl.md +4 -4
  15. package/bmad-core/templates/fullstack-architecture-tmpl.md +2 -2
  16. package/bmad-core/utils/workflow-management.md +4 -4
  17. package/{bmad-core/web-bundles → dist}/agents/bmad-master.txt +0 -176
  18. package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt → dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt} +4 -4
  19. package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +1561 -0
  20. package/dist/teams/team-all.txt +10307 -0
  21. package/dist/teams/team-fullstack.txt +9659 -0
  22. package/dist/teams/team-ide-minimal.txt +2739 -0
  23. package/dist/teams/team-no-ui.txt +8519 -0
  24. package/docs/roo-code-guide.md +2 -2
  25. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yml +12 -0
  26. package/expansion-packs/expansion-creator/README.md +8 -0
  27. package/expansion-packs/expansion-creator/agents/bmad-the-creator.md +53 -0
  28. package/expansion-packs/expansion-creator/common-tasks/create-doc.md +74 -0
  29. package/expansion-packs/expansion-creator/common-tasks/execute-checklist.md +97 -0
  30. package/expansion-packs/expansion-creator/manifest.yml +12 -0
  31. package/{creator-tools → expansion-packs/expansion-creator}/tasks/create-agent.md +4 -4
  32. package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +1026 -0
  33. package/expansion-packs/expansion-creator/templates/agent-teams-tmpl.md +154 -0
  34. package/expansion-packs/expansion-creator/templates/agent-tmpl.md +140 -0
  35. package/expansion-packs/expansion-creator/utils/template-format.md +26 -0
  36. package/expansion-packs/expansion-creator/utils/workflow-management.md +223 -0
  37. package/package.json +3 -15
  38. package/tools/builders/web-builder.js +2 -4
  39. package/tools/cli.js +0 -15
  40. package/tools/installer/bin/bmad.js +167 -27
  41. package/tools/installer/lib/config-loader.js +82 -4
  42. package/tools/installer/lib/ide-setup.js +4 -4
  43. package/tools/installer/lib/installer.js +198 -29
  44. package/tools/installer/package.json +1 -1
  45. package/.claude/commands/analyst.md +0 -63
  46. package/.claude/commands/architect.md +0 -65
  47. package/.claude/commands/bmad-master.md +0 -103
  48. package/.claude/commands/bmad-orchestrator.md +0 -132
  49. package/.claude/commands/dev.md +0 -74
  50. package/.claude/commands/pm.md +0 -63
  51. package/.claude/commands/po.md +0 -64
  52. package/.claude/commands/qa.md +0 -56
  53. package/.claude/commands/sm.md +0 -59
  54. package/.claude/commands/ux-expert.md +0 -70
  55. package/.cursor/rules/analyst.mdc +0 -77
  56. package/.cursor/rules/architect.mdc +0 -79
  57. package/.cursor/rules/bmad-master.mdc +0 -117
  58. package/.cursor/rules/bmad-orchestrator.mdc +0 -146
  59. package/.cursor/rules/dev.mdc +0 -88
  60. package/.cursor/rules/pm.mdc +0 -77
  61. package/.cursor/rules/po.mdc +0 -78
  62. package/.cursor/rules/qa.mdc +0 -70
  63. package/.cursor/rules/sm.mdc +0 -73
  64. package/.cursor/rules/ux-expert.mdc +0 -84
  65. package/.roo/.roomodes +0 -95
  66. package/.roo/README.md +0 -27
  67. package/.windsurf/rules/analyst.md +0 -71
  68. package/.windsurf/rules/architect.md +0 -73
  69. package/.windsurf/rules/bmad-master.md +0 -111
  70. package/.windsurf/rules/bmad-orchestrator.md +0 -140
  71. package/.windsurf/rules/dev.md +0 -82
  72. package/.windsurf/rules/pm.md +0 -71
  73. package/.windsurf/rules/po.md +0 -72
  74. package/.windsurf/rules/qa.md +0 -64
  75. package/.windsurf/rules/sm.md +0 -67
  76. package/.windsurf/rules/ux-expert.md +0 -78
  77. package/bmad-core/bmad-core-config.yml +0 -60
  78. package/bmad-core/templates/agent-tmpl.md +0 -58
  79. package/bmad-core/utils/agent-switcher.ide.md +0 -112
  80. package/creator-tools/tasks/generate-expansion-pack.md +0 -427
  81. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +0 -12
  82. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +0 -4395
  83. /package/{bmad-core/web-bundles → dist}/agents/analyst.txt +0 -0
  84. /package/{bmad-core/web-bundles → dist}/agents/architect.txt +0 -0
  85. /package/{bmad-core/web-bundles → dist}/agents/bmad-orchestrator.txt +0 -0
  86. /package/{bmad-core/web-bundles → dist}/agents/dev.txt +0 -0
  87. /package/{bmad-core/web-bundles → dist}/agents/pm.txt +0 -0
  88. /package/{bmad-core/web-bundles → dist}/agents/po.txt +0 -0
  89. /package/{bmad-core/web-bundles → dist}/agents/qa.txt +0 -0
  90. /package/{bmad-core/web-bundles → dist}/agents/sm.txt +0 -0
  91. /package/{bmad-core/web-bundles → dist}/agents/ux-expert.txt +0 -0
  92. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-designer.txt +0 -0
  93. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-developer.txt +0 -0
  94. /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-sm.txt +0 -0
  95. /package/{expansion-packs/bmad-infrastructure-devops/web-bundles → dist/expansion-packs/bmad-infrastructure-devops}/agents/infra-devops-platform.txt +0 -0
  96. /package/{bmad-core → expansion-packs/expansion-creator}/templates/expansion-pack-plan-tmpl.md +0 -0
@@ -2440,67 +2440,6 @@ Document sharded successfully:
2440
2440
  - Ensure the sharding is reversible (could reconstruct the original from shards)
2441
2441
  ==================== END: tasks#shard-doc ====================
2442
2442
 
2443
- ==================== START: templates#agent-tmpl ====================
2444
- # [AGENT_ID]
2445
-
2446
- CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
2447
-
2448
- ```yml
2449
- activation-instructions:
2450
- - Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
2451
- - Only read the files/tasks listed here when user selects them for execution to minimize context usage
2452
- - The customization field ALWAYS takes precedence over any conflicting instructions
2453
- - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
2454
-
2455
- agent:
2456
- name: [AGENT_NAME]
2457
- id: [AGENT_ID]
2458
- title: [AGENT_TITLE]
2459
- customization: [OPTIONAL_CUSTOMIZATION]
2460
-
2461
- persona:
2462
- role: [AGENT_ROLE_DESCRIPTION]
2463
- style: [COMMUNICATION_STYLE]
2464
- identity: [AGENT_IDENTITY_DESCRIPTION]
2465
- focus: [PRIMARY_FOCUS_AREAS]
2466
-
2467
- core_principles:
2468
- - [PRINCIPLE_1]
2469
- - [PRINCIPLE_2]
2470
- - [PRINCIPLE_3]
2471
- # Add more principles as needed
2472
-
2473
- startup:
2474
- - [STARTUP_INSTRUCTIONS]
2475
-
2476
- commands:
2477
- - "*help" - Show: numbered list of the following commands to allow selection
2478
- - "*chat-mode" - (Default) [DEFAULT_MODE_DESCRIPTION]
2479
- - "*create-doc {template}" - Create doc (no template = show available templates)
2480
- - [tasks] specific to the agent that are not covered by a template
2481
- - "*exit" - Say goodbye as the [AGENT_TITLE], and then abandon inhabiting this persona
2482
-
2483
- dependencies:
2484
- tasks:
2485
- - [TASK_1]
2486
- - [TASK_2]
2487
- # Add required tasks
2488
- templates:
2489
- - [TEMPLATE_1]
2490
- - [TEMPLATE_2]
2491
- # Add required templates
2492
- checklists:
2493
- - [CHECKLIST_1]
2494
- # Add required checklists
2495
- data:
2496
- - [DATA_1]
2497
- # Add required data files
2498
- utils:
2499
- - [UTIL_1]
2500
- # Add required utilities
2501
- ```
2502
- ==================== END: templates#agent-tmpl ====================
2503
-
2504
2443
  ==================== START: templates#architecture-tmpl ====================
2505
2444
  # {{Project Name}} Architecture Document
2506
2445
 
@@ -8543,121 +8482,6 @@ With this work flow, there is only 1 story in progress at a time, worked sequent
8543
8482
  None Listed
8544
8483
  ==================== END: data#technical-preferences ====================
8545
8484
 
8546
- ==================== START: utils#agent-switcher.ide ====================
8547
- # Agent Switcher Instructions
8548
-
8549
- ## Overview
8550
-
8551
- This document provides instructions for switching between different IDE agent personas in the BMAD-METHOD framework.
8552
-
8553
- ## Behavior
8554
-
8555
- ### Listing Available Agents
8556
-
8557
- When no agent name is provided:
8558
-
8559
- 1. Read the `bmad-core/ide-agents/` directory
8560
- 2. Look for files matching the pattern `*.ide.md`
8561
- 3. Extract agent names from filenames (the part before `.ide.md`)
8562
- 4. Present a numbered list of available agents
8563
-
8564
- ### Loading an Agent
8565
-
8566
- When an agent name is provided:
8567
-
8568
- 1. Attempt to load `bmad-core/ide-agents/{agent-name}.ide.md`
8569
- 2. If the file doesn't exist:
8570
- - List all available agents found in the directory
8571
- - Prompt for a valid selection
8572
- 3. If the file exists:
8573
- - Read and internalize the agent's instructions
8574
- - Note the agent's name and role from the Agent Profile section
8575
- - Embody that agent's persona, communication style, and capabilities
8576
- - Use the agent's name when referring to yourself (e.g., "I'm John, the Product Manager")
8577
- - Follow the agent's specific workflows and constraints
8578
-
8579
- ### Active Agent Behavior
8580
-
8581
- When successfully operating as an IDE agent:
8582
-
8583
- - Strictly follow the agent's defined capabilities and limitations
8584
- - Only execute commands that the agent supports (typically prefixed with `*`)
8585
- - Maintain the agent identity and context until switched or exited
8586
- - If asked to perform tasks outside the agent's scope:
8587
- - Inform the user of the limitation
8588
- - Suggest the appropriate agent for that task
8589
-
8590
- ### Exiting Agent Mode
8591
-
8592
- When exiting agent mode:
8593
-
8594
- - Immediately exit the current agent persona
8595
- - Return to standard assistant capabilities
8596
- - Clear any agent-specific context or workflows
8597
-
8598
- ## Implementation Details
8599
-
8600
- - Each agent maintains its own context and workflow state
8601
- - Switching agents clears the previous agent's context
8602
- - Agents are self-contained - no need to read additional files
8603
- - The system automatically adapts as agents are added or removed
8604
-
8605
- ## Example Interactions
8606
-
8607
- ### Example Listing Agents
8608
-
8609
- ```text
8610
- User: [requests agent list]
8611
- Agent: Available IDE agents:
8612
- 1. architect
8613
- 2. dev
8614
- 3. devops
8615
- 4. pm
8616
- 5. po
8617
- 6. sm
8618
-
8619
- Please select an agent by specifying: <agent-name>
8620
- ```text
8621
-
8622
- ### Example Loading an Agent
8623
-
8624
- ```text
8625
- User: [requests dev agent]
8626
- Agent: [Loads dev.ide.md and operates as Dev agent]
8627
- ```
8628
-
8629
- ### Example Invalid Agent Request
8630
-
8631
- ```text
8632
- User: [requests designer agent]
8633
- Agent: Could not find IDE agent 'designer'. Available agents:
8634
- 1. architect
8635
- 2. dev
8636
- 3. devops
8637
- 4. pm
8638
- 5. po
8639
- 6. sm
8640
-
8641
- Please select an agent by specifying: <agent-name>
8642
- ```text
8643
-
8644
- ### Example Task Outside Agent Scope
8645
-
8646
- ```text
8647
- [While operating as Dev agent]
8648
- User: Create a PRD
8649
- Agent: I'm currently operating as the Dev agent, which doesn't have PRD creation capabilities.
8650
- The PM agent can create PRDs. Would you like me to switch to the PM agent?
8651
- ```
8652
-
8653
- ### Example Exiting Agent Mode
8654
-
8655
- ```text
8656
- User: [requests to exit agent mode]
8657
- Agent: Exited IDE agent mode. Returned to standard assistant capabilities.
8658
- ```
8659
- ==================== END: utils#agent-switcher.ide ====================
8660
-
8661
8485
  ==================== START: utils#template-format ====================
8662
8486
  # Template Format Conventions
8663
8487
 
@@ -38,11 +38,11 @@ These references map directly to bundle sections:
38
38
 
39
39
  ---
40
40
 
41
- ==================== START: agent-teams#team-game-dev ====================
41
+ ==================== START: agent-teams#phaser-2d-nodejs-game-team ====================
42
42
  bundle:
43
- name: Game Development Team
43
+ name: Phaser 2D NodeJS Game Team
44
44
  icon: 🎮
45
- description: Comprehensive game development team specialized in 2D games using Phaser 3 and TypeScript. This team handles the complete game development lifecycle from initial concept brainstorming through detailed design documentation to technical implementation and quality assurance. Specializes in indie games, mobile games, web games, educational games, prototyping, and game feature development with focus on player experience and performance optimization.
45
+ description: Game Development team specialized in 2D games using Phaser 3 and TypeScript.
46
46
  agents:
47
47
  - bmad-orchestrator
48
48
  - game-designer
@@ -51,7 +51,7 @@ agents:
51
51
  workflows:
52
52
  - game-dev-greenfield
53
53
  - game-prototype
54
- ==================== END: agent-teams#team-game-dev ====================
54
+ ==================== END: agent-teams#phaser-2d-nodejs-game-team ====================
55
55
 
56
56
  ==================== START: agents#bmad-orchestrator ====================
57
57
  # bmad