agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
cisco-ai-defenseCursor rule

skill-scanner / rules

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

Infrastructure as Code Security

Steady19 mentions in 2 weeks

1 project uses a version of this

2.7k9mo agoReviewMountCreate a free account to mount
cisco-ai-defenseCursor rule

skill-scanner / rules

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

Cryptographic Security Guidelines

Steady19 mentions in 2 weeks

1 project uses a version of this

2.7k9mo agoReviewMountCreate a free account to mount
affaan-mReads credentialsCursor rule

ECC / rules

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

Go security extending common rules

Steady32 mentions in 2 weeks

19 projects use a version of this

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

ECC / rules

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

Kotlin security extending common rules

Steady32 mentions in 2 weeks

16 projects use a version of this

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

ECC / rules

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

PHP security extending common rules

Steady32 mentions in 2 weeks

18 projects use a version of this

246k2mo 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

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo 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

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo 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

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Databases

No other project uses it yet

1.3k4d 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

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Common secure coding rules for all languages

Steady3 mentions in 2 weeks

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Stackrox Containers

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Groovy projects

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Java projects

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for JavaScript projects

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Shell/Bash scripts

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for TypeScript projects

No other project uses it yet

1.3k4d agoReviewMountCreate a free account to mount
ethereumjsCursor rule

ethereumjs-monorepo / rules

ethereumjs/ethereumjs-monorepo/.cursor/rules/security.mdc

Security trust tiers and constraints for EthereumJS libraries

Steady2 mentions in 2 weeks

No other project uses it yet

2.8k18d agoReviewMountCreate a free account to mount
NVIDIAReads credentialsCursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/shell-ci-security.mdc

Shell, CI, Docker, packaging, and security rules

Steady5 mentions in 2 weeks

No other project uses it yet

1.9k4mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/helm.mdc

Secure coding rules for Stackrox Helm charts

No other project uses it yet

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