agentleFS

Cursor rules examples

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

Best matches · from page 6Worked for most · soon
DevInder1Cursor rule

supply-chain-scanner-public / rules

DevInder1/supply-chain-scanner-public/.cursor/rules/tridentchain.mdc

TridentChain Security — supply-chain vulnerability scanning for this workspace

06mo agoReviewMountCreate a free account to mount
pr-pmCursor rule

prpm / rules

pr-pm/prpm/.cursor/rules/creating-kiro-agents.mdc

Kiro agent configuration patterns, JSON structure, tool permissions, and security best practices for creating specialized AI development assistants

1249mo agoReviewMountCreate a free account to mount
chimera-defiCursor rule

eth2-quickstart / rules

chimera-defi/eth2-quickstart/.cursor/rules/shell-scripts.mdc

Shell script rules - common functions, shellcheck, two-phase security

22mo agoReviewMountCreate a free account to mount
kgrizz-gitCursor rule

AgentsConfigHelper / rules

kgrizz-git/AgentsConfigHelper/.cursor/rules/codeguard-0-file-handling-and-uploads.mdc

Secure file handling & uploads (validation, storage isolation, scanning, safe delivery)

23mo agoReviewMountCreate a free account to mount
LuxvilCursor rule

ai-coding-rules / rules

Luxvil/ai-coding-rules/.cursor/rules/20-security-privacy.mdc

USE WHEN: handling auth, secrets, PII, input validation, or security-sensitive code.

310mo agoReviewMountCreate a free account to mount
tyecodeCursor rule

skills / rules

tyecode/skills/.cursor/rules/karpathy-guidelines.mdc

Tyecode's coding guidelines — think before coding, simplicity, security, and surgical changes.

03mo agoReviewMountCreate a free account to mount
moxnoCursor rule

ztds.ai / rules

moxno/ztds.ai/.cursor/rules/ztds.mdc

ZTDS Local Security Firewall - Automatic In-RAM PII & Secret Sanitization

139d agoReviewMountCreate a free account to mount
kotro-labsCursor rule

kotro-proxy-engine / rules

kotro-labs/kotro-proxy-engine/.cursor/rules/week1-distribution.mdc

Guide Kotro Week 1 distribution plan to completion (security tiles → exploit demo → Show HN)

94mo agoReviewMountCreate a free account to mount
Ghost7802Cursor rule

awesome-agent-skills / rules

Ghost7802/awesome-agent-skills/.cursor/rules/supabase-postgres-rls.mdc

Enforces complete RLS protection across all tables and audited PL/pgSQL security definer functions.

22mo agoReviewMountCreate a free account to mount
kgrizz-gitCursor rule

AgentsConfigHelper / rules

kgrizz-git/AgentsConfigHelper/.cursor/rules/codeguard-0-data-storage.mdc

Data & storage security (DB isolation, TLS, least privilege, RLS/CLS, backups, auditing)

23mo agoReviewMountCreate a free account to mount
kgrizz-gitCursor rule

AgentsConfigHelper / rules

kgrizz-git/AgentsConfigHelper/.cursor/rules/codeguard-0-xml-and-serialization.mdc

XML security and safe deserialization (DTD/XXE hardening, schema validation, no unsafe native deserialization)

23mo agoReviewMountCreate a free account to mount
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-security-best-practices.mdc

Apply Android app security guidance around secrets, storage, network trust, exported components, and least privilege.

148mo agoReviewMountCreate a free account to mount
tethertoPipes a download into a shellCursor rule

qvac / rules

tetherto/qvac/.cursor/rules/no-remote-code-execution.mdc

Repo-wide security guardrail — agents, skills, and hooks must never fetch and execute code from an external link (curl | bash, iwr | iex, download-then-run). Applies to all QVAC pods and surfaces.

75310d agoReviewMountCreate a free account to mount
amitchorasiyaCursor rule

antivibe-rails-starter / rules

amitchorasiya/antivibe-rails-starter/.cursor/rules/security.mdc

Security architecture rails (AntiVibe) — non-negotiable constraints for all code generation

05mo agoReviewMountCreate a free account to mount
darknecrocitiesCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/firebase.mdc

Firebase serverless architecture, Cloud Firestore schema design, Security Rules (firestore.rules, storage.rules), Firebase Auth, and Admin SDK.

1316d agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/kubernetes.mdc

This rule provides comprehensive best practices for developing and maintaining Kubernetes applications and infrastructure, covering coding standards, security, performance, testing, and deployment.

3116mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/code-review-expert.mdc

Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements.

224mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/testing-for-xss-vulnerabilities-with-burpsuite.mdc

Identifying and validating cross-site scripting vulnerabilities using Burp Suite's scanner, intruder, and repeater tools during authorized security assessments.

224mo agoReviewMountCreate a free account to mount
sordi-aiCursor rule

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/code-quality.mdc

Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error handling, security, and tooling.

206mo agoReviewMountCreate a free account to mount
sakurablushCursor rule

zeroagent-studio / rules

sakurablush/zeroagent-studio/.cursor/rules/zeroagent-security-auditor.mdc

Security audit for ZeroAgent Studio. Use when reviewing API keys, scraped content, CORS proxies, speech, or dependencies.

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