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.
- 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 → .bmad-core}/agents/analyst.md +23 -29
- package/.bmad-core/agents/architect.md +66 -0
- package/.bmad-core/agents/bmad-master.md +104 -0
- package/.bmad-core/agents/bmad-orchestrator.md +81 -0
- package/.bmad-core/agents/dev.md +70 -0
- package/{bmad-core → .bmad-core}/agents/pm.md +24 -24
- package/{bmad-core → .bmad-core}/agents/po.md +24 -27
- package/.bmad-core/agents/qa.md +52 -0
- package/.bmad-core/agents/sm.md +55 -0
- package/.bmad-core/agents/ux-expert.md +66 -0
- package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
- package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
- package/.bmad-core/data/bmad-kb.md +47 -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/core-dump.md +74 -0
- package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
- 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 → .bmad-core}/tasks/doc-migration-task.md +9 -9
- package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
- package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
- package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
- 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 +1016 -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/simple-project-prd-tmpl.md +461 -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 +1684 -0
- package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
- package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
- package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
- package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
- package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
- package/.bmad-core/web-bundles/agents/qa.txt +129 -0
- package/.bmad-core/web-bundles/agents/sm.txt +658 -0
- package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
- package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -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 +63 -0
- package/.claude/commands/architect.md +70 -0
- package/.claude/commands/bmad-master.md +108 -0
- package/.claude/commands/bmad-orchestrator.md +85 -0
- package/.claude/commands/dev.md +74 -0
- package/.claude/commands/pm.md +63 -0
- package/.claude/commands/po.md +64 -0
- package/.claude/commands/qa.md +56 -0
- package/.claude/commands/sm.md +59 -0
- package/.claude/commands/ux-expert.md +70 -0
- package/.cursor/rules/analyst.mdc +77 -0
- package/.cursor/rules/architect.mdc +84 -0
- package/.cursor/rules/bmad-master.mdc +122 -0
- package/.cursor/rules/bmad-orchestrator.mdc +99 -0
- package/.cursor/rules/dev.mdc +88 -0
- package/.cursor/rules/pm.mdc +77 -0
- package/.cursor/rules/po.mdc +78 -0
- package/.cursor/rules/qa.mdc +70 -0
- package/.cursor/rules/sm.mdc +73 -0
- package/.cursor/rules/ux-expert.mdc +84 -0
- package/.roo/.roomodes +95 -0
- package/.roo/README.md +38 -0
- package/.vscode/extensions.json +6 -0
- package/.vscode/settings.json +75 -49
- package/.windsurf/rules/analyst.md +71 -0
- package/.windsurf/rules/architect.md +78 -0
- package/.windsurf/rules/bmad-master.md +116 -0
- package/.windsurf/rules/bmad-orchestrator.md +93 -0
- package/.windsurf/rules/dev.md +82 -0
- package/.windsurf/rules/pm.md +71 -0
- package/.windsurf/rules/po.md +72 -0
- package/.windsurf/rules/qa.md +64 -0
- package/.windsurf/rules/sm.md +67 -0
- package/.windsurf/rules/ux-expert.md +78 -0
- package/CHANGELOG.md +16 -459
- package/CONTRIBUTING.md +5 -168
- package/LICENSE +1 -1
- package/README.md +230 -77
- package/docs/bmad-workflow-guide.md +15 -19
- package/docs/claude-code-guide.md +119 -0
- package/docs/cursor-guide.md +127 -0
- package/docs/roo-code-guide.md +140 -0
- package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
- package/docs/versioning-and-releases.md +16 -8
- package/docs/versions.md +5 -4
- package/docs/windsurf-guide.md +127 -0
- package/expansion-packs/README.md +112 -2
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -14
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
- package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
- 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 +11 -19
- package/tools/bmad-npx-wrapper.js +1 -1
- package/tools/builders/web-builder.js +28 -563
- package/tools/cli.js +22 -55
- package/tools/installer/README.md +53 -3
- package/tools/installer/bin/bmad.js +56 -294
- package/tools/installer/config/install.config.yml +139 -0
- package/tools/installer/lib/config-loader.js +34 -198
- package/tools/installer/lib/file-manager.js +7 -200
- package/tools/installer/lib/ide-setup.js +189 -545
- package/tools/installer/lib/installer.js +61 -1171
- package/tools/installer/package-lock.json +3 -3
- package/tools/installer/package.json +4 -4
- 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 +22 -22
- package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
- package/tools/version-bump.js +1 -1
- package/tools/yaml-format.js +2 -2
- package/.github/FUNDING.yaml +0 -15
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
- package/.prettierignore +0 -21
- package/.prettierrc +0 -23
- package/bmad-core/agent-teams/team-all.yaml +0 -14
- package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
- package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
- package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
- package/bmad-core/agents/architect.md +0 -62
- package/bmad-core/agents/bmad-master.md +0 -88
- package/bmad-core/agents/bmad-orchestrator.md +0 -135
- package/bmad-core/agents/dev.md +0 -56
- package/bmad-core/agents/qa.md +0 -54
- package/bmad-core/agents/sm.md +0 -45
- package/bmad-core/agents/ux-expert.md +0 -53
- package/bmad-core/core-config.yaml +0 -25
- package/bmad-core/data/bmad-kb.md +0 -803
- package/bmad-core/data/brainstorming-techniques.md +0 -36
- package/bmad-core/data/elicitation-methods.md +0 -134
- package/bmad-core/tasks/advanced-elicitation.md +0 -117
- package/bmad-core/tasks/create-brownfield-story.md +0 -355
- package/bmad-core/tasks/create-next-story.md +0 -113
- package/bmad-core/tasks/create-workflow-plan.md +0 -289
- package/bmad-core/tasks/document-project.md +0 -317
- package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
- package/bmad-core/tasks/kb-mode-interaction.md +0 -70
- package/bmad-core/tasks/review-story.md +0 -145
- package/bmad-core/tasks/update-workflow-plan.md +0 -248
- package/bmad-core/tasks/validate-next-story.md +0 -134
- package/bmad-core/templates/architecture-tmpl.yaml +0 -650
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
- package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
- package/bmad-core/templates/market-research-tmpl.yaml +0 -252
- package/bmad-core/templates/prd-tmpl.yaml +0 -202
- package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
- package/bmad-core/templates/story-tmpl.yaml +0 -137
- package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
- package/bmad-core/workflows/brownfield-service.yaml +0 -187
- package/bmad-core/workflows/brownfield-ui.yaml +0 -197
- package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
- package/bmad-core/workflows/greenfield-service.yaml +0 -206
- package/bmad-core/workflows/greenfield-ui.yaml +0 -235
- package/common/tasks/create-doc.md +0 -79
- package/common/utils/bmad-doc-template.md +0 -325
- package/common/utils/workflow-management.md +0 -69
- package/dist/agents/analyst.txt +0 -2849
- package/dist/agents/architect.txt +0 -3505
- package/dist/agents/bmad-master.txt +0 -9271
- package/dist/agents/bmad-orchestrator.txt +0 -2006
- package/dist/agents/qa.txt +0 -388
- package/dist/agents/sm.txt +0 -672
- package/dist/agents/ux-expert.txt +0 -987
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11504
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
- package/dist/teams/team-all.txt +0 -11572
- package/dist/teams/team-fullstack.txt +0 -10903
- package/dist/teams/team-ide-minimal.txt +0 -4346
- package/dist/teams/team-no-ui.txt +0 -9458
- package/docs/GUIDING-PRINCIPLES.md +0 -91
- package/docs/agentic-tools/claude-code-guide.md +0 -19
- package/docs/agentic-tools/cline-guide.md +0 -16
- package/docs/agentic-tools/cursor-guide.md +0 -14
- package/docs/agentic-tools/gemini-cli-guide.md +0 -32
- package/docs/agentic-tools/github-copilot-guide.md +0 -42
- package/docs/agentic-tools/roo-code-guide.md +0 -15
- package/docs/agentic-tools/trae-guide.md +0 -14
- package/docs/agentic-tools/windsurf-guide.md +0 -14
- package/docs/core-architecture.md +0 -219
- package/docs/expansion-packs.md +0 -280
- package/docs/how-to-contribute-with-pull-requests.md +0 -158
- package/docs/template-markup-references.md +0 -86
- package/docs/user-guide.md +0 -1142
- package/docs/working-in-the-brownfield.md +0 -361
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -59
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -67
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -52
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
- package/expansion-packs/bmad-creator-tools/README.md +0 -8
- package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -54
- package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
- package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
- package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
- package/tools/bump-all-versions.js +0 -107
- package/tools/bump-core-version.js +0 -57
- package/tools/bump-expansion-version.js +0 -78
- package/tools/installer/config/ide-agent-config.yaml +0 -58
- package/tools/installer/config/install.config.yaml +0 -91
- package/tools/lib/yaml-utils.js +0 -29
- package/tools/md-assets/web-agent-startup-instructions.md +0 -39
- package/tools/update-expansion-version.js +0 -54
- /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
- /package/.github/workflows/{release.yaml → release.yml} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Web Agent Bundle Instructions
|
|
2
2
|
|
|
3
|
-
You are now operating as a specialized AI agent from the
|
|
3
|
+
You are now operating as a specialized AI agent from the BMAD-METHOD framework. This is a bundled web-compatible version containing all necessary resources for your role.
|
|
4
4
|
|
|
5
5
|
## Important Instructions
|
|
6
6
|
|
|
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
|
|
|
8
8
|
|
|
9
9
|
2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
|
|
10
10
|
|
|
11
|
-
- `==================== START:
|
|
12
|
-
- `==================== END:
|
|
11
|
+
- `==================== START: folder#filename ====================`
|
|
12
|
+
- `==================== END: folder#filename ====================`
|
|
13
13
|
|
|
14
14
|
When you need to reference a resource mentioned in your instructions:
|
|
15
15
|
|
|
16
16
|
- Look for the corresponding START/END tags
|
|
17
|
-
- The format is always
|
|
18
|
-
- If a section is specified (e.g., `
|
|
17
|
+
- The format is always `folder#filename` (e.g., `personas#analyst`, `tasks#create-story`)
|
|
18
|
+
- If a section is specified (e.g., `tasks#create-story#section-name`), navigate to that section within the file
|
|
19
19
|
|
|
20
20
|
**Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
|
|
21
21
|
|
|
@@ -29,28 +29,26 @@ dependencies:
|
|
|
29
29
|
|
|
30
30
|
These references map directly to bundle sections:
|
|
31
31
|
|
|
32
|
-
- `utils: template-format` → Look for `==================== START:
|
|
33
|
-
- `tasks: create-story` → Look for `==================== START:
|
|
32
|
+
- `utils: template-format` → Look for `==================== START: utils#template-format ====================`
|
|
33
|
+
- `tasks: create-story` → Look for `==================== START: tasks#create-story ====================`
|
|
34
34
|
|
|
35
35
|
3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
|
|
36
36
|
|
|
37
|
-
4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the
|
|
37
|
+
4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the BMAD-METHOD framework.
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
==================== START: .bmad-core/agents/po.md ====================
|
|
41
|
+
==================== START: agents#po ====================
|
|
43
42
|
# po
|
|
44
43
|
|
|
45
|
-
CRITICAL: Read the full
|
|
44
|
+
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:
|
|
46
45
|
|
|
47
|
-
```
|
|
46
|
+
```yml
|
|
48
47
|
activation-instructions:
|
|
49
48
|
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
50
49
|
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
51
50
|
- The customization field ALWAYS takes precedence over any conflicting instructions
|
|
52
51
|
- 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
|
|
53
|
-
- Greet the user with your name and role, and inform of the *help command.
|
|
54
52
|
agent:
|
|
55
53
|
name: Sarah
|
|
56
54
|
id: po
|
|
@@ -74,42 +72,47 @@ persona:
|
|
|
74
72
|
- User Collaboration for Validation - Seek input at critical checkpoints
|
|
75
73
|
- Focus on Executable & Value-Driven Increments - Ensure work aligns with MVP goals
|
|
76
74
|
- Documentation Ecosystem Integrity - Maintain consistency across all documents
|
|
75
|
+
startup:
|
|
76
|
+
- Greet the user with your name and role, and inform of the *help command.
|
|
77
77
|
commands:
|
|
78
|
-
- help
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
- create-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
- validate-story-draft {story}: run the task validate-next-story against the provided story file
|
|
88
|
-
- exit: Exit (confirm)
|
|
78
|
+
- '*help" - Show: numbered list of the following commands to allow selection'
|
|
79
|
+
- '*chat-mode" - (Default) Product Owner consultation with advanced-elicitation'
|
|
80
|
+
- '*create-doc {template}" - Create doc (no template = show available templates)'
|
|
81
|
+
- '*execute-checklist {checklist}" - Run validation checklist (default->po-master-checklist)'
|
|
82
|
+
- '*shard-doc {document}" - Break down document into actionable parts'
|
|
83
|
+
- '*correct-course" - Analyze and suggest project course corrections'
|
|
84
|
+
- '*create-epic" - Create epic for brownfield projects (task brownfield-create-epic)'
|
|
85
|
+
- '*create-story" - Create user story from requirements (task brownfield-create-story)'
|
|
86
|
+
- '*exit" - Say Goodbye, You are no longer this Agent'
|
|
89
87
|
dependencies:
|
|
90
88
|
tasks:
|
|
91
|
-
- execute-checklist
|
|
92
|
-
- shard-doc
|
|
93
|
-
- correct-course
|
|
94
|
-
- brownfield-create-epic
|
|
95
|
-
- brownfield-create-story
|
|
96
|
-
- validate-next-story.md
|
|
89
|
+
- execute-checklist
|
|
90
|
+
- shard-doc
|
|
91
|
+
- correct-course
|
|
92
|
+
- brownfield-create-epic
|
|
93
|
+
- brownfield-create-story
|
|
97
94
|
templates:
|
|
98
|
-
- story-tmpl
|
|
95
|
+
- story-tmpl
|
|
99
96
|
checklists:
|
|
100
|
-
- po-master-checklist
|
|
101
|
-
- change-checklist
|
|
97
|
+
- po-master-checklist
|
|
98
|
+
- change-checklist
|
|
99
|
+
utils:
|
|
100
|
+
- template-format
|
|
102
101
|
```
|
|
103
|
-
==================== END:
|
|
102
|
+
==================== END: agents#po ====================
|
|
104
103
|
|
|
105
|
-
==================== START:
|
|
104
|
+
==================== START: tasks#execute-checklist ====================
|
|
106
105
|
# Checklist Validation Task
|
|
107
106
|
|
|
108
107
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
109
108
|
|
|
109
|
+
## Context
|
|
110
|
+
|
|
111
|
+
The BMAD Method uses various checklists to ensure quality and completeness of different artifacts. Each checklist contains embedded prompts and instructions to guide the LLM through thorough validation and advanced elicitation. The checklists automatically identify their required artifacts and guide the validation process.
|
|
112
|
+
|
|
110
113
|
## Available Checklists
|
|
111
114
|
|
|
112
|
-
If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the
|
|
115
|
+
If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the bmad-core/checklists folder to select the appropriate one to run.
|
|
113
116
|
|
|
114
117
|
## Instructions
|
|
115
118
|
|
|
@@ -118,7 +121,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
118
121
|
- If user or the task being run provides a checklist name:
|
|
119
122
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
120
123
|
- If multiple matches found, ask user to clarify
|
|
121
|
-
- Load the appropriate checklist from
|
|
124
|
+
- Load the appropriate checklist from bmad-core/checklists/
|
|
122
125
|
- If no checklist specified:
|
|
123
126
|
- Ask the user which checklist they want to use
|
|
124
127
|
- Present the available options from the files in the checklists folder
|
|
@@ -196,9 +199,9 @@ The LLM will:
|
|
|
196
199
|
- Execute the complete checklist validation
|
|
197
200
|
- Present a final report with pass/fail rates and key findings
|
|
198
201
|
- Offer to provide detailed analysis of any section, especially those with warnings or failures
|
|
199
|
-
==================== END:
|
|
202
|
+
==================== END: tasks#execute-checklist ====================
|
|
200
203
|
|
|
201
|
-
==================== START:
|
|
204
|
+
==================== START: tasks#shard-doc ====================
|
|
202
205
|
# Document Sharding Task
|
|
203
206
|
|
|
204
207
|
## Purpose
|
|
@@ -207,27 +210,9 @@ The LLM will:
|
|
|
207
210
|
- Create a folder structure to organize the sharded documents
|
|
208
211
|
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
|
|
209
212
|
|
|
210
|
-
##
|
|
211
|
-
|
|
212
|
-
[[LLM: First, check if markdownExploder is set to true in bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
|
|
213
|
-
|
|
214
|
-
If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
|
|
215
|
-
|
|
216
|
-
If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
|
|
217
|
-
|
|
218
|
-
1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
|
|
219
|
-
2. Or set markdownExploder to false in bmad-core/core-config.yaml
|
|
220
|
-
|
|
221
|
-
**IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
|
|
222
|
-
|
|
223
|
-
If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
|
|
224
|
-
|
|
225
|
-
1. Set markdownExploder to true in bmad-core/core-config.yaml
|
|
226
|
-
2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
|
|
227
|
-
|
|
228
|
-
I will now proceed with the manual sharding process."
|
|
213
|
+
## Recommended Method: @kayvan/markdown-tree-parser
|
|
229
214
|
|
|
230
|
-
|
|
215
|
+
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
|
|
231
216
|
|
|
232
217
|
### Installation and Usage
|
|
233
218
|
|
|
@@ -260,19 +245,19 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
|
|
|
260
245
|
|
|
261
246
|
---
|
|
262
247
|
|
|
263
|
-
## Manual Method (if @kayvan/markdown-tree-parser is not available
|
|
248
|
+
## Manual Method (if @kayvan/markdown-tree-parser is not available)
|
|
264
249
|
|
|
265
250
|
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
|
|
266
251
|
|
|
267
252
|
### Task Instructions
|
|
268
253
|
|
|
269
|
-
1. Identify Document and Target Location
|
|
254
|
+
### 1. Identify Document and Target Location
|
|
270
255
|
|
|
271
256
|
- Determine which document to shard (user-provided path)
|
|
272
257
|
- Create a new folder under `docs/` with the same name as the document (without extension)
|
|
273
258
|
- Example: `docs/prd.md` → create folder `docs/prd/`
|
|
274
259
|
|
|
275
|
-
2. Parse and Extract Sections
|
|
260
|
+
### 2. Parse and Extract Sections
|
|
276
261
|
|
|
277
262
|
[[LLM: When sharding the document:
|
|
278
263
|
|
|
@@ -282,7 +267,7 @@ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manu
|
|
|
282
267
|
- Extract the section heading and ALL content until the next level 2 section
|
|
283
268
|
- Include all subsections, code blocks, diagrams, lists, tables, etc.
|
|
284
269
|
- Be extremely careful with:
|
|
285
|
-
- Fenced code blocks (```) - ensure you capture the full block including closing backticks
|
|
270
|
+
- Fenced code blocks (```) - ensure you capture the full block including closing backticks
|
|
286
271
|
- Mermaid diagrams - preserve the complete diagram syntax
|
|
287
272
|
- Nested markdown elements
|
|
288
273
|
- Multi-line content that might contain ## inside code blocks
|
|
@@ -301,7 +286,7 @@ For each extracted section:
|
|
|
301
286
|
|
|
302
287
|
2. **Adjust heading levels**:
|
|
303
288
|
|
|
304
|
-
- The level 2 heading becomes level 1 (# instead of ##)
|
|
289
|
+
- The level 2 heading becomes level 1 (# instead of ##)
|
|
305
290
|
- All subsection levels decrease by 1:
|
|
306
291
|
|
|
307
292
|
```txt
|
|
@@ -390,9 +375,9 @@ Document sharded successfully:
|
|
|
390
375
|
- Preserve ALL formatting, including whitespace where significant
|
|
391
376
|
- Handle edge cases like sections with code blocks containing ## symbols
|
|
392
377
|
- Ensure the sharding is reversible (could reconstruct the original from shards)
|
|
393
|
-
==================== END:
|
|
378
|
+
==================== END: tasks#shard-doc ====================
|
|
394
379
|
|
|
395
|
-
==================== START:
|
|
380
|
+
==================== START: tasks#correct-course ====================
|
|
396
381
|
# Correct Course Task
|
|
397
382
|
|
|
398
383
|
## Purpose
|
|
@@ -466,9 +451,9 @@ Document sharded successfully:
|
|
|
466
451
|
- A summary of the `change-checklist` analysis (issue, impact, rationale for the chosen path).
|
|
467
452
|
- Specific, clearly drafted proposed edits for all affected project artifacts.
|
|
468
453
|
- **Implicit:** An annotated `change-checklist` (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
|
|
469
|
-
==================== END:
|
|
454
|
+
==================== END: tasks#correct-course ====================
|
|
470
455
|
|
|
471
|
-
==================== START:
|
|
456
|
+
==================== START: tasks#brownfield-create-epic ====================
|
|
472
457
|
# Create Brownfield Epic Task
|
|
473
458
|
|
|
474
459
|
## Purpose
|
|
@@ -629,9 +614,9 @@ The epic creation is successful when:
|
|
|
629
614
|
- If the scope grows beyond 3 stories, consider the full brownfield PRD process
|
|
630
615
|
- Always prioritize existing system integrity over new functionality
|
|
631
616
|
- When in doubt about scope or complexity, escalate to full brownfield planning
|
|
632
|
-
==================== END:
|
|
617
|
+
==================== END: tasks#brownfield-create-epic ====================
|
|
633
618
|
|
|
634
|
-
==================== START:
|
|
619
|
+
==================== START: tasks#brownfield-create-story ====================
|
|
635
620
|
# Create Brownfield Story Task
|
|
636
621
|
|
|
637
622
|
## Purpose
|
|
@@ -779,286 +764,73 @@ The story creation is successful when:
|
|
|
779
764
|
- Always prioritize existing system integrity
|
|
780
765
|
- When in doubt about integration complexity, use brownfield-create-epic instead
|
|
781
766
|
- Stories should take no more than 4 hours of focused development work
|
|
782
|
-
==================== END:
|
|
767
|
+
==================== END: tasks#brownfield-create-story ====================
|
|
783
768
|
|
|
784
|
-
==================== START:
|
|
785
|
-
#
|
|
769
|
+
==================== START: templates#story-tmpl ====================
|
|
770
|
+
# Story {{EpicNum}}.{{StoryNum}}: {{Short Title Copied from Epic File specific story}}
|
|
786
771
|
|
|
787
|
-
##
|
|
772
|
+
## Status: {{ Draft | Approved | InProgress | Review | Done }}
|
|
773
|
+
|
|
774
|
+
## Story
|
|
775
|
+
|
|
776
|
+
- As a {{role}}
|
|
777
|
+
- I want {{action}}
|
|
778
|
+
- so that {{benefit}}
|
|
779
|
+
|
|
780
|
+
## Acceptance Criteria (ACs)
|
|
781
|
+
|
|
782
|
+
{{ Copy of Acceptance Criteria numbered list }}
|
|
783
|
+
|
|
784
|
+
## Tasks / Subtasks
|
|
785
|
+
|
|
786
|
+
- [ ] Task 1 (AC: # if applicable)
|
|
787
|
+
- [ ] Subtask1.1...
|
|
788
|
+
- [ ] Task 2 (AC: # if applicable)
|
|
789
|
+
- [ ] Subtask 2.1...
|
|
790
|
+
- [ ] Task 3 (AC: # if applicable)
|
|
791
|
+
- [ ] Subtask 3.1...
|
|
792
|
+
|
|
793
|
+
## Dev Notes
|
|
788
794
|
|
|
789
|
-
|
|
795
|
+
[[LLM: populates relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story. Do not invent information. Critical: If known add Relevant Source Tree info that relates to this story. If there were important notes from previous story that are relevant to this one, also include them here if it will help the dev agent. You do NOT need to repeat anything from coding standards or test standards as the dev agent is already aware of those. The dev agent should NEVER need to read the PRD or architecture documents or child documents though to complete this self contained story, because your critical mission is to share the specific items needed here extremely concisely for the Dev Agent LLM to comprehend with the least about of context overhead token usage needed.]]
|
|
790
796
|
|
|
791
|
-
|
|
797
|
+
### Testing
|
|
792
798
|
|
|
793
|
-
|
|
799
|
+
[[LLM: Scrum Master use `test-strategy-and-standards.md` to leave instruction for developer agent in the following concise format, leave unchecked if no specific test requirement of that type]]
|
|
800
|
+
Dev Note: Story Requires the following tests:
|
|
794
801
|
|
|
795
|
-
-
|
|
796
|
-
-
|
|
797
|
-
-
|
|
798
|
-
- Identify and load the following inputs:
|
|
799
|
-
- **Story file**: The drafted story to validate (provided by user or discovered in `devStoryLocation`)
|
|
800
|
-
- **Parent epic**: The epic containing this story's requirements
|
|
801
|
-
- **Architecture documents**: Based on configuration (sharded or monolithic)
|
|
802
|
-
- **Story template**: `bmad-core/templates/story-tmpl.md` for completeness validation
|
|
802
|
+
- [ ] {{type f.e. Jest}} Unit Tests: (nextToFile: {{true|false}}), coverage requirement: {{from strategy or default 80%}}
|
|
803
|
+
- [ ] {{type f.e. Jest with in memory db}} Integration Test (Test Location): location: {{Integration test location f.e. `/tests/story-name/foo.spec.cs` or `next to handler`}}
|
|
804
|
+
- [ ] {{type f.e. Cypress}} E2E: location: {{f.e. `/e2e/{epic-name/bar.test.ts`}}
|
|
803
805
|
|
|
804
|
-
|
|
806
|
+
Manual Test Steps: [[LLM: Include how if possible the user can manually test the functionality when story is Ready for Review, if any]]
|
|
805
807
|
|
|
806
|
-
|
|
807
|
-
- **Missing sections check**: Compare story sections against template sections to verify all required sections are present
|
|
808
|
-
- **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
|
|
809
|
-
- **Agent section verification**: Confirm all sections from template exist for future agent use
|
|
810
|
-
- **Structure compliance**: Verify story follows template structure and formatting
|
|
808
|
+
{{ f.e. `- dev will create a script with task 3 above that you can run with "npm run test-initiate-launch-sequence" and validate Armageddon is initiated`}}
|
|
811
809
|
|
|
812
|
-
|
|
810
|
+
## Dev Agent Record
|
|
813
811
|
|
|
814
|
-
|
|
815
|
-
- **Source tree relevance**: Is relevant project structure included in Dev Notes?
|
|
816
|
-
- **Directory structure**: Are new directories/components properly located according to project structure?
|
|
817
|
-
- **File creation sequence**: Do tasks specify where files should be created in logical order?
|
|
818
|
-
- **Path accuracy**: Are file paths consistent with project structure from architecture docs?
|
|
812
|
+
### Agent Model Used: {{Agent Model Name/Version}}
|
|
819
813
|
|
|
820
|
-
###
|
|
814
|
+
### Debug Log References
|
|
821
815
|
|
|
822
|
-
|
|
823
|
-
-
|
|
824
|
-
- **User interaction flows**: Are UX patterns and behaviors specified?
|
|
825
|
-
- **Responsive/accessibility**: Are these considerations addressed if required?
|
|
826
|
-
- **Integration points**: Are frontend-backend integration points clear?
|
|
816
|
+
[[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update]]
|
|
817
|
+
[[LLM: (Dev Agent) If the debug is logged to during the current story progress, create a table with the debug log and the specific task section in the debug log - do not repeat all the details in the story]]
|
|
827
818
|
|
|
828
|
-
###
|
|
819
|
+
### Completion Notes List
|
|
829
820
|
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
- **Missing scenarios**: Are edge cases or error conditions covered?
|
|
833
|
-
- **Success definition**: Is "done" clearly defined for each AC?
|
|
834
|
-
- **Task-AC mapping**: Are tasks properly linked to specific acceptance criteria?
|
|
821
|
+
[[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update - remove this line to the SM]]
|
|
822
|
+
[[LLM: (Dev Agent) Anything the SM needs to know that deviated from the story that might impact drafting the next story.]]
|
|
835
823
|
|
|
836
|
-
###
|
|
824
|
+
### Change Log
|
|
837
825
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
- **Validation steps**: Are acceptance criteria validation steps clear?
|
|
841
|
-
- **Testing tools/frameworks**: Are required testing tools specified?
|
|
842
|
-
- **Test data requirements**: Are test data needs identified?
|
|
826
|
+
[[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update- remove this line to the SM]]
|
|
827
|
+
[[LLM: (Dev Agent) Track document versions and changes during development that deviate from story dev start]]
|
|
843
828
|
|
|
844
|
-
|
|
829
|
+
| Date | Version | Description | Author |
|
|
830
|
+
| :--- | :------ | :---------- | :----- |
|
|
831
|
+
==================== END: templates#story-tmpl ====================
|
|
845
832
|
|
|
846
|
-
|
|
847
|
-
- **Authentication/authorization**: Are access controls specified?
|
|
848
|
-
- **Data protection**: Are sensitive data handling requirements clear?
|
|
849
|
-
- **Vulnerability prevention**: Are common security issues addressed?
|
|
850
|
-
- **Compliance requirements**: Are regulatory/compliance needs addressed?
|
|
851
|
-
|
|
852
|
-
### 7. Tasks/Subtasks Sequence Validation
|
|
853
|
-
|
|
854
|
-
- **Logical order**: Do tasks follow proper implementation sequence?
|
|
855
|
-
- **Dependencies**: Are task dependencies clear and correct?
|
|
856
|
-
- **Granularity**: Are tasks appropriately sized and actionable?
|
|
857
|
-
- **Completeness**: Do tasks cover all requirements and acceptance criteria?
|
|
858
|
-
- **Blocking issues**: Are there any tasks that would block others?
|
|
859
|
-
|
|
860
|
-
### 8. Anti-Hallucination Verification
|
|
861
|
-
|
|
862
|
-
- **Source verification**: Every technical claim must be traceable to source documents
|
|
863
|
-
- **Architecture alignment**: Dev Notes content matches architecture specifications
|
|
864
|
-
- **No invented details**: Flag any technical decisions not supported by source documents
|
|
865
|
-
- **Reference accuracy**: Verify all source references are correct and accessible
|
|
866
|
-
- **Fact checking**: Cross-reference claims against epic and architecture documents
|
|
867
|
-
|
|
868
|
-
### 9. Dev Agent Implementation Readiness
|
|
869
|
-
|
|
870
|
-
- **Self-contained context**: Can the story be implemented without reading external docs?
|
|
871
|
-
- **Clear instructions**: Are implementation steps unambiguous?
|
|
872
|
-
- **Complete technical context**: Are all required technical details present in Dev Notes?
|
|
873
|
-
- **Missing information**: Identify any critical information gaps
|
|
874
|
-
- **Actionability**: Are all tasks actionable by a development agent?
|
|
875
|
-
|
|
876
|
-
### 10. Generate Validation Report
|
|
877
|
-
|
|
878
|
-
Provide a structured validation report including:
|
|
879
|
-
|
|
880
|
-
#### Template Compliance Issues
|
|
881
|
-
|
|
882
|
-
- Missing sections from story template
|
|
883
|
-
- Unfilled placeholders or template variables
|
|
884
|
-
- Structural formatting issues
|
|
885
|
-
|
|
886
|
-
#### Critical Issues (Must Fix - Story Blocked)
|
|
887
|
-
|
|
888
|
-
- Missing essential information for implementation
|
|
889
|
-
- Inaccurate or unverifiable technical claims
|
|
890
|
-
- Incomplete acceptance criteria coverage
|
|
891
|
-
- Missing required sections
|
|
892
|
-
|
|
893
|
-
#### Should-Fix Issues (Important Quality Improvements)
|
|
894
|
-
|
|
895
|
-
- Unclear implementation guidance
|
|
896
|
-
- Missing security considerations
|
|
897
|
-
- Task sequencing problems
|
|
898
|
-
- Incomplete testing instructions
|
|
899
|
-
|
|
900
|
-
#### Nice-to-Have Improvements (Optional Enhancements)
|
|
901
|
-
|
|
902
|
-
- Additional context that would help implementation
|
|
903
|
-
- Clarifications that would improve efficiency
|
|
904
|
-
- Documentation improvements
|
|
905
|
-
|
|
906
|
-
#### Anti-Hallucination Findings
|
|
907
|
-
|
|
908
|
-
- Unverifiable technical claims
|
|
909
|
-
- Missing source references
|
|
910
|
-
- Inconsistencies with architecture documents
|
|
911
|
-
- Invented libraries, patterns, or standards
|
|
912
|
-
|
|
913
|
-
#### Final Assessment
|
|
914
|
-
|
|
915
|
-
- **GO**: Story is ready for implementation
|
|
916
|
-
- **NO-GO**: Story requires fixes before implementation
|
|
917
|
-
- **Implementation Readiness Score**: 1-10 scale
|
|
918
|
-
- **Confidence Level**: High/Medium/Low for successful implementation
|
|
919
|
-
==================== END: .bmad-core/tasks/validate-next-story.md ====================
|
|
920
|
-
|
|
921
|
-
==================== START: .bmad-core/templates/story-tmpl.yaml ====================
|
|
922
|
-
template:
|
|
923
|
-
id: story-template-v2
|
|
924
|
-
name: Story Document
|
|
925
|
-
version: 2.0
|
|
926
|
-
output:
|
|
927
|
-
format: markdown
|
|
928
|
-
filename: docs/stories/{{epic_num}}.{{story_num}}.{{story_title_short}}.md
|
|
929
|
-
title: "Story {{epic_num}}.{{story_num}}: {{story_title_short}}"
|
|
930
|
-
|
|
931
|
-
workflow:
|
|
932
|
-
mode: interactive
|
|
933
|
-
elicitation: advanced-elicitation
|
|
934
|
-
|
|
935
|
-
agent_config:
|
|
936
|
-
editable_sections:
|
|
937
|
-
- Status
|
|
938
|
-
- Story
|
|
939
|
-
- Acceptance Criteria
|
|
940
|
-
- Tasks / Subtasks
|
|
941
|
-
- Dev Notes
|
|
942
|
-
- Testing
|
|
943
|
-
- Change Log
|
|
944
|
-
|
|
945
|
-
sections:
|
|
946
|
-
- id: status
|
|
947
|
-
title: Status
|
|
948
|
-
type: choice
|
|
949
|
-
choices: [Draft, Approved, InProgress, Review, Done]
|
|
950
|
-
instruction: Select the current status of the story
|
|
951
|
-
owner: scrum-master
|
|
952
|
-
editors: [scrum-master, dev-agent]
|
|
953
|
-
|
|
954
|
-
- id: story
|
|
955
|
-
title: Story
|
|
956
|
-
type: template-text
|
|
957
|
-
template: |
|
|
958
|
-
**As a** {{role}},
|
|
959
|
-
**I want** {{action}},
|
|
960
|
-
**so that** {{benefit}}
|
|
961
|
-
instruction: Define the user story using the standard format with role, action, and benefit
|
|
962
|
-
elicit: true
|
|
963
|
-
owner: scrum-master
|
|
964
|
-
editors: [scrum-master]
|
|
965
|
-
|
|
966
|
-
- id: acceptance-criteria
|
|
967
|
-
title: Acceptance Criteria
|
|
968
|
-
type: numbered-list
|
|
969
|
-
instruction: Copy the acceptance criteria numbered list from the epic file
|
|
970
|
-
elicit: true
|
|
971
|
-
owner: scrum-master
|
|
972
|
-
editors: [scrum-master]
|
|
973
|
-
|
|
974
|
-
- id: tasks-subtasks
|
|
975
|
-
title: Tasks / Subtasks
|
|
976
|
-
type: bullet-list
|
|
977
|
-
instruction: |
|
|
978
|
-
Break down the story into specific tasks and subtasks needed for implementation.
|
|
979
|
-
Reference applicable acceptance criteria numbers where relevant.
|
|
980
|
-
template: |
|
|
981
|
-
- [ ] Task 1 (AC: # if applicable)
|
|
982
|
-
- [ ] Subtask1.1...
|
|
983
|
-
- [ ] Task 2 (AC: # if applicable)
|
|
984
|
-
- [ ] Subtask 2.1...
|
|
985
|
-
- [ ] Task 3 (AC: # if applicable)
|
|
986
|
-
- [ ] Subtask 3.1...
|
|
987
|
-
elicit: true
|
|
988
|
-
owner: scrum-master
|
|
989
|
-
editors: [scrum-master, dev-agent]
|
|
990
|
-
|
|
991
|
-
- id: dev-notes
|
|
992
|
-
title: Dev Notes
|
|
993
|
-
instruction: |
|
|
994
|
-
Populate relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story:
|
|
995
|
-
- Do not invent information
|
|
996
|
-
- If known add Relevant Source Tree info that relates to this story
|
|
997
|
-
- If there were important notes from previous story that are relevant to this one, include them here
|
|
998
|
-
- Put enough information in this section so that the dev agent should NEVER need to read the architecture documents, these notes along with the tasks and subtasks must give the Dev Agent the complete context it needs to comprehend with the least amount of overhead the information to complete the story, meeting all AC and completing all tasks+subtasks
|
|
999
|
-
elicit: true
|
|
1000
|
-
owner: scrum-master
|
|
1001
|
-
editors: [scrum-master]
|
|
1002
|
-
sections:
|
|
1003
|
-
- id: testing-standards
|
|
1004
|
-
title: Testing
|
|
1005
|
-
instruction: |
|
|
1006
|
-
List Relevant Testing Standards from Architecture the Developer needs to conform to:
|
|
1007
|
-
- Test file location
|
|
1008
|
-
- Test standards
|
|
1009
|
-
- Testing frameworks and patterns to use
|
|
1010
|
-
- Any specific testing requirements for this story
|
|
1011
|
-
elicit: true
|
|
1012
|
-
owner: scrum-master
|
|
1013
|
-
editors: [scrum-master]
|
|
1014
|
-
|
|
1015
|
-
- id: change-log
|
|
1016
|
-
title: Change Log
|
|
1017
|
-
type: table
|
|
1018
|
-
columns: [Date, Version, Description, Author]
|
|
1019
|
-
instruction: Track changes made to this story document
|
|
1020
|
-
owner: scrum-master
|
|
1021
|
-
editors: [scrum-master, dev-agent, qa-agent]
|
|
1022
|
-
|
|
1023
|
-
- id: dev-agent-record
|
|
1024
|
-
title: Dev Agent Record
|
|
1025
|
-
instruction: This section is populated by the development agent during implementation
|
|
1026
|
-
owner: dev-agent
|
|
1027
|
-
editors: [dev-agent]
|
|
1028
|
-
sections:
|
|
1029
|
-
- id: agent-model
|
|
1030
|
-
title: Agent Model Used
|
|
1031
|
-
template: "{{agent_model_name_version}}"
|
|
1032
|
-
instruction: Record the specific AI agent model and version used for development
|
|
1033
|
-
owner: dev-agent
|
|
1034
|
-
editors: [dev-agent]
|
|
1035
|
-
|
|
1036
|
-
- id: debug-log-references
|
|
1037
|
-
title: Debug Log References
|
|
1038
|
-
instruction: Reference any debug logs or traces generated during development
|
|
1039
|
-
owner: dev-agent
|
|
1040
|
-
editors: [dev-agent]
|
|
1041
|
-
|
|
1042
|
-
- id: completion-notes
|
|
1043
|
-
title: Completion Notes List
|
|
1044
|
-
instruction: Notes about the completion of tasks and any issues encountered
|
|
1045
|
-
owner: dev-agent
|
|
1046
|
-
editors: [dev-agent]
|
|
1047
|
-
|
|
1048
|
-
- id: file-list
|
|
1049
|
-
title: File List
|
|
1050
|
-
instruction: List all files created, modified, or affected during story implementation
|
|
1051
|
-
owner: dev-agent
|
|
1052
|
-
editors: [dev-agent]
|
|
1053
|
-
|
|
1054
|
-
- id: qa-results
|
|
1055
|
-
title: QA Results
|
|
1056
|
-
instruction: Results from QA Agent QA review of the completed story implementation
|
|
1057
|
-
owner: qa-agent
|
|
1058
|
-
editors: [qa-agent]
|
|
1059
|
-
==================== END: .bmad-core/templates/story-tmpl.yaml ====================
|
|
1060
|
-
|
|
1061
|
-
==================== START: .bmad-core/checklists/po-master-checklist.md ====================
|
|
833
|
+
==================== START: checklists#po-master-checklist ====================
|
|
1062
834
|
# Product Owner (PO) Master Validation Checklist
|
|
1063
835
|
|
|
1064
836
|
This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
|
|
@@ -1500,12 +1272,12 @@ After presenting the report, ask if the user wants:
|
|
|
1500
1272
|
- **APPROVED**: The plan is comprehensive, properly sequenced, and ready for implementation.
|
|
1501
1273
|
- **CONDITIONAL**: The plan requires specific adjustments before proceeding.
|
|
1502
1274
|
- **REJECTED**: The plan requires significant revision to address critical deficiencies.
|
|
1503
|
-
==================== END:
|
|
1275
|
+
==================== END: checklists#po-master-checklist ====================
|
|
1504
1276
|
|
|
1505
|
-
==================== START:
|
|
1277
|
+
==================== START: checklists#change-checklist ====================
|
|
1506
1278
|
# Change Navigation Checklist
|
|
1507
1279
|
|
|
1508
|
-
**Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the
|
|
1280
|
+
**Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMAD workflow.
|
|
1509
1281
|
|
|
1510
1282
|
**Instructions:** Review each item with the user. Mark `[x]` for completed/confirmed, `[N/A]` if not applicable, or add notes for discussion points.
|
|
1511
1283
|
|
|
@@ -1580,7 +1352,7 @@ Think about both immediate and downstream effects.]]
|
|
|
1580
1352
|
|
|
1581
1353
|
## 3. Artifact Conflict & Impact Analysis
|
|
1582
1354
|
|
|
1583
|
-
[[LLM: Documentation drives development in
|
|
1355
|
+
[[LLM: Documentation drives development in BMAD. Check each artifact:
|
|
1584
1356
|
|
|
1585
1357
|
1. Does this change invalidate documented decisions?
|
|
1586
1358
|
2. Are architectural assumptions still valid?
|
|
@@ -1685,4 +1457,33 @@ Keep it action-oriented and forward-looking.]]
|
|
|
1685
1457
|
- [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
|
|
1686
1458
|
|
|
1687
1459
|
---
|
|
1688
|
-
==================== END:
|
|
1460
|
+
==================== END: checklists#change-checklist ====================
|
|
1461
|
+
|
|
1462
|
+
==================== START: utils#template-format ====================
|
|
1463
|
+
# Template Format Conventions
|
|
1464
|
+
|
|
1465
|
+
Templates in the BMAD method use standardized markup for AI processing. These conventions ensure consistent document generation.
|
|
1466
|
+
|
|
1467
|
+
## Template Markup Elements
|
|
1468
|
+
|
|
1469
|
+
- **{{placeholders}}**: Variables to be replaced with actual content
|
|
1470
|
+
- **[[LLM: instructions]]**: Internal processing instructions for AI agents (never shown to users)
|
|
1471
|
+
- **REPEAT** sections: Content blocks that may be repeated as needed
|
|
1472
|
+
- **^^CONDITION^^** blocks: Conditional content included only if criteria are met
|
|
1473
|
+
- **@{examples}**: Example content for guidance (never output to users)
|
|
1474
|
+
|
|
1475
|
+
## Processing Rules
|
|
1476
|
+
|
|
1477
|
+
- Replace all {{placeholders}} with project-specific content
|
|
1478
|
+
- Execute all [[LLM: instructions]] internally without showing users
|
|
1479
|
+
- Process conditional and repeat blocks as specified
|
|
1480
|
+
- Use examples for guidance but never include them in final output
|
|
1481
|
+
- Present only clean, formatted content to users
|
|
1482
|
+
|
|
1483
|
+
## Critical Guidelines
|
|
1484
|
+
|
|
1485
|
+
- **NEVER display template markup, LLM instructions, or examples to users**
|
|
1486
|
+
- Template elements are for AI processing only
|
|
1487
|
+
- Focus on faithful template execution and clean output
|
|
1488
|
+
- All template-specific instructions are embedded within templates
|
|
1489
|
+
==================== END: utils#template-format ====================
|