Alternative tool integration
This repository is intentionally tool-agnostic at its core. Cursor is supported via thin adapters; other AI-augmented IDEs and agents can consume the same canonical content without adopting .mdc format.
Canonical sources (use these first)
| Asset | Typical use |
|---|---|
AGENTS.md | Primary agent entry point; purpose, boundaries, quick reference |
docs/*.md | Deep policy, rationale, governance |
templates/ | Bootstrapping consumer repos |
README.md | Human onboarding and index |
Any tool that can include repository files in context should prioritize these paths.
Why portable Markdown
- Reviewability — architects diff policy in GitLab like code
- Longevity — not tied to one vendor's rule file format
- Composability — multiple tools read the same sentences without sync drift
- Human parity — developers and agents share one truth
Tool-specific files should be thin adapters: summaries, guardrails, and pointers — not a second full policy corpus.
Integration patterns by tool class
IDE agents with project rules (Cursor, similar)
- Materialize or symlink
cursor/rules/*.mdcinto workspace.cursor/rules/ - Add local overlays for exceptions
- See cursor-integration.md
CLI / cloud agents (custom scripts, CI bots)
- Pass
AGENTS.mdand selecteddocs/paths in the system or project prompt - Pin submodule revision in CI for reproducible agent behavior
- Example prompt header: "Follow tools/ai-rules/AGENTS.md and tools/ai-rules/docs/governance.md"
GitHub/GitLab Copilot-style instructions
- Map
AGENTS.mdcontent to vendor instruction files in the consumer if required - Keep generated/vendor files derived from submodule content, documented as downstream artifacts
- Regenerate when submodule bumps; do not treat vendor file as authoritative
MCP / custom knowledge bases
- Index
docs/andAGENTS.mdfromtools/ai-rules/at a fixed revision - Include
repository-layout.mdandcmake-conan-policy.mdfor build tasks
Adapter authoring guidelines
When adding support for a new tool:
- Add a short doc section or
docs/<tool>-integration.mdif non-trivial - Place adapter files in a clearly named directory (e.g.
cursor/rules/, futurecopilot/if needed) - Each adapter file should reference canonical doc paths under
tools/ai-rules/ - Avoid duplicating paragraphs from
docs/— link by path
What not to do
- Move policy exclusively into a tool-specific format
- Require a proprietary sync pipeline for basic agent correctness
- Fork
AGENTS.mdper tool with divergent semantics
Testing multi-tool consistency
When changing policy here, ask:
- Can an agent with only
AGENTS.md+ one doc follow the change? - Do Cursor adapters still point to the updated doc sections?
- Do consumer templates need updates?
Related documents
- architecture.md — layered model
- governance.md — what belongs here
- cursor-integration.md — Cursor specifics