Use Cursor to help write and maintain documentation. This guide shows how to configure Cursor with the approved repo governance layout for Livepeer Docs.
Canonical Repo Governance
- Repo-wide baseline:
AGENTS.md
- Native Cursor adapter:
.cursor/rules/*.mdc
- Canonical governance docs:
docs-guide/policies/agent-governance-framework.mdx
docs-guide/policies/root-allowlist-governance.mdx
Use Cursor rule files for Cursor-specific adapter behavior only. Shared repo policy should live in AGENTS.md, not be copied into every Cursor rule file.
Prerequisites
- Cursor editor installed
- Access to your documentation repository
Project Rules
Create the Cursor rules directory in your documentation repository root:
Then create one or more .mdc rule files under .cursor/rules/.
Rule Content Guidelines
- Read
AGENTS.md first for repo-wide rules.
- Keep
.cursor/rules/*.mdc focused on Cursor-specific metadata and adapter behavior.
- Link back to the canonical governance docs instead of duplicating the full repo contract.
- Do not recreate a second repo-wide baseline in Cursor-specific files.
Minimal Starter
Create a rule file such as .cursor/rules/repo-governance.mdc that points back to the shared baseline:
Read `AGENTS.md` first for repo-wide rules.
Use this file only for Cursor-specific adapter guidance.
Canonical governance:
- `docs-guide/policies/agent-governance-framework.mdx`
- `docs-guide/policies/root-allowlist-governance.mdx`
Last modified on April 7, 2026