@posx/core 5.5.166 → 5.5.168

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