Show HN: rulesync – CLI for bulk rule management across multiple AI coding tools

1 dyoshikawa 0 6/26/2025, 12:04:51 AM github.com ↗
There are various AI coding tools like Claude Code, Cursor, Copilot, Cline, Roo... (and Gemini CLI was also recently released), but the rule file specifications for each AI tool are not compatible.

So I created a CLI tool that can automatically generate rule files for each tool by just creating and updating one group of md files, and published it as the `rulesync` npm package (of course, it supports Gemini CLI too!).

The usage is simple:

1. Create `.rulesync/.md` sample files. `npx rulesync init` (Or, if you already have rule files like Cursor's, you can convert them to rulesync files. `npx rulesync import --cursor`)

2. Edit `.rulesync/.md` to your liking. (You can add file templates with `npx rulesync add {RULE_NAME}`)

3. Generate rule files for the AI tools you want. `npx rulesync generate --cursor --claudecode --geminicli`

Thank you.

Comments (0)

No comments yet