English | 中文 | 📖 Documentation
AI Rules Sync (AIS) — Synchronize, manage, and share your AI agent rules across projects and teams.
Stop copying .mdc files around. Manage your rules in Git repositories and sync them via symbolic links.
- 🔄 Sync Once, Update Everywhere — Single source of truth, edit once, update all projects
- 🧩 Multi-Repository — Mix rules from company standards, community collections, and personal preferences
- 🤝 Team Sharing — Share coding standards via Git, onboard new members with
ais install - 🔒 Privacy First — Keep sensitive rules local with
ai-rules-sync.local.json - 🛠️ Multi-Tool Support — One workflow for Cursor, Copilot, Claude Code, and 8+ more tools
This table is generated from docs/supported-tools.json via npm run docs:sync-tools.
npm install -g ai-rules-syncbrew tap lbb00/ai-rules-sync https://github.com/lbb00/ai-rules-sync
brew install aisVerify:
ais --versioncd your-project
# Add a rule (specify repository URL the first time)
ais cursor add react -t https://github.com/your-org/rules-repo.git
# After first use, omit -t
ais cursor add vue
ais copilot instructions add coding-standards
ais claude skills add code-review# Import a rule from your project into the repository
ais cursor rules import my-custom-rule
# Optionally push to remote
ais cursor rules import my-rule --push# Restore all rules from ai-rules-sync.json
ais install# Sync personal configs to $HOME
ais claude md add CLAUDE --user
ais gemini md add GEMINI --user
# Restore on a new machine
ais user install📖 Full documentation: https://lbb00.github.io/ai-rules-sync/
- Getting Started
- Project-Level Sync
- User Global-Level Sync
- Multiple Repositories
- CLI Reference
- Configuration Reference
- Documentation: https://lbb00.github.io/ai-rules-sync/
- Issues: https://github.com/lbb00/ai-rules-sync/issues
- NPM: https://www.npmjs.com/package/ai-rules-sync
Unlicense - Free to use, modify, and distribute.
