π Sync AI coding rules from external Git repositories and automatically generate configuration files for various AI tools
- π Multi-Source Support - Sync rules from multiple Git repositories
- π Auto Sync - Schedule or manually sync rule updates
- π― Smart Adapters - Generate configs for Cursor, Copilot, Continue, and custom tools
- π§ Skills Support - Full support for AI agent skills (Cursor Skills, Copilot Skills)
- Directory structure preservation with
skill.mddetection - Automatic resource copying (images, configs, etc.)
- Source filtering for multi-repository skills management
- Directory structure preservation with
- π Rule Search - Quickly find and browse rules
- π Private Repos - Support Token authentication
- π Visual Management - Tree view and status bar integration
- π Multi-Language - UI supports English/Chinese
- Welcome Page - First-launch guide with quick start steps and template library
- Statistics Dashboard - Visual analytics with charts, metrics, and export capabilities
- Rule Details Panel - Comprehensive rule inspector with metadata and content preview
- Advanced Search - Multi-criteria search with history, filters, and export (JSON/CSV)
- Rule Selection - Batch select rules via UI and sync to multiple adapters
- Tree View - Priority icons, tooltips, context menus (edit/test/toggle/copy/export)
- Status Bar - Multi-state indicator with progress feedback and quick actions
β οΈ Multi-root Workspace Limitation: This extension currently has limited support for multi-root workspaces. It's recommended to use it in single workspace environments. Learn more
Search for Turbo AI Rules in VS Code Extension Marketplace and install.
Method 1: Via Status Bar
- Click Turbo AI Rules status bar icon β Select Add Source
Method 2: Via Command Palette
- Press
Ctrl+Shift+P(Mac:Cmd+Shift+P) - Type
Turbo AI Rules: Add Source
Enter your Git repository information:
Repository URL: https://github.com/username/ai-rules.git
Branch: main (optional)
Subpath: rules (optional, e.g., rules or docs/rules)
Display Name: My Rules (optional)
Access Token: ghp_xxxx (for private repos only)
After adding a source, sync is triggered automatically. You can also manually sync:
- Command Palette:
Turbo AI Rules: Sync Rules - Status Bar: Click Turbo AI Rules β Sync Rules
Check your workspace root directory:
workspace/
βββ .cursorrules # β
Cursor config (generated by default)
Note: Only Cursor adapter is enabled by default. To use other AI tools, enable the corresponding adapters in settings (Command Palette:
Turbo AI Rules: Manage Adapters).
- π Complete User Guide - Detailed usage instructions
- π 01. Commands Reference - All available commands
- βοΈ 02. Configuration Guide - Config options and examples
- π 03. Rule File Format - How to write rules
- β 04. FAQ - Frequently asked questions
| Tool | Config File | Default Status | Description |
|---|---|---|---|
| Cursor | .cursorrules |
β Enabled | AI-first code editor |
| Windsurf | .windsurfrules |
βοΈ Disabled | Codeium AI IDE |
| GitHub Copilot | .github/copilot-instructions.md |
βοΈ Disabled | GitHub official AI pair programmer |
| Continue | .continuerules |
βοΈ Disabled | Open-source AI coding assistant (VSCode ext) |
| Cline | .clinerules |
βοΈ Disabled | Autonomous coding agent (formerly Claude Dev) |
| Roo-Cline | .roorules |
βοΈ Disabled | Enhanced fork of Cline |
| Aider | .aider.conf.yml |
βοΈ Disabled | AI pair programming in the terminal |
| Bolt.new | .bolt/prompt |
βοΈ Disabled | StackBlitz AI-powered full-stack development |
| Cursor Skills | .cursor/skills |
βοΈ Disabled | Cursor AI skills library |
| GitHub Copilot Skills | .github/skills |
βοΈ Disabled | GitHub Copilot agent skills |
| Custom Adapters | Configurable | βοΈ On-demand | Support any AI tool with custom configuration |
The extension supports dual-mode parsing for flexibility and manageability:
β Compatible with existing community rule files (e.g., awesome-cursorrules) β Frontmatter is optional, supports pure Markdown files β Automatically extracts metadata from filename/content
Standard format (Cursor/Copilot community standard):
---
description: TypeScript best practices guide
globs: **/*.{ts,tsx}
---
# TypeScript Best Practices
Use camelCase for variables...Pure Markdown (no frontmatter):
# TypeScript Best Practices
Use camelCase for variables...For enterprise-level rule library management requiring precise control:
---
id: typescript-naming # Required: kebab-case format
title: TypeScript Naming # Required
description: TypeScript best practices guide
globs: **/*.{ts,tsx}
priority: high # Optional: low/medium/high
tags: [typescript, naming] # Optional
---
# TypeScript Naming Conventions
Use camelCase for variables...Enable strict mode:
{
"turbo-ai-rules.parser.strictMode": true,
"turbo-ai-rules.parser.requireFrontmatter": true
}π Detailed documentation: Rule File Format
- π¦ Team Collaboration - Share coding standards across team projects
- π Learning - Apply best practices from community rule repositories
- π Multi-Project - Sync same rules across multiple projects
- π οΈ Custom Tools - Support any AI tool with custom adapters
This extension currently has limited support for multi-root workspaces (VS Code workspaces with multiple project folders).
Current Behavior:
- β Extension can be activated in multi-root workspaces
β οΈ Only the first workspace folder will be used for operationsβ οΈ User confirmation required before sync/generate operations- β Cannot guarantee correct behavior across all workspace folders
Recommended Usage:
- π Use in single workspace environments for best experience
- π Open each project folder separately when using this extension
Why This Limitation?
- Rule selection state management becomes complex in multi-root scenarios
- Workspace context can be lost when switching between webviews and editors
- Maintaining simplicity and reliability for the primary use case
Future Plans: We may add full multi-root workspace support in future versions based on user feedback.
Contributions are welcome! Please read our Contributing Guide.
Ways to contribute:
- π Report bugs via GitHub Issues
- π‘ Suggest features
- π Improve documentation
- π§ Submit pull requests
- π Changelog - Version history
- βοΈ License - MIT License
- π¬ Discussions - Q&A and ideas
This project is licensed under MIT License. See LICENSE for details.
- π§ Email: ygqygq2@qq.com
- π GitHub: @ygqygq2
β If this project helps you, please give it a Star! β
Made with β€οΈ by ygqygq2