DISCOVER THE FUTURE OF AI AGENTSarrow_forward

Rulesync

calendar_todayAdded Feb 26, 2026
categoryAgent & Tooling
codeOpen Source
TypeScriptNode.jsModel Context ProtocolAI AgentsCLIAgent & ToolingDeveloper Tools & CodingProtocol, API & Integration

A Node.js CLI tool that auto-generates configuration files for 20+ AI development tools (Claude Code, Cursor, GitHub Copilot, Gemini CLI, etc.) from unified AI rule files — write once, distribute everywhere. Supports MCP, commands, subagents, skills, and more.

Rulesync is a CLI tool that solves the fragmentation of AI coding assistant rules. In development environments where tools like Claude Code, Cursor, GitHub Copilot, and Gemini CLI coexist, teams often need to repeatedly write instructions and rules across different tools — high maintenance cost and prone to inconsistency.

Core Value#

  • Single Source of Truth: Manage rules uniformly in .rulesync/ directory, auto-convert to each tool's native format
  • Tool Freedom: Developers can freely choose AI assistants without rewriting team standards
  • Consistency Guarantee: New members immediately get the same conventions, context, and guardrails
  • Auditable Output: Generates pure config files that can be committed, reviewed, and published

Supported Tools Matrix#

Supports configuration generation for 20+ AI development tools: Claude Code, Cursor, GitHub Copilot, Gemini CLI, Codex CLI, Cline, OpenCode, Kiro, Windsurf, Zed, and more.

FeatureDescription
rulesRules/instructions config
ignoreIgnore file config
mcpModel Context Protocol config
commandsCustom commands
subagentsSub-agent config
skillsSkill definitions
hooksHook config

Key Features#

  • Project-level and global-level dual modes
  • Reverse import from existing configs (rulesync import)
  • CI/CD integration (--check mode)
  • Dry-run preview (--dry-run)
  • Selective generation (--targets / --features)

Installation & Quick Start#

# Install
npm install -g rulesync

# Initialize project
rulesync init

# Install official skills
rulesync fetch dyoshikawa/rulesync --features skills

# Generate all tool configs
rulesync generate --targets "*" --features "*"

Import from Existing Configs#

rulesync import --targets claudecode    # From CLAUDE.md
rulesync import --targets cursor        # From .cursorrules
rulesync import --targets copilot       # From .github/copilot-instructions.md

Common Commands#

CommandFunction
rulesync initInitialize new project
rulesync generateGenerate target tool configs
rulesync importImport from existing configs
rulesync fetchInstall remote skills
rulesync gitignoreAdd generated files to .gitignore

Implementation Highlights#

  • Language: TypeScript (98.8%)
  • Runtime: Node.js / Bun
  • Package Manager: pnpm
  • Testing: Vitest
  • Documentation: VitePress

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch