agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 17Worked for most · soon
jabrenaCursor rule

cursor-rules-agile / rules

jabrena/cursor-rules-agile/.cursor/rules/2007-adr-create-acceptance-testing-strategy.mdc

Create ADR for Acceptance Testing Strategy

616mo agoDiscuss
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/ab-testing.mdc

Use the ab-testing Agent Skill when relevant; read the full skill directory before acting.

332mo agoDiscuss
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/typo3-testing.mdc

Use the typo3-testing Agent Skill when relevant; read the full skill directory before acting.

332mo agoDiscuss
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/corey-ab-testing.mdc

Use the corey-ab-testing Agent Skill when relevant; read the full skill directory before acting.

332mo agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-agents.md

Agent orchestration: available agents, parallel execution, multi-perspective analysis

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-development-workflow.md

Development workflow: plan, TDD, review, commit pipeline

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-git-workflow.md

Git workflow: conventional commits, PR process

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-patterns.md

Common patterns: repository, API response, skeleton projects

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/php-hooks.md

PHP hooks extending common rules

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/php-patterns.md

PHP patterns extending common rules

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/swift-patterns.md

Swift patterns extending common rules

246k30d agoDiscuss
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.

214k6mo agoDiscuss
DietrichGebertCursor rule

ponytail / rules

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

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

143k4mo 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
VercelCursor rule

chatbot / rules

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

Ultracite Rules - AI-Ready Formatter and Linter

21k13mo 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/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.