Skip to content

dyoshikawa/rulesync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2,908 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rulesync Logo

Rulesync

CI npm version npm downloads Ask DeepWiki Mentioned in Awesome Claude Code Mentioned in Awesome Gemini CLI

Documentation | npm

A Node.js CLI tool that automatically generates configuration files for various AI development tools from unified AI rule files. Features selective generation, comprehensive import/export capabilities, and supports major AI development tools with rules, commands, MCP, ignore files, subagents and skills.

Note

If you are interested in Rulesync latest news, please follow the maintainer's X(Twitter) account: @dyoshikawa1993

Installation

npm install -g rulesync
# or
brew install rulesync

Single Binary (Experimental)

curl -fsSL https://github.com/dyoshikawa/rulesync/releases/latest/download/install.sh | bash

See Installation docs for manual install and platform-specific instructions.

Getting Started

# Create necessary directories, sample rule files, and configuration file
rulesync init

# Install official skills (recommended)
rulesync fetch dyoshikawa/rulesync --features skills

# Generate unified configurations with all features
rulesync generate --targets "*" --features "*"

If you already have AI tool configurations:

# Import existing files (to .rulesync/**/*)
rulesync import --targets claudecode    # From CLAUDE.md
rulesync import --targets cursor        # From .cursorrules
rulesync import --targets copilot       # From .github/copilot-instructions.md

See Quick Start guide for more details.

Supported Tools and Features

Tool --targets rules ignore mcp commands subagents skills hooks
AGENTS.md agentsmd โœ… ๐ŸŽฎ ๐ŸŽฎ ๐ŸŽฎ
AgentsSkills agentsskills โœ…
Claude Code claudecode โœ… ๐ŸŒ โœ… โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ
Codex CLI codexcli โœ… ๐ŸŒ โœ… ๐ŸŒ ๐Ÿ”ง ๐ŸŒ โœ… โœ… ๐ŸŒ
Gemini CLI geminicli โœ… ๐ŸŒ โœ… โœ… ๐ŸŒ โœ… ๐ŸŒ ๐ŸŽฎ โœ… ๐ŸŒ โœ… ๐ŸŒ
Goose goose โœ… ๐ŸŒ โœ…
GitHub Copilot copilot โœ… ๐ŸŒ โœ… โœ… โœ… โœ… โœ…
Cursor cursor โœ… โœ… โœ… โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ…
Factory Droid factorydroid โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ
OpenCode opencode โœ… ๐ŸŒ โœ… ๐ŸŒ ๐Ÿ”ง โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ โœ… ๐ŸŒ
Cline cline โœ… โœ… โœ… โœ… ๐ŸŒ โœ… ๐ŸŒ
Kilo Code kilo โœ… ๐ŸŒ โœ… โœ… โœ… ๐ŸŒ โœ… ๐ŸŒ
Roo Code roo โœ… โœ… โœ… โœ… ๐ŸŽฎ โœ… ๐ŸŒ
Qwen Code qwencode โœ… โœ…
Kiro kiro โœ… โœ… โœ… โœ… โœ… โœ…
Google Antigravity antigravity โœ… โœ… โœ… ๐ŸŒ
JetBrains Junie junie โœ… โœ… โœ… โœ… โœ…
AugmentCode augmentcode โœ… โœ…
Windsurf windsurf โœ… โœ…
Warp warp โœ…
Replit replit โœ… โœ…
Zed zed โœ…
  • โœ…: Supports project mode
  • ๐ŸŒ: Supports global mode
  • ๐ŸŽฎ: Supports simulated commands/subagents/skills (Project mode only)
  • ๐Ÿ”ง: Supports MCP tool config (enabledTools/disabledTools)

Documentation

For full documentation including configuration, CLI reference, file formats, programmatic API, and more, visit the documentation site.

License

MIT License