agentleFS

Cursor rules examples

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

Worked for most · soon
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/dresources.mdc

../../.agents/rules/dresources.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/pydabs-acceptance-tests.mdc

../../.agents/rules/pydabs-acceptance-tests.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/style-guide-go.mdc

../../.agents/rules/style-guide-go.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/style-guide-py.mdc

../../.agents/rules/style-guide-py.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/telemetry.mdc

../../.agents/rules/telemetry.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/template-versions.mdc

../../.agents/rules/template-versions.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/testing.mdc

../../.agents/rules/testing.md

4054mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

IsaacCapture / rules

NVIDIA/IsaacCapture/.cursor/rules/cmake-structure.mdc

IsaacTeleop CMake target layout and #include conventions — apply when editing CMakeLists.txt, adding/moving targets, placing headers, or writing #include directives.

No other project uses it yet

3906mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

Megatron-Energon / rules

NVIDIA/Megatron-Energon/.cursor/rules/python-uv-unittest.mdc

Python environment and unittest workflow for Megatron-Energon

No other project uses it yet

3847mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/agent-runtime.mdc

Use when working on FinnTS agent runtime rules.

No other project uses it yet

2753mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/multistep.mdc

Use when working on FinnTS multistep model rules.

No other project uses it yet

2753mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/optional-dependencies.mdc

Use when working on FinnTS optional dependency rules.

No other project uses it yet

2753mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/r-package.mdc

Use when working on FinnTS r package rules.

2753mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/testing.mdc

Use when working on FinnTS testing rules.

2753mo agoReviewMountCreate a free account to mount
MongoDBCursor rule

leafygreen-ui / rules

mongodb/leafygreen-ui/.cursor/rules/generate-pull-request-details.mdc

This rule can be used to generate pull request title and description. This rule depends on the `@Branch (Diff with Main Branch)` being included in the context to generate better pull request details.

No other project uses it yet

2737mo agoReviewMountCreate a free account to mount
NVIDIAReads credentialsCursor rule

G-Assist / rules

NVIDIA/G-Assist/plugins/plugin-builder/.cursor/rules/RULE.md

Guide developers through creating a new G-Assist plugin using the SDK-based Protocol V2.

No other project uses it yet

24811mo agoReviewMountCreate a free account to mount
PostHogReads credentialsCursor rule

wizard / rules

PostHog/wizard/e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc

apply when interacting with PostHog/analytics tasks

1 project uses a version of this

1972mo agoReviewMountCreate a free account to mount
ElasticCursor rule

ml-cpp / rules

elastic/ml-cpp/.cursor/rules/ml-cpp-buildkite-ci.mdc

Buildkite CI pipeline structure, API access, and known patterns

No other project uses it yet

1579mo agoReviewMountCreate a free account to mount
ElasticCursor rule

ml-cpp / rules

elastic/ml-cpp/.cursor/rules/ml-cpp-build-system.mdc

ml-cpp build system knowledge — CMake, Gradle, Docker, CI

No other project uses it yet

1579mo agoReviewMountCreate a free account to mount
ElasticCursor rule

ml-cpp / rules

elastic/ml-cpp/.cursor/rules/ml-cpp-ci-analytics.mdc

CI build timing analytics, Elasticsearch integration, and AI failure analysis

No other project uses it yet

1579mo 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.