bmad-method 1.0.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/.bmad-core/agent-teams/team-all.yml +16 -0
- package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
- package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
- package/.bmad-core/agents/analyst.md +65 -0
- package/.bmad-core/agents/architect.md +66 -0
- package/.bmad-core/agents/bmad-master.md +107 -0
- package/.bmad-core/agents/bmad-orchestrator.md +81 -0
- package/.bmad-core/agents/dev.md +69 -0
- package/.bmad-core/agents/pm.md +64 -0
- package/.bmad-core/agents/po.md +60 -0
- package/.bmad-core/agents/qa.md +52 -0
- package/.bmad-core/agents/sm.md +60 -0
- package/.bmad-core/agents/ux-expert.md +66 -0
- package/.bmad-core/checklists/architect-checklist.md +443 -0
- package/.bmad-core/checklists/change-checklist.md +182 -0
- package/.bmad-core/checklists/pm-checklist.md +375 -0
- package/.bmad-core/checklists/po-master-checklist.md +441 -0
- package/.bmad-core/checklists/story-dod-checklist.md +101 -0
- package/.bmad-core/checklists/story-draft-checklist.md +156 -0
- package/.bmad-core/data/bmad-kb.md +36 -0
- package/.bmad-core/data/technical-preferences.md +3 -0
- package/.bmad-core/schemas/agent-team-schema.yml +153 -0
- package/.bmad-core/tasks/advanced-elicitation.md +92 -0
- package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
- package/.bmad-core/tasks/brownfield-create-epic.md +160 -0
- package/.bmad-core/tasks/brownfield-create-story.md +147 -0
- package/.bmad-core/tasks/core-dump.md +74 -0
- package/.bmad-core/tasks/correct-course.md +73 -0
- package/.bmad-core/tasks/create-agent.md +202 -0
- package/.bmad-core/tasks/create-deep-research-prompt.md +301 -0
- package/.bmad-core/tasks/create-doc.md +74 -0
- package/.bmad-core/tasks/create-expansion-pack.md +425 -0
- package/.bmad-core/tasks/create-next-story.md +206 -0
- package/.bmad-core/tasks/create-team.md +229 -0
- package/.bmad-core/tasks/doc-migration-task.md +198 -0
- package/.bmad-core/tasks/execute-checklist.md +97 -0
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
- package/.bmad-core/tasks/index-docs.md +180 -0
- package/.bmad-core/tasks/shard-doc.md +173 -0
- package/.bmad-core/templates/agent-tmpl.md +58 -0
- package/.bmad-core/templates/architecture-tmpl.md +771 -0
- package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
- package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
- package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
- package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
- package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
- package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
- package/.bmad-core/templates/fullstack-architecture-tmpl.md +1034 -0
- package/.bmad-core/templates/market-research-tmpl.md +261 -0
- package/.bmad-core/templates/prd-tmpl.md +200 -0
- package/.bmad-core/templates/project-brief-tmpl.md +228 -0
- package/.bmad-core/templates/story-tmpl.md +61 -0
- package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
- package/.bmad-core/utils/agent-switcher.ide.md +112 -0
- package/.bmad-core/utils/template-format.md +26 -0
- package/.bmad-core/utils/workflow-management.md +224 -0
- package/.bmad-core/web-bundles/agents/analyst.txt +1679 -0
- package/.bmad-core/web-bundles/agents/architect.txt +3602 -0
- package/.bmad-core/web-bundles/agents/bmad-master.txt +9496 -0
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1455 -0
- package/.bmad-core/web-bundles/agents/dev.txt +315 -0
- package/.bmad-core/web-bundles/agents/pm.txt +2196 -0
- package/.bmad-core/web-bundles/agents/po.txt +1489 -0
- package/.bmad-core/web-bundles/agents/qa.txt +129 -0
- package/.bmad-core/web-bundles/agents/sm.txt +663 -0
- package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
- package/.bmad-core/web-bundles/teams/team-all.txt +10315 -0
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +9663 -0
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +8504 -0
- package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
- package/.bmad-core/workflows/brownfield-service.yml +117 -0
- package/.bmad-core/workflows/brownfield-ui.yml +127 -0
- package/.bmad-core/workflows/greenfield-fullstack.yml +177 -0
- package/.bmad-core/workflows/greenfield-service.yml +143 -0
- package/.bmad-core/workflows/greenfield-ui.yml +172 -0
- package/.claude/commands/analyst.md +69 -0
- package/.claude/commands/architect.md +70 -0
- package/.claude/commands/bmad-master.md +111 -0
- package/.claude/commands/bmad-orchestrator.md +85 -0
- package/.claude/commands/dev.md +73 -0
- package/.claude/commands/pm.md +68 -0
- package/.claude/commands/po.md +64 -0
- package/.claude/commands/qa.md +56 -0
- package/.claude/commands/sm.md +64 -0
- package/.claude/commands/ux-expert.md +70 -0
- package/.cursor/rules/analyst.mdc +83 -0
- package/.cursor/rules/architect.mdc +84 -0
- package/.cursor/rules/bmad-master.mdc +125 -0
- package/.cursor/rules/bmad-orchestrator.mdc +99 -0
- package/.cursor/rules/dev.mdc +87 -0
- package/.cursor/rules/pm.mdc +82 -0
- package/.cursor/rules/po.mdc +78 -0
- package/.cursor/rules/qa.mdc +70 -0
- package/.cursor/rules/sm.mdc +78 -0
- package/.cursor/rules/ux-expert.mdc +84 -0
- package/.github/workflows/release.yml +59 -0
- package/.husky/pre-commit +2 -0
- package/.releaserc.json +17 -0
- package/.roo/.roomodes +95 -0
- package/.roo/README.md +38 -0
- package/.vscode/extensions.json +6 -0
- package/.vscode/settings.json +72 -0
- package/.windsurf/rules/analyst.md +77 -0
- package/.windsurf/rules/architect.md +78 -0
- package/.windsurf/rules/bmad-master.md +119 -0
- package/.windsurf/rules/bmad-orchestrator.md +93 -0
- package/.windsurf/rules/dev.md +81 -0
- package/.windsurf/rules/pm.md +76 -0
- package/.windsurf/rules/po.md +72 -0
- package/.windsurf/rules/qa.md +64 -0
- package/.windsurf/rules/sm.md +72 -0
- package/.windsurf/rules/ux-expert.md +78 -0
- package/CHANGELOG.md +22 -0
- package/CONTRIBUTING.md +46 -0
- package/LICENSE +21 -0
- package/README.md +283 -0
- package/docs/versioning-and-releases.md +85 -0
- package/docs/versions.md +49 -0
- package/expansion-packs/README.md +113 -0
- package/expansion-packs/infrastructure-devops/README.md +147 -0
- package/expansion-packs/infrastructure-devops/agents/infra-devops-platform.md +59 -0
- package/expansion-packs/infrastructure-devops/checklists/infrastructure-checklist.md +484 -0
- package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
- package/expansion-packs/infrastructure-devops/tasks/review-infrastructure.md +160 -0
- package/expansion-packs/infrastructure-devops/tasks/validate-infrastructure.md +154 -0
- package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
- package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/package.json +73 -0
- package/tools/bmad-npx-wrapper.js +41 -0
- package/tools/builders/web-builder.js +145 -0
- package/tools/cli.js +119 -0
- package/tools/installer/README.md +58 -0
- package/tools/installer/bin/bmad.js +179 -0
- package/tools/installer/config/install.config.yml +139 -0
- package/tools/installer/lib/config-loader.js +89 -0
- package/tools/installer/lib/file-manager.js +169 -0
- package/tools/installer/lib/ide-setup.js +419 -0
- package/tools/installer/lib/installer.js +534 -0
- package/tools/installer/package-lock.json +704 -0
- package/tools/installer/package.json +43 -0
- package/tools/installer/templates/claude-commands.md +7 -0
- package/tools/installer/templates/cursor-rules.md +22 -0
- package/tools/installer/templates/windsurf-rules.md +22 -0
- package/tools/lib/dependency-resolver.js +179 -0
- package/tools/upgraders/v3-to-v4-upgrader.js +766 -0
- package/tools/version-bump.js +72 -0
- package/tools/yaml-format.js +211 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# How to Release a New Version
|
|
2
|
+
|
|
3
|
+
## Automated Releases (Recommended)
|
|
4
|
+
|
|
5
|
+
The easiest way to release new versions is through **automatic semantic releases**. Just commit with the right message format and push - everything else happens automatically!
|
|
6
|
+
|
|
7
|
+
### Commit Message Format
|
|
8
|
+
|
|
9
|
+
Use these prefixes to control what type of release happens:
|
|
10
|
+
|
|
11
|
+
````bash
|
|
12
|
+
fix: resolve CLI argument parsing bug # → patch release (4.1.0 → 4.1.1)
|
|
13
|
+
feat: add new agent orchestration mode # → minor release (4.1.0 → 4.2.0)
|
|
14
|
+
feat!: redesign CLI interface # → major release (4.1.0 → 5.0.0)
|
|
15
|
+
```text
|
|
16
|
+
|
|
17
|
+
### What Happens Automatically
|
|
18
|
+
|
|
19
|
+
When you push commits with `fix:` or `feat:`, GitHub Actions will:
|
|
20
|
+
|
|
21
|
+
1. ✅ Analyze your commit messages
|
|
22
|
+
2. ✅ Bump version in `package.json`
|
|
23
|
+
3. ✅ Generate changelog
|
|
24
|
+
4. ✅ Create git tag
|
|
25
|
+
5. ✅ **Publish to NPM automatically**
|
|
26
|
+
6. ✅ Create GitHub release with notes
|
|
27
|
+
|
|
28
|
+
### Your Simple Workflow
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Make your changes
|
|
32
|
+
git add .
|
|
33
|
+
git commit -m "feat: add team collaboration mode"
|
|
34
|
+
git push
|
|
35
|
+
|
|
36
|
+
# That's it! Release happens automatically 🎉
|
|
37
|
+
# Users can now run: npx bmad-method (and get the new version)
|
|
38
|
+
````
|
|
39
|
+
|
|
40
|
+
### Commits That DON'T Trigger Releases
|
|
41
|
+
|
|
42
|
+
These commit types won't create releases (use them for maintenance):
|
|
43
|
+
|
|
44
|
+
````bash
|
|
45
|
+
chore: update dependencies # No release
|
|
46
|
+
docs: fix typo in readme # No release
|
|
47
|
+
style: format code # No release
|
|
48
|
+
test: add unit tests # No release
|
|
49
|
+
```text
|
|
50
|
+
|
|
51
|
+
### Test Your Setup
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm run release:test # Safe to run locally - tests the config
|
|
55
|
+
````
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Manual Release Methods (Exceptions Only)
|
|
60
|
+
|
|
61
|
+
**⚠️ Only use these methods if you need to bypass the automatic system**
|
|
62
|
+
|
|
63
|
+
### Quick Manual Version Bump
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npm run version:patch # 4.1.0 → 4.1.1 (bug fixes)
|
|
67
|
+
npm run version:minor # 4.1.0 → 4.2.0 (new features)
|
|
68
|
+
npm run version:major # 4.1.0 → 5.0.0 (breaking changes)
|
|
69
|
+
|
|
70
|
+
# Then manually publish:
|
|
71
|
+
npm publish
|
|
72
|
+
git push && git push --tags
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Manual GitHub Actions Trigger
|
|
76
|
+
|
|
77
|
+
You can also trigger releases manually through GitHub Actions workflow dispatch if needed.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Summary
|
|
82
|
+
|
|
83
|
+
**For 99% of releases**: Just use `fix:` or `feat:` commit messages and push. Everything else is automatic!
|
|
84
|
+
|
|
85
|
+
**Manual methods**: Only needed for special cases or if you want to bypass the automated system.
|
package/docs/versions.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Version History
|
|
2
|
+
|
|
3
|
+
## Previous Versions
|
|
4
|
+
|
|
5
|
+
- [Version 3](https://github.com/bmadcode/BMAD-METHOD/tree/V3)
|
|
6
|
+
- [Version 2](https://github.com/bmadcode/BMAD-METHOD/tree/V2)
|
|
7
|
+
- [Version 1](https://github.com/bmadcode/BMAD-METHOD/tree/V1)
|
|
8
|
+
|
|
9
|
+
## Current Version: V4 - Alpha
|
|
10
|
+
|
|
11
|
+
Guiding Principles of V4:
|
|
12
|
+
|
|
13
|
+
- Simple to understand, install and start using
|
|
14
|
+
- Support Greenfield and Brownfield Scenarios
|
|
15
|
+
- Greater configurability and more scenarios for usage - but kept out of the main package to maintain simplicity
|
|
16
|
+
- Helpers for installers and web builders that will work with any OS and IDE easily
|
|
17
|
+
- Align all agents to be the same for IDE and Web, without losing the power of the web versions, or the leanness of the files in the IDE to reduce context
|
|
18
|
+
- Further improvements to the two most important agents - the SM and DEV
|
|
19
|
+
- Expansion Packs - Coming soon...
|
|
20
|
+
|
|
21
|
+
## V3
|
|
22
|
+
|
|
23
|
+
With the customizability of V2, there were still some issues. A PM could only easily do one thing, create a PRD. And maintaining the consistency between Web and IDE agents was a pain.
|
|
24
|
+
|
|
25
|
+
V3 didn't fix the disconnect, but it did make it easier to maintain them all in a single folder, but there were only two official ide agents - all the rest were really made and optimized for the web.
|
|
26
|
+
|
|
27
|
+
V3's biggest impact was a full explosion of customizability. Tasks, Personas, Agent Configurations, Doc Templates, data payloads.
|
|
28
|
+
|
|
29
|
+
BUT - the BIGGEST change was the realization that we were barely scratching the surface of what could be loaded into Gemini Gems and still have very long chats. The BMAD AGENT arose, and with a single V3 release - the future of the BMad Method was changed forever.
|
|
30
|
+
|
|
31
|
+
Now, instead of configuring 4+ web agents, all needing many files uploaded to create them, a single Agent called BMad, with a whole team, and the ability to switch and maintain personas evolved. Now you could in the same chat thread, talk to the whole team, or anyone on the team. No more exporting and reimporting docs to different chats - all of the sudden, you could finish the PRD, and ask Josh to pass it off to the Architect, and that was it, the architect just had it and we moved on! And all of that with just 7 total files to upload, delivering all power.
|
|
32
|
+
|
|
33
|
+
But V3 had a major flaw - with massive configuration comes massive complexity - and in some ways, V3 started to get away from core principles - power through simplicity. The core system needs to do one thing well and be solid, and not stretch too thing with every possible thing.
|
|
34
|
+
|
|
35
|
+
Also - while the dev is amazing and better in V3 than all the past, along with the SM - the dev started over documenting every step and really started to bloat stories with their own notes. And the SM was forgetting to add details to stories, or embellishing information. This was fixed somewhat in V3.1 - but the dev is still over explaining everything it does, instead of just capturing the changes to the story.
|
|
36
|
+
|
|
37
|
+
## V2
|
|
38
|
+
|
|
39
|
+
After V1 proved that the BMad method was solid and repeatable, 2 key ideas emerged. Separation of concerns, and building for the web made easier. By separating out templates - it was now much easier for the PRD fields to be customized, or the architecture.
|
|
40
|
+
|
|
41
|
+
And the introduction that really supercharged everything in my opinion, the web versions! There were 4 hard coded web variants hand crafted - and we saw that we could, dirt cheap, work with agents for hours in the massive context of Gemini - from a PRD generating PM, through to an architect and even an analyst that could help us do extensive market research and brain storming.
|
|
42
|
+
|
|
43
|
+
What I never expected is the names would stick, and people would keep the sample names I made that I thought people would configure. But now 4 version is, people refer to Mary, and John, and Bob! And when I randomly changed the names, I got A LOT of feedback! These have become trusted allies people are relying on, including for me!
|
|
44
|
+
|
|
45
|
+
## V1
|
|
46
|
+
|
|
47
|
+
Believe it or not (well you can view the link), V1 was a simple 7 file system! 7 Core agents working in harmony to help build a pretty specific type of application. But it showed its power and adaptability.
|
|
48
|
+
|
|
49
|
+
Meant to be a simple Tech Demo showing how custom agents with agile personas can help streamline your project, and create rails for your dev agents that to that point had gone unmatched - while also putting a focus on the planning phases - the project sparked the imagination of many, and a seed of a potential was realized.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# BMAD Method Expansion Packs
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Expansion packs extend BMAD Method with specialized capabilities for specific use cases. They allow teams to add functionality without cluttering the core workflow.
|
|
6
|
+
|
|
7
|
+
## Core BMAD Flow
|
|
8
|
+
|
|
9
|
+
The original BMAD Method follows a simple, proven flow:
|
|
10
|
+
|
|
11
|
+
````text
|
|
12
|
+
Analyst → PM → Architect → SM → Dev
|
|
13
|
+
(Brief) → (PRD) → (Architecture) → (Stories) → (Implementation)
|
|
14
|
+
```text
|
|
15
|
+
|
|
16
|
+
This core flow remains clean and focused on getting from business requirements to working software.
|
|
17
|
+
|
|
18
|
+
## Why Expansion Packs?
|
|
19
|
+
|
|
20
|
+
As BMAD has evolved, we've identified specialized needs that don't fit every project:
|
|
21
|
+
|
|
22
|
+
- Infrastructure and DevOps workflows
|
|
23
|
+
- UX/UI design processes
|
|
24
|
+
- Data engineering pipelines
|
|
25
|
+
- Security and compliance workflows
|
|
26
|
+
- Mobile development patterns
|
|
27
|
+
- Real World assistance and workflows without AI Agents development in mind
|
|
28
|
+
|
|
29
|
+
Rather than complicate the core method, expansion packs let you "opt-in" to additional capabilities.
|
|
30
|
+
|
|
31
|
+
## Available Expansion Packs
|
|
32
|
+
|
|
33
|
+
### 1. Infrastructure & DevOps
|
|
34
|
+
|
|
35
|
+
- **Purpose**: Cloud infrastructure design and platform engineering
|
|
36
|
+
- **Adds**: DevOps agent, infrastructure templates, validation checklists
|
|
37
|
+
- **Use When**: You need to design and implement cloud infrastructure
|
|
38
|
+
|
|
39
|
+
### 2. UX/Design (Coming Soon)
|
|
40
|
+
|
|
41
|
+
- **Purpose**: User experience and interface design workflows
|
|
42
|
+
- **Adds**: Design Architect agent, UI component templates
|
|
43
|
+
- **Use When**: You need detailed UI/UX design processes
|
|
44
|
+
|
|
45
|
+
### 3. Data Engineering (Planned)
|
|
46
|
+
|
|
47
|
+
- **Purpose**: Data pipeline and analytics infrastructure
|
|
48
|
+
- **Adds**: Data Engineer agent, ETL templates, data architecture patterns
|
|
49
|
+
- **Use When**: You're building data-intensive applications
|
|
50
|
+
|
|
51
|
+
## Structure of an Expansion Pack
|
|
52
|
+
|
|
53
|
+
Each expansion pack contains:
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
expansion-pack-name/
|
|
57
|
+
├── README.md # Overview and usage instructions
|
|
58
|
+
├── manifest.yml # Installation configuration
|
|
59
|
+
├── agents/ # Agent configurations (.yml)
|
|
60
|
+
├── personas/ # Persona definitions (.md)
|
|
61
|
+
├── ide-agents/ # IDE-specific agents (.ide.md)
|
|
62
|
+
├── templates/ # Document templates (.md)
|
|
63
|
+
├── tasks/ # Specialized tasks (.md)
|
|
64
|
+
└── checklists/ # Validation checklists (.md)
|
|
65
|
+
````
|
|
66
|
+
|
|
67
|
+
## Installing an Expansion Pack
|
|
68
|
+
|
|
69
|
+
### Method 1: NPM Script
|
|
70
|
+
|
|
71
|
+
````bash
|
|
72
|
+
npm run install:expansion <pack-name>
|
|
73
|
+
```text
|
|
74
|
+
|
|
75
|
+
### Method 2: Direct Script
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
node tools/install-expansion-pack.js <pack-name>
|
|
79
|
+
````
|
|
80
|
+
|
|
81
|
+
### Method 3: Manual
|
|
82
|
+
|
|
83
|
+
1. Copy files according to manifest.yml
|
|
84
|
+
2. Update team configurations as needed
|
|
85
|
+
3. Rebuild bundles with `npm run build`
|
|
86
|
+
|
|
87
|
+
## Creating Your Own Expansion Pack
|
|
88
|
+
|
|
89
|
+
1. Create a new folder under `expansion-packs/`
|
|
90
|
+
2. Add your specialized agents, templates, and tasks
|
|
91
|
+
3. Create a manifest.yml defining installation mappings
|
|
92
|
+
4. Write a README explaining purpose and usage
|
|
93
|
+
5. Test installation process
|
|
94
|
+
|
|
95
|
+
## Best Practices
|
|
96
|
+
|
|
97
|
+
1. **Keep Core Simple**: Don't add to core what could be an expansion
|
|
98
|
+
2. **Clear Purpose**: Each pack should solve a specific need
|
|
99
|
+
3. **Self-Contained**: Packs should work independently when possible
|
|
100
|
+
4. **Document Well**: Clear README and usage examples
|
|
101
|
+
5. **Version Compatibility**: Note which BMAD version the pack requires
|
|
102
|
+
|
|
103
|
+
## Future Vision
|
|
104
|
+
|
|
105
|
+
We envision a library of expansion packs for various industries and use cases:
|
|
106
|
+
|
|
107
|
+
- Healthcare compliance workflows
|
|
108
|
+
- Financial services security patterns
|
|
109
|
+
- E-commerce optimization flows
|
|
110
|
+
- Gaming development pipelines
|
|
111
|
+
- IoT device management
|
|
112
|
+
|
|
113
|
+
The goal is to keep BMAD's core simple while allowing infinite extensibility through modular expansion packs.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Infrastructure & DevOps Expansion Pack
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This expansion pack extends BMAD Method with comprehensive infrastructure and DevOps capabilities. It's designed for teams that need to define, implement, and manage cloud infrastructure alongside their application development.
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
While the core BMAD flow focuses on getting from business requirements to development (Analyst → PM → Architect → SM → Dev), many projects require sophisticated infrastructure planning and implementation. This expansion pack adds:
|
|
10
|
+
|
|
11
|
+
- Infrastructure architecture design capabilities
|
|
12
|
+
- Platform engineering implementation workflows
|
|
13
|
+
- DevOps automation and CI/CD pipeline design
|
|
14
|
+
- Cloud resource management and optimization
|
|
15
|
+
- Security and compliance validation
|
|
16
|
+
|
|
17
|
+
## When to Use This Pack
|
|
18
|
+
|
|
19
|
+
Install this expansion pack when your project requires:
|
|
20
|
+
|
|
21
|
+
- Cloud infrastructure design and implementation
|
|
22
|
+
- Kubernetes/container platform setup
|
|
23
|
+
- Service mesh and GitOps workflows
|
|
24
|
+
- Infrastructure as Code (IaC) development
|
|
25
|
+
- Platform engineering and DevOps practices
|
|
26
|
+
|
|
27
|
+
## What's Included
|
|
28
|
+
|
|
29
|
+
### Agents
|
|
30
|
+
|
|
31
|
+
- `devops.yml` - DevOps and Platform Engineering agent configuration
|
|
32
|
+
|
|
33
|
+
### Personas
|
|
34
|
+
|
|
35
|
+
- `devops.md` - DevOps Engineer persona (Alex)
|
|
36
|
+
|
|
37
|
+
### IDE Agents
|
|
38
|
+
|
|
39
|
+
- `devops.ide.md` - IDE-specific DevOps agent configuration
|
|
40
|
+
|
|
41
|
+
### Templates
|
|
42
|
+
|
|
43
|
+
- `infrastructure-architecture-tmpl.md` - Infrastructure architecture design template
|
|
44
|
+
- `infrastructure-platform-from-arch-tmpl.md` - Platform implementation from architecture template
|
|
45
|
+
|
|
46
|
+
### Tasks
|
|
47
|
+
|
|
48
|
+
- `infra/validate-infrastructure.md` - Infrastructure validation workflow
|
|
49
|
+
- `infra/review-infrastructure.md` - Infrastructure review process
|
|
50
|
+
|
|
51
|
+
### Checklists
|
|
52
|
+
|
|
53
|
+
- `infrastructure-checklist.md` - Comprehensive 16-section infrastructure validation checklist
|
|
54
|
+
|
|
55
|
+
## Integration with Core BMAD
|
|
56
|
+
|
|
57
|
+
This expansion pack integrates with the core BMAD flow at these points:
|
|
58
|
+
|
|
59
|
+
1. **After Architecture Phase**: The Architect can trigger infrastructure architecture design
|
|
60
|
+
2. **Parallel to Development**: Infrastructure implementation can proceed alongside application development
|
|
61
|
+
3. **Before Deployment**: Infrastructure must be validated before application deployment
|
|
62
|
+
|
|
63
|
+
## Installation
|
|
64
|
+
|
|
65
|
+
To install this expansion pack, run:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm run install:expansion infrastructure
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Or manually:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
node tools/install-expansion-pack.js infrastructure
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
This will:
|
|
78
|
+
|
|
79
|
+
1. Copy all files to their appropriate locations in `.bmad-core/`
|
|
80
|
+
2. Update any necessary configurations
|
|
81
|
+
3. Make the DevOps agent available in teams
|
|
82
|
+
|
|
83
|
+
## Usage Examples
|
|
84
|
+
|
|
85
|
+
### 1. Infrastructure Architecture Design
|
|
86
|
+
|
|
87
|
+
After the main architecture is complete:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Using the Architect agent
|
|
91
|
+
*create-infrastructure
|
|
92
|
+
|
|
93
|
+
# Or directly with DevOps agent
|
|
94
|
+
npm run agent devops
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 2. Platform Implementation
|
|
98
|
+
|
|
99
|
+
With an approved infrastructure architecture:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
# DevOps agent implements the platform
|
|
103
|
+
*implement-platform
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### 3. Infrastructure Validation
|
|
107
|
+
|
|
108
|
+
Before deployment:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Validate infrastructure against checklist
|
|
112
|
+
*validate-infra
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Team Integration
|
|
116
|
+
|
|
117
|
+
The DevOps agent can be added to team configurations:
|
|
118
|
+
|
|
119
|
+
- `team-technical.yml` - For technical implementation teams
|
|
120
|
+
- `team-full-org.yml` - For complete organizational teams
|
|
121
|
+
|
|
122
|
+
## Dependencies
|
|
123
|
+
|
|
124
|
+
This expansion pack works best when used with:
|
|
125
|
+
|
|
126
|
+
- Core BMAD agents (especially Architect)
|
|
127
|
+
- Technical preferences documentation
|
|
128
|
+
- Approved PRD and system architecture
|
|
129
|
+
|
|
130
|
+
## Customization
|
|
131
|
+
|
|
132
|
+
You can customize this expansion pack by:
|
|
133
|
+
|
|
134
|
+
1. Modifying the infrastructure templates for your cloud provider
|
|
135
|
+
2. Adjusting the checklist items for your compliance needs
|
|
136
|
+
3. Adding custom tasks for your specific workflows
|
|
137
|
+
|
|
138
|
+
## Notes
|
|
139
|
+
|
|
140
|
+
- Infrastructure work requires real-world cloud credentials and configurations
|
|
141
|
+
- The templates use placeholders ({{variable}}) that need actual values
|
|
142
|
+
- Always validate infrastructure changes before production deployment
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
_Version: 1.0_
|
|
147
|
+
_Compatible with: BMAD Method v4_
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# infra-devops-platform
|
|
2
|
+
|
|
3
|
+
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:
|
|
4
|
+
|
|
5
|
+
```yml
|
|
6
|
+
activation-instructions:
|
|
7
|
+
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
8
|
+
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
9
|
+
- The customization field ALWAYS takes precedence over any conflicting instructions
|
|
10
|
+
- 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
|
|
11
|
+
agent:
|
|
12
|
+
name: Alex
|
|
13
|
+
id: infra-devops-platform
|
|
14
|
+
title: DevOps Infrastructure Specialist Platform Engineer
|
|
15
|
+
customization: Specialized in cloud-native system architectures and tools, like Kubernetes, Docker, GitHub Actions, CI/CD pipelines, and infrastructure-as-code practices (e.g., Terraform, CloudFormation, Bicep, etc.).
|
|
16
|
+
persona:
|
|
17
|
+
role: DevOps Engineer & Platform Reliability Expert
|
|
18
|
+
style: Systematic, automation-focused, reliability-driven, proactive. Focuses on building and maintaining robust infrastructure, CI/CD pipelines, and operational excellence.
|
|
19
|
+
identity: Master Expert Senior Platform Engineer with 15+ years of experience in DevSecOps, Cloud Engineering, and Platform Engineering with deep SRE knowledge
|
|
20
|
+
focus: Production environment resilience, reliability, security, and performance for optimal customer experience
|
|
21
|
+
core_principles:
|
|
22
|
+
- Infrastructure as Code - Treat all infrastructure configuration as code. Use declarative approaches, version control everything, ensure reproducibility
|
|
23
|
+
- Automation First - Automate repetitive tasks, deployments, and operational procedures. Build self-healing and self-scaling systems
|
|
24
|
+
- Reliability & Resilience - Design for failure. Build fault-tolerant, highly available systems with graceful degradation
|
|
25
|
+
- Security & Compliance - Embed security in every layer. Implement least privilege, encryption, and maintain compliance standards
|
|
26
|
+
- Performance Optimization - Continuously monitor and optimize. Implement caching, load balancing, and resource scaling for SLAs
|
|
27
|
+
- Cost Efficiency - Balance technical requirements with cost. Optimize resource usage and implement auto-scaling
|
|
28
|
+
- Observability & Monitoring - Implement comprehensive logging, monitoring, and tracing for quick issue diagnosis
|
|
29
|
+
- CI/CD Excellence - Build robust pipelines for fast, safe, reliable software delivery through automation and testing
|
|
30
|
+
- Disaster Recovery - Plan for worst-case scenarios with backup strategies and regularly tested recovery procedures
|
|
31
|
+
- Collaborative Operations - Work closely with development teams fostering shared responsibility for system reliability
|
|
32
|
+
startup:
|
|
33
|
+
- Announce: Hey! I'm Alex, your DevOps Infrastructure Specialist. I love when things run secure, stable, reliable and performant. I can help with infrastructure architecture, platform engineering, CI/CD pipelines, and operational excellence. What infrastructure challenge can I help you with today?
|
|
34
|
+
- "List available tasks: review-infrastructure, validate-infrastructure, create infrastructure documentation"
|
|
35
|
+
- "List available templates: infrastructure-architecture, infrastructure-platform-from-arch"
|
|
36
|
+
- Execute selected task or stay in persona to help guided by Core DevOps Principles
|
|
37
|
+
commands:
|
|
38
|
+
- '*help" - Show: numbered list of the following commands to allow selection'
|
|
39
|
+
- '*chat-mode" - (Default) Conversational mode for infrastructure and DevOps guidance'
|
|
40
|
+
- '*create-doc {template}" - Create doc (no template = show available templates)'
|
|
41
|
+
- '*review-infrastructure" - Review existing infrastructure for best practices'
|
|
42
|
+
- '*validate-infrastructure" - Validate infrastructure against security and reliability standards'
|
|
43
|
+
- '*checklist" - Run infrastructure checklist for comprehensive review'
|
|
44
|
+
- '*exit" - Say goodbye as Alex, the DevOps Infrastructure Specialist, and then abandon inhabiting this persona'
|
|
45
|
+
dependencies:
|
|
46
|
+
tasks:
|
|
47
|
+
- create-doc
|
|
48
|
+
- review-infrastructure
|
|
49
|
+
- validate-infrastructure
|
|
50
|
+
templates:
|
|
51
|
+
- infrastructure-architecture-tmpl
|
|
52
|
+
- infrastructure-platform-from-arch-tmpl
|
|
53
|
+
checklists:
|
|
54
|
+
- infrastructure-checklist
|
|
55
|
+
data:
|
|
56
|
+
- technical-preferences
|
|
57
|
+
utils:
|
|
58
|
+
- template-format
|
|
59
|
+
```
|