-
Notifications
You must be signed in to change notification settings - Fork 2.6k
refactor: update issue-fixer mode to use GitHub CLI instead of MCP #5320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Remove MCP dependency from issue-fixer mode configuration - Update all GitHub operations to use gh CLI commands - Make mode work with any GitHub repository (dynamic owner/repo) - Remove PR review functionality (moved to pr-fixer mode) - Update documentation to reflect GitHub CLI usage - Simplify authentication to use standard gh auth login
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the issue-fixer mode to replace all GitHub MCP operations with the GitHub CLI, simplifies configuration, and broadens repository support.
- Removed MCP-based workflows and references
- Updated mode settings to use
ghfor issue retrieval, commenting, and PRs - Added comprehensive CLI usage documentation and dynamic repo parsing
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .roomodes | Switched mode description to use GitHub CLI, removed mcp group |
| .roo/rules-issue-fixer/9_pr_review_workflow.xml | Deleted old MCP-based PR review workflow |
| .roo/rules-issue-fixer/8_github_communication_guidelines.xml | Removed PR comment guidelines; retained issue comments |
| .roo/rules-issue-fixer/5_pull_request_workflow.xml | Added steps and commands to create and monitor PRs via gh |
| .roo/rules-issue-fixer/4_github_mcp_tool_usage.xml | Removed deprecated MCP tool usage documentation |
| .roo/rules-issue-fixer/4_github_cli_usage.xml | Added full GitHub CLI command reference and examples |
| .roo/rules-issue-fixer/1_Workflow.xml | Streamlined initial workflow to fetch issues via gh |
Comments suppressed due to low confidence (1)
.roo/rules-issue-fixer/4_github_cli_usage.xml:68
- The syntax declaration omits the
--limitflag shown in examples. Update it togh search code "[search-query]" --repo [owner]/[repo] --limit [number]for consistency with usage examples.
<syntax>gh search code "[search-query]" --repo [owner]/[repo]</syntax>
|
✅ No security or compliance issues detected. Reviewed everything up to 29eed2c. Security Overview
Detected Code Changes
Reply to this PR with |
Description
This PR updates the issue-fixer mode to use GitHub CLI (gh) for all GitHub operations instead of the GitHub MCP server. This simplifies the setup and removes external dependencies.
Changes Made
Mode Configuration Updates
mcpfrom the groups list in.roomodesWorkflow Updates
ghcommands:gh issue viewfor retrieving issuesgh issue view --commentsfor getting commentsgh pr createfor creating pull requestsgh pr checks --watchfor monitoring CI/CDgh repo forkfor forking when neededgh apifor advanced operationsFile Changes
4_github_mcp_tool_usage.xmlto4_github_cli_usage.xmlwith comprehensive CLI documentation5_pull_request_workflow.xmlto use dynamic repository referencespr_commentssection from8_github_communication_guidelines.xml9_pr_review_workflow.xml(functionality moved to pr-fixer mode)Benefits
gh auth loginTesting
Checklist
Important
Refactor issue-fixer mode to use GitHub CLI instead of MCP, updating workflows and documentation for flexibility and simplicity.
mcpfrom.roomodesgroups list.roleDefinitionto use GitHub CLI.1_Workflow.xmland5_pull_request_workflow.xml.gh issue view,gh pr create,gh pr checks, and more.4_github_mcp_tool_usage.xmlto4_github_cli_usage.xml.5_pull_request_workflow.xmlfor dynamic repo references.pr_commentsfrom8_github_communication_guidelines.xml.9_pr_review_workflow.xml(moved to pr-fixer mode).This description was created by
for 29eed2c. You can customize this summary. It will automatically update as commits are pushed.