bmad-method 4.22.0 → 4.23.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.
@@ -104,76 +104,73 @@ dependencies:
104
104
 
105
105
  ## Purpose
106
106
 
107
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
107
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
108
108
 
109
- ## Instructions
110
-
111
- ### 1. Identify Template and Context
112
-
113
- - Determine which template to use (user-provided or list available for selection to user)
109
+ ## CRITICAL RULES
114
110
 
115
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
111
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
112
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
113
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
114
+ 4. **WAIT for user input** - At review points and after elicitation tasks
116
115
 
117
- @{example}
118
- dependencies:
119
- templates: - prd-tmpl - architecture-tmpl
120
- @{/example}
116
+ ## Execution Flow
121
117
 
122
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
118
+ ### 1. Identify Template
123
119
 
124
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
125
- - Understand the document purpose and target audience
120
+ - Load from `templates#*` or `{root}/templates directory`
121
+ - Agent-specific templates are listed in agent's dependencies
122
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
126
123
 
127
- ### 2. Determine Interaction Mode
124
+ ### 2. Ask Interaction Mode
128
125
 
129
- Confirm with the user their preferred interaction style:
130
-
131
- - **Incremental:** Work through chunks of the document.
132
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
126
+ > 1. **Incremental** - Section by section with reviews
127
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
133
128
 
134
129
  ### 3. Execute Template
135
130
 
136
- - Load specified template from `templates#*` or the `{root}/templates directory`
137
- - Follow ALL embedded LLM instructions within the template
138
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
131
+ - Replace {{placeholders}} with real content
132
+ - Execute [[LLM:]] instructions as you encounter them
133
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
134
+ - Use @{examples} for guidance but never output them
139
135
 
140
- ### 4. Template Processing Rules
136
+ ### 4. Key Execution Patterns
141
137
 
142
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
138
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
143
139
 
144
- - Replace all {{placeholders}} with actual content
145
- - Execute all [[LLM: instructions]] internally
146
- - Process `<<REPEAT>>` sections as needed
147
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
148
- - Use @{examples} for guidance but never output them
140
+ - Draft the content
141
+ - Present it to user
142
+ - IMMEDIATELY execute the task
143
+ - Wait for completion before continuing
149
144
 
150
- ### 5. Content Generation
145
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
151
146
 
152
- - **Incremental Mode**: Present each major section for review before proceeding
153
- - **YOLO Mode**: Generate all sections, then review complete document with user
154
- - Apply any elicitation protocols specified in template
155
- - Incorporate user feedback and iterate as needed
147
+ - Finish the section
148
+ - STOP and execute the task
149
+ - Wait for user input
156
150
 
157
- ### 6. Validation
151
+ ### 5. Validation & Final Presentation
158
152
 
159
- If template specifies a checklist:
153
+ - Run any specified checklists
154
+ - Present clean, formatted content only
155
+ - No truncation or summarization
156
+ - Begin directly with content (no preamble)
157
+ - Include any handoff prompts from template
160
158
 
161
- - Run the appropriate checklist against completed document
162
- - Document completion status for each item
163
- - Address any deficiencies found
164
- - Present validation summary to user
159
+ ## Common Mistakes to Avoid
165
160
 
166
- ### 7. Final Presentation
161
+ Skipping elicitation tasks
162
+ ❌ Showing template markup to users
163
+ ❌ Continuing past STOP signals
164
+ ❌ Combining multiple review points
167
165
 
168
- - Present clean, formatted content only
169
- - Ensure all sections are complete
170
- - DO NOT truncate or summarize content
171
- - Begin directly with document content (no preamble)
172
- - Include any handoff prompts specified in template
166
+ Execute ALL instructions in sequence
167
+ Present only clean, formatted content
168
+ Stop at every elicitation point
169
+ Wait for user confirmation when instructed
173
170
 
174
- ## Important Notes
171
+ ## Remember
175
172
 
176
- - Template markup is for AI processing only - never expose to users
173
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
177
174
  ==================== END: tasks#create-doc ====================
178
175
 
179
176
  ==================== START: tasks#correct-course ====================
@@ -464,76 +464,73 @@ Present these numbered options to the user:
464
464
 
465
465
  ## Purpose
466
466
 
467
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
467
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
468
468
 
469
- ## Instructions
470
-
471
- ### 1. Identify Template and Context
472
-
473
- - Determine which template to use (user-provided or list available for selection to user)
469
+ ## CRITICAL RULES
474
470
 
475
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
471
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
472
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
473
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
474
+ 4. **WAIT for user input** - At review points and after elicitation tasks
476
475
 
477
- @{example}
478
- dependencies:
479
- templates: - prd-tmpl - architecture-tmpl
480
- @{/example}
476
+ ## Execution Flow
481
477
 
482
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
478
+ ### 1. Identify Template
483
479
 
484
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
485
- - Understand the document purpose and target audience
480
+ - Load from `templates#*` or `{root}/templates directory`
481
+ - Agent-specific templates are listed in agent's dependencies
482
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
486
483
 
487
- ### 2. Determine Interaction Mode
484
+ ### 2. Ask Interaction Mode
488
485
 
489
- Confirm with the user their preferred interaction style:
490
-
491
- - **Incremental:** Work through chunks of the document.
492
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
486
+ > 1. **Incremental** - Section by section with reviews
487
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
493
488
 
494
489
  ### 3. Execute Template
495
490
 
496
- - Load specified template from `templates#*` or the `{root}/templates directory`
497
- - Follow ALL embedded LLM instructions within the template
498
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
491
+ - Replace {{placeholders}} with real content
492
+ - Execute [[LLM:]] instructions as you encounter them
493
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
494
+ - Use @{examples} for guidance but never output them
499
495
 
500
- ### 4. Template Processing Rules
496
+ ### 4. Key Execution Patterns
501
497
 
502
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
498
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
503
499
 
504
- - Replace all {{placeholders}} with actual content
505
- - Execute all [[LLM: instructions]] internally
506
- - Process `<<REPEAT>>` sections as needed
507
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
508
- - Use @{examples} for guidance but never output them
500
+ - Draft the content
501
+ - Present it to user
502
+ - IMMEDIATELY execute the task
503
+ - Wait for completion before continuing
509
504
 
510
- ### 5. Content Generation
505
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
511
506
 
512
- - **Incremental Mode**: Present each major section for review before proceeding
513
- - **YOLO Mode**: Generate all sections, then review complete document with user
514
- - Apply any elicitation protocols specified in template
515
- - Incorporate user feedback and iterate as needed
507
+ - Finish the section
508
+ - STOP and execute the task
509
+ - Wait for user input
516
510
 
517
- ### 6. Validation
511
+ ### 5. Validation & Final Presentation
518
512
 
519
- If template specifies a checklist:
513
+ - Run any specified checklists
514
+ - Present clean, formatted content only
515
+ - No truncation or summarization
516
+ - Begin directly with content (no preamble)
517
+ - Include any handoff prompts from template
520
518
 
521
- - Run the appropriate checklist against completed document
522
- - Document completion status for each item
523
- - Address any deficiencies found
524
- - Present validation summary to user
519
+ ## Common Mistakes to Avoid
525
520
 
526
- ### 7. Final Presentation
521
+ Skipping elicitation tasks
522
+ ❌ Showing template markup to users
523
+ ❌ Continuing past STOP signals
524
+ ❌ Combining multiple review points
527
525
 
528
- - Present clean, formatted content only
529
- - Ensure all sections are complete
530
- - DO NOT truncate or summarize content
531
- - Begin directly with document content (no preamble)
532
- - Include any handoff prompts specified in template
526
+ Execute ALL instructions in sequence
527
+ Present only clean, formatted content
528
+ Stop at every elicitation point
529
+ Wait for user confirmation when instructed
533
530
 
534
- ## Important Notes
531
+ ## Remember
535
532
 
536
- - Template markup is for AI processing only - never expose to users
533
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
537
534
  ==================== END: tasks#create-doc ====================
538
535
 
539
536
  ==================== START: tasks#execute-checklist ====================
@@ -104,76 +104,73 @@ dependencies:
104
104
 
