agentleFS
Sign inSign up

Cursor rules examples

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

Most stars first · from page 3Worked for most · soon
DietrichGebertCursor rule

ponytail / rules

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

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

143k4mo agoDiscuss
colbymchenryCursor rule

codegraph / rules

colbymchenry/codegraph/.cursor/rules/codegraph.mdc

CodeGraph MCP usage guide — one tool, codegraph_explore

72k57d agoDiscuss
calesthioCursor rule

OpenMontage / rules

calesthio/OpenMontage/.cursor/rules/openmontage.mdc

OpenMontage project rules

59k43d agoDiscuss
wshobsonCursor rule

agents / rules

wshobson/agents/.cursor/rules/000-project-conventions.mdc

claude-agents marketplace project conventions

40k4d agoDiscuss
wshobsonCursor rule

agents / rules

wshobson/agents/.cursor/rules/010-python-tooling.mdc

Python tooling and dependency conventions for plugin-eval and tools/

40k4d agoDiscuss
wshobsonCursor rule

agents / rules

wshobson/agents/.cursor/rules/020-agent-skill-authoring.mdc

Authoring agent, skill, and command markdown for cross-harness portability

40k4d agoDiscuss
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)

40k5d agoDiscuss
PostHogCursor rule

posthog / rules

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

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

40k5d agoDiscuss
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.

40k5d agoDiscuss
yamadashyCursor rule

repomix / rules

yamadashy/repomix/.cursor/rules/base.mdc

../../.agents/rules/base.md

29k44d agoDiscuss
flipped-auroraCursor rule

gin-vue-admin / rules

flipped-aurora/gin-vue-admin/.cursor/rules/project_rules.md

本文件只用于兼容 Cursor 现有的自动加载路径。

25k5mo agoDiscuss
activepiecesCursor rule

activepieces / rules

activepieces/activepieces/.cursor/rules/mintlify

../../.agents/rules/mintlify.md

25k4mo agoDiscuss
VercelCursor rule

chatbot / rules

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

Ultracite Rules - AI-Ready Formatter and Linter

21k12mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/backend-test-conventions.mdc

Backend Python test conventions (pytest)

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dataframe-serialization.mdc

All DataFrame-to-records conversion for API responses, streaming events, or frontend-visible data MUST use the centralized helpers in dataformulator.datalake.parquetutils: pandas.DataFrame.tojson(orient='records') defaults to dateformat='epoch', which serializes datetime columns as epoch milliseconds (e.g. 1773532800000). The frontend interprets these as plain numbers and renders them with commas (1,773,532,800,000) instead of formatted dates. dftosaferecords enforces dateformat='iso' and default_handler=str, ensuring datetimes become ISO-8601 strings and exotic types degrade gracefully. Internal data processing that never reaches the frontend or JSON serialization (e.g. Kusto SDK metadata parsing, Vega-Lite…

17k5mo agoDiscuss
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

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/error-response-safety.mdc

Prevent information exposure through exception messages in HTTP responses

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/frontend-test-conventions.mdc

Frontend TypeScript test conventions (Vitest)

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

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

No hardcoded UI strings — use i18n translation keys

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

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

Require structural code review after implementation before final response

17k5mo 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.