Skip to content

Feature Request: Generate tool-specific ignore files from a central .rulesyncignore #9

@mkanakana

Description

@mkanakana

Problem:

Many AI tools (Copilot, Gemini, Roo, etc.) support their own ignore files (e.g., .copilotignore, .geminiignore) to exclude files from their context. When using multiple tools in a project, developers have to maintain several ignore files with largely identical content. This is redundant and error-prone.

Proposal:

Introduce a feature to generate these tool-specific ignore files from a single, central file named .rulesyncignore.

  1. Create a .rulesyncignore file: Users will create a .rulesyncignore file in the project root, using the same syntax as .gitignore.

  2. Extend the generate command: The rulesync generate command will be updated to:

    • Read the content of .rulesyncignore.
    • Write that content to the respective ignore files for each supported tool (e.g., .copilotignore, .geminiignore, .rooignore).

Benefits:

  • Single Source of Truth: Manages all ignore rules in one place.
  • Consistency: Ensures consistent behavior across all AI tools.
  • Simplified Maintenance: Reduces the effort of keeping multiple configuration files in sync.

This will allow developers to manage ignored files efficiently, following the DRY (Don't Repeat Yourself) principle. The rulesync gitignore command should also be updated to add the generated tool-specific ignore files to the project's .gitignore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions