agentleFS

Cursor rules examples

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

Worked for most · soon
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
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
ElasticCursor rule

ml-cpp / rules

elastic/ml-cpp/.cursor/rules/ml-cpp-coding-conventions.mdc

ml-cpp coding conventions and cross-platform considerations

1579mo agoReviewMountCreate a free account to mount
ElasticCursor rule

ml-cpp / rules

elastic/ml-cpp/.cursor/rules/README.md

This directory contains domain-specific knowledge files that help AI coding assistants (Cursor, Claude, Copilot, etc.) understand the ml-cpp codebase, build system, and CI infrastructure. The .mdc files use Cursor Rules…

1579mo agoReviewMountCreate a free account to mount
JetBrainsCursor rule

databao-agent / rules

JetBrains/databao-agent/.cursor/rules/python-style.mdc

Python code style and formatting standards

No other project uses it yet

15610mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

cadgenbench / rules

huggingface/cadgenbench/.cursor/rules/code-audit.mdc

Pre-launch checklist for shipped code paths. Run before announcing the leaderboard publicly. Style basics (Python 3.12+, type hints, sync only, no fallbacks, no silent exception swallowing) live in style.mdc.

No other project uses it yet

1386mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

cadgenbench / rules

huggingface/cadgenbench/.cursor/rules/project-context.mdc

Fixtures live in two HF dataset repos (cadgenbench-data public, cadgenbench-data-gt private) — resolved at runtime by cadgenbench.common.paths. There is no data/ directory in this repo any more. The set is still shifting (parts get added, removed, or replaced as authoring catches issues), so do not hardcode fixture names or counts anywhere; treat the inputs dataset as the source of truth. Fixtures (inputs + ground truth) and authoring/submitter sanity scripts live in two HF dataset repos (cadgenbench-data, cadgenbench-data-gt), resolved at runtime…

No other project uses it yet

1386mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

cadgenbench / rules

huggingface/cadgenbench/.cursor/rules/prose-audit.mdc

Auditable rules for prose on public-facing surfaces (READMEs, docs/, dataset cards, Space app text). Process docs under space-setup/ are exempt. Style basics (em-dashes, AI tells, lowercase) live in style.mdc, not duplicated here.

No other project uses it yet

1386mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

cadgenbench / rules

huggingface/cadgenbench/.cursor/rules/workspace-layout.mdc

Workspace repo layout reminder

1386mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

nsight-vscode-edition / rules

NVIDIA/nsight-vscode-edition/.cursor/rules/cdt-gdb-adapter.mdc

cdt-gdb-adapter is a vendored dependency that can be edited directly if needed to simplify the solution. However, it may not reference anything from the main package.

10517mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

nsight-vscode-edition / rules

NVIDIA/nsight-vscode-edition/.cursor/rules/coding-style.mdc

Use ok for local boolean variables that are used solely for error checking. Reuse this variable across multiple calls unless you actually need to run things and capture errors in…

10517mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

nsight-vscode-edition / rules

NVIDIA/nsight-vscode-edition/.cursor/rules/localized-changes.mdc

Only edit things that are directly relevant to the task at hand. Don't add gratuitous comments to existing code or refactor things not relevant to the change being made unless…

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