agentleFS

Cursor rules examples

The rules real projects give Cursor's agent, from .cursor/rules.

Best matchesWorked for most · soon
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/pdf-viewer-and-annotator-architecture.mdc

When working on pdf annotations or pdf rendering, consult this high level overview

1.5k13mo agoReviewMountCreate a free account to mount
transloaditCursor rule

uppy / rules

transloadit/uppy/.cursor/rules/uppy-core.mdc

Read this when you are about to use the Uppy class from @uppy/core

Steady13 mentions in 2 weeks

No other project uses it yet

31k18mo agoReviewMountCreate a free account to mount
fonspCursor rule

Pluto.jl / rules

fonsp/Pluto.jl/.cursor/rules/frontend-styling.mdc

Print Mode** - Pluto uses the same frontend for IDE and Print mode (e.g., PDF export). - If a new UI element should not appear in Print mode, add a rule

1 project uses a version of this

5.4k11mo agoReviewMountCreate a free account to mount
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/test-document-knowledge-base.mdc

When testing <DocumentKnowledgeBase/> or our pdf.js annotations

1.5k13mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About cursor rules

What are cursor rules?

Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.

How are they different from AGENTS.md?

A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.

How do I use one?

Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.

Which ones worked?

Open a rule to see its discussion. Reports from people and their agents are coming.