|
30 | 30 | - Any error messages or logs |
31 | 31 |
|
32 | 32 | For Feature Requests, ensure you have: |
33 | | - - Specific problem description with impact |
34 | | - - Detailed proposed solution |
35 | | - - Clear acceptance criteria in Given/When/Then format |
36 | | - - Effort estimation with reasoning |
| 33 | + - Specific problem description with impact (who is affected, when it happens, current vs expected behavior, impact) |
| 34 | + - Additional context if available (mockups, screenshots, links) |
| 35 | + |
| 36 | + IMPORTANT: Do NOT ask for solution design, acceptance criteria, or technical details |
| 37 | + unless the user explicitly states they want to contribute the implementation. |
37 | 38 |
|
38 | 39 | Use multiple ask_followup_question calls if needed to gather all information. |
39 | 40 | Be specific in your questions based on what's missing. |
|
63 | 64 | </step> |
64 | 65 |
|
65 | 66 | <step number="4"> |
66 | | - <name>Explore Codebase for Context</name> |
| 67 | + <name>Determine if User Wants to Contribute</name> |
67 | 68 | <instructions> |
| 69 | + Before exploring the codebase, determine if the user wants to contribute the implementation: |
| 70 | + |
| 71 | + <ask_followup_question> |
| 72 | + <question>Are you interested in implementing this feature yourself, or are you just reporting the problem for the Roo team to solve?</question> |
| 73 | + <follow_up> |
| 74 | + <suggest>Just reporting the problem - the Roo team can design the solution</suggest> |
| 75 | + <suggest>I want to contribute and implement this feature myself</suggest> |
| 76 | + <suggest>I'm not sure yet, but I'd like to provide technical analysis</suggest> |
| 77 | + </follow_up> |
| 78 | + </ask_followup_question> |
| 79 | + |
| 80 | + Based on their response: |
| 81 | + - If just reporting: Skip to step 6 (Draft Issue - Problem Only) |
| 82 | + - If contributing: Continue to step 5 (Explore Codebase) |
| 83 | + - If providing analysis: Continue to step 5 but make technical sections optional |
| 84 | + </instructions> |
| 85 | + </step> |
| 86 | + |
| 87 | + <step number="5"> |
| 88 | + <name>Explore Codebase for Contributors</name> |
| 89 | + <instructions> |
| 90 | + ONLY perform this step if the user wants to contribute or provide technical analysis. |
| 91 | + |
68 | 92 | Use codebase_search FIRST to understand the relevant parts of the codebase: |
69 | 93 |
|
70 | 94 | For Bug Reports: |
|
88 | 112 | - read_file on specific files to understand implementation |
89 | 113 | - search_files for specific error messages or patterns |
90 | 114 |
|
91 | | - Formulate an independent technical plan to solve the problem, disregarding any solution proposed by the issue author. |
| 115 | + Formulate an independent technical plan to solve the problem. |
92 | 116 |
|
93 | 117 | Document all relevant findings including: |
94 | 118 | - File paths and line numbers |
95 | 119 | - Current implementation details |
96 | 120 | - Your proposed implementation plan |
97 | 121 | - Related code that might be affected |
| 122 | + |
| 123 | + Then gather additional technical details: |
| 124 | + - Ask for proposed solution approach |
| 125 | + - Request acceptance criteria in Given/When/Then format |
| 126 | + - Discuss technical considerations and trade-offs |
98 | 127 | </instructions> |
99 | 128 | </step> |
100 | 129 |
|
101 | | - <step number="5"> |
102 | | - <name>Draft Complete Issue Content</name> |
| 130 | + <step number="6"> |
| 131 | + <name>Draft Issue Content</name> |
103 | 132 | <instructions> |
104 | | - Create the complete issue body following the exact template structure. |
| 133 | + Create the issue body based on whether the user is just reporting or contributing. |
105 | 134 |
|
106 | | - For Bug Reports, format as: |
| 135 | + For Bug Reports, format is the same regardless of contribution intent: |
107 | 136 | ``` |
108 | 137 | ## App Version |
109 | 138 | [version from user] |
|
137 | 166 | [paste any error messages or logs] |
138 | 167 | ``` |
139 | 168 |
|
| 169 | + [If user is contributing, add:] |
140 | 170 | ## Technical Analysis |
141 | 171 |
|
142 | 172 | Based on my investigation: |
|
146 | 176 | - **Proposed Fix:** [Detail the fix from your implementation plan.] |
147 | 177 | ``` |
148 | 178 |
|
149 | | - For Feature Requests, format as: |
| 179 | + For Feature Requests - PROBLEM REPORTERS (not contributing): |
| 180 | + ``` |
| 181 | + ## What specific problem does this solve? |
| 182 | + |
| 183 | + [Detailed problem description following the template guidelines] |
| 184 | + |
| 185 | + **Who is affected:** [user groups] |
| 186 | + **When this happens:** [specific scenarios] |
| 187 | + **Current behavior:** [what happens now] |
| 188 | + **Expected behavior:** [what should happen] |
| 189 | + **Impact:** [time wasted, errors, productivity loss] |
| 190 | + |
| 191 | + ## Additional context |
| 192 | + |
| 193 | + [Any mockups, screenshots, links, or other supporting information] |
| 194 | + |
| 195 | + ## Related Discussions |
| 196 | + |
| 197 | + [If any related discussions were found, list them here] |
| 198 | + - Closes #[discussion number] - [discussion title] |
| 199 | + - Related to #[discussion number] - [discussion title] |
| 200 | + ``` |
| 201 | + |
| 202 | + For Feature Requests - CONTRIBUTORS (implementing the feature): |
150 | 203 | ``` |
151 | 204 | ## What specific problem does this solve? |
152 | 205 |
|
|
158 | 211 | **Expected behavior:** [what should happen] |
159 | 212 | **Impact:** [time wasted, errors, productivity loss] |
160 | 213 |
|
| 214 | + ## Additional context |
| 215 | + |
| 216 | + [Any mockups, screenshots, links, or other supporting information] |
| 217 | + |
| 218 | + --- |
| 219 | + |
| 220 | + ## 🛠️ Contributing & Technical Analysis |
| 221 | + |
| 222 | + ✅ **I'm interested in implementing this feature** |
| 223 | + ✅ **I understand this needs approval before implementation begins** |
| 224 | + |
161 | 225 | ## How should this be solved? |
162 | 226 |
|
163 | | - [Based on your independent analysis, describe your proposed solution here. Disregard the author's proposal.] |
| 227 | + [Based on your analysis, describe the proposed solution] |
164 | 228 |
|
165 | 229 | **What will change:** |
166 | 230 | - [Specific change 1] |
|
182 | 246 |
|
183 | 247 | [Add multiple scenarios as needed] |
184 | 248 |
|
185 | | - ## Estimated Effort and Complexity |
186 | | - |
187 | | - **Size:** [estimate] |
188 | | - **Reasoning:** [why this size] |
189 | | - **Main challenges:** [technical difficulties] |
190 | | - **Dependencies:** [what's needed] |
191 | | - |
192 | | - ## Technical Implementation Plan |
| 249 | + ## Technical Considerations |
193 | 250 |
|
194 | | - Based on my analysis from the previous step: |
| 251 | + **Implementation approach:** |
195 | 252 | - Key files to modify: [list with paths] |
196 | 253 | - Current architecture: [brief description] |
197 | 254 | - Integration points: [where this fits] |
198 | 255 | - Similar patterns in codebase: [examples] |
199 | | - - Implementation Steps: [Provide a detailed, step-by-step guide for your proposed solution.] |
200 | 256 |
|
201 | | - ## Technical Considerations |
| 257 | + **Performance implications:** |
| 258 | + [Any performance considerations] |
202 | 259 |
|
203 | | - [Any additional technical details] |
| 260 | + **Compatibility concerns:** |
| 261 | + [Any compatibility issues] |
204 | 262 |
|
205 | 263 | ## Trade-offs and Risks |
206 | 264 |
|
207 | | - [Alternatives considered and potential issues] |
| 265 | + **Alternatives considered:** |
| 266 | + - [Alternative 1]: [Why not chosen] |
| 267 | + - [Alternative 2]: [Why not chosen] |
| 268 | + |
| 269 | + **Potential risks:** |
| 270 | + - [Risk 1]: [Mitigation strategy] |
| 271 | + - [Risk 2]: [Mitigation strategy] |
| 272 | + |
| 273 | + **Breaking changes:** |
| 274 | + [Any breaking changes or migration needs] |
208 | 275 |
|
209 | 276 | ## Related Discussions |
210 | 277 |
|
|
215 | 282 | </instructions> |
216 | 283 | </step> |
217 | 284 |
|
218 | | - <step number="6"> |
| 285 | + <step number="7"> |
219 | 286 | <name>Review and Confirm with User</name> |
220 | 287 | <instructions> |
221 | 288 | Present the complete drafted issue to the user for review: |
|
238 | 305 | </instructions> |
239 | 306 | </step> |
240 | 307 |
|
241 | | - <step number="7"> |
| 308 | + <step number="8"> |
242 | 309 | <name>Create GitHub Issue</name> |
243 | 310 | <instructions> |
244 | 311 | Once user confirms, create the issue using the GitHub MCP tool: |
|
251 | 318 | "owner": "RooCodeInc", |
252 | 319 | "repo": "Roo-Code", |
253 | 320 | "title": "[Create a descriptive title based on the issue content]", |
254 | | - "body": "[The complete formatted issue body from step 4]", |
| 321 | + "body": "[The complete formatted issue body from step 6]", |
255 | 322 | "labels": [Use ["bug"] for bug reports or ["proposal", "enhancement"] for features] |
256 | 323 | } |
257 | 324 | </arguments> |
|
0 commit comments