105
105
  ## Purpose
106
106
 
107
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
107
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
108
108
 
109
- ## Instructions
110
-
111
- ### 1. Identify Template and Context
112
-
113
- - Determine which template to use (user-provided or list available for selection to user)
109
+ ## CRITICAL RULES
114
110
 
115
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
111
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
112
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
113
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
114
+ 4. **WAIT for user input** - At review points and after elicitation tasks
116
115
 
117
- @{example}
118
- dependencies:
119
- templates: - prd-tmpl - architecture-tmpl
120
- @{/example}
116
+ ## Execution Flow
121
117
 
122
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
118
+ ### 1. Identify Template
123
119
 
124
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
125
- - Understand the document purpose and target audience
120
+ - Load from `templates#*` or `{root}/templates directory`
121
+ - Agent-specific templates are listed in agent's dependencies
122
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
126
123
 
127
- ### 2. Determine Interaction Mode
124
+ ### 2. Ask Interaction Mode
128
125
 
129
- Confirm with the user their preferred interaction style:
130
-
131
- - **Incremental:** Work through chunks of the document.
132
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
126
+ > 1. **Incremental** - Section by section with reviews
127
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
133
128
 
134
129
  ### 3. Execute Template
135
130
 
136
- - Load specified template from `templates#*` or the `{root}/templates directory`
137
- - Follow ALL embedded LLM instructions within the template
138
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
131
+ - Replace {{placeholders}} with real content
132
+ - Execute [[LLM:]] instructions as you encounter them
133
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
134
+ - Use @{examples} for guidance but never output them
139
135
 
140
- ### 4. Template Processing Rules
136
+ ### 4. Key Execution Patterns
141
137
 
142
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
138
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
143
139
 
144
- - Replace all {{placeholders}} with actual content
145
- - Execute all [[LLM: instructions]] internally
146
- - Process `<<REPEAT>>` sections as needed
147
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
148
- - Use @{examples} for guidance but never output them
140
+ - Draft the content
141
+ - Present it to user
142
+ - IMMEDIATELY execute the task
143
+ - Wait for completion before continuing
149
144
 
150
- ### 5. Content Generation
145
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
151
146
 
152
- - **Incremental Mode**: Present each major section for review before proceeding
153
- - **YOLO Mode**: Generate all sections, then review complete document with user
154
- - Apply any elicitation protocols specified in template
155
- - Incorporate user feedback and iterate as needed
147
+ - Finish the section
148
+ - STOP and execute the task
149
+ - Wait for user input
156
150
 
157
- ### 6. Validation
151
+ ### 5. Validation & Final Presentation
158
152
 
159
- If template specifies a checklist:
153
+ - Run any specified checklists
154
+ - Present clean, formatted content only
155
+ - No truncation or summarization
156
+ - Begin directly with content (no preamble)
157
+ - Include any handoff prompts from template
160
158
 
161
- - Run the appropriate checklist against completed document
162
- - Document completion status for each item
163
- - Address any deficiencies found
164
- - Present validation summary to user
159
+ ## Common Mistakes to Avoid
165
160
 
166
- ### 7. Final Presentation
161
+ Skipping elicitation tasks
162
+ ❌ Showing template markup to users
163
+ ❌ Continuing past STOP signals
164
+ ❌ Combining multiple review points
167
165
 
168
- - Present clean, formatted content only
169
- - Ensure all sections are complete
170
- - DO NOT truncate or summarize content
171
- - Begin directly with document content (no preamble)
172
- - Include any handoff prompts specified in template
166
+ Execute ALL instructions in sequence
167
+ Present only clean, formatted content
168
+ Stop at every elicitation point
169
+ Wait for user confirmation when instructed
173
170
 
174
- ## Important Notes
171
+ ## Remember
175
172
 
176
- - Template markup is for AI processing only - never expose to users
173
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
177
174
  ==================== END: tasks#create-doc ====================
178
175
 
179
176
  ==================== START: tasks#execute-checklist ====================
@@ -977,76 +977,73 @@ Present these numbered options to the user:
977
977
 
978
978
  ## Purpose
979
979
 
980
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
980
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
981
981
 
982
- ## Instructions
983
-
984
- ### 1. Identify Template and Context
985
-
986
- - Determine which template to use (user-provided or list available for selection to user)
982
+ ## CRITICAL RULES
987
983
 
988
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
984
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
985
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
986
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
987
+ 4. **WAIT for user input** - At review points and after elicitation tasks
989
988
 
990
- @{example}
991
- dependencies:
992
- templates: - prd-tmpl - architecture-tmpl
993
- @{/example}
994
-
995
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
989
+ ## Execution Flow
996
990
 
997
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
998
- - Understand the document purpose and target audience
991
+ ### 1. Identify Template
999
992
 
1000
- ### 2. Determine Interaction Mode
993
+ - Load from `templates#*` or `{root}/templates directory`
994
+ - Agent-specific templates are listed in agent's dependencies
995
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
1001
996
 
1002
- Confirm with the user their preferred interaction style:
997
+ ### 2. Ask Interaction Mode
1003
998
 
1004
- - **Incremental:** Work through chunks of the document.
1005
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
999
+ > 1. **Incremental** - Section by section with reviews
1000
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
1006
1001
 
1007
1002
  ### 3. Execute Template
1008
1003
 
1009
- - Load specified template from `templates#*` or the `{root}/templates directory`
1010
- - Follow ALL embedded LLM instructions within the template
1011
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
1004
+ - Replace {{placeholders}} with real content
1005
+ - Execute [[LLM:]] instructions as you encounter them
1006
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
1007
+ - Use @{examples} for guidance but never output them
1012
1008
 
1013
- ### 4. Template Processing Rules
1009
+ ### 4. Key Execution Patterns
1014
1010
 
1015
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
1011
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
1016
1012
 
1017
- - Replace all {{placeholders}} with actual content
1018
- - Execute all [[LLM: instructions]] internally
1019
- - Process `<<REPEAT>>` sections as needed
1020
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
1021
- - Use @{examples} for guidance but never output them
1013
+ - Draft the content
1014
+ - Present it to user
1015
+ - IMMEDIATELY execute the task
1016
+ - Wait for completion before continuing
1022
1017
 
1023
- ### 5. Content Generation
1018
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
1024
1019
 
1025
- - **Incremental Mode**: Present each major section for review before proceeding
1026
- - **YOLO Mode**: Generate all sections, then review complete document with user
1027
- - Apply any elicitation protocols specified in template
1028
- - Incorporate user feedback and iterate as needed
1020
+ - Finish the section
1021
+ - STOP and execute the task
1022
+ - Wait for user input
1029
1023
 
1030
- ### 6. Validation
1024
+ ### 5. Validation & Final Presentation
1031
1025
 
1032
- If template specifies a checklist:
1026
+ - Run any specified checklists
1027
+ - Present clean, formatted content only
1028
+ - No truncation or summarization
1029
+ - Begin directly with content (no preamble)
1030
+ - Include any handoff prompts from template
1033
1031
 
1034
- - Run the appropriate checklist against completed document
1035
- - Document completion status for each item
1036
- - Address any deficiencies found
1037
- - Present validation summary to user
1032
+ ## Common Mistakes to Avoid
1038
1033
 
1039
- ### 7. Final Presentation
1034
+ Skipping elicitation tasks
1035
+ ❌ Showing template markup to users
1036
+ ❌ Continuing past STOP signals
1037
+ ❌ Combining multiple review points
1040
1038
 
1041
- - Present clean, formatted content only
1042
- - Ensure all sections are complete
1043
- - DO NOT truncate or summarize content
1044
- - Begin directly with document content (no preamble)
1045
- - Include any handoff prompts specified in template
1039
+ Execute ALL instructions in sequence
1040
+ Present only clean, formatted content
1041
+ Stop at every elicitation point
1042
+ Wait for user confirmation when instructed
1046
1043
 
1047
- ## Important Notes
1044
+ ## Remember
1048
1045
 
1049
- - Template markup is for AI processing only - never expose to users
1046
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
1050
1047
  ==================== END: tasks#create-doc ====================
1051
1048
 
