bmad-method 4.37.0-beta.6 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/promote-to-stable.yml +144 -0
- package/CHANGELOG.md +27 -2
- package/bmad-core/agents/analyst.md +1 -1
- package/bmad-core/agents/architect.md +2 -3
- package/bmad-core/agents/bmad-master.md +0 -1
- package/bmad-core/agents/bmad-orchestrator.md +9 -10
- package/bmad-core/agents/dev.md +9 -10
- package/bmad-core/agents/po.md +1 -1
- package/bmad-core/agents/qa.md +38 -19
- package/bmad-core/agents/sm.md +1 -1
- package/bmad-core/agents/ux-expert.md +1 -1
- package/bmad-core/checklists/architect-checklist.md +0 -5
- package/bmad-core/checklists/pm-checklist.md +0 -5
- package/bmad-core/checklists/po-master-checklist.md +0 -9
- package/bmad-core/checklists/story-dod-checklist.md +0 -7
- package/bmad-core/checklists/story-draft-checklist.md +0 -3
- package/bmad-core/data/bmad-kb.md +5 -2
- package/bmad-core/data/elicitation-methods.md +20 -0
- package/bmad-core/data/test-levels-framework.md +146 -0
- package/bmad-core/data/test-priorities-matrix.md +172 -0
- package/bmad-core/tasks/create-brownfield-story.md +11 -3
- package/bmad-core/tasks/create-deep-research-prompt.md +0 -11
- package/bmad-core/tasks/document-project.md +15 -13
- package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
- package/bmad-core/tasks/index-docs.md +0 -6
- package/bmad-core/tasks/kb-mode-interaction.md +3 -3
- package/bmad-core/tasks/nfr-assess.md +343 -0
- package/bmad-core/tasks/qa-gate.md +159 -0
- package/bmad-core/tasks/review-story.md +243 -74
- package/bmad-core/tasks/risk-profile.md +353 -0
- package/bmad-core/tasks/shard-doc.md +0 -2
- package/bmad-core/tasks/test-design.md +174 -0
- package/bmad-core/tasks/trace-requirements.md +264 -0
- package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
- package/common/tasks/execute-checklist.md +0 -7
- package/dist/agents/analyst.txt +20 -26
- package/dist/agents/architect.txt +14 -35
- package/dist/agents/bmad-master.txt +40 -70
- package/dist/agents/bmad-orchestrator.txt +28 -5
- package/dist/agents/dev.txt +0 -14
- package/dist/agents/pm.txt +0 -25
- package/dist/agents/po.txt +0 -18
- package/dist/agents/qa.txt +2079 -135
- package/dist/agents/sm.txt +0 -10
- package/dist/agents/ux-expert.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -37
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +3 -12
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +44 -90
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +14 -49
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -46
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -17
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +38 -142
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2
- package/dist/teams/team-all.txt +2181 -261
- package/dist/teams/team-fullstack.txt +43 -57
- package/dist/teams/team-ide-minimal.txt +2064 -125
- package/dist/teams/team-no-ui.txt +43 -57
- package/docs/enhanced-ide-development-workflow.md +220 -15
- package/docs/user-guide.md +271 -18
- package/docs/working-in-the-brownfield.md +265 -32
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +14 -14
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -4
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -5
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -18
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -5
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -8
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +0 -7
- package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -4
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -1
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -10
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -18
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -3
- package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -1
- package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -1
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +33 -32
- package/tools/installer/config/install.config.yaml +11 -1
- package/tools/installer/lib/file-manager.js +1 -1
- package/tools/installer/lib/ide-base-setup.js +1 -1
- package/tools/installer/lib/ide-setup.js +197 -83
- package/tools/installer/lib/installer.js +3 -3
- package/tools/installer/package.json +1 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
name: Promote to Stable
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
version_bump:
|
|
7
|
+
description: 'Version bump type'
|
|
8
|
+
required: true
|
|
9
|
+
default: 'minor'
|
|
10
|
+
type: choice
|
|
11
|
+
options:
|
|
12
|
+
- patch
|
|
13
|
+
- minor
|
|
14
|
+
- major
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
promote:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
pull-requests: write
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout repository
|
|
25
|
+
uses: actions/checkout@v4
|
|
26
|
+
with:
|
|
27
|
+
fetch-depth: 0
|
|
28
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
+
|
|
30
|
+
- name: Setup Node.js
|
|
31
|
+
uses: actions/setup-node@v4
|
|
32
|
+
with:
|
|
33
|
+
node-version: '20'
|
|
34
|
+
registry-url: 'https://registry.npmjs.org'
|
|
35
|
+
|
|
36
|
+
- name: Configure Git
|
|
37
|
+
run: |
|
|
38
|
+
git config --global user.name "github-actions[bot]"
|
|
39
|
+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
|
40
|
+
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
|
|
41
|
+
|
|
42
|
+
- name: Switch to stable branch
|
|
43
|
+
run: |
|
|
44
|
+
git checkout stable
|
|
45
|
+
git pull origin stable
|
|
46
|
+
|
|
47
|
+
- name: Merge main into stable
|
|
48
|
+
run: |
|
|
49
|
+
git merge origin/main --no-edit
|
|
50
|
+
|
|
51
|
+
- name: Install dependencies
|
|
52
|
+
run: npm ci
|
|
53
|
+
|
|
54
|
+
- name: Get current version and calculate new version
|
|
55
|
+
id: version
|
|
56
|
+
run: |
|
|
57
|
+
# Get current version from package.json
|
|
58
|
+
CURRENT_VERSION=$(node -p "require('./package.json').version")
|
|
59
|
+
echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
|
|
60
|
+
|
|
61
|
+
# Remove beta suffix if present
|
|
62
|
+
BASE_VERSION=$(echo $CURRENT_VERSION | sed 's/-beta\.[0-9]\+//')
|
|
63
|
+
echo "base_version=$BASE_VERSION" >> $GITHUB_OUTPUT
|
|
64
|
+
|
|
65
|
+
# Calculate new version based on bump type
|
|
66
|
+
IFS='.' read -ra VERSION_PARTS <<< "$BASE_VERSION"
|
|
67
|
+
MAJOR=${VERSION_PARTS[0]}
|
|
68
|
+
MINOR=${VERSION_PARTS[1]}
|
|
69
|
+
PATCH=${VERSION_PARTS[2]}
|
|
70
|
+
|
|
71
|
+
case "${{ github.event.inputs.version_bump }}" in
|
|
72
|
+
"major")
|
|
73
|
+
NEW_VERSION="$((MAJOR + 1)).0.0"
|
|
74
|
+
;;
|
|
75
|
+
"minor")
|
|
76
|
+
NEW_VERSION="$MAJOR.$((MINOR + 1)).0"
|
|
77
|
+
;;
|
|
78
|
+
"patch")
|
|
79
|
+
NEW_VERSION="$MAJOR.$MINOR.$((PATCH + 1))"
|
|
80
|
+
;;
|
|
81
|
+
*)
|
|
82
|
+
NEW_VERSION="$BASE_VERSION"
|
|
83
|
+
;;
|
|
84
|
+
esac
|
|
85
|
+
|
|
86
|
+
# Check if calculated version already exists on NPM and increment if necessary
|
|
87
|
+
while npm view bmad-method@$NEW_VERSION version >/dev/null 2>&1; do
|
|
88
|
+
echo "Version $NEW_VERSION already exists, incrementing..."
|
|
89
|
+
IFS='.' read -ra NEW_VERSION_PARTS <<< "$NEW_VERSION"
|
|
90
|
+
NEW_MAJOR=${NEW_VERSION_PARTS[0]}
|
|
91
|
+
NEW_MINOR=${NEW_VERSION_PARTS[1]}
|
|
92
|
+
NEW_PATCH=${NEW_VERSION_PARTS[2]}
|
|
93
|
+
|
|
94
|
+
case "${{ github.event.inputs.version_bump }}" in
|
|
95
|
+
"major")
|
|
96
|
+
NEW_VERSION="$((NEW_MAJOR + 1)).0.0"
|
|
97
|
+
;;
|
|
98
|
+
"minor")
|
|
99
|
+
NEW_VERSION="$NEW_MAJOR.$((NEW_MINOR + 1)).0"
|
|
100
|
+
;;
|
|
101
|
+
"patch")
|
|
102
|
+
NEW_VERSION="$NEW_MAJOR.$NEW_MINOR.$((NEW_PATCH + 1))"
|
|
103
|
+
;;
|
|
104
|
+
esac
|
|
105
|
+
done
|
|
106
|
+
|
|
107
|
+
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
|
|
108
|
+
echo "Promoting from $CURRENT_VERSION to $NEW_VERSION"
|
|
109
|
+
|
|
110
|
+
- name: Update package.json versions
|
|
111
|
+
run: |
|
|
112
|
+
# Update main package.json
|
|
113
|
+
npm version ${{ steps.version.outputs.new_version }} --no-git-tag-version
|
|
114
|
+
|
|
115
|
+
# Update installer package.json
|
|
116
|
+
sed -i 's/"version": ".*"/"version": "${{ steps.version.outputs.new_version }}"/' tools/installer/package.json
|
|
117
|
+
|
|
118
|
+
- name: Update package-lock.json
|
|
119
|
+
run: npm install --package-lock-only
|
|
120
|
+
|
|
121
|
+
- name: Commit stable release
|
|
122
|
+
run: |
|
|
123
|
+
git add .
|
|
124
|
+
git commit -m "feat: promote to stable ${{ steps.version.outputs.new_version }}
|
|
125
|
+
|
|
126
|
+
BREAKING CHANGE: Promote beta features to stable release
|
|
127
|
+
|
|
128
|
+
- Update version from ${{ steps.version.outputs.current_version }} to ${{ steps.version.outputs.new_version }}
|
|
129
|
+
- Automated promotion via GitHub Actions"
|
|
130
|
+
|
|
131
|
+
- name: Push stable release
|
|
132
|
+
run: |
|
|
133
|
+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
|
|
134
|
+
git push origin stable
|
|
135
|
+
|
|
136
|
+
- name: Switch back to main
|
|
137
|
+
run: git checkout main
|
|
138
|
+
|
|
139
|
+
- name: Summary
|
|
140
|
+
run: |
|
|
141
|
+
echo "🎉 Successfully promoted to stable!"
|
|
142
|
+
echo "📦 Version: ${{ steps.version.outputs.new_version }}"
|
|
143
|
+
echo "🚀 The stable release will be automatically published to NPM via semantic-release"
|
|
144
|
+
echo "✅ Users running 'npx bmad-method install' will now get version ${{ steps.version.outputs.new_version }}"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
# [5.0.0-beta.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.37.0-beta.1...v5.0.0-beta.1) (2025-08-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add permissions and authentication for promotion workflow ([7f016d0](https://github.com/bmadcode/BMAD-METHOD/commit/7f016d0020705c2a048b656eeaaf9bd1762e4914))
|
|
7
|
+
* resolve CommonJS import compatibility for chalk, inquirer, and ora ([#442](https://github.com/bmadcode/BMAD-METHOD/issues/442)) ([33269c8](https://github.com/bmadcode/BMAD-METHOD/commit/33269c888d930d197ab47a3ec1d8a66c5469c43b))
|
|
8
|
+
* update package-lock.json for semver dependency ([6cb2fa6](https://github.com/bmadcode/BMAD-METHOD/commit/6cb2fa68b305dfe7eac052cd32d84839c57fb321))
|
|
9
|
+
* update versions for dual publishing beta releases ([e0dcbcf](https://github.com/bmadcode/BMAD-METHOD/commit/e0dcbcf5277ac33a824b445060177fd3e71f13d4))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
2
13
|
|
|
14
|
+
* add automated promotion workflow for stable releases ([fb02234](https://github.com/bmadcode/BMAD-METHOD/commit/fb02234b592f2345d8c42275e666cf01e5e92869))
|
|
15
|
+
* publish stable release 5.0.0 ([93426c2](https://github.com/bmadcode/BMAD-METHOD/commit/93426c2d2f046ce37a9c491d1f55fe9f7a2566d8))
|
|
16
|
+
* transform QA agent into Test Architect with advanced quality ca… ([#433](https://github.com/bmadcode/BMAD-METHOD/issues/433)) ([0b61175](https://github.com/bmadcode/BMAD-METHOD/commit/0b61175d98e6def508cc82bb4539e7f37f8f6e1a))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### BREAKING CHANGES
|
|
20
|
+
|
|
21
|
+
* Promote beta features to stable release for v5.0.0
|
|
22
|
+
|
|
23
|
+
This commit ensures the stable release gets properly published to NPM and GitHub releases.
|
|
24
|
+
|
|
25
|
+
## [4.36.2](https://github.com/bmadcode/BMAD-METHOD/compare/v4.36.1...v4.36.2) (2025-08-10)
|
|
3
26
|
|
|
4
27
|
### Bug Fixes
|
|
5
28
|
|
|
6
|
-
|
|
29
|
+
- align installer dependencies with root package versions for ESM compatibility ([#420](https://github.com/bmadcode/BMAD-METHOD/issues/420)) ([3f6b674](https://github.com/bmadcode/BMAD-METHOD/commit/3f6b67443d61ae6add98656374bed27da4704644))
|
|
7
30
|
|
|
8
31
|
## [4.36.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.36.0...v4.36.1) (2025-08-09)
|
|
9
32
|
|
|
@@ -687,3 +710,5 @@ Co-Authored-By: Claude <noreply@anthropic.com>
|
|
|
687
710
|
### Features
|
|
688
711
|
|
|
689
712
|
- add versioning and release automation ([0ea5e50](https://github.com/bmadcode/BMAD-METHOD/commit/0ea5e50aa7ace5946d0100c180dd4c0da3e2fd8c))
|
|
713
|
+
|
|
714
|
+
# Promote to stable release 5.0.0
|
|
@@ -52,7 +52,7 @@ persona:
|
|
|
52
52
|
- Integrity of Information - Ensure accurate sourcing and representation
|
|
53
53
|
- Numbered Options Protocol - Always use numbered lists for selections
|
|
54
54
|
# All commands require * prefix when used (e.g., *help)
|
|
55
|
-
commands:
|
|
55
|
+
commands:
|
|
56
56
|
- help: Show numbered list of the following commands to allow selection
|
|
57
57
|
- create-project-brief: use task create-doc with project-brief-tmpl.yaml
|
|
58
58
|
- perform-market-research: use task create-doc with market-research-tmpl.yaml
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# architect
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -53,12 +52,12 @@ persona:
|
|
|
53
52
|
- Cost-Conscious Engineering - Balance technical ideals with financial reality
|
|
54
53
|
- Living Architecture - Design for change and adaptation
|
|
55
54
|
# All commands require * prefix when used (e.g., *help)
|
|
56
|
-
commands:
|
|
55
|
+
commands:
|
|
57
56
|
- help: Show numbered list of the following commands to allow selection
|
|
58
57
|
- create-full-stack-architecture: use create-doc with fullstack-architecture-tmpl.yaml
|
|
59
58
|
- create-backend-architecture: use create-doc with architecture-tmpl.yaml
|
|
60
59
|
- create-front-end-architecture: use create-doc with front-end-architecture-tmpl.yaml
|
|
61
|
-
- create-brownfield-architecture:
|
|
60
|
+
- create-brownfield-architecture: use create-doc with brownfield-architecture-tmpl.yaml
|
|
62
61
|
- doc-out: Output full document to current destination file
|
|
63
62
|
- document-project: execute the task document-project.md
|
|
64
63
|
- execute-checklist {checklist}: Run task execute-checklist (default->architect-checklist)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# BMad Master
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# BMad Web Orchestrator
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
4
|
|
|
6
5
|
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
@@ -52,9 +51,9 @@ persona:
|
|
|
52
51
|
- Always use numbered lists for choices
|
|
53
52
|
- Process commands starting with * immediately
|
|
54
53
|
- Always remind users that commands require * prefix
|
|
55
|
-
commands:
|
|
54
|
+
commands: # All commands require * prefix when used (e.g., *help, *agent pm)
|
|
56
55
|
help: Show this guide with available agents and workflows
|
|
57
|
-
chat-mode: Start conversational mode for detailed assistance
|
|
56
|
+
chat-mode: Start conversational mode for detailed assistance
|
|
58
57
|
kb-mode: Load full BMad knowledge base
|
|
59
58
|
status: Show current context, active agent, and progress
|
|
60
59
|
agent: Transform into a specialized agent (list if name not specified)
|
|
@@ -72,42 +71,42 @@ commands: # All commands require * prefix when used (e.g., *help, *agent pm)
|
|
|
72
71
|
help-display-template: |
|
|
73
72
|
=== BMad Orchestrator Commands ===
|
|
74
73
|
All commands must start with * (asterisk)
|
|
75
|
-
|
|
74
|
+
|
|
76
75
|
Core Commands:
|
|
77
76
|
*help ............... Show this guide
|
|
78
77
|
*chat-mode .......... Start conversational mode for detailed assistance
|
|
79
78
|
*kb-mode ............ Load full BMad knowledge base
|
|
80
79
|
*status ............. Show current context, active agent, and progress
|
|
81
80
|
*exit ............... Return to BMad or exit session
|
|
82
|
-
|
|
81
|
+
|
|
83
82
|
Agent & Task Management:
|
|
84
83
|
*agent [name] ....... Transform into specialized agent (list if no name)
|
|
85
84
|
*task [name] ........ Run specific task (list if no name, requires agent)
|
|
86
85
|
*checklist [name] ... Execute checklist (list if no name, requires agent)
|
|
87
|
-
|
|
86
|
+
|
|
88
87
|
Workflow Commands:
|
|
89
88
|
*workflow [name] .... Start specific workflow (list if no name)
|
|
90
89
|
*workflow-guidance .. Get personalized help selecting the right workflow
|
|
91
90
|
*plan ............... Create detailed workflow plan before starting
|
|
92
91
|
*plan-status ........ Show current workflow plan progress
|
|
93
92
|
*plan-update ........ Update workflow plan status
|
|
94
|
-
|
|
93
|
+
|
|
95
94
|
Other Commands:
|
|
96
95
|
*yolo ............... Toggle skip confirmations mode
|
|
97
96
|
*party-mode ......... Group chat with all agents
|
|
98
97
|
*doc-out ............ Output full document
|
|
99
|
-
|
|
98
|
+
|
|
100
99
|
=== Available Specialist Agents ===
|
|
101
100
|
[Dynamically list each agent in bundle with format:
|
|
102
101
|
*agent {id}: {title}
|
|
103
102
|
When to use: {whenToUse}
|
|
104
103
|
Key deliverables: {main outputs/documents}]
|
|
105
|
-
|
|
104
|
+
|
|
106
105
|
=== Available Workflows ===
|
|
107
106
|
[Dynamically list each workflow in bundle with format:
|
|
108
107
|
*workflow {id}: {name}
|
|
109
108
|
Purpose: {description}]
|
|
110
|
-
|
|
109
|
+
|
|
111
110
|
💡 Tip: Each agent has unique tasks, templates, and checklists. Switch to an agent to access their capabilities!
|
|
112
111
|
|
|
113
112
|
fuzzy-matching:
|
package/bmad-core/agents/dev.md
CHANGED
|
@@ -38,7 +38,6 @@ agent:
|
|
|
38
38
|
whenToUse: "Use for code implementation, debugging, refactoring, and development best practices"
|
|
39
39
|
customization:
|
|
40
40
|
|
|
41
|
-
|
|
42
41
|
persona:
|
|
43
42
|
role: Expert Senior Software Engineer & Implementation Specialist
|
|
44
43
|
style: Extremely concise, pragmatic, detail-oriented, solution-focused
|
|
@@ -52,20 +51,20 @@ core_principles:
|
|
|
52
51
|
- Numbered Options - Always use numbered lists when presenting choices to the user
|
|
53
52
|
|
|
54
53
|
# All commands require * prefix when used (e.g., *help)
|
|
55
|
-
commands:
|
|
54
|
+
commands:
|
|
56
55
|
- help: Show numbered list of the following commands to allow selection
|
|
57
56
|
- run-tests: Execute linting and tests
|
|
58
57
|
- explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior engineer.
|
|
59
58
|
- exit: Say goodbye as the Developer, and then abandon inhabiting this persona
|
|
60
59
|
- develop-story:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
- order-of-execution: "Read (first or next) task→Implement Task and its subtasks→Write tests→Execute validations→Only if ALL pass, then update the task checkbox with [x]→Update story section File List to ensure it lists and new or modified or deleted source file→repeat order-of-execution until complete"
|
|
61
|
+
- story-file-updates-ONLY:
|
|
62
|
+
- CRITICAL: ONLY UPDATE THE STORY FILE WITH UPDATES TO SECTIONS INDICATED BELOW. DO NOT MODIFY ANY OTHER SECTIONS.
|
|
63
|
+
- CRITICAL: You are ONLY authorized to edit these specific sections of story files - Tasks / Subtasks Checkboxes, Dev Agent Record section and all its subsections, Agent Model Used, Debug Log References, Completion Notes List, File List, Change Log, Status
|
|
64
|
+
- CRITICAL: DO NOT modify Status, Story, Acceptance Criteria, Dev Notes, Testing sections, or any other sections not listed above
|
|
65
|
+
- blocking: "HALT for: Unapproved deps needed, confirm with user | Ambiguous after story check | 3 failures attempting to implement or fix something repeatedly | Missing config | Failing regression"
|
|
66
|
+
- ready-for-review: "Code matches requirements + All validations pass + Follows standards + File List complete"
|
|
67
|
+
- completion: "All Tasks and Subtasks marked [x] and have tests→Validations and full regression passes (DON'T BE LAZY, EXECUTE ALL TESTS and CONFIRM)→Ensure File List is Complete→run the task execute-checklist for the checklist story-dod-checklist→set story status: 'Ready for Review'→HALT"
|
|
69
68
|
|
|
70
69
|
dependencies:
|
|
71
70
|
tasks:
|
package/bmad-core/agents/po.md
CHANGED
|
@@ -51,7 +51,7 @@ persona:
|
|
|
51
51
|
- Focus on Executable & Value-Driven Increments - Ensure work aligns with MVP goals
|
|
52
52
|
- Documentation Ecosystem Integrity - Maintain consistency across all documents
|
|
53
53
|
# All commands require * prefix when used (e.g., *help)
|
|
54
|
-
commands:
|
|
54
|
+
commands:
|
|
55
55
|
- help: Show numbered list of the following commands to allow selection
|
|
56
56
|
- execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
|
|
57
57
|
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
package/bmad-core/agents/qa.md
CHANGED
|
@@ -30,40 +30,59 @@ activation-instructions:
|
|
|
30
30
|
agent:
|
|
31
31
|
name: Quinn
|
|
32
32
|
id: qa
|
|
33
|
-
title:
|
|
33
|
+
title: Test Architect & Quality Advisor
|
|
34
34
|
icon: 🧪
|
|
35
|
-
whenToUse:
|
|
35
|
+
whenToUse: |
|
|
36
|
+
Use for comprehensive test architecture review, quality gate decisions,
|
|
37
|
+
and code improvement. Provides thorough analysis including requirements
|
|
38
|
+
traceability, risk assessment, and test strategy.
|
|
39
|
+
Advisory only - teams choose their quality bar.
|
|
36
40
|
customization: null
|
|
37
41
|
persona:
|
|
38
|
-
role:
|
|
39
|
-
style:
|
|
40
|
-
identity:
|
|
41
|
-
focus:
|
|
42
|
+
role: Test Architect with Quality Advisory Authority
|
|
43
|
+
style: Comprehensive, systematic, advisory, educational, pragmatic
|
|
44
|
+
identity: Test architect who provides thorough quality assessment and actionable recommendations without blocking progress
|
|
45
|
+
focus: Comprehensive quality analysis through test architecture, risk assessment, and advisory gates
|
|
42
46
|
core_principles:
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
47
|
+
- Depth As Needed - Go deep based on risk signals, stay concise when low risk
|
|
48
|
+
- Requirements Traceability - Map all stories to tests using Given-When-Then patterns
|
|
49
|
+
- Risk-Based Testing - Assess and prioritize by probability × impact
|
|
50
|
+
- Quality Attributes - Validate NFRs (security, performance, reliability) via scenarios
|
|
51
|
+
- Testability Assessment - Evaluate controllability, observability, debuggability
|
|
52
|
+
- Gate Governance - Provide clear PASS/CONCERNS/FAIL/WAIVED decisions with rationale
|
|
53
|
+
- Advisory Excellence - Educate through documentation, never block arbitrarily
|
|
54
|
+
- Technical Debt Awareness - Identify and quantify debt with improvement suggestions
|
|
55
|
+
- LLM Acceleration - Use LLMs to accelerate thorough yet focused analysis
|
|
56
|
+
- Pragmatic Balance - Distinguish must-fix from nice-to-have improvements
|
|
53
57
|
story-file-permissions:
|
|
54
58
|
- CRITICAL: When reviewing stories, you are ONLY authorized to update the "QA Results" section of story files
|
|
55
59
|
- CRITICAL: DO NOT modify any other sections including Status, Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Testing, Dev Agent Record, Change Log, or any other sections
|
|
56
60
|
- CRITICAL: Your updates must be limited to appending your review results in the QA Results section only
|
|
57
61
|
# All commands require * prefix when used (e.g., *help)
|
|
58
|
-
commands:
|
|
62
|
+
commands:
|
|
59
63
|
- help: Show numbered list of the following commands to allow selection
|
|
60
|
-
- review {story}:
|
|
61
|
-
|
|
64
|
+
- review {story}: |
|
|
65
|
+
Adaptive, risk-aware comprehensive review.
|
|
66
|
+
Produces: QA Results update in story file + gate file (PASS/CONCERNS/FAIL/WAIVED).
|
|
67
|
+
Gate file location: docs/qa/gates/{epic}.{story}-{slug}.yml
|
|
68
|
+
Executes review-story task which includes all analysis and creates gate decision.
|
|
69
|
+
- gate {story}: Execute qa-gate task to write/update quality gate decision in docs/qa/gates/
|
|
70
|
+
- trace {story}: Execute trace-requirements task to map requirements to tests using Given-When-Then
|
|
71
|
+
- risk-profile {story}: Execute risk-profile task to generate risk assessment matrix
|
|
72
|
+
- test-design {story}: Execute test-design task to create comprehensive test scenarios
|
|
73
|
+
- nfr-assess {story}: Execute nfr-assess task to validate non-functional requirements
|
|
74
|
+
- exit: Say goodbye as the Test Architect, and then abandon inhabiting this persona
|
|
62
75
|
dependencies:
|
|
63
76
|
tasks:
|
|
64
77
|
- review-story.md
|
|
78
|
+
- qa-gate.md
|
|
79
|
+
- trace-requirements.md
|
|
80
|
+
- risk-profile.md
|
|
81
|
+
- test-design.md
|
|
82
|
+
- nfr-assess.md
|
|
65
83
|
data:
|
|
66
84
|
- technical-preferences.md
|
|
67
85
|
templates:
|
|
68
86
|
- story-tmpl.yaml
|
|
87
|
+
- qa-gate-tmpl.yaml
|
|
69
88
|
```
|
package/bmad-core/agents/sm.md
CHANGED
|
@@ -44,7 +44,7 @@ persona:
|
|
|
44
44
|
- Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
|
|
45
45
|
- You are NOT allowed to implement stories or modify code EVER!
|
|
46
46
|
# All commands require * prefix when used (e.g., *help)
|
|
47
|
-
commands:
|
|
47
|
+
commands:
|
|
48
48
|
- help: Show numbered list of the following commands to allow selection
|
|
49
49
|
- draft: Execute task create-next-story.md
|
|
50
50
|
- correct-course: Execute task correct-course.md
|
|
@@ -49,7 +49,7 @@ persona:
|
|
|
49
49
|
- You're particularly skilled at translating user needs into beautiful, functional designs.
|
|
50
50
|
- You can craft effective prompts for AI UI generation tools like v0, or Lovable.
|
|
51
51
|
# All commands require * prefix when used (e.g., *help)
|
|
52
|
-
commands:
|
|
52
|
+
commands:
|
|
53
53
|
- help: Show numbered list of the following commands to allow selection
|
|
54
54
|
- create-front-end-spec: run task create-doc.md with template front-end-spec-tmpl.yaml
|
|
55
55
|
- generate-ui-prompt: Run task generate-ai-frontend-prompt.md
|
|
@@ -403,33 +403,28 @@ Ask the user if they want to work through the checklist:
|
|
|
403
403
|
Now that you've completed the checklist, generate a comprehensive validation report that includes:
|
|
404
404
|
|
|
405
405
|
1. Executive Summary
|
|
406
|
-
|
|
407
406
|
- Overall architecture readiness (High/Medium/Low)
|
|
408
407
|
- Critical risks identified
|
|
409
408
|
- Key strengths of the architecture
|
|
410
409
|
- Project type (Full-stack/Frontend/Backend) and sections evaluated
|
|
411
410
|
|
|
412
411
|
2. Section Analysis
|
|
413
|
-
|
|
414
412
|
- Pass rate for each major section (percentage of items passed)
|
|
415
413
|
- Most concerning failures or gaps
|
|
416
414
|
- Sections requiring immediate attention
|
|
417
415
|
- Note any sections skipped due to project type
|
|
418
416
|
|
|
419
417
|
3. Risk Assessment
|
|
420
|
-
|
|
421
418
|
- Top 5 risks by severity
|
|
422
419
|
- Mitigation recommendations for each
|
|
423
420
|
- Timeline impact of addressing issues
|
|
424
421
|
|
|
425
422
|
4. Recommendations
|
|
426
|
-
|
|
427
423
|
- Must-fix items before development
|
|
428
424
|
- Should-fix items for better quality
|
|
429
425
|
- Nice-to-have improvements
|
|
430
426
|
|
|
431
427
|
5. AI Implementation Readiness
|
|
432
|
-
|
|
433
428
|
- Specific concerns for AI agent implementation
|
|
434
429
|
- Areas needing additional clarification
|
|
435
430
|
- Complexity hotspots to address
|
|
@@ -304,7 +304,6 @@ Ask the user if they want to work through the checklist:
|
|
|
304
304
|
Create a comprehensive validation report that includes:
|
|
305
305
|
|
|
306
306
|
1. Executive Summary
|
|
307
|
-
|
|
308
307
|
- Overall PRD completeness (percentage)
|
|
309
308
|
- MVP scope appropriateness (Too Large/Just Right/Too Small)
|
|
310
309
|
- Readiness for architecture phase (Ready/Nearly Ready/Not Ready)
|
|
@@ -312,26 +311,22 @@ Create a comprehensive validation report that includes:
|
|
|
312
311
|
|
|
313
312
|
2. Category Analysis Table
|
|
314
313
|
Fill in the actual table with:
|
|
315
|
-
|
|
316
314
|
- Status: PASS (90%+ complete), PARTIAL (60-89%), FAIL (<60%)
|
|
317
315
|
- Critical Issues: Specific problems that block progress
|
|
318
316
|
|
|
319
317
|
3. Top Issues by Priority
|
|
320
|
-
|
|
321
318
|
- BLOCKERS: Must fix before architect can proceed
|
|
322
319
|
- HIGH: Should fix for quality
|
|
323
320
|
- MEDIUM: Would improve clarity
|
|
324
321
|
- LOW: Nice to have
|
|
325
322
|
|
|
326
323
|
4. MVP Scope Assessment
|
|
327
|
-
|
|
328
324
|
- Features that might be cut for true MVP
|
|
329
325
|
- Missing features that are essential
|
|
330
326
|
- Complexity concerns
|
|
331
327
|
- Timeline realism
|
|
332
328
|
|
|
333
329
|
5. Technical Readiness
|
|
334
|
-
|
|
335
330
|
- Clarity of technical constraints
|
|
336
331
|
- Identified technical risks
|
|
337
332
|
- Areas needing architect investigation
|
|
@@ -8,12 +8,10 @@ PROJECT TYPE DETECTION:
|
|
|
8
8
|
First, determine the project type by checking:
|
|
9
9
|
|
|
10
10
|
1. Is this a GREENFIELD project (new from scratch)?
|
|
11
|
-
|
|
12
11
|
- Look for: New project initialization, no existing codebase references
|
|
13
12
|
- Check for: prd.md, architecture.md, new project setup stories
|
|
14
13
|
|
|
15
14
|
2. Is this a BROWNFIELD project (enhancing existing system)?
|
|
16
|
-
|
|
17
15
|
- Look for: References to existing codebase, enhancement/modification language
|
|
18
16
|
- Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
|
|
19
17
|
|
|
@@ -347,7 +345,6 @@ Ask the user if they want to work through the checklist:
|
|
|
347
345
|
Generate a comprehensive validation report that adapts to project type:
|
|
348
346
|
|
|
349
347
|
1. Executive Summary
|
|
350
|
-
|
|
351
348
|
- Project type: [Greenfield/Brownfield] with [UI/No UI]
|
|
352
349
|
- Overall readiness (percentage)
|
|
353
350
|
- Go/No-Go recommendation
|
|
@@ -357,42 +354,36 @@ Generate a comprehensive validation report that adapts to project type:
|
|
|
357
354
|
2. Project-Specific Analysis
|
|
358
355
|
|
|
359
356
|
FOR GREENFIELD:
|
|
360
|
-
|
|
361
357
|
- Setup completeness
|
|
362
358
|
- Dependency sequencing
|
|
363
359
|
- MVP scope appropriateness
|
|
364
360
|
- Development timeline feasibility
|
|
365
361
|
|
|
366
362
|
FOR BROWNFIELD:
|
|
367
|
-
|
|
368
363
|
- Integration risk level (High/Medium/Low)
|
|
369
364
|
- Existing system impact assessment
|
|
370
365
|
- Rollback readiness
|
|
371
366
|
- User disruption potential
|
|
372
367
|
|
|
373
368
|
3. Risk Assessment
|
|
374
|
-
|
|
375
369
|
- Top 5 risks by severity
|
|
376
370
|
- Mitigation recommendations
|
|
377
371
|
- Timeline impact of addressing issues
|
|
378
372
|
- [BROWNFIELD] Specific integration risks
|
|
379
373
|
|
|
380
374
|
4. MVP Completeness
|
|
381
|
-
|
|
382
375
|
- Core features coverage
|
|
383
376
|
- Missing essential functionality
|
|
384
377
|
- Scope creep identified
|
|
385
378
|
- True MVP vs over-engineering
|
|
386
379
|
|
|
387
380
|
5. Implementation Readiness
|
|
388
|
-
|
|
389
381
|
- Developer clarity score (1-10)
|
|
390
382
|
- Ambiguous requirements count
|
|
391
383
|
- Missing technical details
|
|
392
384
|
- [BROWNFIELD] Integration point clarity
|
|
393
385
|
|
|
394
386
|
6. Recommendations
|
|
395
|
-
|
|
396
387
|
- Must-fix before development
|
|
397
388
|
- Should-fix for quality
|
|
398
389
|
- Consider for improvement
|
|
@@ -25,14 +25,12 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
25
25
|
1. **Requirements Met:**
|
|
26
26
|
|
|
27
27
|
[[LLM: Be specific - list each requirement and whether it's complete]]
|
|
28
|
-
|
|
29
28
|
- [ ] All functional requirements specified in the story are implemented.
|
|
30
29
|
- [ ] All acceptance criteria defined in the story are met.
|
|
31
30
|
|
|
32
31
|
2. **Coding Standards & Project Structure:**
|
|
33
32
|
|
|
34
33
|
[[LLM: Code quality matters for maintainability. Check each item carefully]]
|
|
35
|
-
|
|
36
34
|
- [ ] All new/modified code strictly adheres to `Operational Guidelines`.
|
|
37
35
|
- [ ] All new/modified code aligns with `Project Structure` (file locations, naming, etc.).
|
|
38
36
|
- [ ] Adherence to `Tech Stack` for technologies/versions used (if story introduces or modifies tech usage).
|
|
@@ -44,7 +42,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
44
42
|
3. **Testing:**
|
|
45
43
|
|
|
46
44
|
[[LLM: Testing proves your code works. Be honest about test coverage]]
|
|
47
|
-
|
|
48
45
|
- [ ] All required unit tests as per the story and `Operational Guidelines` Testing Strategy are implemented.
|
|
49
46
|
- [ ] All required integration tests (if applicable) as per the story and `Operational Guidelines` Testing Strategy are implemented.
|
|
50
47
|
- [ ] All tests (unit, integration, E2E if applicable) pass successfully.
|
|
@@ -53,14 +50,12 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
53
50
|
4. **Functionality & Verification:**
|
|
54
51
|
|
|
55
52
|
[[LLM: Did you actually run and test your code? Be specific about what you tested]]
|
|
56
|
-
|
|
57
53
|
- [ ] Functionality has been manually verified by the developer (e.g., running the app locally, checking UI, testing API endpoints).
|
|
58
54
|
- [ ] Edge cases and potential error conditions considered and handled gracefully.
|
|
59
55
|
|
|
60
56
|
5. **Story Administration:**
|
|
61
57
|
|
|
62
58
|
[[LLM: Documentation helps the next developer. What should they know?]]
|
|
63
|
-
|
|
64
59
|
- [ ] All tasks within the story file are marked as complete.
|
|
65
60
|
- [ ] Any clarifications or decisions made during development are documented in the story file or linked appropriately.
|
|
66
61
|
- [ ] The story wrap up section has been completed with notes of changes or information relevant to the next story or overall project, the agent model that was primarily used during development, and the changelog of any changes is properly updated.
|
|
@@ -68,7 +63,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
68
63
|
6. **Dependencies, Build & Configuration:**
|
|
69
64
|
|
|
70
65
|
[[LLM: Build issues block everyone. Ensure everything compiles and runs cleanly]]
|
|
71
|
-
|
|
72
66
|
- [ ] Project builds successfully without errors.
|
|
73
67
|
- [ ] Project linting passes
|
|
74
68
|
- [ ] Any new dependencies added were either pre-approved in the story requirements OR explicitly approved by the user during development (approval documented in story file).
|
|
@@ -79,7 +73,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
79
73
|
7. **Documentation (If Applicable):**
|
|
80
74
|
|
|
81
75
|
[[LLM: Good documentation prevents future confusion. What needs explaining?]]
|
|
82
|
-
|
|
83
76
|
- [ ] Relevant inline code documentation (e.g., JSDoc, TSDoc, Python docstrings) for new public APIs or complex logic is complete.
|
|
84
77
|
- [ ] User-facing documentation updated, if changes impact users.
|
|
85
78
|
- [ ] Technical documentation (e.g., READMEs, system diagrams) updated if significant architectural changes were made.
|
|
@@ -117,19 +117,16 @@ Note: We don't need every file listed - just the important ones.]]
|
|
|
117
117
|
Generate a concise validation report:
|
|
118
118
|
|
|
119
119
|
1. Quick Summary
|
|
120
|
-
|
|
121
120
|
- Story readiness: READY / NEEDS REVISION / BLOCKED
|
|
122
121
|
- Clarity score (1-10)
|
|
123
122
|
- Major gaps identified
|
|
124
123
|
|
|
125
124
|
2. Fill in the validation table with:
|
|
126
|
-
|
|
127
125
|
- PASS: Requirements clearly met
|
|
128
126
|
- PARTIAL: Some gaps but workable
|
|
129
127
|
- FAIL: Critical information missing
|
|
130
128
|
|
|
131
129
|
3. Specific Issues (if any)
|
|
132
|
-
|
|
133
130
|
- List concrete problems to fix
|
|
134
131
|
- Suggest specific improvements
|
|
135
132
|
- Identify any blocking dependencies
|