agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/incremental-development-cadence.mdc

Enforce step-by-step implementation with design-doc checks, tests, and i18n after each step

18k7mo agoReviewMountCreate a free account to mount
NVIDIAReads credentialsCursor rule

NeMo-Agent-Toolkit / rules

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/general.mdc

Follow these rules when creating, modifying, or generating any code, tests, documentation, or configuration files

No other project uses it yet

2.7k16mo agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/security-testing.mdc

Authorization, input validation, CE boundary, secrets, and test guidance for OpenLIT server code.

2.8k5mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003j-docstrings-should-include-examples-section.mdc

Docstrings should include an Examples section with executable code demonstrating usage, as these are automatically tested by CI for correctness.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/general.mdc

Follow these rules when the user's request involves writing, creating, or modifying tests for NeMo Agent Toolkit

2.7k16mo agoReviewMountCreate a free account to mount
NVIDIAReads credentialsCursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/integration-tests.mdc

Follow these rules when the user's request involves writing, creating, or modifying integration tests for NeMo Agent Toolkit workflows

2.7k16mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008a-model-missing-constructor-attributes-tests.mdc

Every model must have CI tests verifying constructor instantiation and all public attributes (excluding buffers/parameters) using pytest parameterization.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008c-model-missing-checkpoint-loading-test.mdc

Every model must have tests that load from checkpoint files (.mdlus), verify attributes, and compare outputs against reference data to ensure serialization works correctly.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008b-model-missing-non-regression-test-with-reference-data.mdc

Every model must have non-regression tests comparing outputs against reference data saved in .pth files, using realistic tensor shapes and pytest parameterization.

3.3k12mo agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/coding-agents-hook.mdc

Authoring and testing coding-agent hook adapters, including payload probing, session state, capture modes, and plugin manifests. Consult the telemetry convention when changing canonical attributes.

No other project uses it yet

2.8k5mo agoReviewMountCreate a free account to mount
multica-aiCursor rule

andrej-karpathy-skills / rules

multica-ai/andrej-karpathy-skills/.cursor/rules/karpathy-guidelines.mdc

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.

Steady9 mentions in 2 weeks

4 projects use a version of this

217k8mo agoReviewMountCreate a free account to mount
DietrichGebertCursor rule

ponytail / rules

DietrichGebert/ponytail/.cursor/rules/ponytail.mdc

Ponytail, lazy senior dev mode. Always pick the simplest solution that works.

Steady14 mentions in 2 weeks

No other project uses it yet

197k6mo agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/django-python.mdc

Rules for writing Python services at PostHog (Python servers powered by the Django framework)

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/react-typescript.mdc

Rules for writing frontend code at PostHog (mostly React + Typescript with Kea)

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/rust.mdc

Rules for writing Rust services at PostHog. Focuses on writing async Rust with Tokio and encoding general Rust best practices from the Rust book and docs.

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
VercelCursor rule

chatbot / rules

vercel/chatbot/.cursor/rules/ultracite.mdc

Ultracite Rules - AI-Ready Formatter and Linter

5 projects use a version of this

21k14mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc

Require reading dev-guides before development and keeping docs in sync

No other project uses it yet

18k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/i18n-no-hardcoded-strings.mdc

No hardcoded UI strings — use i18n translation keys

18k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/implementation-review-checklist.mdc

Require structural code review after implementation before final response

18k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/test-driven-workflow.mdc

测试优先开发与测试保护规则。确保新功能/Bug 修复必须有测试覆盖,测试失败时先诊断后修改。

18k7mo 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.