agentleFS

Cursor rules examples

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

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

codegraph / rules

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

CodeGraph MCP usage guide — one tool, codegraph_explore

Steady9 mentions in 2 weeks

No other project uses it yet

73k4mo agoReviewMountCreate a free account to mount
calesthioCursor rule

OpenMontage / rules

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

OpenMontage project rules

No other project uses it yet

63k57d agoReviewMountCreate a free account to mount
wshobsonCursor rule

agents / rules

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

claude-agents marketplace project conventions

Steady22 mentions in 2 weeks

No other project uses it yet

40k56d 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
yamadashyCursor rule

repomix / rules

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

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

No other project uses it yet

29k3mo agoReviewMountCreate a free account to mount
flipped-auroraCursor rule

gin-vue-admin / rules

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

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

No other project uses it yet

25k7mo agoReviewMountCreate a free account to mount
activepiecesCursor rule

activepieces / rules

activepieces/activepieces/.cursor/rules/mintlify

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

No other project uses it yet

25k6mo 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/backend-test-conventions.mdc

Backend Python test conventions (pytest)

No other project uses it yet

18k7mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/executing-commands.mdc

how to run commands in the monorepo

No other project uses it yet

16k4mo agoReviewMountCreate a free account to mount
AgriciDanielCursor rule

claude-obsidian / rules

AgriciDaniel/claude-obsidian/.cursor/rules/claude-obsidian.mdc

Portable rules for the claude-obsidian product and user vault workflows.

No other project uses it yet

15k3mo agoReviewMountCreate a free account to mount
0xJackyCursor rule

nginx-ui / rules

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

- Concise and Maintainable Code: Write technically accurate and easily understandable Go code with relevant examples. - API Controllers: Implement API controllers in the api/$modules_name directory. - Database Models: Define…

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
VoltAgentCursor rule

voltagent / rules

VoltAgent/voltagent/.cursor/rules/agents.mdc

ALWAYS read the AGENTS.md in the root of the repository and apply the instructions to the current task.

No other project uses it yet

11k15mo agoReviewMountCreate a free account to mount
wshobsonCursor rule

agents / rules

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

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

Steady22 mentions in 2 weeks

No other project uses it yet

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
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 data_formulator.datalake.parquet_utils: pandas.DataFrame.to_json(orient='records') defaults to date_format='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. df_to_safe_records enforces date_format='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…

No other project uses it yet

18k7mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

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

how to create and apply database migrations

No other project uses it yet

16k4mo agoReviewMountCreate a free account to mount
0xJackyCursor rule

nginx-ui / rules

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

You are an expert in TypeScript, Node.js, Vite, Vue.js, Vue Router, Pinia, VueUse, Ant Design Vue, and UnoCSS, with a deep understanding of best practices and performance optimization techniques in…

No other project uses it yet

12k2mo 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.