agentleFS

Cursor rules examples

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

Best matches · from page 9Worked for most · soon
joaoguimaraesproReads credentialsCursor rule

personal-finance / rules

joaoguimaraespro/personal-finance/.cursor/rules/common-security.mdc

Security checks before every commit, secret handling, data handling and what to do when an issue is found

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

141d 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
darknecrocitiesReads credentialsCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/supabase.mdc

Supabase fullstack architecture, PostgreSQL Row Level Security (RLS), Supabase Auth, Edge Functions, and pgvector embeddings.

1319d 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.

76813d agoReviewMountCreate a free account to mount
joaoguimaraesproCursor rule

personal-finance / rules

joaoguimaraespro/personal-finance/.cursor/rules/angular-security.mdc

Angular security: sanitiser bypasses, HttpClient and interceptors, secrets in environment files, guards, SSR

11d agoReviewMountCreate a free account to mount
joaoguimaraesproReads credentialsCursor rule

personal-finance / rules

joaoguimaraespro/personal-finance/.cursor/rules/typescript-security.mdc

TypeScript and JavaScript security: secrets, env vars exposed to the browser, tokens, untrusted input

11d 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.

1319d 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.

3117mo agoReviewMountCreate a free account to mount
decionisCursor rule

agent-safe-pipeline / rules

decionis/agent-safe-pipeline/.cursor/rules/PolicyAuthoring.mdc

Turn plain-English rules from risk, security, compliance and audit teams into PolicyAgent proposals: clarify vague terms, read the rule back, propose through the Decionis policy tools, and leave approval to independent people in the workspace.

6722d 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
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

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

Use when the user asks to review pull requests, analyze code changes, check for security issues in PRs, or assess code quality of diffs.

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
joaoguimaraesproCursor rule

personal-finance / rules

joaoguimaraespro/personal-finance/.cursor/rules/csharp-security.mdc

C#/.NET security: secrets, SQL injection, validation, JWT auth and authorisation, safe errors

11d 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.