agentleFS
Sign inSign up

Cursor rules examples

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

Best matchesWorked for most · soon
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
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
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.8k19mo 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
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
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
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/connector-development-end-to-end.mdc

Wait for human feedback. If tests fail, review the error logs and fix the code. --- ## Phase 4: Debugging & Iteration ### Common Issues #### Issue 1: Source connector runs but entities aren

6.6k6mo agoDiscuss
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-004-model-code-is-not-self-contained.mdc

All utility functions specific to a model must be in the same module file as the model itself, not in separate utility files, to maintain self-contained modules.

3.3k10mo agoDiscuss
SynkraAICursor rule

aiox-core / agents

SynkraAI/aiox-core/.cursor/rules/agents/qa.mdc

AIOX agent @qa - Test Architect & Quality Advisor

3.1k4mo agoDiscuss
VRSENCursor rule

OpenSwarm / rules

VRSEN/OpenSwarm/.cursor/rules/agency-swarm-workflow.mdc

AI Agent Creator Instructions for Agency Swarm Framework

2.9k6mo agoReads credentialsDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/documentation/general.mdc

code, UI elements, and technical content - **Grammar and Style**: Use proper punctuation, capitalization, lists, and number formatting ### Quality Standards - **Audience-focused**: Always consider your target audience when writing - **SME Review

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/documentation/writing-process.mdc

tone - Use clear, simple language - Follow formatting guidelines consistently ### After Writing - Always have content reviewed by SMEs - Test procedures with actual users when possible - Update documentation based on feedback - Keep

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-cli

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-cli/nat-eval.mdc

Follow these rules when the user requests to evaluate a workflow

2.6k14mo agoDiscuss
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-0-additional-cryptography.mdc

Additional Cryptography guidance

2.6k7mo agoDiscuss
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-0-mobile-apps.mdc

Mobile app security (iOS/Android): storage, transport, code integrity, biometrics, permissions

2.6k7mo agoDiscuss
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-1-crypto-algorithms.mdc

Cryptographic Security Guidelines

2.6k7mo agoDiscuss
codejunkie99Cursor rule

agentic-stack / rules

codejunkie99/agentic-stack/.cursor/rules/fable-grok-subagents.mdc

Model split requiring Claude Fable 5.1 selected for parent; Grok 4.6 cavecrew subagents handle bounded delegated work.

2.3k25d 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.