← All repos

ruler

Ruler — apply the same rules to all coding agents

agentsaiaiderclaude-codecodexcursorgithub-copilotvibe-codingwindsurf
Browse cluster: Claude AI Agent Frameworks & MCP Tools
1,046commits
29contributors
2languages

Tech stack & purpose

Ruler is a tool that centralizes instructions for AI coding agents by providing a single source of truth for rules that are then automatically distributed to different agent configuration files. The project addresses the problem of managing inconsistent and duplicated configurations across multiple AI tools like GitHub Copilot, Claude, Cursor, Aider, and many others, which each require their own setup files. Built in Node.js and distributed as an npm package, Ruler uses Markdown files stored in a `.ruler/` directory along with a `ruler.toml` configuration file to manage rules, including support for nested rule loading in complex project structures and Model Context Protocol server settings. The project is maintained by intellectronica and published under the MIT license.

Community & reference links

Languages

TypeScript
99.8%
JavaScript
0.2%

Contributors