bmad-method 4.27.6 → 5.0.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 (274) hide show
  1. package/.bmad-core/agent-teams/team-all.yml +16 -0
  2. package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
  3. package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
  4. package/{bmad-core → .bmad-core}/agents/analyst.md +23 -29
  5. package/.bmad-core/agents/architect.md +66 -0
  6. package/.bmad-core/agents/bmad-master.md +104 -0
  7. package/.bmad-core/agents/bmad-orchestrator.md +81 -0
  8. package/.bmad-core/agents/dev.md +70 -0
  9. package/{bmad-core → .bmad-core}/agents/pm.md +24 -24
  10. package/{bmad-core → .bmad-core}/agents/po.md +24 -27
  11. package/.bmad-core/agents/qa.md +52 -0
  12. package/.bmad-core/agents/sm.md +55 -0
  13. package/.bmad-core/agents/ux-expert.md +66 -0
  14. package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
  15. package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
  16. package/.bmad-core/data/bmad-kb.md +47 -0
  17. package/.bmad-core/schemas/agent-team-schema.yml +153 -0
  18. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  19. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  20. package/.bmad-core/tasks/core-dump.md +74 -0
  21. package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
  22. package/.bmad-core/tasks/create-doc.md +74 -0
  23. package/.bmad-core/tasks/create-expansion-pack.md +425 -0
  24. package/.bmad-core/tasks/create-next-story.md +206 -0
  25. package/.bmad-core/tasks/create-team.md +229 -0
  26. package/{bmad-core → .bmad-core}/tasks/doc-migration-task.md +9 -9
  27. package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
  28. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
  29. package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
  30. package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
  31. package/.bmad-core/templates/agent-tmpl.md +58 -0
  32. package/.bmad-core/templates/architecture-tmpl.md +771 -0
  33. package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
  34. package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
  35. package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
  36. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
  37. package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
  38. package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
  39. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1016 -0
  40. package/.bmad-core/templates/market-research-tmpl.md +261 -0
  41. package/.bmad-core/templates/prd-tmpl.md +200 -0
  42. package/.bmad-core/templates/project-brief-tmpl.md +228 -0
  43. package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
  44. package/.bmad-core/templates/story-tmpl.md +61 -0
  45. package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
  46. package/.bmad-core/utils/agent-switcher.ide.md +112 -0
  47. package/.bmad-core/utils/template-format.md +26 -0
  48. package/.bmad-core/utils/workflow-management.md +224 -0
  49. package/.bmad-core/web-bundles/agents/analyst.txt +1684 -0
  50. package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
  51. package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
  52. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
  53. package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
  54. package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
  55. package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
  56. package/.bmad-core/web-bundles/agents/qa.txt +129 -0
  57. package/.bmad-core/web-bundles/agents/sm.txt +658 -0
  58. package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
  59. package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
  60. package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
  61. package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -0
  62. package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
  63. package/.bmad-core/workflows/brownfield-service.yml +117 -0
  64. package/.bmad-core/workflows/brownfield-ui.yml +127 -0
  65. package/.bmad-core/workflows/greenfield-fullstack.yml +177 -0
  66. package/.bmad-core/workflows/greenfield-service.yml +143 -0
  67. package/.bmad-core/workflows/greenfield-ui.yml +172 -0
  68. package/.claude/commands/analyst.md +63 -0
  69. package/.claude/commands/architect.md +70 -0
  70. package/.claude/commands/bmad-master.md +108 -0
  71. package/.claude/commands/bmad-orchestrator.md +85 -0
  72. package/.claude/commands/dev.md +74 -0
  73. package/.claude/commands/pm.md +63 -0
  74. package/.claude/commands/po.md +64 -0
  75. package/.claude/commands/qa.md +56 -0
  76. package/.claude/commands/sm.md +59 -0
  77. package/.claude/commands/ux-expert.md +70 -0
  78. package/.cursor/rules/analyst.mdc +77 -0
  79. package/.cursor/rules/architect.mdc +84 -0
  80. package/.cursor/rules/bmad-master.mdc +122 -0
  81. package/.cursor/rules/bmad-orchestrator.mdc +99 -0
  82. package/.cursor/rules/dev.mdc +88 -0
  83. package/.cursor/rules/pm.mdc +77 -0
  84. package/.cursor/rules/po.mdc +78 -0
  85. package/.cursor/rules/qa.mdc +70 -0
  86. package/.cursor/rules/sm.mdc +73 -0
  87. package/.cursor/rules/ux-expert.mdc +84 -0
  88. package/.roo/.roomodes +95 -0
  89. package/.roo/README.md +38 -0
  90. package/.vscode/extensions.json +6 -0
  91. package/.vscode/settings.json +75 -49
  92. package/.windsurf/rules/analyst.md +71 -0
  93. package/.windsurf/rules/architect.md +78 -0
  94. package/.windsurf/rules/bmad-master.md +116 -0
  95. package/.windsurf/rules/bmad-orchestrator.md +93 -0
  96. package/.windsurf/rules/dev.md +82 -0
  97. package/.windsurf/rules/pm.md +71 -0
  98. package/.windsurf/rules/po.md +72 -0
  99. package/.windsurf/rules/qa.md +64 -0
  100. package/.windsurf/rules/sm.md +67 -0
  101. package/.windsurf/rules/ux-expert.md +78 -0
  102. package/CHANGELOG.md +16 -459
  103. package/CONTRIBUTING.md +5 -168
  104. package/LICENSE +1 -1
  105. package/README.md +230 -77
  106. package/docs/bmad-workflow-guide.md +15 -19
  107. package/docs/claude-code-guide.md +119 -0
  108. package/docs/cursor-guide.md +127 -0
  109. package/docs/roo-code-guide.md +140 -0
  110. package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
  111. package/docs/versioning-and-releases.md +16 -8
  112. package/docs/versions.md +5 -4
  113. package/docs/windsurf-guide.md +127 -0
  114. package/expansion-packs/README.md +112 -2
  115. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
  116. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -14
  117. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
  118. package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
  119. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
  120. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
  121. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
  122. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  123. package/package.json +11 -19
  124. package/tools/bmad-npx-wrapper.js +1 -1
  125. package/tools/builders/web-builder.js +28 -563
  126. package/tools/cli.js +22 -55
  127. package/tools/installer/README.md +53 -3
  128. package/tools/installer/bin/bmad.js +56 -294
  129. package/tools/installer/config/install.config.yml +139 -0
  130. package/tools/installer/lib/config-loader.js +34 -198
  131. package/tools/installer/lib/file-manager.js +7 -200
  132. package/tools/installer/lib/ide-setup.js +189 -545
  133. package/tools/installer/lib/installer.js +61 -1171
  134. package/tools/installer/package-lock.json +3 -3
  135. package/tools/installer/package.json +4 -4
  136. package/tools/installer/templates/claude-commands.md +7 -0
  137. package/tools/installer/templates/cursor-rules.md +22 -0
  138. package/tools/installer/templates/windsurf-rules.md +22 -0
  139. package/tools/lib/dependency-resolver.js +22 -22
  140. package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
  141. package/tools/version-bump.js +1 -1
  142. package/tools/yaml-format.js +2 -2
  143. package/.github/FUNDING.yaml +0 -15
  144. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  145. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  146. package/.prettierignore +0 -21
  147. package/.prettierrc +0 -23
  148. package/bmad-core/agent-teams/team-all.yaml +0 -14
  149. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  150. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  151. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  152. package/bmad-core/agents/architect.md +0 -62
  153. package/bmad-core/agents/bmad-master.md +0 -88
  154. package/bmad-core/agents/bmad-orchestrator.md +0 -135
  155. package/bmad-core/agents/dev.md +0 -56
  156. package/bmad-core/agents/qa.md +0 -54
  157. package/bmad-core/agents/sm.md +0 -45
  158. package/bmad-core/agents/ux-expert.md +0 -53
  159. package/bmad-core/core-config.yaml +0 -25
  160. package/bmad-core/data/bmad-kb.md +0 -803
  161. package/bmad-core/data/brainstorming-techniques.md +0 -36
  162. package/bmad-core/data/elicitation-methods.md +0 -134
  163. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  164. package/bmad-core/tasks/create-brownfield-story.md +0 -355
  165. package/bmad-core/tasks/create-next-story.md +0 -113
  166. package/bmad-core/tasks/create-workflow-plan.md +0 -289
  167. package/bmad-core/tasks/document-project.md +0 -317
  168. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  169. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  170. package/bmad-core/tasks/kb-mode-interaction.md +0 -70
  171. package/bmad-core/tasks/review-story.md +0 -145
  172. package/bmad-core/tasks/update-workflow-plan.md +0 -248
  173. package/bmad-core/tasks/validate-next-story.md +0 -134
  174. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  175. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  176. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  177. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  178. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  179. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  180. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  181. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  182. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  183. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  184. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  185. package/bmad-core/templates/story-tmpl.yaml +0 -137
  186. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  187. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  188. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  189. package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
  190. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  191. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  192. package/common/tasks/create-doc.md +0 -79
  193. package/common/utils/bmad-doc-template.md +0 -325
  194. package/common/utils/workflow-management.md +0 -69
  195. package/dist/agents/analyst.txt +0 -2849
  196. package/dist/agents/architect.txt +0 -3505
  197. package/dist/agents/bmad-master.txt +0 -9271
  198. package/dist/agents/bmad-orchestrator.txt +0 -2006
  199. package/dist/agents/qa.txt +0 -388
  200. package/dist/agents/sm.txt +0 -672
  201. package/dist/agents/ux-expert.txt +0 -987
  202. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
  203. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
  204. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
  205. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11504
  206. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
  207. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
  208. package/dist/teams/team-all.txt +0 -11572
  209. package/dist/teams/team-fullstack.txt +0 -10903
  210. package/dist/teams/team-ide-minimal.txt +0 -4346
  211. package/dist/teams/team-no-ui.txt +0 -9458
  212. package/docs/GUIDING-PRINCIPLES.md +0 -91
  213. package/docs/agentic-tools/claude-code-guide.md +0 -19
  214. package/docs/agentic-tools/cline-guide.md +0 -16
  215. package/docs/agentic-tools/cursor-guide.md +0 -14
  216. package/docs/agentic-tools/gemini-cli-guide.md +0 -32
  217. package/docs/agentic-tools/github-copilot-guide.md +0 -42
  218. package/docs/agentic-tools/roo-code-guide.md +0 -15
  219. package/docs/agentic-tools/trae-guide.md +0 -14
  220. package/docs/agentic-tools/windsurf-guide.md +0 -14
  221. package/docs/core-architecture.md +0 -219
  222. package/docs/expansion-packs.md +0 -280
  223. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  224. package/docs/template-markup-references.md +0 -86
  225. package/docs/user-guide.md +0 -1142
  226. package/docs/working-in-the-brownfield.md +0 -361
  227. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  228. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -59
  229. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -67
  230. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -52
  231. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  232. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  233. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
  234. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  235. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  236. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  237. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  238. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  239. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  240. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  241. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  242. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  243. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  244. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  245. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  246. package/expansion-packs/bmad-creator-tools/README.md +0 -8
  247. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -54
  248. package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
  249. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
  250. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
  251. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
  252. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
  253. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
  254. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  255. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  256. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  257. package/tools/bump-all-versions.js +0 -107
  258. package/tools/bump-core-version.js +0 -57
  259. package/tools/bump-expansion-version.js +0 -78
  260. package/tools/installer/config/ide-agent-config.yaml +0 -58
  261. package/tools/installer/config/install.config.yaml +0 -91
  262. package/tools/lib/yaml-utils.js +0 -29
  263. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  264. package/tools/update-expansion-version.js +0 -54
  265. /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
  266. /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
  267. /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
  268. /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
  269. /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
  270. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
  271. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
  272. /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
  273. /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  274. /package/.github/workflows/{release.yaml → release.yml} +0 -0
