bmad-method 4.21.2 → 4.22.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/CHANGELOG.md +14 -0
- package/README.md +5 -3
- package/bmad-core/core-config.yml +1 -1
- package/dist/agents/analyst.txt +45 -48
- package/dist/agents/architect.txt +45 -48
- package/dist/agents/bmad-master.txt +45 -48
- package/dist/agents/bmad-orchestrator.txt +45 -48
- package/dist/agents/pm.txt +45 -48
- package/dist/agents/ux-expert.txt +45 -48
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +45 -48
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +45 -48
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +45 -48
- package/dist/teams/team-all.txt +45 -48
- package/dist/teams/team-fullstack.txt +45 -48
- package/dist/teams/team-ide-minimal.txt +45 -48
- package/dist/teams/team-no-ui.txt +45 -48
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yml +1 -1
- package/expansion-packs/bmad-creator-tools/config.yml +1 -1
- package/expansion-packs/bmad-infrastructure-devops/config.yml +1 -1
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.22.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.22.0...v4.22.1) (2025-06-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update expansion versions ([6905fe7](https://github.com/bmadcode/BMAD-METHOD/commit/6905fe72f6c2abefbfd65729d1be85752130a1d2))
|
|
7
|
+
|
|
8
|
+
# [4.22.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.21.2...v4.22.0) (2025-06-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* create doc more explicit and readme improvement ([a1b30d9](https://github.com/bmadcode/BMAD-METHOD/commit/a1b30d9341d2ceff79db2c7e178860c5ef0d99e5))
|
|
14
|
+
|
|
1
15
|
## [4.21.2](https://github.com/bmadcode/BMAD-METHOD/compare/v4.21.1...v4.21.2) (2025-06-30)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Foundations in Agentic Agile Driven Development, known as the Breakthrough Metho
|
|
|
13
13
|
|
|
14
14
|
⭐ **If you find this project helpful or useful, please give it a star in the upper right hand corner!** It helps others discover BMad-METHOD and you will be notified of updates!
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Quick Navigation
|
|
17
17
|
|
|
18
18
|
### 🚨 MUST READ: Understanding the BMAD Workflow
|
|
19
19
|
|
|
@@ -50,13 +50,14 @@ Foundations in Agentic Agile Driven Development, known as the Breakthrough Metho
|
|
|
50
50
|
- **[Contributing](#contributing)** → Help improve BMAD
|
|
51
51
|
- **[Support](#support)** → Get help and connect
|
|
52
52
|
|
|
53
|
-
##
|
|
53
|
+
## Important: Keep Your BMad Installation Updated
|
|
54
54
|
|
|
55
55
|
**Stay up-to-date effortlessly!** If you already have BMad-METHOD installed in your project, simply run:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
npx bmad-method install
|
|
59
59
|
# OR
|
|
60
|
+
git pull
|
|
60
61
|
npm run install:bmad
|
|
61
62
|
```
|
|
62
63
|
|
|
@@ -69,7 +70,7 @@ This will:
|
|
|
69
70
|
|
|
70
71
|
This makes it easy to benefit from the latest improvements, bug fixes, and new agents without losing your customizations! If for some reason this fails, you can rename or remove your .bmad-code folder and run the install again. The main thing to look out for is if you have set up custom modes that are not file driven (Cursor is the only one at this time that is not done through project files lagging behind) - you will want to ensure your sm and dev custom modes especially are kept up to date.
|
|
71
72
|
|
|
72
|
-
##
|
|
73
|
+
## Quick Start
|
|
73
74
|
|
|
74
75
|
### One Command for Everything (IDE Installation)
|
|
75
76
|
|
|
@@ -78,6 +79,7 @@ This makes it easy to benefit from the latest improvements, bug fixes, and new a
|
|
|
78
79
|
```bash
|
|
79
80
|
npx bmad-method install
|
|
80
81
|
# OR if you already have BMad installed:
|
|
82
|
+
git pull
|
|
81
83
|
npm run install:bmad
|
|
82
84
|
```
|
|
83
85
|
|
package/dist/agents/analyst.txt
CHANGED
|
@@ -652,76 +652,73 @@ Present these numbered options to the user:
|
|
|
652
652
|
|
|
653
653
|
## Purpose
|
|
654
654
|
|
|
655
|
-
|
|
655
|
+
Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
|
|
656
656
|
|
|
657
|
-
##
|
|
657
|
+
## CRITICAL RULES
|
|
658
658
|
|
|
659
|
-
|
|
659
|
+
1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
|
|
660
|
+
2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
|
|
661
|
+
3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
|
|
662
|
+
4. **WAIT for user input** - At review points and after elicitation tasks
|
|
660
663
|
|
|
661
|
-
|
|
664
|
+
## Execution Flow
|
|
662
665
|
|
|
663
|
-
|
|
666
|
+
### 1. Identify Template
|
|
664
667
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
@{/example}
|
|
668
|
+
- Load from `templates#*` or `{root}/templates directory`
|
|
669
|
+
- Agent-specific templates are listed in agent's dependencies
|
|
670
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
|
|
669
671
|
|
|
670
|
-
|
|
672
|
+
### 2. Ask Interaction Mode
|
|
671
673
|
|
|
672
|
-
|
|
673
|
-
-
|
|
674
|
-
|
|
675
|
-
### 2. Determine Interaction Mode
|
|
676
|
-
|
|
677
|
-
Confirm with the user their preferred interaction style:
|
|
678
|
-
|
|
679
|
-
- **Incremental:** Work through chunks of the document.
|
|
680
|
-
- **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
|
|
674
|
+
> 1. **Incremental** - Section by section with reviews
|
|
675
|
+
> 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
|
|
681
676
|
|
|
682
677
|
### 3. Execute Template
|
|
683
678
|
|
|
684
|
-
-
|
|
685
|
-
-
|
|
686
|
-
- Process
|
|
679
|
+
- Replace {{placeholders}} with real content
|
|
680
|
+
- Execute [[LLM:]] instructions as you encounter them
|
|
681
|
+
- Process <<REPEAT>> loops and ^^CONDITIONS^^
|
|
682
|
+
- Use @{examples} for guidance but never output them
|
|
687
683
|
|
|
688
|
-
### 4.
|
|
684
|
+
### 4. Key Execution Patterns
|
|
689
685
|
|
|
690
|
-
|
|
686
|
+
**When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
|
|
691
687
|
|
|
692
|
-
-
|
|
693
|
-
-
|
|
694
|
-
-
|
|
695
|
-
-
|
|
696
|
-
- Use @{examples} for guidance but never output them
|
|
688
|
+
- Draft the content
|
|
689
|
+
- Present it to user
|
|
690
|
+
- IMMEDIATELY execute the task
|
|
691
|
+
- Wait for completion before continuing
|
|
697
692
|
|
|
698
|
-
|
|
693
|
+
**When you see:** `[[LLM: After section completion, apply tasks#Y]]`
|
|
699
694
|
|
|
700
|
-
-
|
|
701
|
-
-
|
|
702
|
-
-
|
|
703
|
-
- Incorporate user feedback and iterate as needed
|
|
695
|
+
- Finish the section
|
|
696
|
+
- STOP and execute the task
|
|
697
|
+
- Wait for user input
|
|
704
698
|
|
|
705
|
-
###
|
|
699
|
+
### 5. Validation & Final Presentation
|
|
706
700
|
|
|
707
|
-
|
|
701
|
+
- Run any specified checklists
|
|
702
|
+
- Present clean, formatted content only
|
|
703
|
+
- No truncation or summarization
|
|
704
|
+
- Begin directly with content (no preamble)
|
|
705
|
+
- Include any handoff prompts from template
|
|
708
706
|
|
|
709
|
-
|
|
710
|
-
- Document completion status for each item
|
|
711
|
-
- Address any deficiencies found
|
|
712
|
-
- Present validation summary to user
|
|
707
|
+
## Common Mistakes to Avoid
|
|
713
708
|
|
|
714
|
-
|
|
709
|
+
❌ Skipping elicitation tasks
|
|
710
|
+
❌ Showing template markup to users
|
|
711
|
+
❌ Continuing past STOP signals
|
|
712
|
+
❌ Combining multiple review points
|
|
715
713
|
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
- Include any handoff prompts specified in template
|
|
714
|
+
✅ Execute ALL instructions in sequence
|
|
715
|
+
✅ Present only clean, formatted content
|
|
716
|
+
✅ Stop at every elicitation point
|
|
717
|
+
✅ Wait for user confirmation when instructed
|
|
721
718
|
|
|
722
|
-
##
|
|
719
|
+
## Remember
|
|
723
720
|
|
|
724
|
-
|
|
721
|
+
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
725
722
|
==================== END: tasks#create-doc ====================
|
|
726
723
|
|
|
727
724
|
==================== START: tasks#advanced-elicitation ====================
|
|
@@ -107,76 +107,73 @@ dependencies:
|
|
|
107
107
|
|
|
108
108
|
## Purpose
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
|
|
111
111
|
|
|
112
|
-
##
|
|
113
|
-
|
|
114
|
-
### 1. Identify Template and Context
|
|
115
|
-
|
|
116
|
-
- Determine which template to use (user-provided or list available for selection to user)
|
|
112
|
+
## CRITICAL RULES
|
|
117
113
|
|
|
118
|
-
|
|
114
|
+
1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
|
|
115
|
+
2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
|
|
116
|
+
3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
|
|
117
|
+
4. **WAIT for user input** - At review points and after elicitation tasks
|
|
119
118
|
|
|
120
|
-
|
|
121
|
-
dependencies:
|
|
122
|
-
templates: - prd-tmpl - architecture-tmpl
|
|
123
|
-
@{/example}
|
|
119
|
+
## Execution Flow
|
|
124
120
|
|
|
125
|
-
|
|
121
|
+
### 1. Identify Template
|
|
126
122
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
123
|
+
- Load from `templates#*` or `{root}/templates directory`
|
|
124
|
+
- Agent-specific templates are listed in agent's dependencies
|
|
125
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
|
|
129
126
|
|
|
130
|
-
### 2.
|
|
127
|
+
### 2. Ask Interaction Mode
|
|
131
128
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
- **Incremental:** Work through chunks of the document.
|
|
135
|
-
- **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
|
|
129
|
+
> 1. **Incremental** - Section by section with reviews
|
|
130
|
+
> 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
|
|
136
131
|
|
|
137
132
|
### 3. Execute Template
|
|
138
133
|
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
- Process
|
|
134
|
+
- Replace {{placeholders}} with real content
|
|
135
|
+
- Execute [[LLM:]] instructions as you encounter them
|
|
136
|
+
- Process <<REPEAT>> loops and ^^CONDITIONS^^
|
|
137
|
+
- Use @{examples} for guidance but never output them
|
|
142
138
|
|
|
143
|
-
### 4.
|
|
139
|
+
### 4. Key Execution Patterns
|
|
144
140
|
|
|
145
|
-
|
|
141
|
+
**When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
|
|
146
142
|
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
- Use @{examples} for guidance but never output them
|
|
143
|
+
- Draft the content
|
|
144
|
+
- Present it to user
|
|
145
|
+
- IMMEDIATELY execute the task
|
|
146
|
+
- Wait for completion before continuing
|
|
152
147
|
|
|
153
|
-
|
|
148
|
+
**When you see:** `[[LLM: After section completion, apply tasks#Y]]`
|
|
154
149
|
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
- Incorporate user feedback and iterate as needed
|
|
150
|
+
- Finish the section
|
|
151
|
+
- STOP and execute the task
|
|
152
|
+
- Wait for user input
|
|
159
153
|
|
|
160
|
-
###
|
|
154
|
+
### 5. Validation & Final Presentation
|
|
161
155
|
|
|
162
|
-
|
|
156
|
+
- Run any specified checklists
|
|
157
|
+
- Present clean, formatted content only
|
|
158
|
+
- No truncation or summarization
|
|
159
|
+
- Begin directly with content (no preamble)
|
|
160
|
+
- Include any handoff prompts from template
|
|
163
161
|
|
|
164
|
-
|
|
165
|
-
- Document completion status for each item
|
|
166
|
-
- Address any deficiencies found
|
|
167
|
-
- Present validation summary to user
|
|
162
|
+
## Common Mistakes to Avoid
|
|
168
163
|
|
|
169
|
-
|
|
164
|
+
❌ Skipping elicitation tasks
|
|
165
|
+
❌ Showing template markup to users
|
|
166
|
+
❌ Continuing past STOP signals
|
|
167
|
+
❌ Combining multiple review points
|
|
170
168
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
- Include any handoff prompts specified in template
|
|
169
|
+
✅ Execute ALL instructions in sequence
|
|
170
|
+
✅ Present only clean, formatted content
|
|
171
|
+
✅ Stop at every elicitation point
|
|
172
|
+
✅ Wait for user confirmation when instructed
|
|
176
173
|
|
|
177
|
-
##
|
|
174
|
+
## Remember
|
|
178
175
|
|
|
179
|
-
|
|
176
|
+
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
180
177
|
==================== END: tasks#create-doc ====================
|
|
181
178
|
|
|
182
179
|
==================== START: tasks#create-deep-research-prompt ====================
|
|
@@ -1173,76 +1173,73 @@ Present these numbered options to the user:
|
|
|
1173
1173
|
|
|
1174
1174
|
## Purpose
|
|
1175
1175
|
|
|
1176
|
-
|
|
1176
|
+
Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
|
|
1177
1177
|
|
|
1178
|
-
##
|
|
1179
|
-
|
|
1180
|
-
### 1. Identify Template and Context
|
|
1181
|
-
|
|
1182
|
-
- Determine which template to use (user-provided or list available for selection to user)
|
|
1178
|
+
## CRITICAL RULES
|
|
1183
1179
|
|
|
1184
|
-
|
|
1180
|
+
1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
|
|
1181
|
+
2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
|
|
1182
|
+
3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
|
|
1183
|
+
4. **WAIT for user input** - At review points and after elicitation tasks
|
|
1185
1184
|
|
|
1186
|
-
|
|
1187
|
-
dependencies:
|
|
1188
|
-
templates: - prd-tmpl - architecture-tmpl
|
|
1189
|
-
@{/example}
|
|
1190
|
-
|
|
1191
|
-
You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
|
|
1185
|
+
## Execution Flow
|
|
1192
1186
|
|
|
1193
|
-
|
|
1194
|
-
- Understand the document purpose and target audience
|
|
1187
|
+
### 1. Identify Template
|
|
1195
1188
|
|
|
1196
|
-
|
|
1189
|
+
- Load from `templates#*` or `{root}/templates directory`
|
|
1190
|
+
- Agent-specific templates are listed in agent's dependencies
|
|
1191
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
|
|
1197
1192
|
|
|
1198
|
-
|
|
1193
|
+
### 2. Ask Interaction Mode
|
|
1199
1194
|
|
|
1200
|
-
|
|
1201
|
-
|
|
1195
|
+
> 1. **Incremental** - Section by section with reviews
|
|
1196
|
+
> 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
|
|
1202
1197
|
|
|
1203
1198
|
### 3. Execute Template
|
|
1204
1199
|
|
|
1205
|
-
-
|
|
1206
|
-
-
|
|
1207
|
-
- Process
|
|
1200
|
+
- Replace {{placeholders}} with real content
|
|
1201
|
+
- Execute [[LLM:]] instructions as you encounter them
|
|
1202
|
+
- Process <<REPEAT>> loops and ^^CONDITIONS^^
|
|
1203
|
+
- Use @{examples} for guidance but never output them
|
|
1208
1204
|
|
|
1209
|
-
### 4.
|
|
1205
|
+
### 4. Key Execution Patterns
|
|
1210
1206
|
|
|
1211
|
-
|
|
1207
|
+
**When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
|
|
1212
1208
|
|
|
1213
|
-
-
|
|
1214
|
-
-
|
|
1215
|
-
-
|
|
1216
|
-
-
|
|
1217
|
-
- Use @{examples} for guidance but never output them
|
|
1209
|
+
- Draft the content
|
|
1210
|
+
- Present it to user
|
|
1211
|
+
- IMMEDIATELY execute the task
|
|
1212
|
+
- Wait for completion before continuing
|
|
1218
1213
|
|
|
1219
|
-
|
|
1214
|
+
**When you see:** `[[LLM: After section completion, apply tasks#Y]]`
|
|
1220
1215
|
|
|
1221
|
-
-
|
|
1222
|
-
-
|
|
1223
|
-
-
|
|
1224
|
-
- Incorporate user feedback and iterate as needed
|
|
1216
|
+
- Finish the section
|
|
1217
|
+
- STOP and execute the task
|
|
1218
|
+
- Wait for user input
|
|
1225
1219
|
|
|
1226
|
-
###
|
|
1220
|
+
### 5. Validation & Final Presentation
|
|
1227
1221
|
|
|
1228
|
-
|
|
1222
|
+
- Run any specified checklists
|
|
1223
|
+
- Present clean, formatted content only
|
|
1224
|
+
- No truncation or summarization
|
|
1225
|
+
- Begin directly with content (no preamble)
|
|
1226
|
+
- Include any handoff prompts from template
|
|
1229
1227
|
|
|
1230
|
-
|
|
1231
|
-
- Document completion status for each item
|
|
1232
|
-
- Address any deficiencies found
|
|
1233
|
-
- Present validation summary to user
|
|
1228
|
+
## Common Mistakes to Avoid
|
|
1234
1229
|
|
|
1235
|
-
|
|
1230
|
+
❌ Skipping elicitation tasks
|
|
1231
|
+
❌ Showing template markup to users
|
|
1232
|
+
❌ Continuing past STOP signals
|
|
1233
|
+
❌ Combining multiple review points
|
|
1236
1234
|
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
- Include any handoff prompts specified in template
|
|
1235
|
+
✅ Execute ALL instructions in sequence
|
|
1236
|
+
✅ Present only clean, formatted content
|
|
1237
|
+
✅ Stop at every elicitation point
|
|
1238
|
+
✅ Wait for user confirmation when instructed
|
|
1242
1239
|
|
|
1243
|
-
##
|
|
1240
|
+
## Remember
|
|
1244
1241
|
|
|
1245
|
-
|
|
1242
|
+
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
1246
1243
|
==================== END: tasks#create-doc ====================
|
|
1247
1244
|
|
|
1248
1245
|
==================== START: tasks#document-project ====================
|
|
@@ -263,76 +263,73 @@ Choose an action (0-9 - 9 to bypass - HELP for explanation of these options):
|
|
|
263
263
|
|
|
264
264
|
## Purpose
|
|
265
265
|
|
|
266
|
-
|
|
266
|
+
Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
|
|
267
267
|
|
|
268
|
-
##
|
|
269
|
-
|
|
270
|
-
### 1. Identify Template and Context
|
|
271
|
-
|
|
272
|
-
- Determine which template to use (user-provided or list available for selection to user)
|
|
268
|
+
## CRITICAL RULES
|
|
273
269
|
|
|
274
|
-
|
|
270
|
+
1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
|
|
271
|
+
2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
|
|
272
|
+
3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
|
|
273
|
+
4. **WAIT for user input** - At review points and after elicitation tasks
|
|
275
274
|
|
|
276
|
-
|
|
277
|
-
dependencies:
|
|
278
|
-
templates: - prd-tmpl - architecture-tmpl
|
|
279
|
-
@{/example}
|
|
280
|
-
|
|
281
|
-
You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
|
|
275
|
+
## Execution Flow
|
|
282
276
|
|
|
283
|
-
|
|
284
|
-
- Understand the document purpose and target audience
|
|
277
|
+
### 1. Identify Template
|
|
285
278
|
|
|
286
|
-
|
|
279
|
+
- Load from `templates#*` or `{root}/templates directory`
|
|
280
|
+
- Agent-specific templates are listed in agent's dependencies
|
|
281
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
|
|
287
282
|
|
|
288
|
-
|
|
283
|
+
### 2. Ask Interaction Mode
|
|
289
284
|
|
|
290
|
-
|
|
291
|
-
|
|
285
|
+
> 1. **Incremental** - Section by section with reviews
|
|
286
|
+
> 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
|
|
292
287
|
|
|
293
288
|
### 3. Execute Template
|
|
294
289
|
|
|
295
|
-
-
|
|
296
|
-
-
|
|
297
|
-
- Process
|
|
290
|
+
- Replace {{placeholders}} with real content
|
|
291
|
+
- Execute [[LLM:]] instructions as you encounter them
|
|
292
|
+
- Process <<REPEAT>> loops and ^^CONDITIONS^^
|
|
293
|
+
- Use @{examples} for guidance but never output them
|
|
298
294
|
|
|
299
|
-
### 4.
|
|
295
|
+
### 4. Key Execution Patterns
|
|
300
296
|
|
|
301
|
-
|
|
297
|
+
**When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
|
|
302
298
|
|
|
303
|
-
-
|
|
304
|
-
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
- Use @{examples} for guidance but never output them
|
|
299
|
+
- Draft the content
|
|
300
|
+
- Present it to user
|
|
301
|
+
- IMMEDIATELY execute the task
|
|
302
|
+
- Wait for completion before continuing
|
|
308
303
|
|
|
309
|
-
|
|
304
|
+
**When you see:** `[[LLM: After section completion, apply tasks#Y]]`
|
|
310
305
|
|
|
311
|
-
-
|
|
312
|
-
-
|
|
313
|
-
-
|
|
314
|
-
- Incorporate user feedback and iterate as needed
|
|
306
|
+
- Finish the section
|
|
307
|
+
- STOP and execute the task
|
|
308
|
+
- Wait for user input
|
|
315
309
|
|
|
316
|
-
###
|
|
310
|
+
### 5. Validation & Final Presentation
|
|
317
311
|
|
|
318
|
-
|
|
312
|
+
- Run any specified checklists
|
|
313
|
+
- Present clean, formatted content only
|
|
314
|
+
- No truncation or summarization
|
|
315
|
+
- Begin directly with content (no preamble)
|
|
316
|
+
- Include any handoff prompts from template
|
|
319
317
|
|
|
320
|
-
|
|
321
|
-
- Document completion status for each item
|
|
322
|
-
- Address any deficiencies found
|
|
323
|
-
- Present validation summary to user
|
|
318
|
+
## Common Mistakes to Avoid
|
|
324
319
|
|
|
325
|
-
|
|
320
|
+
❌ Skipping elicitation tasks
|
|
321
|
+
❌ Showing template markup to users
|
|
322
|
+
❌ Continuing past STOP signals
|
|
323
|
+
❌ Combining multiple review points
|
|
326
324
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
- Include any handoff prompts specified in template
|
|
325
|
+
✅ Execute ALL instructions in sequence
|
|
326
|
+
✅ Present only clean, formatted content
|
|
327
|
+
✅ Stop at every elicitation point
|
|
328
|
+
✅ Wait for user confirmation when instructed
|
|
332
329
|
|
|
333
|
-
##
|
|
330
|
+
## Remember
|
|
334
331
|
|
|
335
|
-
|
|
332
|
+
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
336
333
|
==================== END: tasks#create-doc ====================
|
|
337
334
|
|
|
338
335
|
==================== START: tasks#kb-mode-interaction ====================
|