1052
1049
  ==================== START: tasks#advanced-elicitation ====================
@@ -105,76 +105,73 @@ dependencies:
105
105
 
106
106
  ## Purpose
107
107
 
108
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
108
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
109
109
 
110
- ## Instructions
110
+ ## CRITICAL RULES
111
111
 
112
- ### 1. Identify Template and Context
112
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
113
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
114
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
115
+ 4. **WAIT for user input** - At review points and after elicitation tasks
113
116
 
114
- - Determine which template to use (user-provided or list available for selection to user)
117
+ ## Execution Flow
115
118
 
116
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
119
+ ### 1. Identify Template
117
120
 
118
- @{example}
119
- dependencies:
120
- templates: - prd-tmpl - architecture-tmpl
121
- @{/example}
121
+ - Load from `templates#*` or `{root}/templates directory`
122
+ - Agent-specific templates are listed in agent's dependencies
123
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
122
124
 
123
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
125
+ ### 2. Ask Interaction Mode
124
126
 
125
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
126
- - Understand the document purpose and target audience
127
-
128
- ### 2. Determine Interaction Mode
129
-
130
- Confirm with the user their preferred interaction style:
131
-
132
- - **Incremental:** Work through chunks of the document.
133
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
127
+ > 1. **Incremental** - Section by section with reviews
128
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
134
129
 
135
130
  ### 3. Execute Template
136
131
 
137
- - Load specified template from `templates#*` or the `{root}/templates directory`
138
- - Follow ALL embedded LLM instructions within the template
139
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
132
+ - Replace {{placeholders}} with real content
133
+ - Execute [[LLM:]] instructions as you encounter them
134
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
135
+ - Use @{examples} for guidance but never output them
140
136
 
141
- ### 4. Template Processing Rules
137
+ ### 4. Key Execution Patterns
142
138
 
143
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
139
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
144
140
 
145
- - Replace all {{placeholders}} with actual content
146
- - Execute all [[LLM: instructions]] internally
147
- - Process `<<REPEAT>>` sections as needed
148
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
149
- - Use @{examples} for guidance but never output them
141
+ - Draft the content
142
+ - Present it to user
143
+ - IMMEDIATELY execute the task
144
+ - Wait for completion before continuing
150
145
 
151
- ### 5. Content Generation
146
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
152
147
 
153
- - **Incremental Mode**: Present each major section for review before proceeding
154
- - **YOLO Mode**: Generate all sections, then review complete document with user
155
- - Apply any elicitation protocols specified in template
156
- - Incorporate user feedback and iterate as needed
148
+ - Finish the section
149
+ - STOP and execute the task
150
+ - Wait for user input
157
151
 
158
- ### 6. Validation
152
+ ### 5. Validation & Final Presentation
159
153
 
160
- If template specifies a checklist:
154
+ - Run any specified checklists
155
+ - Present clean, formatted content only
156
+ - No truncation or summarization
157
+ - Begin directly with content (no preamble)
158
+ - Include any handoff prompts from template
161
159
 
162
- - Run the appropriate checklist against completed document
163
- - Document completion status for each item
164
- - Address any deficiencies found
165
- - Present validation summary to user
160
+ ## Common Mistakes to Avoid
166
161
 
167
- ### 7. Final Presentation
162
+ Skipping elicitation tasks
163
+ ❌ Showing template markup to users
164
+ ❌ Continuing past STOP signals
165
+ ❌ Combining multiple review points
168
166
 
169
- - Present clean, formatted content only
170
- - Ensure all sections are complete
171
- - DO NOT truncate or summarize content
172
- - Begin directly with document content (no preamble)
173
- - Include any handoff prompts specified in template
167
+ Execute ALL instructions in sequence
168
+ Present only clean, formatted content
169
+ Stop at every elicitation point
170
+ Wait for user confirmation when instructed
174
171
 
175
- ## Important Notes
172
+ ## Remember
176
173
 
177
- - Template markup is for AI processing only - never expose to users
174
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
178
175
  ==================== END: tasks#create-doc ====================
179
176
 
180
177
  ==================== START: tasks#review-infrastructure ====================