agentleFS

Cursor rules examples

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

Best matches · from page 5Worked for most · soon
srwbswCursor rule

second-agent-skill / rules

srwbsw/second-agent-skill/.cursor/rules/second-agent.mdc

How to get a cross-harness second opinion, code review, or delegated task by running second-agent's review.js (read-only) or agent.js (task delegation) against another harness. Apply only when the user names a harness other than the one you are running in (e.g. "ask Codex to review this"), or explicitly invokes second-agent. Do not apply for native subagent requests or same-harness model requests (e.g. "get a subagent on this", "use opus").

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

No other project uses it yet

3k3mo agoReviewMountCreate a free account to mount
moclam1905Cursor rule

CocktailRecipes / tool-rules

moclam1905/CocktailRecipes/.cursor/rules/tool-rules/git-commit-push-agent.mdc

This rule governs the process of committing and pushing changes to git repositories. It should be applied whenever: (1) The user indicates they want to commit or push changes, (2) The user asks about git commit conventions, (3) The user wants to update or save their work to git, or (4) Any git-related commit and push operations are requested. The rule ensures consistent commit message formatting, proper change documentation, and maintainable git history. It's particularly important for maintaining clear project history, facilitating code reviews, and ensuring proper documentation of changes. This rule helps maintain high-quality commit messages that explain both what changed and why, making it easier for both humans and AI to understand the project's evolution.

120mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / skills

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/skills/web-design-guidelines.mdc

Review UI code for Web Interface Guidelines compliance. Use when asked to \"review my UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check my site against best practices\".

87mo agoReviewMountCreate a free account to mount
thiagodmontCursor rule

keynobi / rules

thiagodmont/keynobi/.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.

2017mo agoReviewMountCreate a free account to mount
lhpaulCursor rule

ai-dev-framework-template / rules

lhpaul/ai-dev-framework-template/.cursor/rules/code.mdc

Code quality conventions. Apply when writing, editing, or reviewing any source code file.

915d agoReviewMountCreate a free account to mount
lhpaulDeletes or force-pushesCursor rule

ai-dev-framework-template / rules

lhpaul/ai-dev-framework-template/.cursor/rules/workflow.mdc

AI development workflow conventions. Apply when working on feature specs, implementation plans, code implementation, reviews, or releases.

915d agoReviewMountCreate a free account to mount
wuisabel-gifCursor rule

HAL / rules

wuisabel-gif/HAL/.cursor/rules/capability-security-review.mdc

Capability-security review of PRs, diffs, or third-party/plugin code — apply when reviewing pull requests, auditing contributed code, or judging whether code is safe.

05mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

ai-cloud-validation / rules

NVIDIA/ai-cloud-validation/.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.

407mo agoReviewMountCreate a free account to mount
learner124-cloudCursor rule

Brilliant-Claude-Skills / rules

learner124-cloud/Brilliant-Claude-Skills/.cursor/rules/blueprint.mdc

Blueprint — behavioral guidelines for coding agents. Use when writing, reviewing, or refactoring code to ensure accuracy, simplicity, and surgical changes.

13mo agoReviewMountCreate a free account to mount
danielvm-gitReads credentialsCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/audit-code.mdc

Self-review checklist for the coding agent to run before dispatching a reviewer. Checks CONVENTIONS.md compliance, Boy Scout Rule, test coverage, types, and SOLID. Produces a pass/fail checklist. Use before request-review, before committing, or when user asks for a code quality check.

29724d agoReviewMountCreate a free account to mount
DataDogCursor rule

dd-trace-py / rules

DataDog/dd-trace-py/.cursor/rules/native-code.mdc

Native code (C/C++/Rust/Cython) review checklist for dd-trace-py

6554d agoReviewMountCreate a free account to mount
ishandutta2007Cursor rule

claude-skills-by-karpathy / rules

ishandutta2007/claude-skills-by-karpathy/.cursor/rules/claude-skills-karpathy.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.

76mo agoReviewMountCreate a free account to mount
cfreglyCursor rule

gpu-perf-tune / rules

cfregly/gpu-perf-tune/.cursor/rules/coding-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.

14mo agoReviewMountCreate a free account to mount
JosefGisisCursor rule

skills / rules

JosefGisis/skills/.cursor/rules/clean-code.mdc

Clean code rules for writing, modifying, reviewing, or refactoring code: verbosity, premature abstraction, dependency tangles, and scope creep. Language agnostic. Takes precedence over default coding instincts when they conflict.

113d agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/python-conventions.mdc

Use when writing or reviewing Python code — naming conventions, type hints, common pitfalls (mutable defaults, bare except, is-vs-==), and testing structure.

13mo agoReviewMountCreate a free account to mount
lucamezzaliraCursor rule

mfe-skills / rules

lucamezzalira/mfe-skills/.cursor/rules/mfe-boundary-review.mdc

Reviews and generates micro-frontend code against eight boundary rules from Building Micro-Frontends (O'Reilly), plus governance extensions for feature-flag scope, edge strategy, SSR ownership, and boundary fitness functions. Use when a user says "review my shell code", "is this a boundary violation?", "generate a Module Federation shell", "how do I mount this MFE?", "review my micro-frontend architecture", "set up event communication between MFEs", "create a new micro-frontend", "how should we use edge with MFEs?", "where should feature flags live?", or "how do I enforce boundaries in a monorepo?". Loads automatically when the user pastes shell integration code, Module Federation config, Single SPA registration, or Native Federation routes. Does not activate for component-level code within a single deployed unit, or for generic React, Vue, or Angular questions with no cross-team deployment angle.

532mo agoReviewMountCreate a free account to mount
sakurablushCursor rule

zeroagent-studio / rules

sakurablush/zeroagent-studio/.cursor/rules/zeroagent-reviewer.mdc

Code and architecture review for ZeroAgent Studio. Use for PR feedback or quality assessment — do not implement fixes unless asked.

45mo agoReviewMountCreate a free account to mount
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/fable5-coding-craft.mdc

Fable 5 coding craft: locate-before-write, root-cause method, simplicity taste, error-handling philosophy, test integrity, refactoring discipline, and counters to common LLM coding failure modes. Load when writing, refactoring, debugging, or reviewing non-trivial code in any language.

1256mo agoReviewMountCreate a free account to mount
btseeeCursor rule

clean-code-skills / rules

btseee/clean-code-skills/.cursor/rules/clean-code.mdc

Apply language-agnostic clean-code discipline to all code writing, editing, reviewing, testing, and refactoring, including file placement, single responsibility, and verified completion.

122mo 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.