@@ -1,308 +0,0 @@
1
- # BMad Infrastructure DevOps Expansion Pack Knowledge Base
2
-
3
- ## Overview
4
-
5
- The BMad Infrastructure DevOps expansion pack extends the BMad Method framework with comprehensive infrastructure and DevOps capabilities. It enables teams to design, implement, validate, and maintain modern cloud-native infrastructure alongside their application development efforts.
6
-
7
- **Version**: 1.7.0
8
- **BMad Compatibility**: v4+
9
- **Author**: Brian (BMad)
10
-
11
- ## Core Purpose
12
-
13
- This expansion pack addresses the critical need for systematic infrastructure planning and implementation in modern software projects. It provides:
14
-
15
- - Structured approach to infrastructure architecture design
16
- - Platform engineering implementation guidance
17
- - Comprehensive validation and review processes
18
- - Integration with core BMad development workflows
19
- - Support for cloud-native and traditional infrastructure patterns
20
-
21
- ## When to Use This Expansion Pack
22
-
23
- Use the BMad Infrastructure DevOps expansion pack when your project involves:
24
-
25
- - **Cloud Infrastructure Design**: AWS, Azure, GCP, or multi-cloud architectures
26
- - **Kubernetes and Container Orchestration**: Container platform design and implementation
27
- - **Infrastructure as Code**: Terraform, CloudFormation, Pulumi implementations
28
- - **GitOps Workflows**: ArgoCD, Flux, or similar continuous deployment patterns
29
- - **Platform Engineering**: Building internal developer platforms and self-service capabilities
30
- - **Service Mesh Implementation**: Istio, Linkerd, or similar service mesh architectures
31
- - **DevOps Transformation**: Establishing or improving DevOps practices and culture
32
-
33
- ## Key Components
34
-
35
- ### 1. DevOps Agent: Alex
36
-
37
- **Role**: DevOps Infrastructure Specialist
38
- **Experience**: 15+ years in infrastructure and platform engineering
39
-
40
- **Core Principles**:
41
-
42
- - Infrastructure as Code (IaC) First
43
- - Automation and Repeatability
44
- - Reliability and Scalability
45
- - Security by Design
46
- - Cost Optimization
47
- - Developer Experience Focus
48
-
49
- **Commands**:
50
-
51
- - `*help` - Display available commands and capabilities
52
- - `*chat-mode` - Interactive conversation mode for infrastructure discussions
53
- - `*create-doc` - Generate infrastructure documentation from templates
54
- - `*review-infrastructure` - Conduct systematic infrastructure review
55
- - `*validate-infrastructure` - Validate infrastructure against comprehensive checklist
56
- - `*checklist` - Access the 16-section infrastructure validation checklist
57
- - `*exit` - Return to normal context
58
-
59
- ### 2. Infrastructure Templates
60
-
61
- #### Infrastructure Architecture Template
62
-
63
- **Purpose**: Design comprehensive infrastructure architecture
64
- **Key Sections**:
65
-
66
- - Infrastructure Overview (providers, regions, environments)
67
- - Infrastructure as Code approach and tooling
68
- - Network Architecture with visual diagrams
69
- - Compute Resources planning
70
- - Security Architecture design
71
- - Monitoring and Observability strategy
72
- - CI/CD Pipeline architecture
73
- - Disaster Recovery planning
74
- - BMad Integration points
75
-
76
- #### Platform Implementation Template
77
-
78
- **Purpose**: Implement platform infrastructure based on approved architecture
79
- **Key Sections**:
80
-
81
- - Foundation Infrastructure Layer
82
- - Container Platform (Kubernetes) setup
83
- - GitOps Workflow implementation
84
- - Service Mesh configuration
85
- - Developer Experience Platform
86
- - Security hardening procedures
87
- - Platform validation and testing
88
-
89
- ### 3. Tasks
90
-
91
- #### Review Infrastructure Task
92
-
93
- **Purpose**: Systematic infrastructure review process
94
- **Features**:
95
-
96
- - Incremental or rapid assessment modes
97
- - Architectural escalation for complex issues
98
- - Advanced elicitation for deep analysis
99
- - Prioritized findings and recommendations
100
- - Integration with BMad Architecture phase
101
-
102
- #### Validate Infrastructure Task
103
-
104
- **Purpose**: Comprehensive infrastructure validation
105
- **Features**:
106
-
107
- - 16-section validation checklist
108
- - Architecture Design Review Gate
109
- - Compliance percentage tracking
110
- - Remediation planning
111
- - BMad integration assessment
112
-
113
- ### 4. Infrastructure Validation Checklist
114
-
115
- A comprehensive 16-section checklist covering:
116
-
117
- **Foundation Infrastructure (Sections 1-12)**:
118
-
119
- 1. Security Foundation - IAM, encryption, compliance
120
- 2. Infrastructure as Code - Version control, testing, documentation
121
- 3. Resilience & High Availability - Multi-AZ, failover, SLAs
122
- 4. Backup & Disaster Recovery - Strategies, testing, RTO/RPO
123
- 5. Monitoring & Observability - Metrics, logging, alerting
124
- 6. Performance & Scalability - Auto-scaling, load testing
125
- 7. Infrastructure Operations - Patching, maintenance, runbooks
126
- 8. CI/CD Infrastructure - Pipelines, environments, deployments
127
- 9. Networking & Connectivity - Architecture, security, DNS
128
- 10. Compliance & Governance - Standards, auditing, policies
129
- 11. BMad Integration - Agent support, workflow alignment
130
- 12. Architecture Documentation - Diagrams, decisions, maintenance
131
-
132
- **Platform Engineering (Sections 13-16)**: 13. Container Platform - Kubernetes setup, RBAC, networking 14. GitOps Workflows - Repository structure, deployment patterns 15. Service Mesh - Traffic management, security, observability 16. Developer Experience - Self-service, documentation, tooling
133
-
134
- ## Integration with BMad Flow
135
-
136
- ### Workflow Integration Points
137
-
138
- 1. **After Architecture Phase**: Infrastructure design begins after application architecture is defined
139
- 2. **Parallel to Development**: Infrastructure implementation runs alongside application development
140
- 3. **Before Production**: Infrastructure validation gates before production deployment
141
- 4. **Continuous Operation**: Ongoing infrastructure reviews and improvements
142
-
143
- ### Agent Collaboration
144
-
145
- - **With Architect (Sage)**: Joint planning sessions, design reviews, architectural alignment
146
- - **With Developer (Blake)**: Platform capabilities, development environment setup
147
- - **With Product Manager (Finley)**: Infrastructure requirements, cost considerations
148
- - **With Creator Agents**: Infrastructure for creative workflows and asset management
149
-
150
- ## Best Practices
151
-
152
- ### Infrastructure Design
153
-
154
- 1. **Start with Requirements**: Understand application needs before designing infrastructure
155
- 2. **Design for Scale**: Plan for 10x growth from day one
156
- 3. **Security First**: Implement defense in depth at every layer
157
- 4. **Cost Awareness**: Balance performance with budget constraints
158
- 5. **Document Everything**: Maintain comprehensive documentation
159
-
160
- ### Implementation Approach
161
-
162
- 1. **Incremental Rollout**: Deploy infrastructure in stages with validation gates
163
- 2. **Automation Focus**: Automate repetitive tasks and deployments
164
- 3. **Testing Strategy**: Include infrastructure testing in CI/CD pipelines
165
- 4. **Monitoring Setup**: Implement observability before production
166
- 5. **Team Training**: Ensure team understanding of infrastructure
167
-
168
- ### Validation Process
169
-
170
- 1. **Regular Reviews**: Schedule periodic infrastructure assessments
171
- 2. **Checklist Compliance**: Maintain high compliance with validation checklist
172
- 3. **Performance Baselines**: Establish and monitor performance metrics
173
- 4. **Security Audits**: Regular security assessments and penetration testing
174
- 5. **Cost Optimization**: Monthly cost reviews and optimization
175
-
176
- ## Common Use Cases
177
-
178
- ### 1. New Project Infrastructure
179
-
180
- **Scenario**: Starting a new cloud-native application
181
- **Process**:
182
-
183
- 1. Use Infrastructure Architecture template for design
184
- 2. Review with Architect agent
185
- 3. Implement using Platform Implementation template
186
- 4. Validate with comprehensive checklist
187
- 5. Deploy incrementally with monitoring
188
-
189
- ### 2. Infrastructure Modernization
190
-
191
- **Scenario**: Migrating legacy infrastructure to cloud
192
- **Process**:
193
-
194
- 1. Review existing infrastructure
195
- 2. Design target architecture
196
- 3. Plan migration phases
197
- 4. Implement with validation gates
198
- 5. Monitor and optimize
199
-
200
- ### 3. Platform Engineering Initiative
201
-
202
- **Scenario**: Building internal developer platform
203
- **Process**:
204
-
205
- 1. Assess developer needs
206
- 2. Design platform architecture
207
- 3. Implement Kubernetes/GitOps foundation
208
- 4. Build self-service capabilities
209
- 5. Enable developer adoption
210
-
211
- ### 4. Multi-Cloud Strategy
212
-
213
- **Scenario**: Implementing multi-cloud architecture
214
- **Process**:
215
-
216
- 1. Define cloud strategy and requirements
217
- 2. Design cloud-agnostic architecture
218
- 3. Implement with IaC abstraction
219
- 4. Validate cross-cloud functionality
220
- 5. Establish unified monitoring
221
-
222
- ## Advanced Features
223
-
224
- ### GitOps Workflows
225
-
226
- - **Repository Structure**: Organized by environment and application
227
- - **Deployment Patterns**: Progressive delivery, canary deployments
228
- - **Secret Management**: External secrets operator integration
229
- - **Policy Enforcement**: OPA/Gatekeeper for compliance
230
-
231
- ### Service Mesh Capabilities
232
-
233
- - **Traffic Management**: Load balancing, circuit breaking, retries
234
- - **Security**: mTLS, authorization policies
235
- - **Observability**: Distributed tracing, service maps
236
- - **Multi-Cluster**: Cross-cluster communication
237
-
238
- ### Developer Self-Service
239
-
240
- - **Portal Features**: Resource provisioning, environment management
241
- - **API Gateway**: Centralized API management
242
- - **Documentation**: Automated API docs, runbooks
243
- - **Tooling**: CLI tools, IDE integrations
244
-
245
- ## Troubleshooting Guide
246
-
247
- ### Common Issues
248
-
249
- 1. **Infrastructure Drift**
250
-
251
- - Solution: Implement drift detection in IaC pipelines
252
- - Prevention: Restrict manual changes, enforce GitOps
253
-
254
- 2. **Cost Overruns**
255
-
256
- - Solution: Implement cost monitoring and alerts
257
- - Prevention: Resource tagging, budget limits
258
-
259
- 3. **Performance Problems**
260
-
261
- - Solution: Review monitoring data, scale resources
262
- - Prevention: Load testing, capacity planning
263
-
264
- 4. **Security Vulnerabilities**
265
- - Solution: Immediate patching, security reviews
266
- - Prevention: Automated scanning, compliance checks
267
-
268
- ## Metrics and KPIs
269
-
270
- ### Infrastructure Metrics
271
-
272
- - **Availability**: Target 99.9%+ uptime
273
- - **Performance**: Response time < 100ms
274
- - **Cost Efficiency**: Cost per transaction trending down
275
- - **Security**: Zero critical vulnerabilities
276
- - **Automation**: 90%+ automated deployments
277
-
278
- ### Platform Metrics
279
-
280
- - **Developer Satisfaction**: NPS > 50
281
- - **Self-Service Adoption**: 80%+ platform usage
282
- - **Deployment Frequency**: Multiple per day
283
- - **Lead Time**: < 1 hour from commit to production
284
- - **MTTR**: < 30 minutes for incidents
285
-
286
- ## Future Enhancements
287
-
288
- ### Planned Features
289
-
290
- 1. **AI-Driven Optimization**: Automated infrastructure tuning
291
- 2. **Enhanced Security**: Zero-trust architecture templates
292
- 3. **Edge Computing**: Support for edge infrastructure patterns
293
- 4. **Sustainability**: Carbon footprint optimization
294
- 5. **Advanced Compliance**: Industry-specific compliance templates
295
-
296
- ### Integration Roadmap
297
-
298
- 1. **Cloud Provider APIs**: Direct integration with AWS, Azure, GCP
299
- 2. **IaC Tools**: Native support for Terraform, Pulumi
300
- 3. **Monitoring Platforms**: Integration with Datadog, New Relic
301
- 4. **Security Tools**: SIEM and vulnerability scanner integration
302
- 5. **Cost Management**: FinOps platform integration
303
-
304
- ## Conclusion
305
-
306
- The BMad Infrastructure DevOps expansion pack provides a comprehensive framework for modern infrastructure and platform engineering. By following its structured approach and leveraging the provided tools and templates, teams can build reliable, scalable, and secure infrastructure that accelerates application delivery while maintaining operational excellence.
307
-
308
- For support and updates, refer to the main BMad Method documentation or contact the BMad community.