agentleFS
Sign inSign up

Cursor rules examples

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

Best matchesWorked for most · soon
MANVENDRA-githubCursor rule

code-review

MANVENDRA-github/agentry/.cursor/rules/code-review.mdc

Self-review discipline for in-conversation use — apply before declaring code complete or before committing. Walks correctness, security, maintainability, and convention checks at the time of writing. For focused review of a large diff in a fresh context, delegate to the code-reviewer agent.

03mo agoDiscuss
BambooGapCursor rule

PR Review

BambooGap/skills-orchestrator/.cursor/rules/pr-review.mdc

--- id: pr-review name: PR Review summary: "Systematic PR review process with blocking/suggestion/nit severity

45mo agoDiscuss
MANVENDRA-githubCursor rule

security-review

MANVENDRA-github/agentry/.cursor/rules/security-review.mdc

Self-review security discipline applied while writing — walk the threat model of the change (untrusted input, authz, secrets, crypto, dependencies) before handing it off. Invoke before declaring security-relevant code complete or committing it. The in-conversation companion to the security-reviewer agent; for a focused pass on a large diff in fresh context, delegate to that agent.

03mo agoDiscuss
TencentCursor rule

LoopForge / rules

Tencent/LoopForge/.cursor/rules/code-review.mdc

代码审查规则:审查维度、严重等级判定、报告格式。由 code-reviewer agent 在 CODE-REVIEW 阶段加载。

4658d agoDiscuss
carmentacollectiveCursor rule

carmenta / rules

carmentacollective/carmenta/.cursor/rules/code-review-standards.mdc

When doing code reviews

28mo agoDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/language-code-review-edho-ferdian.mdc

Language- and framework-specific code review lenses layered on top of the general four-domain review in code-review-edho-ferdian — idioms, framework security misconfigurations, ORM/query correctness, performance traps, and testing conventions, auto-detected across ~20 stacks (React, Python, Go, Java/Spring, Ruby, and more — see the reference table below for the full list). Use whenever a review touches a specific language/framework and the generic checklist isn't enough — \"review kode Go/Python/React ini\", \"audit Django models\", \"cek FastAPI endpoint ini\", or when the user names a stack while asking for review. Loads only the lens file(s) matching the detected stack. Inherits Reflection and Critique-Correction gates from code-review-edho-ferdian.

197d agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/code-reviewer.mdc

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

223mo 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
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/frontend-engineering-edho-ferdian.mdc

Authoring and configuration guidance for building React/Next.js frontend applications well from the start — component composition, UX/interaction recipes, Vite config, HeroUI setup, and AI-slop detection (see the Reference files table below for the full breakdown). A companion to language-code-review-edho-ferdian (which reviews code after it's written) — use this when DESIGNING or WRITING new frontend code, not when reviewing existing code. Trigger phrases: \"bagaimana cara structure component ini\", \"best practice React untuk X\", \"setup Vite untuk Y\", \"biar UI-nya gak keliatan AI banget\", \"kok hasil desainnya generic/template banget\", or when starting a new frontend feature.

197d agoDiscuss
alexandrershovCursor rule

assumption-checkpoint-skill / rules

alexandrershov/assumption-checkpoint-skill/.cursor/rules/assumption-checkpoint.mdc

Use Assumption Checkpoint when diagnosing bugs, changing code, reviewing code, explaining unfamiliar code, making implementation decisions, or calling work complete.

24mo agoDiscuss
Surya8991Cursor rule

AgentMaster / rules

Surya8991/AgentMaster/.cursor/rules/codereview.mdc

Blunt, factual code review. No sugar coating. Finds bugs, security issues, performance problems, and architecture flaws. Use when user says /codereview or asks to review code.

222d agoDiscuss
vikisingh23Cursor rule

neuraforge-ai / rules

vikisingh23/neuraforge-ai/.cursor/rules/code-review.mdc

NeuraForge AI — code-review

45mo agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/request-review.mdc

Dispatch a fresh reviewer agent with a clean context to critique the code after audit-code passes. The reviewer has no shared state with the coding agent and gives a genuine second opinion. Use after audit-code passes, before committing, or when user wants an independent code review.

24029d agoDiscuss
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.1k8mo agoDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/code-review-edho-ferdian.mdc

Senior-engineer code review across five domains — Code Quality, Security, Performance, Blueprint/Spec Consistency, and Test Quality — plus conditional lenses auto-detected from scope (database, accessibility, RAG, ML, healthcare, agent/LLM — see Phase 0 below for the full list). Produces an evidence-backed findings report with confidence-labeled severities and an adaptive fix. Use whenever the user wants code reviewed, audited, or checked before merge/deploy: \"review this\", \"audit\", \"cek kode\", \"review PR\", \"is this production-ready\", \"find bugs/security issues\" — even without the word \"review\". Includes Reflection and a Critique-Correction Loop to suppress false positives. If the request is entirely about security (\"security audit\", \"cek keamanan kode ini\"), route to `security-review-edho-ferdian` instead — that skill is the single source of truth for security review criteria.

197d agoDiscuss
raye-dengCursor rule

open-code-review / rules

raye-deng/open-code-review/.cursor/rules/open-code-review.mdc

Open Code Review - AI code quality gate for detecting hallucinated packages, stale APIs, context breaks, security anti-patterns, and over-engineering in AI-generated code.

377mo agoDiscuss
brianwestphalCursor rule

glassbox / rules

brianwestphal/glassbox/.cursor/rules/glassbox.mdc

Read the latest Glassbox code review and apply all feedback annotations

3443d agoDiscuss
rlaopeCursor rule

nen / rules

rlaope/nen/.cursor/rules/nen-transmuter.mdc

Behavior-preserving refactoring under characterization tests, plus severity-rated code review. Use when the user says \"refactor\", \"clean up\", \"tech debt\", \"code review\", \"extract\", \"rename\", \"restructure\", \"this file is a mess\", or \"impossible to modify\"; when every small change breaks something unrelated; when cleanup has to land before the next feature has anywhere to go; when code is called hard to change, scary to touch, or too tangled to test; when requirements shifted and the current shape fights the new feature; when a PR needs review for structure and maintainability; or when every small change keeps ballooning because everything touches everything.

358d agoDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/system-design-edho-ferdian.mdc

Mid-project architectural decision-making — Architecture Decision Records (ADRs), structured trade-off analysis, non-functional-requirements review, and scaling-tier planning for an existing system. Use for \"desain arsitektur\", \"keputusan teknis besar\", \"bikin ADR\", \"trade-off antara X dan Y\", \"should I refactor this to microservices/monolith/event-driven\", a scaling or capacity question, or any task from dev-kickoff-edho-ferdian that surfaces an uncovered ARCHITECTURE decision mid-project (not at kickoff — kickoff's own PDR process in Phase 0/1 handles that). Not for restating a single task's plan (that's dev-kickoff's PLAN stage) and not for reviewing code that already exists (that's code-review-edho-ferdian's Blueprint/Consistency domain).

197d agoDiscuss
streamshubCursor rule

streamshub-mcp / rules

streamshub/streamshub-mcp/.cursor/rules/code-review.mdc

Code review checklist for StreamsHub MCP pull requests

48d 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.