agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 10Worked for most · soon
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/communication-layers.mdc

Current renderer, Electron, broker, and node communication boundaries

1.5k9d agoDiscuss
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/directory-context.mdc

Directory context files

1.3k9d agoDiscuss
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/roles.mdc

Agent roles

1.3k9d agoDiscuss
SmythOSCursor rule

sre / rules

SmythOS/sre/.cursor/rules/sre-ai-rules.mdc

SmythOS SRE Monorepo AI Development Guidelines

1.3k12mo agoDiscuss
SentryCursor rule

sentry-go / rules

getsentry/sentry-go/.cursor/rules/changelog.mdc

Breaking changes with migration guidance - New features and enhancements - Important bug fixes - Performance improvements - Security fixes - Deprecation notices ### Exclude: - Internal refactoring (unless affects performance) - Test-only changes - Documentation-only changes

1.1k15mo agoDiscuss
Dpro-atCursor rule

Tel-Agent / rules

Dpro-at/Tel-Agent/.cursor/rules/python-agent-api.mdc

Python conventions for agent/ and api/

97218d agoReads credentialsDiscuss
cohnenCursor rule

mcp-google-ads / rules

cohnen/mcp-google-ads/.cursor/rules/fastmcp.mdc

Use it to get full context on fastmcp

70119mo agoReads credentialsDiscuss
codewithmukeshCursor rule

dotnet-claude-kit / rules

codewithmukesh/dotnet-claude-kit/.cursor/rules/dotnet-rules.md

kernel contains only contracts, never business logic.** Interfaces, DTOs, and integration events only. --- ## 3. Security - **Never hardcode secrets in source code.** Use `dotnet user-secrets` for local dev, Azure

6912mo agoReads credentialsDiscuss
EXboysCursor rule

evotown / rules

EXboys/evotown/.cursor/rules/issue-pr-workflow.mdc

Issue-first workflow — open issue before PR, link with Closes

6484mo agoDiscuss
adalineCursor rule

gateway / rules

adaline/gateway/.cursor/rules/gateway.mdc

return this.pool.pop()!; } return this.createResource(); } release(resource: T): void { if (this.pool.length < this.maxSize) { this.pool.push(resource); } } } ``` ## Security Considerations ### 1. Input Sanitization ```typescript // Always sanitize user inputs function sanitizeInput(input: string): string { return input

6066mo agoDiscuss
adalineCursor rule

gateway / rules

adaline/gateway/.cursor/rules/main.mdc

files, PascalCase for classes 5. **Group Related Files**: Keep related functionality together ### 6. Performance & Security #### Rules - **ALWAYS** implement proper caching strategies - **ALWAYS** use queues for rate limiting and concurrency control

6066mo agoDiscuss
adalineCursor rule

gateway / rules

adaline/gateway/.cursor/rules/provider.mdc

failing endpoints - **ALWAYS** provide fallback mechanisms when possible - **ALWAYS** monitor provider health and performance ## Security Considerations ### 1. API Key Management - **ALWAYS** validate API keys before use - **ALWAYS** never

6066mo agoDiscuss
adalineCursor rule

gateway / rules

adaline/gateway/.cursor/rules/providers.mdc

failing endpoints - **ALWAYS** provide fallback mechanisms when possible - **ALWAYS** monitor provider health and performance ## Security Considerations ### 1. API Key Management - **ALWAYS** validate API keys before use - **ALWAYS** never

6066mo agoDiscuss
JayPokaleCursor rule

Chisle / rules

JayPokale/Chisle/.cursor/rules/chisle.mdc

Chisle, zero-fluff prose + YAGNI-first code

57012d agoDiscuss
vibeevalCursor rule

vibecosystem / rules

vibeeval/vibecosystem/.cursor/rules/agent-development.mdc

Rules for creating and editing vibecosystem agent definitions

5306mo agoDiscuss
vibeevalCursor rule

vibecosystem / rules

vibeeval/vibecosystem/.cursor/rules/general.mdc

vibecosystem core coding standards and quality rules

5306mo agoDiscuss
fdmtlCursor rule

director / rules

fdmtl/director/.cursor/rules/documentation.yml

Mintlify writing assistant guidelines

48316mo agoReads credentialsDiscuss
hyperb1issCursor rule

droidmind / rules

hyperb1iss/droidmind/.cursor/rules/001_workspace.mdc

DroidMind :: Control your Android devices with AI via Model Context Protocol

43019mo agoDiscuss
hyperb1issCursor rule

droidmind / rules

hyperb1iss/droidmind/.cursor/rules/003_cursor_docs.mdc

Description: These files contain reference documentation and guides to aid in development efforts for the DroidMind project

43019mo agoDiscuss
waynesuttonCursor rule

opensync / rules

waynesutton/opensync/.cursor/rules/changelog.mdc

Changelog management for GitHub Releases automation

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