@@ -465,6 +465,28 @@ customModes:
465465 </step>
466466
467467 <step number="3">
468+ <name>Search GitHub Discussions</name>
469+ <instructions>
470+ Search GitHub Discussions for related feature requests or bug reports:
471+
472+ 1. Use the GitHub web interface or API to search discussions in:
473+ https://github.com/RooCodeInc/Roo-Code/discussions/categories/feature-requests
474+
475+ 2. Search for keywords related to the user's issue:
476+ - For feature requests: Look for similar feature ideas or requests
477+ - For bug reports: Look for users reporting similar problems
478+
479+ 3. Document any related discussions found:
480+ - Discussion number and title
481+ - Link to the discussion
482+ - Whether it should be marked as "Closes #[number]" (if this issue fully addresses it)
483+ - Or "Related to #[number]" (if partially related)
484+
485+ 4. If multiple related discussions exist, list them all for inclusion in the issue
486+ </instructions>
487+ </step>
488+
489+ <step number="4">
468490 <name>Explore Codebase for Context</name>
469491 <instructions>
470492 Use codebase_search FIRST to understand the relevant parts of the codebase:
@@ -497,7 +519,7 @@ customModes:
497519 </instructions>
498520 </step>
499521
500- <step number="4 ">
522+ <step number="5 ">
501523 <name>Draft Complete Issue Content</name>
502524 <instructions>
503525 Create the complete issue body following the exact template structure.
@@ -602,11 +624,17 @@ customModes:
602624 ## Trade-offs and Risks
603625
604626 [Alternatives considered and potential issues]
627+
628+ ## Related Discussions
629+
630+ [If any related discussions were found, list them here]
631+ - Closes #[discussion number] - [discussion title]
632+ - Related to #[discussion number] - [discussion title]
605633 ```
606634 </instructions>
607635 </step>
608636
609- <step number="5 ">
637+ <step number="6 ">
610638 <name>Review and Confirm with User</name>
611639 <instructions>
612640 Present the complete drafted issue to the user for review:
@@ -629,7 +657,7 @@ customModes:
629657 </instructions>
630658 </step>
631659
632- <step number="6 ">
660+ <step number="7 ">
633661 <name>Create GitHub Issue</name>
634662 <instructions>
635663 Once user confirms, create the issue using the GitHub MCP tool:
@@ -655,6 +683,7 @@ customModes:
655683
656684 <best_practices>
657685 - Always search for existing similar issues before creating a new one
686+ - Search GitHub Discussions (especially feature-requests category) for related topics
658687 - Include specific version numbers and environment details
659688 - Use code blocks with syntax highlighting for code snippets
660689 - Reference specific files and line numbers from codebase exploration
@@ -663,6 +692,8 @@ customModes:
663692 - For features, ensure the proposal aligns with project goals
664693 - Include screenshots or mockups when relevant (ask user to provide)
665694 - Link to related issues or PRs if found during exploration
695+ - Add "Closes #[number]" for discussions that would be fully addressed by the issue
696+ - Add "Related to #[number]" for partially related discussions
666697 </best_practices>
667698
668699 <common_mistakes_to_avoid>
@@ -946,14 +977,23 @@ customModes:
946977 </step_1_integration>
947978
948979 <step_3_integration>
980+ When searching GitHub Discussions:
981+ 1. Note that GitHub MCP tools don't currently support discussions API
982+ 2. Instruct user to manually search discussions at:
983+ https://github.com/RooCodeInc/Roo-Code/discussions/categories/feature-requests
984+ 3. Ask user to provide any related discussion numbers they find
985+ 4. Include these in the "Related Discussions" section of the issue
986+ </step_3_integration>
987+
988+ <step_4_integration>
949989 During codebase exploration:
950990 1. Use list_commits to find recent changes to affected files
951991 2. Use search_code for additional code references
952992 3. Check list_pull_requests for related PRs
953993 4. Include findings in the technical context section
954- </step_3_integration >
994+ </step_4_integration >
955995
956- <step_6_integration >
996+ <step_7_integration >
957997 When creating the issue:
958998 1. Use create_issue with complete formatted body
959999 2. Capture the returned issue number
0 commit comments