Cette page est affichée en anglais. Une traduction française est en cours.
PromptsMay 11, 2026·2 min de lecture

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.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Stage only · 29/100Stage only
Surface agent
Tout agent MCP/CLI
Type
CLI Tool
Installation
Single
Confiance
Confiance : Community
Point d'entrée
README.md
Commande CLI universelle
npx tokrepo install 4f2539b3-dd26-40a0-ade4-9c300f752a20
Introduction

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.


🙏

Source et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires