agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 4Worked for most · soon
MicrosoftCursor rule

rushstack / rules

microsoft/rushstack/.cursor/rules/rush.mdc

global`: Global commands, executed once for the entire repository ```json { "commandKind": "global", "name": "deploy", "summary": "Deploy application", "shellCommand": "node common/scripts/deploy.js" } ``` - Parameter types: ```json "parameters": [ { "parameterKind": "flag", // Switch parameter --production "longName

6.5k16mo agoDiscuss
Adam-CADCursor rule

CADAM / rules

Adam-CAD/CADAM/.cursor/rules/deployment-restrictions.mdc

globs: supabase/**/* alwaysApply: false --- # Deployment Restrictions version: 1.0.0 ## Function Deployment ### NEVER Deploy Functions - **NEVER** run `supabase functions deploy` commands - **NEVER** run `npx supabase functions deploy` commands - **NEVER** attempt to deploy

5.2k13mo agoDiscuss
SynkraAICursor rule

aiox-core / agents

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

AIOX agent @architect - Architect

3.1k5mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

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

first word) #### Examples - **Correct**: "Requirements for Configuring NVIDIA vGPU in a DRS Cluster" - **Correct**: "Deploying and Testing Your Text-based Bot" - **Correct**: "Uploading a Model to NGC" #### Action Titles

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / documentation

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

Guidelines for avoiding Latin phrases in documentation to simplify content for a global audience

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-cli

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

Follow these rules when the user's request involves running, serving, or executing NeMo Agent Toolkit workflows

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.6k8mo agoDiscuss
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-0-supply-chain-security.mdc

Dependency & supply chain security (pinning, SBOM, provenance, integrity, private registries)

2.6k8mo agoDiscuss
nixopusCursor rule

nixopus / rules

nixopus/nixopus/.cursor/rules/frontend.mdc

TypeScript Next.js View Component Development Rules

1.5k7mo agoDiscuss
borgheiCursor rule

Claude-Skills / rules

borghei/Claude-Skills/.cursor/rules/repo-overview.mdc

What the AI Skills Library is, its structure, and core principles. Apply when reasoning about the repo as a whole.

8423mo agoDiscuss
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/ci-cd-workflows.mdc

This rule provides guidance on the CI/CD pipeline, GitHub Actions workflows (defined in .github/workflows/), custom actions (in .github/actions/), versioning strategies, and release processes. Use this rule if the query involves CI/CD, build/test issues, release procedures, versioning questions, or if it references files within the .github/workflows or .github/actions directories.

6787mo agoDiscuss
umutxypCursor rule

Seo-Promt-Master / rules

umutxyp/Seo-Promt-Master/.cursor/rules/seo-prompt-master.mdc

SEO Prompt Master — audit and fix technical SEO and AI-search readiness against Google's official guidance, with a runnable live audit tool.

54450d agoDiscuss
Sidiora-LabsCursor rule

LayerX-Network / rules

Sidiora-Labs/LayerX-Network/.cursor/rules/spec-workflow.mdc

Ion portable spec workflow (task-driven + cortex)

44932d agoDiscuss
waynesuttonCursor rule

opensync / rules

waynesutton/opensync/.cursor/rules/sec-check.mdc

syncPostsPublic` mutation allows syncing posts without authentication. This is intentional for build-time deployment but has security implications: ```typescript // Current: No auth check export const syncPostsPublic = mutation({ args: { posts: v.array

4108mo agoDiscuss
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/02-pattern-discovery.mdc

MANDATORY pattern discovery protocol before implementing anything. Search patterns_library/, specs/, and codebase first.

4053mo agoDiscuss
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/23-agent-security.mdc

Security Engineer agent role: OWASP compliance, RLS validation, vulnerability scanning, security audits.

4053mo agoDiscuss
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/README.md

specs_templates/**/*.md` | Spec templates, AC/DoD, pattern refs | | `15-deployment.mdc` | `docker-compose*.yml, Dockerfile*, scripts/deploy*` | Deploy procedures, Coolify, Docker | | `16-stripe-payments.mdc` | `core/**/billing/**, core/**/payments/**` | Stripe webhooks, checkout, idempotency | ### Agent-Role Rules

4053mo agoDiscuss
Green-PTCursor rule

honey-for-devs / rules

Green-PT/honey-for-devs/.cursor/rules/honey.mdc

Honey — write less code and say less about it. A reflexive minimal-code (YAGNI/stdlib-first) and terse-prose discipline that cuts token cost while keeping code, commands, and safety-critical paths exact.

29851d agoDiscuss
leancoderkavyCursor rule

premiere-pro-mcp / rules

leancoderkavy/premiere-pro-mcp/.cursor/rules/repo.mdc

Core Premiere Pro MCP repository guidance for every session

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