agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/documentation-duty.mdc

Documentation duty

1.4k58d agoReviewMountCreate a free account to mount
langwatchCursor rule

better-agents / rules

langwatch/better-agents/.cursor/rules/docs-directory.mdc

When writing documentation for the repository

1.6k13mo agoReviewMountCreate a free account to mount
VercelCursor rule

streamdown / rules

vercel/streamdown/apps/website/.cursor/.cursor/rules/documentation.mdc

Documentation Writing Style Guide

No other project uses it yet

5.7k16mo agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/documentation.mdc

Standards for OpenLIT documentation, MDX structure, navigation, examples, and terminology.

2.8k5mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/documentation/categories.mdc

Guidelines for placing documentation in the correct category within the docs/source directory

2.7k16mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/documentation/latinisms.mdc

Guidelines for avoiding Latin phrases in documentation to simplify content for a global audience

2.7k16mo 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
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003h-parameters-must-be-documented-on-single-line.mdc

All parameters must be documented with their type and default values on a single line following NumPy docstring style format.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003b-docstring-must-use-raw-string-prefix.mdc

Model and method docstrings must be prefixed with r""" (raw string with triple double quotes) for proper LaTeX rendering in Sphinx documentation.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003i-docstrings-should-include-cross-references.mdc

Docstrings should use Sphinx cross-references (:class:, :func:, :meth:) to link to other code elements and external resources for better documentation connectivity.

3.3k12mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003e-tensor-shapes-must-use-latex-math-notation.mdc

All tensor shapes in docstrings must use LaTeX math notation like :math:`(B, C, H, W)` for proper rendering in Sphinx documentation.

3.3k12mo 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/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
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/repo.mdc

understanding the structure of the monorepo

No other project uses it yet

16k4mo agoReviewMountCreate a free account to mount
0xJackyCursor rule

nginx-ui / rules

0xJacky/nginx-ui/.cursor/rules/backend.mdc

Follow consistent coding standards and formatting rules across the project to enhance clarity. ## 5. Documentation and Comments - **English Language:** All code comments and documentation should be written in English

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/00-language-priority.mdc

variable names, function names, class names, and other identifiers MUST use English words** - **ALL documentation (READMEs, API docs, inline documentation) MUST be in English** - **ALL Git commit messages MUST

No other project uses it yet

7.5k10mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/04-code-formatting.mdc

description: globs: alwaysApply: true --- # Code Formatting Guidelines This document defines the code formatting standards to ensure consistency and readability. ## Formatting Tools The project uses Biome for code formatting and linting

7.5k10mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/05-code-organization.mdc

components - Avoid overusing global state - Consider adopting a predictable state container for complex applications - Document the structure of shared state

7.5k10mo 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.