Esta página se muestra en inglés. Una traducción al español está en curso.
PromptsMay 11, 2026·2 min de lectura

Ruler — One Source of Truth for Agent Rules

Ruler centralizes agent instructions in a .ruler/ directory and generates CLAUDE.md, AGENTS.md, Cursor rules, and MCP configs from one config.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 96/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Prompt
Instalación
Single
Confianza
Confianza: Community
Entrada
Asset
Comando de instalación directa
npx -y tokrepo@latest install 4f2539b3-dd26-40a0-ade4-9c300f752a20 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introducción

Best for: teams using multiple coding agents who want consistent instructions and MCP config propagation across tools

Works with: Node.js + npm/npx, a repo with agent config files (CLAUDE.md/AGENTS.md/.cursor), optional nested project structures

Setup time: 10 minutes

Quant Data

  • Supports Claude Code, Cursor, Codex, Copilot and more (repo)
  • Setup time ~10 minutes

How to Use It Well

Start with a short .ruler/AGENTS.md that encodes your real workflow (tests, style, safety). Then turn on nested mode only where components truly differ.

Adoption Checklist

  • Start with one real task and keep the scope narrow
  • Capture a baseline: time-to-first-success and output quality
  • Version your config/skills so teammates stay in sync

Guardrails

Generated files should stay generated. Avoid manual edits downstream; treat .ruler/ as the only editable surface.

FAQ

Q: Is it production-ready? A: The README labels it as a beta research preview; adopt it in one repo first and keep rollbacks simple.

Q: How does it avoid drift? A: Rules live in .ruler/ and Ruler regenerates downstream config files, so you maintain one source of truth.

Q: Can it handle monorepos? A: Yes. The repo documents nested rule loading for multiple .ruler/ directories with scoped configs.


🙏

Fuente y agradecimientos

GitHub: https://github.com/intellectronica/ruler Owner avatar: https://avatars.githubusercontent.com/u/46264?v=4 License (SPDX): MIT GitHub stars (verified via api.github.com/repos/intellectronica/ruler): 2,688

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados