Centralize AI coding agent instructions
Top 70.4% on sourcepulse
Ruler centralizes AI coding assistant instructions, providing a single source of truth for teams to manage and distribute consistent guidance across multiple AI agents like GitHub Copilot, Claude, and Aider. This tool simplifies onboarding, reduces configuration duplication, and mitigates context drift by automatically applying rules to agent-specific configuration files.
How It Works
Ruler operates by consolidating Markdown files from a .ruler/
directory (or a global configuration) into a unified set of instructions. These instructions are then automatically distributed to the configuration files of supported AI agents, as defined in a ruler.toml
file. It also manages Model Context Protocol (MCP) server settings and automatically updates .gitignore
to exclude generated configuration files.
Quick Start & Requirements
npm install -g @intellectronica/ruler
or use npx @intellectronica/ruler
.ruler init
in your project's root directory.Highlighted Details
.gitignore
to keep generated files out of version control.ruler revert
command to safely undo changes.Maintenance & Community
The project is maintained by intellectronica. Contributions are welcome via pull requests. Issues and feature requests can be submitted via the GitHub issues page.
Licensing & Compatibility
Limitations & Caveats
Currently, all agents receive the same concatenated rules; agent-specific instructions must be manually segmented within rule files. The project is described as a "Beta Research Preview," suggesting potential for instability or breaking changes.
22 hours ago
Inactive