Skip to content

Rules Manager

Version Install Download GitHub

Supports rule management for mainstream AI programming tools like Cursor, Cline, VS Code Copilot, and Windsurf, providing features such as cloud sync, tag classification, and one-click add to local projects.

✨ Core Features

🔄 Remote Rule Sync

🎯 Multi-Platform Rule Support

📄 Multi-Format File Support

📋 Intelligent Rule Management

🏷️ Tagging System

🚀 Quick Start

Install Extension

  1. Search for “Rules Manager” in the VS Code Marketplace.
  2. Click “Install” and reload VS Code.

Basic Usage

  1. Open the Rules Manager Panel

    • Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).
    • Search for and execute Rules Manager: Open Rules Manager Panel.
  2. Create a New Rule

    • Click the “New Rule” button in the panel.
    • Select the rule type and file format (multiple formats supported).
    • Enter a filename (length and character legality are automatically validated).
    • Start writing your rule content.
  3. Save Rule to the Cloud

    • Click the “Save to Cloud” button next to a project rule.
    • Add tags for better organization.
    • The rule will be automatically synced to the cloud.

📖 Detailed Features

Project Rule Management

Cloud Rule Library

Sync Functionality

🛠️ Supported Rule Types

PlatformFile LocationSupported FormatsDescription
Cursor.cursor/rules/.md, .yaml, .yml, .json, .txt, .xmlRules for the Cursor AI programming assistant.
Cline.clinerules/.md, .yaml, .yml, .json, .txt, .xmlRules for the Cline AI assistant.
VS Code Copilot.github/.md, .yaml, .yml, .json, .txt, .xmlRules for GitHub Copilot.
Windsurf.windsurf/rules/.md, .yaml, .yml, .json, .txt, .xmlRules for Windsurf AI.

📝 File Format Features

🔧 Configuration

VS Code Settings Sync Setup

  1. Enable Sync

    • Press Cmd+Shift+P to open the Command Palette.
    • Search for “Settings Sync: Turn On”.
    • Select the content you want to sync (ensure “Settings” is included).
  2. Log In to Your Account

    • Supports both Microsoft and GitHub accounts.
    • Choose your preferred login method.
  3. Verify Sync

    • Search for rules-manager.globalRules in the settings.
    • Check if the rule data is synced correctly.

📋 Use Cases

For Individual Developers

For Team Collaboration

For Enterprise Use

🚀 Development Roadmap

🤝 Contribution Guide

Issues and Pull Requests are welcome!

Development Environment Setup

# Clone the repository
git clone <repository-url>
cd rules-manager

# Install dependencies
npm install

# Compile the project
npm run compile

# Start in watch mode
npm run watch

Testing the Extension

  1. Open the project folder in VS Code.
  2. Press F5 to start the Extension Development Host.
  3. Test the extension’s features in the new window.

📄 License

MIT License - See the LICENSE file for details.


Make AI programming more efficient, and rule management simpler! 🎉