agentvibes 2.3.0 → 2.4.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.
Files changed (120) hide show
  1. package/.claude/hooks/piper-installer.sh +118 -40
  2. package/README.md +8 -9
  3. package/RELEASE_NOTES.md +237 -2
  4. package/docs/providers.md +8 -6
  5. package/package.json +1 -1
  6. package/src/installer.js +49 -70
  7. package/.bmad-core/agent-teams/team-all.yaml +0 -15
  8. package/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  9. package/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  10. package/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  11. package/.bmad-core/agents/analyst.md +0 -84
  12. package/.bmad-core/agents/architect.md +0 -85
  13. package/.bmad-core/agents/bmad-master.md +0 -110
  14. package/.bmad-core/agents/bmad-orchestrator.md +0 -147
  15. package/.bmad-core/agents/dev.md +0 -81
  16. package/.bmad-core/agents/pm.md +0 -84
  17. package/.bmad-core/agents/po.md +0 -79
  18. package/.bmad-core/agents/qa.md +0 -87
  19. package/.bmad-core/agents/sm.md +0 -65
  20. package/.bmad-core/agents/ux-expert.md +0 -69
  21. package/.bmad-core/checklists/architect-checklist.md +0 -440
  22. package/.bmad-core/checklists/change-checklist.md +0 -184
  23. package/.bmad-core/checklists/pm-checklist.md +0 -372
  24. package/.bmad-core/checklists/po-master-checklist.md +0 -434
  25. package/.bmad-core/checklists/story-dod-checklist.md +0 -96
  26. package/.bmad-core/checklists/story-draft-checklist.md +0 -155
  27. package/.bmad-core/core-config.yaml +0 -22
  28. package/.bmad-core/data/bmad-kb.md +0 -809
  29. package/.bmad-core/data/brainstorming-techniques.md +0 -38
  30. package/.bmad-core/data/elicitation-methods.md +0 -156
  31. package/.bmad-core/data/technical-preferences.md +0 -5
  32. package/.bmad-core/data/test-levels-framework.md +0 -148
  33. package/.bmad-core/data/test-priorities-matrix.md +0 -174
  34. package/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  35. package/.bmad-core/install-manifest.yaml +0 -230
  36. package/.bmad-core/tasks/advanced-elicitation.md +0 -119
  37. package/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  38. package/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  39. package/.bmad-core/tasks/brownfield-create-story.md +0 -149
  40. package/.bmad-core/tasks/correct-course.md +0 -72
  41. package/.bmad-core/tasks/create-brownfield-story.md +0 -314
  42. package/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  43. package/.bmad-core/tasks/create-doc.md +0 -103
  44. package/.bmad-core/tasks/create-next-story.md +0 -114
  45. package/.bmad-core/tasks/document-project.md +0 -345
  46. package/.bmad-core/tasks/execute-checklist.md +0 -88
  47. package/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  48. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  49. package/.bmad-core/tasks/index-docs.md +0 -175
  50. package/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  51. package/.bmad-core/tasks/nfr-assess.md +0 -345
  52. package/.bmad-core/tasks/qa-gate.md +0 -163
  53. package/.bmad-core/tasks/review-story.md +0 -316
  54. package/.bmad-core/tasks/risk-profile.md +0 -355
  55. package/.bmad-core/tasks/shard-doc.md +0 -187
  56. package/.bmad-core/tasks/test-design.md +0 -176
  57. package/.bmad-core/tasks/trace-requirements.md +0 -266
  58. package/.bmad-core/tasks/validate-next-story.md +0 -136
  59. package/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  60. package/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  61. package/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  62. package/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  63. package/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  64. package/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  65. package/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  66. package/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  67. package/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  68. package/.bmad-core/templates/prd-tmpl.yaml +0 -203
  69. package/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  70. package/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  71. package/.bmad-core/templates/story-tmpl.yaml +0 -138
  72. package/.bmad-core/user-guide.md +0 -577
  73. package/.bmad-core/utils/bmad-doc-template.md +0 -327
  74. package/.bmad-core/utils/workflow-management.md +0 -71
  75. package/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  76. package/.bmad-core/workflows/brownfield-service.yaml +0 -188
  77. package/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  78. package/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  79. package/.bmad-core/workflows/greenfield-service.yaml +0 -207
  80. package/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  81. package/.bmad-core/working-in-the-brownfield.md +0 -606
  82. package/.claude/commands/BMad/analyst.md +0 -88
  83. package/.claude/commands/BMad/architect.md +0 -89
  84. package/.claude/commands/BMad/bmad-master.md +0 -114
  85. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  86. package/.claude/commands/BMad/dev.md +0 -85
  87. package/.claude/commands/BMad/pm.md +0 -88
  88. package/.claude/commands/BMad/po.md +0 -83
  89. package/.claude/commands/BMad/qa.md +0 -91
  90. package/.claude/commands/BMad/sm.md +0 -69
  91. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  92. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  93. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  94. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  95. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  96. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  97. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  98. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  99. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  100. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  101. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  102. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  103. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  104. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  105. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  106. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  107. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  108. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  109. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  110. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  111. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  112. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  113. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  114. package/.claude/commands/BMad/ux-expert.md +0 -73
  115. package/.claude/github-star-reminder.txt +0 -1
  116. package/.claude/piper-voices-dir.txt +0 -1
  117. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  118. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  119. package/mcp-server/agentvibes.db +0 -0
  120. package/scripts/audio-tunnel.config +0 -17
