Skip to content

Conversation

@hannesrudolph
Copy link
Collaborator

@hannesrudolph hannesrudolph commented Jun 7, 2025

Description

This PR introduces two new specialized modes for GitHub issue management:

🔧 Issue Fixer Mode

  • Implements comprehensive workflow for fixing GitHub issues and feature requests
  • Includes detailed step-by-step processes from issue analysis to PR creation
  • Integrates with GitHub MCP tools for seamless issue and PR management
  • Supports both bug fixes and feature implementations
  • Includes PR review workflow for handling feedback

📝 Issue Writer Mode

  • Creates well-structured GitHub issues for bug reports and feature requests
  • Includes comprehensive workflow for gathering context and requirements
  • Follows GitHub issue templates and best practices
  • Integrates with codebase exploration for accurate issue creation

Key Features

  • Comprehensive Workflows: Detailed XML-based rule files defining step-by-step processes
  • GitHub MCP Integration: Full integration with GitHub tools for issues, PRs, and reviews
  • Best Practices: Coding standards, testing guidelines, and communication patterns
  • Error Handling: Robust workflows that handle edge cases and failures
  • Documentation: Clear guidelines for each workflow step

Files Added

Issue Fixer Mode Rules

  • .roo/rules-issue-fixer/1_Workflow.xml - Complete 10-step workflow
  • .roo/rules-issue-fixer/2_best_practices.xml - Development best practices
  • .roo/rules-issue-fixer/3_common_patterns.xml - Bug fix and feature patterns
  • .roo/rules-issue-fixer/4_github_mcp_tool_usage.xml - GitHub MCP tool guidelines
  • .roo/rules-issue-fixer/5_pull_request_workflow.xml - PR creation and management
  • .roo/rules-issue-fixer/6_testing_guidelines.xml - Testing requirements
  • .roo/rules-issue-fixer/7_communication_style.xml - Communication standards
  • .roo/rules-issue-fixer/8_github_communication_guidelines.xml - GitHub-specific communication
  • .roo/rules-issue-fixer/9_pr_review_workflow.xml - PR review handling

Issue Writer Mode Rules

  • .roo/rules-issue-writer/1_workflow.xml - Complete issue creation workflow
  • .roo/rules-issue-writer/2_github_issue_templates.xml - Issue templates
  • .roo/rules-issue-writer/3_best_practices.xml - Issue writing best practices
  • .roo/rules-issue-writer/4_common_mistakes_to_avoid.xml - Common pitfalls
  • .roo/rules-issue-writer/5_github_mcp_tool_usage.xml - GitHub MCP integration

Mode Configuration

  • .roomodes - Updated to include both new modes

How It Works

Issue Fixer Workflow

  1. Context Retrieval: Gets issue/PR details and comments
  2. Requirement Analysis: Analyzes acceptance criteria and constraints
  3. Implementation Planning: Creates detailed implementation plan
  4. Codebase Exploration: Uses semantic search to understand existing code
  5. Solution Implementation: Implements fixes following project patterns
  6. Verification: Ensures all acceptance criteria are met
  7. Testing: Runs comprehensive test suites
  8. Documentation: Creates detailed summary of changes
  9. PR Preparation: Prepares comprehensive PR description
  10. PR Creation: Creates and links PR to original issue

Issue Writer Workflow

  1. Problem Understanding: Analyzes the problem or feature request
  2. Codebase Investigation: Explores relevant code and dependencies
  3. Context Gathering: Collects all necessary technical context
  4. Issue Creation: Creates well-structured GitHub issue with templates
  5. Validation: Ensures issue meets quality standards

Testing

  • All existing tests pass
  • Linting rules pass
  • Mode definitions are valid
  • Rule files are properly structured
  • GitHub MCP tool integration is correctly configured

Requirements

Important: These modes require the GitHub MCP server to be installed and configured for full functionality.

Usage

Users can now:

  1. Select "🔧 Issue Fixer" mode to work on GitHub issues and implement fixes
  2. Select "📝 Issue Writer" mode to create comprehensive GitHub issues
  3. Benefit from guided workflows with detailed instructions at each step
  4. Leverage GitHub MCP integration for seamless issue and PR management

Both modes follow the established Roo Code patterns and integrate seamlessly with the existing mode system.


Important

Adds Issue Fixer and Issue Writer modes with detailed workflows for GitHub issue management and integration with GitHub MCP tools.

  • Behavior:
    • Adds Issue Fixer mode for fixing issues and creating PRs, with a 10-step workflow in .roo/rules-issue-fixer/1_Workflow.xml.
    • Adds Issue Writer mode for creating issues, with a 7-step workflow in .roo/rules-issue-writer/1_workflow.xml.
    • Integrates both modes with GitHub MCP tools for seamless issue and PR management.
  • Files Added:
    • .roo/rules-issue-fixer/1_Workflow.xml to 9_pr_review_workflow.xml for Issue Fixer mode.
    • .roo/rules-issue-writer/1_workflow.xml to 5_github_mcp_tool_usage.xml for Issue Writer mode.
    • Updates .roomodes to include new modes.
  • Workflows:
    • Issue Fixer: Context retrieval, implementation planning, codebase exploration, solution implementation, verification, testing, summary preparation, PR creation.
    • Issue Writer: Issue type determination, information gathering, GitHub discussion search, codebase exploration, issue drafting, user confirmation, issue creation.

This description was created by Ellipsis for e27f487. You can customize this summary. It will automatically update as commits are pushed.

…stration and implementation processes. Updated role definitions, added detailed workflows for issue resolution, and improved context management and communication guidelines.
… instructions for ensuring correct branch setup before implementation. Updated workflow to include branch context in design planning and final verification processes.
… steps for branch verification, commit checks, and comprehensive PR status monitoring. Improved instructions for ensuring successful PR creation and linking to original issues.
…lows

- 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
@hannesrudolph hannesrudolph changed the title [WIP] Issue modes - Issue Writer and Issue Fixer modes feat: Add Issue Writer and Issue Fixer modes with comprehensive workflows Jun 11, 2025
@hannesrudolph hannesrudolph marked this pull request as ready for review June 11, 2025 19:47
@hannesrudolph hannesrudolph requested review from cte, jr and mrubens as code owners June 11, 2025 19:47
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request labels Jun 11, 2025
@hannesrudolph hannesrudolph moved this from PR [Draft / In Progress] to PR [Needs Review] in Roo Code Roadmap Jun 11, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 11, 2025
@mrubens mrubens merged commit 2ea2663 into main Jun 11, 2025
30 checks passed
@mrubens mrubens deleted the issue_mode branch June 11, 2025 20:00
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Jun 11, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request lgtm This PR has been approved by a maintainer PR - Needs Review size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants