agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
affaan-mReads credentialsCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/kotlin-security.md

Kotlin security extending common rules

Steady8 mentions in 2 weeks

17 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/php-security.md

PHP security extending common rules

Steady8 mentions in 2 weeks

19 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
affaan-mReads credentialsCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/python-security.md

Python security extending common rules

Steady8 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
affaan-mReads credentialsCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/swift-security.md

Swift security extending common rules

Steady8 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
affaan-mReads credentialsCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/typescript-security.md

TypeScript security extending common rules

Steady8 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
dcrebbinCursor rule

cursor-unchained / rules

dcrebbin/cursor-unchained/.cursor/rules/snyk_rules.mdc

Snyk Security At Inception

17911mo agoReviewMountCreate a free account to mount
AmanullaShaikhCursor rule

apex-agents / rules

AmanullaShaikh/apex-agents/.cursor/rules/apex-appsec-auditor.mdc

Agent: Application Security Auditor - security specialist from Apex Agents

11d agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

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

Senior code review across quality, security, performance, spec consistency and tests, with evidence-backed, severity-ranked findings. Load it for any review, even a short snippet or a quick \"is this OK?\". Use for \"review this\", \"cek kode\", \"cek dulu sebelum merge\", \"ada yang salah gak\", \"review PR\", \"find bugs\". Security-only asks go to security-review.

2218d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/databases.mdc

Secure coding rules for Databases

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-security.md

Security: mandatory checks, secret management, response protocol

Steady8 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
anmolnagpalReads credentialsCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/appsec.mdc

Application-level security review: dependency manifests for known-vulnerable packages, missing HTTP security headers, permissive CORS configuration. Use when user says 'review my dependencies', 'check for vulnerable packages', 'run a dependency audit', 'audit security headers', 'review CORS config', or when working in package.json/package-lock.json, go.mod/go.sum, requirements.txt/poetry.lock, Gemfile.lock, Cargo.toml/Cargo.lock, pom.xml, or server/app config with CORS or header middleware.

83mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/common.mdc

Common secure coding rules for all languages

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/containers.mdc

Secure coding rules for Stackrox Containers

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/groovy.mdc

Secure coding rules for Groovy projects

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/java.mdc

Secure coding rules for Java projects

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/javascript.mdc

Secure coding rules for JavaScript projects

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/shell.mdc

Secure coding rules for Shell/Bash scripts

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/typescript.mdc

Secure coding rules for TypeScript projects

Steady7 mentions in 2 weeks

No other project uses it yet

1.3k19d 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.