agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
danielvm-gitReads credentialsCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/harden-vps.mdc

Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server.

29724d agoReviewMountCreate a free account to mount
bordenetReads credentialsCursor rule

superpowers-plus / rules

bordenet/superpowers-plus/.cursor/rules/security.mdc

security rules

818d 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

Steady16 mentions in 2 weeks

21 projects use a version of this

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

Steady16 mentions in 2 weeks

18 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

Steady16 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/python-security.md

Python security extending common rules

Steady16 mentions in 2 weeks

21 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

Steady16 mentions in 2 weeks

21 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

Steady16 mentions in 2 weeks

21 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
AmanullaShaikhCursor rule

apex-agents / rules

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

Agent: Application Security Auditor - security specialist from Aveyx

210d 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
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/incident-responder.mdc

Security incident response expert. Handles breach detection, containment, forensics, recovery, and post-mortem. Use when investigating suspected compromise, data breach, or production security incident. Triggers on breach, compromise, incident, forensics, ransomware, leaked data, unauthorized access, security incident.

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

2211d agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/threat-modeler.mdc

Security threat modeling expert. Uses STRIDE, attack trees, and data flow analysis to identify threats before code is written. Use during architecture design, API planning, or feature scoping to build security in from the start. Triggers on threat model, STRIDE, attack tree, data flow, security design, architecture review, threat landscape.

87mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Databases

Steady3 mentions in 2 weeks

No other project uses it yet

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

Steady16 mentions in 2 weeks

21 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.

93d 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.3k33d agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

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

Secure coding rules for Stackrox Containers

Steady3 mentions in 2 weeks

No other project uses it yet

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