agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
MANVENDRA-githubCursor rule

security-review

MANVENDRA-github/agentry/.cursor/rules/security-review.mdc

Self-review security discipline applied while writing — walk the threat model of the change (untrusted input, authz, secrets, crypto, dependencies) before handing it off. Invoke before declaring security-relevant code complete or committing it. The in-conversation companion to the security-reviewer agent; for a focused pass on a large diff in fresh context, delegate to that agent.

Often used withdependency-cve-sweepproject-guidelines-exampleagent-sort

05mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/security-orchestrator.mdc

Multi-agent security coordinator. Orchestrates security-auditor, penetration-tester, secure-coder, threat-modeler, incident-responder, and compliance-officer for comprehensive security workflows. Use for full security assessments, DevSecOps pipeline design, or coordinating incident response across teams. Triggers on security assessment, full security review, devsecops, security pipeline, security orchestration, coordinated security.

87mo agoReviewMountCreate a free account to mount
maleus-aiCursor rule

frontend-security

maleus-ai/claude-code-setup/.cursor/rules/frontend-security/RULE.md

Security guidelines for frontend code. Covers token storage, XSS prevention, authorization, and secure coding practices. CRITICAL INSTRUCTION You MUST ALWAYS use this skill before editing/writing any file matching "**/frontend/**/*.{ts,tsx}".

110mo agoReviewMountCreate a free account to mount
AWSCursor rule

automated-security-helper / rules

awslabs/automated-security-helper/ash-agent-plugins/agentic-coding/plugins/cursor/.cursor/rules/ash-mcp.mdc

Run security scans with the ASH (Automated Security Helper) MCP server. Use this skill whenever the user asks to scan for vulnerabilities, run a security check, find CVEs, audit dependencies, check for secrets, run SAST or SCA, scan IaC (Terraform/CloudFormation/Kubernetes), check for hardcoded credentials, or mentions ASH, Bandit, Semgrep, Checkov, Grype, Syft, or detect-secrets. Also trigger when the user wants to find security issues, harden a codebase, or asks "is my code secure". Do NOT trigger for code review without security context, performance audits, or test writing.

7194d agoReviewMountCreate a free account to mount
MANVENDRA-githubCursor rule

security-essentials

MANVENDRA-github/agentry/.cursor/rules/php/security-essentials.mdc

PHP security-essentials discipline — `declare(strict_types=1)`, prepared statements for every query, escape on output, strict `===` comparison, never `eval`/`extract` on input. Apply when working in any PHP file. Skip for a throwaway CLI spike with no untrusted input.

05mo agoReviewMountCreate a free account to mount
MANVENDRA-githubCursor rule

supply-chain-security

MANVENDRA-github/agentry/.cursor/rules/supply-chain-security.mdc

Dependency and supply-chain threat discipline — pin and lock, audit for advisories, vet a new dependency before adding it, and treat install scripts and typosquats as attack surface. Invoke before adding or upgrading a dependency, or when hardening a project's build against a compromised package. Complements the security-review skill, which covers your own code's threat model.

Often used withjs-reversepentest-toolsmobile-reverse

05mo agoReviewMountCreate a free account to mount
vltpkgCursor rule

vltpkg / rules

vltpkg/vltpkg/.cursor/rules/security-archive.mdc

Socket.dev security data integration and security selectors

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

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/secure-coder.mdc

Shift-left security expert. Teaches and enforces secure coding patterns input validation, sanitization, auth, cryptography, and OWASP secure design principles. Use when writing new code, reviewing code for security anti-patterns, or hardening existing modules. Triggers on secure coding, input validation, sanitization, auth pattern, encryption, hash, jwt, sql injection prevention, xss prevention.

87mo agoReviewMountCreate a free account to mount
edhoferdianReads credentialsCursor rule

EEF / rules

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

The single source of security review criteria: OWASP-style checklist (SEC-01..19) plus stack- and domain-specific items, standalone, as code-review's security depth, or a lean full-repo audit before production. Use for \"cek keamanan kode ini\", \"security audit\", \"find vulnerabilities\", \"aman gak ini\", \"is it safe to ship security-wise\", \"audit menyeluruh sebelum production\".

2211d agoReviewMountCreate a free account to mount
gjovanovicstCursor rule

golang-auth-api / rules

gjovanovicst/golang-auth-api/.cursor/rules/security-patterns.mdc

Security patterns

12917mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/bypass-specialist.mdc

Expert in security control bypass techniques. Specializes in WAF bypass, authentication bypass, anti-debug/anti-VM evasion, EDR evasion, and circumventing security mechanisms. Use for testing whether security controls actually hold under adversarial conditions. Triggers on bypass, evasion, WAF bypass, auth bypass, EDR evasion, anti-debug, AMSI bypass, applocker bypass, security control circumvention.

87mo agoReviewMountCreate a free account to mount
santosomarCursor rule

AI-agents-for-cybersecurity / rules

santosomar/AI-agents-for-cybersecurity/.cursor/rules/codeguard-0-mcp-security.mdc

MCP (Model Context Protocol) Security based on CoSAI MCP Security guidelines

26349d agoReviewMountCreate a free account to mount
Holley-StudioCursor rule

thesmos-governance / rules

Holley-Studio/thesmos-governance/.cursor/rules/argus-security-agent.mdc

👁 God Agent Argus — Security Agent — Security & Threat Modeling. Invoke for: pantheon, security, threat-modeling, owasp.

25mo agoReviewMountCreate a free account to mount
plipowczanCursor rule

claude-piv-skeleton / rules

plipowczan/claude-piv-skeleton/.cursor/rules/piv-security.mdc

PIV security rules for authentication and security code

410mo agoReviewMountCreate a free account to mount
cisco-ai-defenseCursor rule

skill-scanner / rules

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

Infrastructure as Code Security

Steady2 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

Steady2 mentions in 2 weeks

2 projects use a version of this

2.7k9mo agoReviewMountCreate a free account to mount
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/23-agent-security.mdc

Security Engineer agent role: OWASP compliance, RLS validation, vulnerability scanning, security audits.

4054mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/perseus.mdc

Advanced Offensive Security & Pentesting Specialist. Use this agent for red teaming, penetration testing, and identifying complex security flaws. It leverages specialized security tools for XSS, SQLi, JWT, OAuth2, and network-level vulnerability testing.

225mo agoReviewMountCreate a free account to mount
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/security-guardian.mdc

Security vulnerability detection and remediation specialist. Audits code for OWASP Top 10, IDOR, SSRF, and injection. Enforces zero trust and secure data handling for financial and AI platforms. Contains full knowledge of security reviewer and audit checklists.

225mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/cloud-security.mdc

Use when assessing cloud infrastructure for security misconfigurations, IAM privilege escalation paths, S3 public exposure, open security group rules, or IaC security gaps. Covers AWS, Azure, and GCP posture assessment with MITRE ATT&CK mapping.

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