agentleFS
Sign inSign up

Cursor rules examples

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

Most stars first · from page 7Worked for most · soon
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/type-safety.mdc

TypeScript safety rules — no casts, no any, no unknown in signatures

1.5k9d 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
SentryCursor rule

sentry-go / rules

getsentry/sentry-go/.cursor/rules/changelog.mdc

When creating or updating changelogs for the Sentry Go SDK, follow these rules: Before creating a changelog entry, collect all changes since the last release tag: Always base changelog entries on the complete set of commits since the last release tag to ensure no changes are missed. Use semantic versioning (e.g., 0.34.0) with this format: Include sections in this exact order (only include sections that have content): markdown ## 0.34.1 The Sentry SDK team is happy to announce the immediate…

1.1k15mo 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.