agentleFS
Sign inSign up

Cursor rules examples

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

Most stars first · from page 17Worked for most · soon
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.5k12mo agoDiscuss
nixopusCursor rule

nixopus / rules

nixopus/nixopus/.cursor/rules/backend.mdc

Go API Development Rules for Nixopus Backend

1.5k7mo agoDiscuss
nixopusCursor rule

nixopus / rules

nixopus/nixopus/.cursor/rules/frontend.mdc

TypeScript Next.js View Component Development Rules

1.5k7mo agoDiscuss
kodustechCursor rule

kodus-ai / rules

kodustech/kodus-ai/.cursor/rules/run.mdc

No summary in the file. Open it to read it.

1.4k6mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/api.mdc

Public API surface, binary compatibility, and common classes to modify

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/continuous_profiling_jvm.mdc

JVM Continuous Profiling (sentry-async-profiler)

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/deduplication.mdc

Java SDK Event deduplication

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/new_module.mdc

Module Addition Rules for sentry-java

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/opentelemetry.mdc

Java SDK OpenTelemetry Integration

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/options.mdc

Adding and modifying SDK options

1.4k5mo agoDiscuss
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/queues.mdc

Sentry Queues module and Java SDK queue tracing

1.4k5mo agoDiscuss
coollabsioCursor rule

jean / rules

coollabsio/jean/.cursor/rules/main.mdc

@import ../../CLAUDE.md

1.3k8mo agoDiscuss
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/architecture.mdc

Architecture (entry points)

1.3k9d agoDiscuss
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/build-test.mdc

Build & test

1.3k9d agoDiscuss
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.