@@ -1,314 +0,0 @@
1
- <!-- Powered by BMAD™ Core -->
2
-
3
- # Create Brownfield Story Task
4
-
5
- ## Purpose
6
-
7
- Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the Dev agent.
8
-
9
- ## When to Use This Task
10
-
11
- **Use this task when:**
12
-
13
- - Working on brownfield projects with non-standard documentation
14
- - Stories need to be created from document-project output
15
- - Working from brownfield epics without full PRD/architecture
16
- - Existing project documentation doesn't follow BMad v4+ structure
17
- - Need to gather additional context from user during story creation
18
-
19
- **Use create-next-story when:**
20
-
21
- - Working with properly sharded PRD and v4 architecture documents
22
- - Following standard greenfield or well-documented brownfield workflow
23
- - All technical context is available in structured format
24
-
25
- ## Task Execution Instructions
26
-
27
- ### 0. Documentation Context
28
-
29
- Check for available documentation in this order:
30
-
31
- 1. **Sharded PRD/Architecture** (docs/prd/, docs/architecture/)
32
- - If found, recommend using create-next-story task instead
33
-
34
- 2. **Brownfield Architecture Document** (docs/brownfield-architecture.md or similar)
35
- - Created by document-project task
36
- - Contains actual system state, technical debt, workarounds
37
-
38
- 3. **Brownfield PRD** (docs/prd.md)
39
- - May contain embedded technical details
40
-
41
- 4. **Epic Files** (docs/epics/ or similar)
42
- - Created by brownfield-create-epic task
43
-
44
- 5. **User-Provided Documentation**
45
- - Ask user to specify location and format
46
-
47
- ### 1. Story Identification and Context Gathering
48
-
49
- #### 1.1 Identify Story Source
50
-
51
- Based on available documentation:
52
-
53
- - **From Brownfield PRD**: Extract stories from epic sections
54
- - **From Epic Files**: Read epic definition and story list
55
- - **From User Direction**: Ask user which specific enhancement to implement
56
- - **No Clear Source**: Work with user to define the story scope
57
-
58
- #### 1.2 Gather Essential Context
59
-
60
- CRITICAL: For brownfield stories, you MUST gather enough context for safe implementation. Be prepared to ask the user for missing information.
61
-
62
- **Required Information Checklist:**
63
-
64
- - [ ] What existing functionality might be affected?
65
- - [ ] What are the integration points with current code?
66
- - [ ] What patterns should be followed (with examples)?
67
- - [ ] What technical constraints exist?
68
- - [ ] Are there any "gotchas" or workarounds to know about?
69
-
70
- If any required information is missing, list the missing information and ask the user to provide it.
71
-
72
- ### 2. Extract Technical Context from Available Sources
73
-
74
- #### 2.1 From Document-Project Output
75
-
76
- If using brownfield-architecture.md from document-project:
77
-
78
- - **Technical Debt Section**: Note any workarounds affecting this story
79
- - **Key Files Section**: Identify files that will need modification
80
- - **Integration Points**: Find existing integration patterns
81
- - **Known Issues**: Check if story touches problematic areas
82
- - **Actual Tech Stack**: Verify versions and constraints
83
-
84
- #### 2.2 From Brownfield PRD
85
-
86
- If using brownfield PRD:
87
-
88
- - **Technical Constraints Section**: Extract all relevant constraints
89
- - **Integration Requirements**: Note compatibility requirements
90
- - **Code Organization**: Follow specified patterns
91
- - **Risk Assessment**: Understand potential impacts
92
-
93
- #### 2.3 From User Documentation
94
-
95
- Ask the user to help identify:
96
-
97
- - Relevant technical specifications
98
- - Existing code examples to follow
99
- - Integration requirements
100
- - Testing approaches used in the project
101
-
102
- ### 3. Story Creation with Progressive Detail Gathering
103
-
104
- #### 3.1 Create Initial Story Structure
105
-
106
- Start with the story template, filling in what's known:
107
-
108
- ```markdown
109
- # Story {{Enhancement Title}}
110
-
111
- ## Status: Draft
112
-
113
- ## Story
114
-
115
- As a {{user_type}},
116
- I want {{enhancement_capability}},
117
- so that {{value_delivered}}.
118
-
119
- ## Context Source
120
-
121
- - Source Document: {{document name/type}}
122
- - Enhancement Type: {{single feature/bug fix/integration/etc}}
123
- - Existing System Impact: {{brief assessment}}
124
- ```
125
-
126
- #### 3.2 Develop Acceptance Criteria
127
-
128
- Critical: For brownfield, ALWAYS include criteria about maintaining existing functionality
129
-
130
- Standard structure:
131
-
132
- 1. New functionality works as specified
133
- 2. Existing {{affected feature}} continues to work unchanged
134
- 3. Integration with {{existing system}} maintains current behavior
135
- 4. No regression in {{related area}}
136
- 5. Performance remains within acceptable bounds
137
-
138
- #### 3.3 Gather Technical Guidance
139
-
140
- Critical: This is where you'll need to be interactive with the user if information is missing
141
-
142
- Create Dev Technical Guidance section with available information:
143
-
144
- ````markdown
145
- ## Dev Technical Guidance
146
-
147
- ### Existing System Context
148
-
149
- [Extract from available documentation]
150
-
151
- ### Integration Approach
152
-
153
- [Based on patterns found or ask user]
154
-
155
- ### Technical Constraints
156
-
157
- [From documentation or user input]
158
-
159
- ### Missing Information
160
-
161
- Critical: List anything you couldn't find that dev will need and ask for the missing information
162
-
163
- ### 4. Task Generation with Safety Checks
164
-
165
- #### 4.1 Generate Implementation Tasks
166
-
167
- Based on gathered context, create tasks that:
168
-
169
- - Include exploration tasks if system understanding is incomplete
170
- - Add verification tasks for existing functionality
171
- - Include rollback considerations
172
- - Reference specific files/patterns when known
173
-
174
- Example task structure for brownfield:
175
-
176
- ```markdown
177
- ## Tasks / Subtasks
178
-
179
- - [ ] Task 1: Analyze existing {{component/feature}} implementation
180
- - [ ] Review {{specific files}} for current patterns
181
- - [ ] Document integration points
182
- - [ ] Identify potential impacts
183
-
184
- - [ ] Task 2: Implement {{new functionality}}
185
- - [ ] Follow pattern from {{example file}}
186
- - [ ] Integrate with {{existing component}}
187
- - [ ] Maintain compatibility with {{constraint}}
188
-
189
- - [ ] Task 3: Verify existing functionality
190
- - [ ] Test {{existing feature 1}} still works
191
- - [ ] Verify {{integration point}} behavior unchanged
192
- - [ ] Check performance impact
193
-
194
- - [ ] Task 4: Add tests
195
- - [ ] Unit tests following {{project test pattern}}
196
- - [ ] Integration test for {{integration point}}
197
- - [ ] Update existing tests if needed
198
- ```
199
- ````
200
-
201
- ### 5. Risk Assessment and Mitigation
202
-
203
- CRITICAL: for brownfield - always include risk assessment
204
-
205
- Add section for brownfield-specific risks:
206
-
207
- ```markdown
208
- ## Risk Assessment
209
-
210
- ### Implementation Risks
211
-
212
- - **Primary Risk**: {{main risk to existing system}}
213
- - **Mitigation**: {{how to address}}
214
- - **Verification**: {{how to confirm safety}}
215
-
216
- ### Rollback Plan
217
-
218
- - {{Simple steps to undo changes if needed}}
219
-
220
- ### Safety Checks
221
-
222
- - [ ] Existing {{feature}} tested before changes
223
- - [ ] Changes can be feature-flagged or isolated
224
- - [ ] Rollback procedure documented
225
- ```
226
-
227
- ### 6. Final Story Validation
228
-
229
- Before finalizing:
230
-
231
- 1. **Completeness Check**:
232
- - [ ] Story has clear scope and acceptance criteria
233
- - [ ] Technical context is sufficient for implementation
234
- - [ ] Integration approach is defined
235
- - [ ] Risks are identified with mitigation
236
-
237
- 2. **Safety Check**:
238
- - [ ] Existing functionality protection included
239
- - [ ] Rollback plan is feasible
240
- - [ ] Testing covers both new and existing features
241
-
242
- 3. **Information Gaps**:
243
- - [ ] All critical missing information gathered from user
244
- - [ ] Remaining unknowns documented for dev agent
245
- - [ ] Exploration tasks added where needed
246
-
247
- ### 7. Story Output Format
248
-
249
- Save the story with appropriate naming:
250
-
251
- - If from epic: `docs/stories/epic-{n}-story-{m}.md`
252
- - If standalone: `docs/stories/brownfield-{feature-name}.md`
253
- - If sequential: Follow existing story numbering
254
-
255
- Include header noting documentation context:
256
-
257
- ```markdown
258
- # Story: {{Title}}
259
-
260
- <!-- Source: {{documentation type used}} -->
261
- <!-- Context: Brownfield enhancement to {{existing system}} -->
262
-
263
- ## Status: Draft
264
-
265
- [Rest of story content...]
266
- ```
267
-
268
- ### 8. Handoff Communication
269
-
270
- Provide clear handoff to the user:
271
-
272
- ```text
273
- Brownfield story created: {{story title}}
274
-
275
- Source Documentation: {{what was used}}
276
- Story Location: {{file path}}
277
-
278
- Key Integration Points Identified:
279
- - {{integration point 1}}
280
- - {{integration point 2}}
281
-
282
- Risks Noted:
283
- - {{primary risk}}
284
-
285
- {{If missing info}}:
286
- Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
287
-
288
- Next Steps:
289
- 1. Review story for accuracy
290
- 2. Verify integration approach aligns with your system
291
- 3. Approve story or request adjustments
292
- 4. Dev agent can then implement with safety checks
293
- ```
294
-
295
- ## Success Criteria
296
-
297
- The brownfield story creation is successful when:
298
-
299
- 1. Story can be implemented without requiring dev to search multiple documents
300
- 2. Integration approach is clear and safe for existing system
301
- 3. All available technical context has been extracted and organized
302
- 4. Missing information has been identified and addressed
303
- 5. Risks are documented with mitigation strategies
304
- 6. Story includes verification of existing functionality
305
- 7. Rollback approach is defined
306
-
307
- ## Important Notes
308
-
309
- - This task is specifically for brownfield projects with non-standard documentation
310
- - Always prioritize existing system stability over new features
311
- - When in doubt, add exploration and verification tasks
312
- - It's better to ask the user for clarification than make assumptions
313
- - Each story should be self-contained for the dev agent
314
- - Include references to existing code patterns when available
@@ -1,280 +0,0 @@
1
- <!-- Powered by BMAD™ Core -->
2
-
3
- # Create Deep Research Prompt Task
4
-
5
- This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
6
-
7
- ## Purpose
8
-
9
- Generate well-structured research prompts that:
10
-
11
- - Define clear research objectives and scope
12
- - Specify appropriate research methodologies
13
- - Outline expected deliverables and formats
14
- - Guide systematic investigation of complex topics
15
- - Ensure actionable insights are captured
16
-
17
- ## Research Type Selection
18
-
19
- CRITICAL: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.
20
-
21
- ### 1. Research Focus Options
22
-
23
- Present these numbered options to the user:
24
-
25
- 1. **Product Validation Research**
26
- - Validate product hypotheses and market fit
27
- - Test assumptions about user needs and solutions
28
- - Assess technical and business feasibility
29
- - Identify risks and mitigation strategies
30
-
31
- 2. **Market Opportunity Research**
32
- - Analyze market size and growth potential
33
- - Identify market segments and dynamics
34
- - Assess market entry strategies
35
- - Evaluate timing and market readiness
36
-
37
- 3. **User & Customer Research**
38
- - Deep dive into user personas and behaviors
39
- - Understand jobs-to-be-done and pain points
40
- - Map customer journeys and touchpoints
41
- - Analyze willingness to pay and value perception
42
-
43
- 4. **Competitive Intelligence Research**
44
- - Detailed competitor analysis and positioning
45
- - Feature and capability comparisons
46
- - Business model and strategy analysis
47
- - Identify competitive advantages and gaps
48
-
49
- 5. **Technology & Innovation Research**
50
- - Assess technology trends and possibilities
51
- - Evaluate technical approaches and architectures
52
- - Identify emerging technologies and disruptions
53
- - Analyze build vs. buy vs. partner options
54
-
55
- 6. **Industry & Ecosystem Research**
56
- - Map industry value chains and dynamics
57
- - Identify key players and relationships
58
- - Analyze regulatory and compliance factors
59
- - Understand partnership opportunities
60
-
61
- 7. **Strategic Options Research**
62
- - Evaluate different strategic directions
63
- - Assess business model alternatives
64
- - Analyze go-to-market strategies
65
- - Consider expansion and scaling paths
66
-
67
- 8. **Risk & Feasibility Research**
68
- - Identify and assess various risk factors
69
- - Evaluate implementation challenges
70
- - Analyze resource requirements
71
- - Consider regulatory and legal implications
72
-
73
- 9. **Custom Research Focus**
74
- - User-defined research objectives
75
- - Specialized domain investigation
76
- - Cross-functional research needs
77
-
78
- ### 2. Input Processing
79
-
80
- **If Project Brief provided:**
81
-
82
- - Extract key product concepts and goals
83
- - Identify target users and use cases
84
- - Note technical constraints and preferences
85
- - Highlight uncertainties and assumptions
86
-
87
- **If Brainstorming Results provided:**
88
-
89
- - Synthesize main ideas and themes
90
- - Identify areas needing validation
91
- - Extract hypotheses to test
92
- - Note creative directions to explore
93
-
94
- **If Market Research provided:**
95
-
96
- - Build on identified opportunities
97
- - Deepen specific market insights
98
- - Validate initial findings
99
- - Explore adjacent possibilities
100
-
101
- **If Starting Fresh:**
102
-
103
- - Gather essential context through questions
104
- - Define the problem space
105
- - Clarify research objectives
106
- - Establish success criteria
107
-
108
- ## Process
109
-
110
- ### 3. Research Prompt Structure
111
-
112
- CRITICAL: collaboratively develop a comprehensive research prompt with these components.
113
-
114
- #### A. Research Objectives
115
-
116
- CRITICAL: collaborate with the user to articulate clear, specific objectives for the research.
117
-
118
- - Primary research goal and purpose
119
- - Key decisions the research will inform
120
- - Success criteria for the research
121
- - Constraints and boundaries
122
-
123
- #### B. Research Questions
124
-
125
- CRITICAL: collaborate with the user to develop specific, actionable research questions organized by theme.
126
-
127
- **Core Questions:**
128
-
129
- - Central questions that must be answered
130
- - Priority ranking of questions
131
- - Dependencies between questions
132
-
133
- **Supporting Questions:**
134
-
135
- - Additional context-building questions
136
- - Nice-to-have insights
137
- - Future-looking considerations
138
-
139
- #### C. Research Methodology
140
-
141
- **Data Collection Methods:**
142
-
143
- - Secondary research sources
144
- - Primary research approaches (if applicable)
145
- - Data quality requirements
146
- - Source credibility criteria
147
-
148
- **Analysis Frameworks:**
149
-
150
- - Specific frameworks to apply
151
- - Comparison criteria
152
- - Evaluation methodologies
153
- - Synthesis approaches
154
-
155
- #### D. Output Requirements
156
-
157
- **Format Specifications:**
158
-
159
- - Executive summary requirements
160
- - Detailed findings structure
161
- - Visual/tabular presentations
162
- - Supporting documentation
163
-
164
- **Key Deliverables:**
165
-
166
- - Must-have sections and insights
167
- - Decision-support elements
168
- - Action-oriented recommendations
169
- - Risk and uncertainty documentation
170
-
171
- ### 4. Prompt Generation
172
-
173
- **Research Prompt Template:**
174
-
175
- ```markdown
176
- ## Research Objective
177
-
178
- [Clear statement of what this research aims to achieve]
179
-
180
- ## Background Context
181
-
182
- [Relevant information from project brief, brainstorming, or other inputs]
183
-
184
- ## Research Questions
185
-
186
- ### Primary Questions (Must Answer)
187
-
188
- 1. [Specific, actionable question]
189
- 2. [Specific, actionable question]
190
- ...
191
-
192
- ### Secondary Questions (Nice to Have)
193
-
194
- 1. [Supporting question]
195
- 2. [Supporting question]
196
- ...
197
-
198
- ## Research Methodology
199
-
200
- ### Information Sources
201
-
202
- - [Specific source types and priorities]
203
-
204
- ### Analysis Frameworks
205
-
206
- - [Specific frameworks to apply]
207
-
208
- ### Data Requirements
209
-
210
- - [Quality, recency, credibility needs]
211
-
212
- ## Expected Deliverables
213
-
214
- ### Executive Summary
215
-
216
- - Key findings and insights
217
- - Critical implications
218
- - Recommended actions
219
-
220
- ### Detailed Analysis
221
-
222
- [Specific sections needed based on research type]
223
-
224
- ### Supporting Materials
225
-
226
- - Data tables
227
- - Comparison matrices
228
- - Source documentation
229
-
230
- ## Success Criteria
231
-
232
- [How to evaluate if research achieved its objectives]
233
-
234
- ## Timeline and Priority
235
-
236
- [If applicable, any time constraints or phasing]
237
- ```
238
-
239
- ### 5. Review and Refinement
240
-
241
- 1. **Present Complete Prompt**
242
- - Show the full research prompt
243
- - Explain key elements and rationale
244
- - Highlight any assumptions made
245
-
246
- 2. **Gather Feedback**
247
- - Are the objectives clear and correct?
248
- - Do the questions address all concerns?
249
- - Is the scope appropriate?
250
- - Are output requirements sufficient?
251
-
252
- 3. **Refine as Needed**
253
- - Incorporate user feedback
254
- - Adjust scope or focus
255
- - Add missing elements
256
- - Clarify ambiguities
257
-
258
- ### 6. Next Steps Guidance
259
-
260
- **Execution Options:**
261
-
262
- 1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities
263
- 2. **Guide Human Research**: Use as a framework for manual research efforts
264
- 3. **Hybrid Approach**: Combine AI and human research using this structure
265
-
266
- **Integration Points:**
267
-
268
- - How findings will feed into next phases
269
- - Which team members should review results
270
- - How to validate findings
271
- - When to revisit or expand research
272
-
273
- ## Important Notes
274
-
275
- - The quality of the research prompt directly impacts the quality of insights gathered
276
- - Be specific rather than general in research questions
277
- - Consider both current state and future implications
278
- - Balance comprehensiveness with focus
279
- - Document assumptions and limitations clearly
280
- - Plan for iterative refinement based on initial findings
@@ -1,103 +0,0 @@
1
- <!-- Powered by BMAD™ Core -->
2
-
3
- # Create Document from Template (YAML Driven)
4
-
5
- ## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
6
-
7
- **THIS IS AN EXECUTABLE WORKFLOW - NOT REFERENCE MATERIAL**
8
-
9
- When this task is invoked:
10
-
11
- 1. **DISABLE ALL EFFICIENCY OPTIMIZATIONS** - This workflow requires full user interaction
12
- 2. **MANDATORY STEP-BY-STEP EXECUTION** - Each section must be processed sequentially with user feedback
13
- 3. **ELICITATION IS REQUIRED** - When `elicit: true`, you MUST use the 1-9 format and wait for user response
14
- 4. **NO SHORTCUTS ALLOWED** - Complete documents cannot be created without following this workflow
15
-
16
- **VIOLATION INDICATOR:** If you create a complete document without user interaction, you have violated this workflow.
17
-
18
- ## Critical: Template Discovery
19
-
20
- If a YAML Template has not been provided, list all templates from .bmad-core/templates or ask the user to provide another.
21
-
22
- ## CRITICAL: Mandatory Elicitation Format
23
-
24
- **When `elicit: true`, this is a HARD STOP requiring user interaction:**
25
-
26
- **YOU MUST:**
27
-
28
- 1. Present section content
29
- 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
30
- 3. **STOP and present numbered options 1-9:**
31
- - **Option 1:** Always "Proceed to next section"
32
- - **Options 2-9:** Select 8 methods from data/elicitation-methods
33
- - End with: "Select 1-9 or just type your question/feedback:"
34
- 4. **WAIT FOR USER RESPONSE** - Do not proceed until user selects option or provides feedback
35
-
36
- **WORKFLOW VIOLATION:** Creating content for elicit=true sections without user interaction violates this task.
37
-
38
- **NEVER ask yes/no questions or use any other format.**
39
-
40
- ## Processing Flow
41
-
42
- 1. **Parse YAML template** - Load template metadata and sections
43
- 2. **Set preferences** - Show current mode (Interactive), confirm output file
44
- 3. **Process each section:**
45
- - Skip if condition unmet
46
- - Check agent permissions (owner/editors) - note if section is restricted to specific agents
47
- - Draft content using section instruction
48
- - Present content + detailed rationale
49
- - **IF elicit: true** → MANDATORY 1-9 options format
50
- - Save to file if possible
51
- 4. **Continue until complete**
52
-
53
- ## Detailed Rationale Requirements
54
-
55
- When presenting section content, ALWAYS include rationale that explains:
56
-
57
- - Trade-offs and choices made (what was chosen over alternatives and why)
58
- - Key assumptions made during drafting
59
- - Interesting or questionable decisions that need user attention
60
- - Areas that might need validation
61
-
62
- ## Elicitation Results Flow
63
-
64
- After user selects elicitation method (2-9):
65
-
66
- 1. Execute method from data/elicitation-methods
67
- 2. Present results with insights
68
- 3. Offer options:
69
- - **1. Apply changes and update section**
70
- - **2. Return to elicitation menu**
71
- - **3. Ask any questions or engage further with this elicitation**
72
-
73
- ## Agent Permissions
74
-
75
- When processing sections with agent permission fields:
76
-
77
- - **owner**: Note which agent role initially creates/populates the section
78
- - **editors**: List agent roles allowed to modify the section
79
- - **readonly**: Mark sections that cannot be modified after creation
80
-
81
- **For sections with restricted access:**
82
-
83
- - Include a note in the generated document indicating the responsible agent
84
- - Example: "_(This section is owned by dev-agent and can only be modified by dev-agent)_"
85
-
86
- ## YOLO Mode
87
-
88
- User can type `#yolo` to toggle to YOLO mode (process all sections at once).
89
-
90
- ## CRITICAL REMINDERS
91
-
92
- **❌ NEVER:**
93
-
94
- - Ask yes/no questions for elicitation
95
- - Use any format other than 1-9 numbered options
96
- - Create new elicitation methods
97
-
98
- **✅ ALWAYS:**
99
-
100
- - Use exact 1-9 format when elicit: true
101
- - Select options 2-9 from data/elicitation-methods only
102
- - Provide detailed rationale explaining decisions
103
- - End with "Select 1-9 or just type your question/feedback:"