bmad-method 4.9.0 → 4.9.1
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/CHANGELOG.md +7 -0
- package/bmad-core/tasks/shard-doc.md +1 -1
- package/bmad-core/templates/architecture-tmpl.md +2 -2
- package/bmad-core/templates/brownfield-architecture-tmpl.md +2 -2
- package/bmad-core/templates/front-end-spec-tmpl.md +1 -1
- package/bmad-core/utils/workflow-management.md +5 -5
- package/dist/agents/architect.txt +4 -4
- package/dist/agents/bmad-master.txt +11 -11
- package/dist/agents/bmad-orchestrator.txt +5 -5
- package/dist/agents/dev.txt +9 -17
- package/dist/agents/pm.txt +1 -1
- package/dist/agents/po.txt +1 -1
- package/dist/agents/ux-expert.txt +1 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +144 -18
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +139 -95
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +39 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +310 -118
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +16 -16
- package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +25 -27
- package/dist/teams/team-all.txt +20 -28
- package/dist/teams/team-fullstack.txt +11 -11
- package/dist/teams/team-ide-minimal.txt +15 -23
- package/dist/teams/team-no-ui.txt +10 -10
- package/docs/core-architecture.md +5 -3
- package/docs/how-to-contribute-with-pull-requests.md +6 -6
- package/docs/user-guide.md +51 -66
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +107 -87
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +4 -4
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +21 -2
- package/expansion-packs/bmad-infrastructure-devops/README.md +5 -5
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/expansion-packs/expansion-creator/tasks/create-agent.md +10 -10
- package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +2 -4
- package/expansion-packs/expansion-creator/templates/agent-teams-tmpl.md +6 -6
- package/expansion-packs/expansion-creator/templates/agent-tmpl.md +15 -15
- package/expansion-packs/expansion-creator/utils/workflow-management.md +8 -8
- package/package.json +1 -1
- package/tools/installer/README.md +3 -3
- package/tools/installer/package.json +1 -1
|
@@ -16,7 +16,7 @@ The system facilitates a full development lifecycle:
|
|
|
16
16
|
|
|
17
17
|
The entire BMAD-Method ecosystem is designed around the `.bmad-core` directory, which acts as the brain of the operation. The `tools` directory provides the means to process and package this brain for different environments.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
```mermaid
|
|
20
20
|
graph TD
|
|
21
21
|
subgraph BMAD Method Project
|
|
22
22
|
subgraph Core Framework
|
|
@@ -59,7 +59,7 @@ graph TD
|
|
|
59
59
|
style A fill:#1a73e8,color:#fff
|
|
60
60
|
style I fill:#f9ab00,color:#fff
|
|
61
61
|
style J fill:#34a853,color:#fff
|
|
62
|
-
```
|
|
62
|
+
```
|
|
63
63
|
|
|
64
64
|
## 3. Core Components
|
|
65
65
|
|
|
@@ -110,6 +110,7 @@ The system maintains a clean separation of concerns: template markup is processe
|
|
|
110
110
|
BMAD includes a personalization layer through the `technical-preferences.md` file in `.bmad-core/data/`. This file serves as a persistent technical profile that influences agent behavior across all projects.
|
|
111
111
|
|
|
112
112
|
**Purpose and Benefits:**
|
|
113
|
+
|
|
113
114
|
- **Consistency**: Ensures all agents reference the same technical preferences
|
|
114
115
|
- **Efficiency**: Eliminates the need to repeatedly specify preferred technologies
|
|
115
116
|
- **Personalization**: Agents provide recommendations aligned with user preferences
|
|
@@ -119,6 +120,7 @@ BMAD includes a personalization layer through the `technical-preferences.md` fil
|
|
|
119
120
|
The file typically includes preferred technology stacks, design patterns, external services, coding standards, and anti-patterns to avoid. Agents automatically reference this file during planning and development to provide contextually appropriate suggestions.
|
|
120
121
|
|
|
121
122
|
**Integration Points:**
|
|
123
|
+
|
|
122
124
|
- Templates can reference technical preferences during document generation
|
|
123
125
|
- Agents suggest preferred technologies when appropriate for project requirements
|
|
124
126
|
- When preferences don't fit project needs, agents explain alternatives
|
|
@@ -173,7 +175,7 @@ graph TD
|
|
|
173
175
|
style G fill:#f9ab00,color:#fff
|
|
174
176
|
style L fill:#1a73e8,color:#fff
|
|
175
177
|
style N fill:#34a853,color:#fff
|
|
176
|
-
|
|
178
|
+
```
|
|
177
179
|
|
|
178
180
|
**Key Planning Phases:**
|
|
179
181
|
|
|
@@ -20,11 +20,11 @@ A pull request (PR) is how you propose changes to a project on GitHub. Think of
|
|
|
20
20
|
|
|
21
21
|
### 2. Clone Your Fork
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
```bash
|
|
24
24
|
# Replace YOUR-USERNAME with your actual GitHub username
|
|
25
25
|
git clone https://github.com/YOUR-USERNAME/bmad-method.git
|
|
26
26
|
cd bmad-method
|
|
27
|
-
```
|
|
27
|
+
```
|
|
28
28
|
|
|
29
29
|
### 3. Create a New Branch
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ cd bmad-method
|
|
|
35
35
|
git checkout -b fix/typo-in-readme
|
|
36
36
|
# or
|
|
37
37
|
git checkout -b feature/add-new-agent
|
|
38
|
-
|
|
38
|
+
```
|
|
39
39
|
|
|
40
40
|
**Branch naming tips:**
|
|
41
41
|
|
|
@@ -51,13 +51,13 @@ git checkout -b feature/add-new-agent
|
|
|
51
51
|
|
|
52
52
|
### 5. Commit Your Changes
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
```bash
|
|
55
55
|
# Add your changes
|
|
56
56
|
git add .
|
|
57
57
|
|
|
58
58
|
# Commit with a clear message
|
|
59
59
|
git commit -m "Fix typo in README.md"
|
|
60
|
-
```
|
|
60
|
+
```
|
|
61
61
|
|
|
62
62
|
**Good commit messages:**
|
|
63
63
|
|
|
@@ -76,7 +76,7 @@ git commit -m "Fix typo in README.md"
|
|
|
76
76
|
```bash
|
|
77
77
|
# Push your branch to your fork
|
|
78
78
|
git push origin fix/typo-in-readme
|
|
79
|
-
|
|
79
|
+
```
|
|
80
80
|
|
|
81
81
|
### 7. Create the Pull Request
|
|
82
82
|
|
package/docs/user-guide.md
CHANGED
|
@@ -56,10 +56,10 @@ Best for: ChatGPT, Claude, Gemini users
|
|
|
56
56
|
|
|
57
57
|
Best for: Cursor, Claude Code, Windsurf, VS Code users
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
```bash
|
|
60
60
|
# Interactive installation (recommended)
|
|
61
61
|
npx bmad-method install
|
|
62
|
-
```
|
|
62
|
+
```
|
|
63
63
|
|
|
64
64
|
### First Steps
|
|
65
65
|
|
|
@@ -106,7 +106,7 @@ dependencies:
|
|
|
106
106
|
- shard-doc.md
|
|
107
107
|
data:
|
|
108
108
|
- bmad-kb.md
|
|
109
|
-
|
|
109
|
+
```
|
|
110
110
|
|
|
111
111
|
**Key Points:**
|
|
112
112
|
|
|
@@ -118,7 +118,7 @@ dependencies:
|
|
|
118
118
|
|
|
119
119
|
**In IDE:**
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
```bash
|
|
122
122
|
# Cursor or Windsurf (manual rules - loaded with @)
|
|
123
123
|
@pm Create a PRD for a task management app
|
|
124
124
|
@architect Design the system architecture
|
|
@@ -127,7 +127,7 @@ dependencies:
|
|
|
127
127
|
# Claude Code (files in commands folder - loaded with /)
|
|
128
128
|
/pm Create user stories
|
|
129
129
|
/dev Fix the login bug
|
|
130
|
-
```
|
|
130
|
+
```
|
|
131
131
|
|
|
132
132
|
**In Web UI:**
|
|
133
133
|
|
|
@@ -135,7 +135,7 @@ dependencies:
|
|
|
135
135
|
/pm create-doc prd
|
|
136
136
|
/architect review system design
|
|
137
137
|
/dev implement story 1.2
|
|
138
|
-
|
|
138
|
+
```
|
|
139
139
|
|
|
140
140
|
## Templates and Document Creation
|
|
141
141
|
|
|
@@ -224,10 +224,9 @@ When working directly in IDEs:
|
|
|
224
224
|
|
|
225
225
|
Templates can include `advanced-elicitation.md` for enhanced interaction:
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
```markdown
|
|
228
228
|
[[LLM: Use advanced-elicitation actions 0-3 to refine requirements]]
|
|
229
|
-
|
|
230
|
-
````text
|
|
229
|
+
```
|
|
231
230
|
|
|
232
231
|
This provides 10 structured brainstorming actions:
|
|
233
232
|
|
|
@@ -268,10 +267,7 @@ graph TD
|
|
|
268
267
|
style G fill:#f9ab00,color:#fff
|
|
269
268
|
style L fill:#1a73e8,color:#fff
|
|
270
269
|
style N fill:#34a853,color:#fff
|
|
271
|
-
|
|
272
|
-
`````
|
|
273
|
-
|
|
274
|
-
`````
|
|
270
|
+
```
|
|
275
271
|
|
|
276
272
|
#### Web UI to IDE Transition
|
|
277
273
|
|
|
@@ -286,7 +282,7 @@ graph TD
|
|
|
286
282
|
|
|
287
283
|
Once planning is complete and documents are sharded, BMAD follows a structured development workflow:
|
|
288
284
|
|
|
289
|
-
|
|
285
|
+
```mermaid
|
|
290
286
|
graph TD
|
|
291
287
|
A["Start: Planning Artifacts Complete"] --> B["PO: Shard Epics"]
|
|
292
288
|
B --> C["PO: Shard Arch"]
|
|
@@ -302,7 +298,7 @@ graph TD
|
|
|
302
298
|
J --> E
|
|
303
299
|
|
|
304
300
|
style J fill:#34a853,color:#fff
|
|
305
|
-
```
|
|
301
|
+
```
|
|
306
302
|
|
|
307
303
|
### Workflow Phases
|
|
308
304
|
|
|
@@ -391,7 +387,7 @@ agents:
|
|
|
391
387
|
- qa
|
|
392
388
|
workflows:
|
|
393
389
|
- greenfield-fullstack
|
|
394
|
-
|
|
390
|
+
```
|
|
395
391
|
|
|
396
392
|
## IDE Integration
|
|
397
393
|
|
|
@@ -543,7 +539,7 @@ BMAD's dependency system ensures agents only load necessary resources:
|
|
|
543
539
|
|
|
544
540
|
Create custom templates following `template-format.md`:
|
|
545
541
|
|
|
546
|
-
|
|
542
|
+
```markdown
|
|
547
543
|
---
|
|
548
544
|
title: Custom Template
|
|
549
545
|
description: Your custom document type
|
|
@@ -564,8 +560,7 @@ dependencies:
|
|
|
564
560
|
## Section 2
|
|
565
561
|
|
|
566
562
|
{{section_2_content}}
|
|
567
|
-
|
|
568
|
-
````text
|
|
563
|
+
```
|
|
569
564
|
|
|
570
565
|
### Workflow Customization
|
|
571
566
|
|
|
@@ -594,10 +589,7 @@ phases:
|
|
|
594
589
|
deliverables:
|
|
595
590
|
- implementation
|
|
596
591
|
- tests
|
|
597
|
-
|
|
598
|
-
`````
|
|
599
|
-
|
|
600
|
-
`````
|
|
592
|
+
```
|
|
601
593
|
|
|
602
594
|
### Creating Custom Templates
|
|
603
595
|
|
|
@@ -605,7 +597,7 @@ Templates are self-contained documents that embed both output structure and proc
|
|
|
605
597
|
|
|
606
598
|
#### Template Structure
|
|
607
599
|
|
|
608
|
-
|
|
600
|
+
```markdown
|
|
609
601
|
# {{Project Name}} Document Title
|
|
610
602
|
|
|
611
603
|
[[LLM: Opening instruction for AI processing]]
|
|
@@ -627,30 +619,32 @@ Templates are self-contained documents that embed both output structure and proc
|
|
|
627
619
|
|
|
628
620
|
[[LLM: Only include if condition is met]]
|
|
629
621
|
^^/CONDITION^^
|
|
630
|
-
|
|
631
|
-
````text
|
|
622
|
+
```
|
|
632
623
|
|
|
633
624
|
#### Key Template Patterns
|
|
634
625
|
|
|
635
626
|
**Variable Substitution:**
|
|
627
|
+
|
|
636
628
|
- `{{Project Name}}` - Dynamic project name
|
|
637
629
|
- `{{document_title}}` - Document-specific title
|
|
638
630
|
- `{{section_content}}` - Placeholder for generated content
|
|
639
631
|
|
|
640
632
|
**AI Processing Instructions:**
|
|
633
|
+
|
|
641
634
|
- `[[LLM: Instructions for AI behavior]]` - AI-only processing directives
|
|
642
635
|
- `@{example: Sample content}` - Guidance examples (not output)
|
|
643
636
|
- `tasks#advanced-elicitation` - Reference to embedded tasks
|
|
644
637
|
|
|
645
638
|
**Conditional Content:**
|
|
639
|
+
|
|
646
640
|
```markdown
|
|
647
641
|
^^CONDITION: has_ui^^
|
|
642
|
+
|
|
648
643
|
## User Interface Section
|
|
644
|
+
|
|
649
645
|
[[LLM: Only include for UI projects]]
|
|
650
646
|
^^/CONDITION^^
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
`````
|
|
647
|
+
```
|
|
654
648
|
|
|
655
649
|
#### Document Sharding
|
|
656
650
|
|
|
@@ -658,7 +652,7 @@ Level 2 headings (`##`) in templates can be automatically sharded into separate
|
|
|
658
652
|
|
|
659
653
|
**Original PRD:**
|
|
660
654
|
|
|
661
|
-
|
|
655
|
+
```markdown
|
|
662
656
|
## Goals and Background Context
|
|
663
657
|
|
|
664
658
|
## Requirements
|
|
@@ -666,10 +660,10 @@ Level 2 headings (`##`) in templates can be automatically sharded into separate
|
|
|
666
660
|
## User Interface Design Goals
|
|
667
661
|
|
|
668
662
|
## Success Metrics
|
|
669
|
-
|
|
670
|
-
````text
|
|
663
|
+
```
|
|
671
664
|
|
|
672
665
|
**After Sharding:**
|
|
666
|
+
|
|
673
667
|
- `docs/prd/goals-and-background-context.md`
|
|
674
668
|
- `docs/prd/requirements.md`
|
|
675
669
|
- `docs/prd/user-interface-design-goals.md`
|
|
@@ -694,43 +688,40 @@ Tasks are reusable automation instructions that agents can execute. They follow
|
|
|
694
688
|
## Instructions
|
|
695
689
|
|
|
696
690
|
### 1. Step One
|
|
691
|
+
|
|
697
692
|
- Detailed instructions for the agent
|
|
698
693
|
- Specific behaviors and outputs expected
|
|
699
694
|
|
|
700
695
|
### 2. Step Two
|
|
696
|
+
|
|
701
697
|
- Additional processing steps
|
|
702
698
|
- Integration with other resources
|
|
703
699
|
|
|
704
700
|
## Examples
|
|
705
701
|
|
|
706
702
|
@{example: Concrete usage examples}
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
`````
|
|
703
|
+
```
|
|
710
704
|
|
|
711
705
|
#### Task Patterns
|
|
712
706
|
|
|
713
707
|
**Resource Integration:**
|
|
714
708
|
|
|
715
|
-
|
|
709
|
+
```markdown
|
|
716
710
|
[[LLM: Check if docs/coding-standards.md exists and reference it]]
|
|
717
711
|
[[LLM: Load docs/openapi-spec.yaml for API context]]
|
|
718
|
-
|
|
719
|
-
````text
|
|
712
|
+
```
|
|
720
713
|
|
|
721
714
|
**Advanced Elicitation:**
|
|
715
|
+
|
|
722
716
|
```markdown
|
|
723
717
|
[[LLM: Apply tasks#advanced-elicitation protocol after completion]]
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
`````
|
|
718
|
+
```
|
|
727
719
|
|
|
728
720
|
**Conditional Logic:**
|
|
729
721
|
|
|
730
|
-
|
|
722
|
+
```markdown
|
|
731
723
|
[[LLM: If project has UI components, also check frontend standards]]
|
|
732
|
-
|
|
733
|
-
````text
|
|
724
|
+
```
|
|
734
725
|
|
|
735
726
|
### Creating Custom Agents
|
|
736
727
|
|
|
@@ -764,21 +755,19 @@ dependencies:
|
|
|
764
755
|
- custom-task.md
|
|
765
756
|
data:
|
|
766
757
|
- domain-knowledge.md
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
`````
|
|
758
|
+
```
|
|
770
759
|
|
|
771
760
|
#### Agent Startup Instructions
|
|
772
761
|
|
|
773
762
|
Agents can load project-specific documents and provide custom context:
|
|
774
763
|
|
|
775
|
-
|
|
764
|
+
```yaml
|
|
776
765
|
startup:
|
|
777
766
|
- Load docs/coding-standards.md if available
|
|
778
767
|
- Review docs/project-structure.md for context
|
|
779
768
|
- Check for docs/third-party-apis/ folder
|
|
780
769
|
- Announce specialized capabilities
|
|
781
|
-
```
|
|
770
|
+
```
|
|
782
771
|
|
|
783
772
|
#### Loading Project Documents
|
|
784
773
|
|
|
@@ -794,11 +783,12 @@ Agents can reference and load documents from the `docs/` folder:
|
|
|
794
783
|
|
|
795
784
|
```markdown
|
|
796
785
|
[[LLM: Before beginning, check for and load relevant context:
|
|
786
|
+
|
|
797
787
|
- docs/coding-standards.md for development standards
|
|
798
788
|
- docs/brand-guidelines.md for design consistency
|
|
799
789
|
- docs/third-party-apis/ for integration requirements
|
|
800
790
|
- Any project-specific documentation in docs/ folder]]
|
|
801
|
-
|
|
791
|
+
```
|
|
802
792
|
|
|
803
793
|
### Technical Preferences System
|
|
804
794
|
|
|
@@ -812,7 +802,7 @@ This file allows you to define your preferred technologies, patterns, and standa
|
|
|
812
802
|
|
|
813
803
|
**Technology Stack Preferences:**
|
|
814
804
|
|
|
815
|
-
|
|
805
|
+
```markdown
|
|
816
806
|
## Preferred Technologies
|
|
817
807
|
|
|
818
808
|
### Frontend
|
|
@@ -831,29 +821,28 @@ This file allows you to define your preferred technologies, patterns, and standa
|
|
|
831
821
|
|
|
832
822
|
- Vercel for frontend
|
|
833
823
|
- Railway for backend services
|
|
834
|
-
|
|
835
|
-
````text
|
|
824
|
+
```
|
|
836
825
|
|
|
837
826
|
**Design Patterns & Standards:**
|
|
827
|
+
|
|
838
828
|
```markdown
|
|
839
829
|
## Code Standards
|
|
830
|
+
|
|
840
831
|
- Use functional programming patterns where possible
|
|
841
832
|
- Prefer composition over inheritance
|
|
842
833
|
- Always include comprehensive error handling
|
|
843
834
|
- Write tests for all business logic
|
|
844
835
|
|
|
845
836
|
## Architecture Preferences
|
|
837
|
+
|
|
846
838
|
- Microservices for complex applications
|
|
847
839
|
- RESTful APIs with OpenAPI documentation
|
|
848
840
|
- Event-driven architecture for real-time features
|
|
849
|
-
|
|
850
|
-
`````
|
|
851
|
-
|
|
852
|
-
`````
|
|
841
|
+
```
|
|
853
842
|
|
|
854
843
|
**External Services & APIs:**
|
|
855
844
|
|
|
856
|
-
|
|
845
|
+
```markdown
|
|
857
846
|
## Preferred External Services
|
|
858
847
|
|
|
859
848
|
- Auth0 for authentication
|
|
@@ -865,8 +854,7 @@ This file allows you to define your preferred technologies, patterns, and standa
|
|
|
865
854
|
|
|
866
855
|
- Legacy SOAP services
|
|
867
856
|
- Services without proper documentation
|
|
868
|
-
|
|
869
|
-
````text
|
|
857
|
+
```
|
|
870
858
|
|
|
871
859
|
#### How Agents Use This File
|
|
872
860
|
|
|
@@ -880,21 +868,19 @@ This file allows you to define your preferred technologies, patterns, and standa
|
|
|
880
868
|
|
|
881
869
|
**Learning and Evolution**: As you work on projects, add discoveries to your preferences file:
|
|
882
870
|
|
|
883
|
-
```markdown
|
|
884
871
|
## Lessons Learned
|
|
872
|
+
|
|
885
873
|
- Avoid using Library X for large datasets (performance issues)
|
|
886
874
|
- Pattern Y works well for real-time features
|
|
887
875
|
- Service Z has excellent documentation and support
|
|
888
876
|
|
|
889
877
|
## Future Exploration
|
|
878
|
+
|
|
890
879
|
- Want to try Framework A on next appropriate project
|
|
891
880
|
- Interested in Pattern B for microservices
|
|
892
881
|
- Consider Service C for better performance
|
|
893
|
-
`````
|
|
894
|
-
|
|
895
|
-
````
|
|
896
882
|
|
|
897
|
-
|
|
883
|
+
### Using with Web Bundles
|
|
898
884
|
|
|
899
885
|
When creating custom web bundles or uploading to AI platforms, include your `technical-preferences.md` content to ensure agents have your preferences from the start of any conversation.
|
|
900
886
|
|
|
@@ -1050,4 +1036,3 @@ Remember: BMAD is designed to enhance your development process, not replace your
|
|
|
1050
1036
|
---
|
|
1051
1037
|
|
|
1052
1038
|
For additional support, join our [Discord community](https://discord.gg/g6ypHytrCB) or check out the [YouTube channel](https://www.youtube.com/@BMadCode) for video tutorials and walkthroughs.
|
|
1053
|
-
````
|