agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
alibabaCursor rule

loongcollector / review-standards

alibaba/loongcollector/.cursor/rules/review-standards/code-review.mdc

Code Review Rule. Use this rule when you need expert code review for quality, security, and maintainability. This rule should be used proactively after writing logical chunks of code, before merging pull requests, or when explicitly asked to review code. Example: After implementing a new feature in a Go plugin, use this rule to review the code for potential issues. Example: When asked '请对 PR 1234 进行代码评审', 'Code Review fork/feature/x', '将 fork/feature/x 对比 main 进行CR' use this rule to perform a thorough security-focused review.

2.2k4mo agoReviewMountCreate a free account to mount
temporalioCursor rule

temporal / rules

temporalio/temporal/.cursor/rules/review.mdc

Code review guidelines - apply when reviewing code or suggesting changes

No other project uses it yet

24k4mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

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

Require structural code review after implementation before final response

17k6mo agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / quality

appsmithorg/appsmith/.cursor/rules/quality/performance-optimizer.mdc

Performance anti-patterns to watch for in JS/TS, Java, and CSS code reviews

No other project uses it yet

41k6d agoReviewMountCreate a free account to mount
d3georgeCursor rule

slash-admin / common

d3george/slash-admin/.cursor/rules/common/clean-code.mdc

Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.

3k16mo agoReviewMountCreate a free account to mount
agentset-aiCursor rule

agentset / rules

agentset-ai/agentset/.cursor/rules/clean-code.mdc

Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.

2.1k9mo agoReviewMountCreate a free account to mount
nextify-limitedCursor rule

libra / rules

nextify-limited/libra/.cursor/rules/clean-code.mdc

Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.

1.7k15mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/philosophy.mdc

Core development principles and workflow for the Nanotron project. Apply when discussing project architecture, planning new features, or reviewing code structure.

2.8k20mo agoReviewMountCreate a free account to mount
infinispanCursor rule

infinispan / rules

infinispan/infinispan/.cursor/rules/infinispan.mdc

Infinispan project guidelines for coding and reviews

1.4k38d agoReviewMountCreate a free account to mount
forrestchangCursor rule

andrej-karpathy-skills / rules

forrestchang/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.

9 projects use a version of this

217k7mo agoReviewMountCreate a free account to mount
srl-labsCursor rule

containerlab / rules

srl-labs/containerlab/.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.

Steady5 mentions in 2 weeks

No other project uses it yet

2.9k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

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

Steady32 mentions in 2 weeks

16 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Development workflow: plan, TDD, review, commit pipeline

Steady32 mentions in 2 weeks

18 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Git workflow: conventional commits, PR process

Steady32 mentions in 2 weeks

1 project uses a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Security: mandatory checks, secret management, response protocol

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
langflow-aiCursor rule

langflow / rules

langflow-ai/langflow/.cursor/rules/docs_development.mdc

Guidelines for developing and maintaining Langflow documentation using Docusaurus, including content structure, style, and deployment processes.

Steady6 mentions in 2 weeks

No other project uses it yet

156k2mo agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/agents.mdc

review comments | | `qa-testing-feature` | QA test features using Playwright | | `reviewing-local-changes` | Code review for quality, security, best practices, and product/API alignment | | `simplifying-local-changes` | Simplify and refine code

No other project uses it yet

46k2d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/overview.mdc

short doc note, or leaving the code as is. Security issues and data loss still need a real fix. This applies to review feedback too: a reviewer, human

46k2d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/skills.mdc

third person** in descriptions (e.g., "Validates code changes" not "I validate code changes") - **Keep file references one level deep** from SKILL.md - **Use sentence casing** for titles and headers - Capitalize only

46k2d agoReviewMountCreate a free account to mount
eyaltoledanoCursor rule

claude-task-master / rules

eyaltoledano/claude-task-master/.cursor/rules/self_improve.mdc

Guidelines for continuously improving Cursor rules based on emerging code patterns and best practices.

Coolinginterest down 74% this month

6 projects use a version of this

28k11mo 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.