bmad-method 4.27.5 → 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 -30
- 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 -25
- package/{bmad-core → .bmad-core}/agents/po.md +24 -28
- 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.yaml → .bmad-core/workflows/greenfield-fullstack.yml} +77 -140
- 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 -452
- 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 -15
- 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 +5 -123
- package/tools/installer/lib/ide-setup.js +189 -545
- package/tools/installer/lib/installer.js +55 -1136
- 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 -63
- package/bmad-core/agents/bmad-master.md +0 -110
- package/bmad-core/agents/bmad-orchestrator.md +0 -140
- package/bmad-core/agents/dev.md +0 -57
- package/bmad-core/agents/qa.md +0 -55
- package/bmad-core/agents/sm.md +0 -46
- package/bmad-core/agents/ux-expert.md +0 -54
- 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 -114
- 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/utils/plan-management.md +0 -219
- 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-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 -9588
- package/dist/agents/bmad-orchestrator.txt +0 -2232
- package/dist/agents/qa.txt +0 -388
- package/dist/agents/sm.txt +0 -673
- 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 -11730
- 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 -11799
- package/dist/teams/team-fullstack.txt +0 -11129
- package/dist/teams/team-ide-minimal.txt +0 -4573
- package/dist/teams/team-no-ui.txt +0 -9684
- 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 -60
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -68
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -53
- 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 -55
- 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,71 +29,100 @@ 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/dev.md ====================
|
|
41
|
+
==================== START: agents#dev ====================
|
|
43
42
|
# dev
|
|
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
|
-
```
|
|
48
|
-
activation-instructions: []
|
|
46
|
+
```yml
|
|
49
47
|
agent:
|
|
50
48
|
name: James
|
|
51
49
|
id: dev
|
|
52
50
|
title: Full Stack Developer
|
|
53
51
|
icon: 💻
|
|
54
|
-
whenToUse: Use for code implementation, debugging, refactoring, and development best practices
|
|
55
|
-
customization:
|
|
52
|
+
whenToUse: "Use for code implementation, debugging, refactoring, and development best practices"
|
|
53
|
+
customization:
|
|
54
|
+
|
|
56
55
|
persona:
|
|
57
56
|
role: Expert Senior Software Engineer & Implementation Specialist
|
|
58
57
|
style: Extremely concise, pragmatic, detail-oriented, solution-focused
|
|
59
58
|
identity: Expert who implements stories by reading requirements and executing tasks sequentially with comprehensive testing
|
|
60
59
|
focus: Executing story tasks with precision, updating Dev Agent Record sections only, maintaining minimal context overhead
|
|
60
|
+
|
|
61
61
|
core_principles:
|
|
62
|
-
- CRITICAL: Story has ALL info
|
|
63
|
-
- CRITICAL:
|
|
64
|
-
- CRITICAL:
|
|
65
|
-
-
|
|
62
|
+
- CRITICAL: Story-Centric - Story has ALL info. NEVER load PRD/architecture/other docs files unless explicitly directed in dev notes
|
|
63
|
+
- CRITICAL: Load Standards - MUST load docs/architecture/coding-standards.md into core memory at startup
|
|
64
|
+
- CRITICAL: Dev Record Only - ONLY update Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
|
|
65
|
+
- Sequential Execution - Complete tasks 1-by-1 in order. Mark [x] before next. No skipping
|
|
66
|
+
- Test-Driven Quality - Write tests alongside code. Task incomplete without passing tests
|
|
67
|
+
- Debug Log Discipline - Log temp changes to table. Revert after fix. Keep story lean
|
|
68
|
+
- Block Only When Critical - HALT for: missing approval/ambiguous reqs/3 failures/missing config
|
|
69
|
+
- Code Excellence - Clean, secure, maintainable code per coding-standards.md
|
|
70
|
+
- Numbered Options - Always use numbered lists when presenting choices
|
|
71
|
+
|
|
72
|
+
startup:
|
|
73
|
+
- Announce: Greet the user with your name and role, and inform of the *help command.
|
|
74
|
+
- CRITICAL: Do NOT load any story files or coding-standards.md during startup
|
|
75
|
+
- CRITICAL: Do NOT scan docs/stories/ directory automatically
|
|
76
|
+
- CRITICAL: Do NOT begin any tasks automatically
|
|
77
|
+
- Wait for user to specify story or ask for story selection
|
|
78
|
+
- Only load files and begin work when explicitly requested by user
|
|
79
|
+
|
|
66
80
|
commands:
|
|
67
|
-
- help
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
- "*help" - Show commands
|
|
82
|
+
- "*chat-mode" - Conversational mode
|
|
83
|
+
- "*run-tests" - Execute linting+tests
|
|
84
|
+
- "*lint" - Run linting only
|
|
85
|
+
- "*dod-check" - Run story-dod-checklist
|
|
86
|
+
- "*status" - Show task progress
|
|
87
|
+
- "*debug-log" - Show debug entries
|
|
88
|
+
- "*complete-story" - Finalize to "Review"
|
|
89
|
+
- "*exit" - Leave developer mode
|
|
90
|
+
|
|
91
|
+
task-execution:
|
|
92
|
+
flow: "Read task→Implement→Write tests→Pass tests→Update [x]→Next task"
|
|
93
|
+
|
|
94
|
+
updates-ONLY:
|
|
95
|
+
- "Checkboxes: [ ] not started | [-] in progress | [x] complete"
|
|
96
|
+
- "Debug Log: | Task | File | Change | Reverted? |"
|
|
97
|
+
- "Completion Notes: Deviations only, <50 words"
|
|
98
|
+
- "Change Log: Requirement changes only"
|
|
99
|
+
|
|
100
|
+
blocking: "Unapproved deps | Ambiguous after story check | 3 failures | Missing config"
|
|
101
|
+
|
|
102
|
+
done: "Code matches reqs + Tests pass + Follows standards + No lint errors"
|
|
103
|
+
|
|
104
|
+
completion: "All [x]→Lint→Tests(100%)→Integration(if noted)→Coverage(80%+)→E2E(if noted)→DoD→Summary→HALT"
|
|
105
|
+
|
|
80
106
|
dependencies:
|
|
81
107
|
tasks:
|
|
82
|
-
- execute-checklist
|
|
83
|
-
- validate-next-story.md
|
|
108
|
+
- execute-checklist
|
|
84
109
|
checklists:
|
|
85
|
-
- story-dod-checklist
|
|
110
|
+
- story-dod-checklist
|
|
86
111
|
```
|
|
87
|
-
==================== END:
|
|
112
|
+
==================== END: agents#dev ====================
|
|
88
113
|
|
|
89
|
-
==================== START:
|
|
114
|
+
==================== START: tasks#execute-checklist ====================
|
|
90
115
|
# Checklist Validation Task
|
|
91
116
|
|
|
92
117
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
93
118
|
|
|
119
|
+
## Context
|
|
120
|
+
|
|
121
|
+
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.
|
|
122
|
+
|
|
94
123
|
## Available Checklists
|
|
95
124
|
|
|
96
|
-
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
|
|
125
|
+
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.
|
|
97
126
|
|
|
98
127
|
## Instructions
|
|
99
128
|
|
|
@@ -102,7 +131,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
102
131
|
- If user or the task being run provides a checklist name:
|
|
103
132
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
104
133
|
- If multiple matches found, ask user to clarify
|
|
105
|
-
- Load the appropriate checklist from
|
|
134
|
+
- Load the appropriate checklist from bmad-core/checklists/
|
|
106
135
|
- If no checklist specified:
|
|
107
136
|
- Ask the user which checklist they want to use
|
|
108
137
|
- Present the available options from the files in the checklists folder
|
|
@@ -180,146 +209,9 @@ The LLM will:
|
|
|
180
209
|
- Execute the complete checklist validation
|
|
181
210
|
- Present a final report with pass/fail rates and key findings
|
|
182
211
|
- Offer to provide detailed analysis of any section, especially those with warnings or failures
|
|
183
|
-
==================== END:
|
|
184
|
-
|
|
185
|
-
==================== START: .bmad-core/tasks/validate-next-story.md ====================
|
|
186
|
-
# Validate Next Story Task
|
|
187
|
-
|
|
188
|
-
## Purpose
|
|
189
|
-
|
|
190
|
-
To comprehensively validate a story draft before implementation begins, ensuring it is complete, accurate, and provides sufficient context for successful development. This task identifies issues and gaps that need to be addressed, preventing hallucinations and ensuring implementation readiness.
|
|
191
|
-
|
|
192
|
-
## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
|
|
193
|
-
|
|
194
|
-
### 0. Load Core Configuration and Inputs
|
|
195
|
-
|
|
196
|
-
- Load `.bmad-core/core-config.yaml` from the project root
|
|
197
|
-
- If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story validation."
|
|
198
|
-
- Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`
|
|
199
|
-
- Identify and load the following inputs:
|
|
200
|
-
- **Story file**: The drafted story to validate (provided by user or discovered in `devStoryLocation`)
|
|
201
|
-
- **Parent epic**: The epic containing this story's requirements
|
|
202
|
-
- **Architecture documents**: Based on configuration (sharded or monolithic)
|
|
203
|
-
- **Story template**: `bmad-core/templates/story-tmpl.md` for completeness validation
|
|
204
|
-
|
|
205
|
-
### 1. Template Completeness Validation
|
|
206
|
-
|
|
207
|
-
- Load `bmad-core/templates/story-tmpl.md` and extract all section headings from the template
|
|
208
|
-
- **Missing sections check**: Compare story sections against template sections to verify all required sections are present
|
|
209
|
-
- **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
|
|
210
|
-
- **Agent section verification**: Confirm all sections from template exist for future agent use
|
|
211
|
-
- **Structure compliance**: Verify story follows template structure and formatting
|
|
212
|
-
|
|
213
|
-
### 2. File Structure and Source Tree Validation
|
|
214
|
-
|
|
215
|
-
- **File paths clarity**: Are new/existing files to be created/modified clearly specified?
|
|
216
|
-
- **Source tree relevance**: Is relevant project structure included in Dev Notes?
|
|
217
|
-
- **Directory structure**: Are new directories/components properly located according to project structure?
|
|
218
|
-
- **File creation sequence**: Do tasks specify where files should be created in logical order?
|
|
219
|
-
- **Path accuracy**: Are file paths consistent with project structure from architecture docs?
|
|
220
|
-
|
|
221
|
-
### 3. UI/Frontend Completeness Validation (if applicable)
|
|
222
|
-
|
|
223
|
-
- **Component specifications**: Are UI components sufficiently detailed for implementation?
|
|
224
|
-
- **Styling/design guidance**: Is visual implementation guidance clear?
|
|
225
|
-
- **User interaction flows**: Are UX patterns and behaviors specified?
|
|
226
|
-
- **Responsive/accessibility**: Are these considerations addressed if required?
|
|
227
|
-
- **Integration points**: Are frontend-backend integration points clear?
|
|
228
|
-
|
|
229
|
-
### 4. Acceptance Criteria Satisfaction Assessment
|
|
230
|
-
|
|
231
|
-
- **AC coverage**: Will all acceptance criteria be satisfied by the listed tasks?
|
|
232
|
-
- **AC testability**: Are acceptance criteria measurable and verifiable?
|
|
233
|
-
- **Missing scenarios**: Are edge cases or error conditions covered?
|
|
234
|
-
- **Success definition**: Is "done" clearly defined for each AC?
|
|
235
|
-
- **Task-AC mapping**: Are tasks properly linked to specific acceptance criteria?
|
|
236
|
-
|
|
237
|
-
### 5. Validation and Testing Instructions Review
|
|
238
|
-
|
|
239
|
-
- **Test approach clarity**: Are testing methods clearly specified?
|
|
240
|
-
- **Test scenarios**: Are key test cases identified?
|
|
241
|
-
- **Validation steps**: Are acceptance criteria validation steps clear?
|
|
242
|
-
- **Testing tools/frameworks**: Are required testing tools specified?
|
|
243
|
-
- **Test data requirements**: Are test data needs identified?
|
|
244
|
-
|
|
245
|
-
### 6. Security Considerations Assessment (if applicable)
|
|
246
|
-
|
|
247
|
-
- **Security requirements**: Are security needs identified and addressed?
|
|
248
|
-
- **Authentication/authorization**: Are access controls specified?
|
|
249
|
-
- **Data protection**: Are sensitive data handling requirements clear?
|
|
250
|
-
- **Vulnerability prevention**: Are common security issues addressed?
|
|
251
|
-
- **Compliance requirements**: Are regulatory/compliance needs addressed?
|
|
252
|
-
|
|
253
|
-
### 7. Tasks/Subtasks Sequence Validation
|
|
254
|
-
|
|
255
|
-
- **Logical order**: Do tasks follow proper implementation sequence?
|
|
256
|
-
- **Dependencies**: Are task dependencies clear and correct?
|
|
257
|
-
- **Granularity**: Are tasks appropriately sized and actionable?
|
|
258
|
-
- **Completeness**: Do tasks cover all requirements and acceptance criteria?
|
|
259
|
-
- **Blocking issues**: Are there any tasks that would block others?
|
|
260
|
-
|
|
261
|
-
### 8. Anti-Hallucination Verification
|
|
262
|
-
|
|
263
|
-
- **Source verification**: Every technical claim must be traceable to source documents
|
|
264
|
-
- **Architecture alignment**: Dev Notes content matches architecture specifications
|
|
265
|
-
- **No invented details**: Flag any technical decisions not supported by source documents
|
|
266
|
-
- **Reference accuracy**: Verify all source references are correct and accessible
|
|
267
|
-
- **Fact checking**: Cross-reference claims against epic and architecture documents
|
|
268
|
-
|
|
269
|
-
### 9. Dev Agent Implementation Readiness
|
|
270
|
-
|
|
271
|
-
- **Self-contained context**: Can the story be implemented without reading external docs?
|
|
272
|
-
- **Clear instructions**: Are implementation steps unambiguous?
|
|
273
|
-
- **Complete technical context**: Are all required technical details present in Dev Notes?
|
|
274
|
-
- **Missing information**: Identify any critical information gaps
|
|
275
|
-
- **Actionability**: Are all tasks actionable by a development agent?
|
|
276
|
-
|
|
277
|
-
### 10. Generate Validation Report
|
|
278
|
-
|
|
279
|
-
Provide a structured validation report including:
|
|
280
|
-
|
|
281
|
-
#### Template Compliance Issues
|
|
282
|
-
|
|
283
|
-
- Missing sections from story template
|
|
284
|
-
- Unfilled placeholders or template variables
|
|
285
|
-
- Structural formatting issues
|
|
286
|
-
|
|
287
|
-
#### Critical Issues (Must Fix - Story Blocked)
|
|
288
|
-
|
|
289
|
-
- Missing essential information for implementation
|
|
290
|
-
- Inaccurate or unverifiable technical claims
|
|
291
|
-
- Incomplete acceptance criteria coverage
|
|
292
|
-
- Missing required sections
|
|
293
|
-
|
|
294
|
-
#### Should-Fix Issues (Important Quality Improvements)
|
|
295
|
-
|
|
296
|
-
- Unclear implementation guidance
|
|
297
|
-
- Missing security considerations
|
|
298
|
-
- Task sequencing problems
|
|
299
|
-
- Incomplete testing instructions
|
|
300
|
-
|
|
301
|
-
#### Nice-to-Have Improvements (Optional Enhancements)
|
|
302
|
-
|
|
303
|
-
- Additional context that would help implementation
|
|
304
|
-
- Clarifications that would improve efficiency
|
|
305
|
-
- Documentation improvements
|
|
306
|
-
|
|
307
|
-
#### Anti-Hallucination Findings
|
|
308
|
-
|
|
309
|
-
- Unverifiable technical claims
|
|
310
|
-
- Missing source references
|
|
311
|
-
- Inconsistencies with architecture documents
|
|
312
|
-
- Invented libraries, patterns, or standards
|
|
313
|
-
|
|
314
|
-
#### Final Assessment
|
|
315
|
-
|
|
316
|
-
- **GO**: Story is ready for implementation
|
|
317
|
-
- **NO-GO**: Story requires fixes before implementation
|
|
318
|
-
- **Implementation Readiness Score**: 1-10 scale
|
|
319
|
-
- **Confidence Level**: High/Medium/Low for successful implementation
|
|
320
|
-
==================== END: .bmad-core/tasks/validate-next-story.md ====================
|
|
212
|
+
==================== END: tasks#execute-checklist ====================
|
|
321
213
|
|
|
322
|
-
==================== START:
|
|
214
|
+
==================== START: checklists#story-dod-checklist ====================
|
|
323
215
|
# Story Definition of Done (DoD) Checklist
|
|
324
216
|
|
|
325
217
|
## Instructions for Developer Agent
|
|
@@ -421,4 +313,4 @@ After completing the checklist:
|
|
|
421
313
|
Be honest - it's better to flag issues now than have them discovered later.]]
|
|
422
314
|
|
|
423
315
|
- [ ] I, the Developer Agent, confirm that all applicable items above have been addressed.
|
|
424
|
-
==================== END:
|
|
316
|
+
==================== END: checklists#story-dod-checklist ====================
|