mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* Add issue writer mode with detailed templates for bug reports and feature proposals * Refactor issue-writer mode to enhance role definition and instructions for creating GitHub issues * Add steps for searching GitHub Discussions and documenting related issues in the issue creation process * Add Issue Fixer mode with detailed workflow for resolving GitHub issues * Enhance Issue Fixer mode with detailed workflows for PR reviews and issue handling * Refactor Issue Fixer and Issue Worker modes to enhance workflow orchestration and implementation processes. Updated role definitions, added detailed workflows for issue resolution, and improved context management and communication guidelines. * Enhance issue-worker mode with branch verification steps and detailed instructions for ensuring correct branch setup before implementation. Updated workflow to include branch context in design planning and final verification processes. * Enhance pull request creation and verification workflow with detailed steps for branch verification, commit checks, and comprehensive PR status monitoring. Improved instructions for ensuring successful PR creation and linking to original issues. * feat: Add Issue Writer and Issue Fixer modes with comprehensive workflows - Add Issue Writer mode for creating well-structured GitHub issues - Add Issue Fixer mode for implementing fixes from GitHub issues - Include detailed workflow rules and best practices for both modes - Add GitHub MCP tool usage guidelines - Include PR workflow and communication guidelines
88 lines
No EOL
2.8 KiB
XML
88 lines
No EOL
2.8 KiB
XML
<github_mcp_tools_usage>
|
|
<primary_tools>
|
|
<tool name="get_issue">
|
|
<purpose>Retrieve the issue details at the start</purpose>
|
|
<when>Always use first to get the full issue content</when>
|
|
</tool>
|
|
|
|
<tool name="get_issue_comments">
|
|
<purpose>Get additional context and requirements</purpose>
|
|
<when>Always use after get_issue to see full discussion</when>
|
|
</tool>
|
|
|
|
<tool name="list_commits">
|
|
<purpose>Find recent changes to affected files</purpose>
|
|
<when>Use during codebase exploration</when>
|
|
</tool>
|
|
|
|
<tool name="search_code">
|
|
<purpose>Find code patterns on GitHub</purpose>
|
|
<when>Use to supplement local codebase_search</when>
|
|
</tool>
|
|
</primary_tools>
|
|
|
|
<optional_tools>
|
|
<tool name="add_issue_comment">
|
|
<purpose>Add progress updates or ask questions</purpose>
|
|
<when>Use if clarification needed or to show progress</when>
|
|
</tool>
|
|
|
|
<tool name="list_pull_requests">
|
|
<purpose>Find related or similar PRs</purpose>
|
|
<when>Use to understand similar changes</when>
|
|
</tool>
|
|
|
|
<tool name="get_pull_request">
|
|
<purpose>Get details of related PRs</purpose>
|
|
<when>Use when issue references specific PRs</when>
|
|
</tool>
|
|
</optional_tools>
|
|
|
|
<pull_request_tools>
|
|
<tool name="create_pull_request">
|
|
<purpose>Create a pull request to RooCodeInc/Roo-Code</purpose>
|
|
<when>Use in step 10 after user approval</when>
|
|
<important>
|
|
- Always target RooCodeInc/Roo-Code repository
|
|
- Use "main" as the base branch unless specified otherwise
|
|
- Include issue number in PR title
|
|
- Set maintainer_can_modify to true
|
|
</important>
|
|
<example>
|
|
<use_mcp_tool>
|
|
<server_name>github</server_name>
|
|
<tool_name>create_pull_request</tool_name>
|
|
<arguments>
|
|
{
|
|
"owner": "RooCodeInc",
|
|
"repo": "Roo-Code",
|
|
"title": "fix: Resolve dark theme button visibility (#123)",
|
|
"head": "username:fix/issue-123-dark-theme-button",
|
|
"base": "main",
|
|
"body": "## Description\n\nFixes #123\n\n[Full PR description]",
|
|
"draft": false,
|
|
"maintainer_can_modify": true
|
|
}
|
|
</arguments>
|
|
</use_mcp_tool>
|
|
</example>
|
|
</tool>
|
|
|
|
<tool name="fork_repository">
|
|
<purpose>Fork the repository if user doesn't have push access</purpose>
|
|
<when>Use if user needs to work from a fork</when>
|
|
<example>
|
|
<use_mcp_tool>
|
|
<server_name>github</server_name>
|
|
<tool_name>fork_repository</tool_name>
|
|
<arguments>
|
|
{
|
|
"owner": "RooCodeInc",
|
|
"repo": "Roo-Code"
|
|
}
|
|
</arguments>
|
|
</use_mcp_tool>
|
|
</example>
|
|
</tool>
|
|
</pull_request_tools>
|
|
</github_mcp_tools_usage> |