agentleFS
Sign inSign up

Cursor rules examples

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

Best matchesWorked 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.

214k6mo 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-security.md

Security: mandatory checks, secret management, response protocol

246k30d agoDiscuss

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.