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

Steady4 mentions in 2 weeks

2 projects use 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

Steady4 mentions in 2 weeks

2 projects use a version of this

2.7k9mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

PHP security extending common rules

Steady13 mentions in 2 weeks

19 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Databases

Steady5 mentions in 2 weeks

No other project uses it yet

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

Steady13 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Common secure coding rules for all languages

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Stackrox Containers

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Groovy projects

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Java projects

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for JavaScript projects

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Shell/Bash scripts

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for TypeScript projects

Steady5 mentions in 2 weeks

No other project uses it yet

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

2.8k9d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Stackrox Helm charts

Steady5 mentions in 2 weeks

No other project uses it yet

1.3k17d agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / review-standards

alibaba/loongcollector/.cursor/rules/review-standards/code-review.mdc

Code Review Rule. Use this rule when you need expert code review for quality, security, and maintainability. This rule should be used proactively after writing logical chunks of code, before merging pull requests, or when explicitly asked to review code. Example: After implementing a new feature in a Go plugin, use this rule to review the code for potential issues. Example: When asked '请对 PR 1234 进行代码评审', 'Code Review fork/feature/x', '将 fork/feature/x 对比 main 进行CR' use this rule to perform a thorough security-focused review.

2.2k5mo agoReviewMountCreate a free account to mount
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

Steady4 mentions in 2 weeks

2 projects use 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-0-supply-chain-security.mdc

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

Steady4 mentions in 2 weeks

2 projects use a version of this

2.7k9mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/security.mdc

Security ownership boundary — the backend owns all cluster trust; PAIR implements none

1.7k54d agoReviewMountCreate a free account to mount
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/system-architecture.mdc

Current PAIR runtime architecture, communication paths, modular services, and security boundaries

1.7k54d agoReviewMountCreate a free account to mount
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-0-framework-and-languages.mdc

Framework & language security guides (Django/DRF, Laravel/Symfony/Rails, .NET, Java/JAAS, Node.js, PHP config)

Steady4 mentions in 2 weeks

2 projects use a version of this

2.7k9mo 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.