Skip to content
/ syncai Public

Sync AI agent rules across all your development tools. One source of truth for Claude, Copilot, Cursor & more.

License

Notifications You must be signed in to change notification settings

nxnom/syncai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SyncAI - Sync AI Rules Across All Your Dev Tools

   ███████╗██╗   ██╗███╗   ██╗ ██████╗     █████╗ ██╗
   ██╔════╝╚██╗ ██╔╝████╗  ██║██╔════╝    ██╔══██╗██║
   ███████╗ ╚████╔╝ ██╔██╗ ██║██║         ███████║██║
   ╚════██║  ╚██╔╝  ██║╚██╗██║██║         ██╔══██║██║
   ███████║   ██║   ██║ ╚████║╚██████╗    ██║  ██║██║
   ╚══════╝   ╚═╝   ╚═╝  ╚═══╝ ╚═════╝    ╚═╝  ╚═╝╚═╝

🔄 Sync AI agent rules across all your development tools

License: MIT Node.js Version PRs Welcome

🤔 The Problem

Are you tired of maintaining separate instruction files for every AI code assistant? Do you find yourself copying and pasting the same rules across multiple files whenever you make updates?

✨ The Solution

SyncAI solves this by creating a single Rules.md file that automatically syncs to all your AI agent configuration files through symbolic links.

Edit once, update everywhere!

🚀 Quick Start

Installation

# Install globally via npm
npm install -g syncai

# Or using yarn
yarn global add syncai

# Or run directly with npx (no installation needed)
npx syncai

Install from source

# Clone the repository
git clone https://github.com/nxnom/syncai.git
cd syncai

# Install dependencies
yarn install

# Link globally
yarn link

Usage

# Interactive mode (recommended for first time)
syncai

# Skip all prompts and use defaults
syncai -y

📸 Demo

AGRG Demo

🤝 Contributing

We welcome contributions! If your favorite AI agent or code editor isn't supported yet, please create a Pull Request.

Adding Support for New AI Agents

  1. Fork the repository
  2. Edit cli.js and add your agent to the SYMLINK_OPTIONS array:
    const SYMLINK_OPTIONS = [
      // ... existing options
      { name: 'Your Agent Name', value: '.youragentfile' }
    ];
  3. Submit a Pull Request with:
    • The agent/editor name
    • The expected file location
    • A link to documentation (if available)

Development

# Run locally
node cli.js

🔧 How It Works

  1. Creates Rules.md: If it doesn't exist, AGRG creates it with sensible defaults
  2. Creates Symlinks: Selected files are symlinked to Rules.md
  3. Updates .gitignore: Optionally adds symlinked files to .gitignore
  4. Single Edit Point: Edit Rules.md and all symlinked files update automatically

📄 License

MIT License - see LICENSE file for details

🐛 Issues & Feature Requests

Found a bug or have a feature request? Please open an issue.


Made with ❤️ by developers, for developers

About

Sync AI agent rules across all your development tools. One source of truth for Claude, Copilot, Cursor & more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published