agentleFS

Cursor rules examples

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

Best matches · from page 10Worked for most · soon
AlessandroMartiniCursor rule

Awesome_IA_Rules / core

AlessandroMartini/Awesome_IA_Rules/.cursor/rules/core/01-core-engineering.mdc

Core enterprise architecture, Zero-Trust security, error/log proximity rule, observability, and testing standards

13d agoReviewMountCreate a free account to mount
darknecrocitiesReads credentialsCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/gcp.mdc

Google Cloud Platform architecture, Cloud Run serverless deployment, Pub/Sub, Secret Manager, Cloud SQL, and IAM least-privilege security.

1317d agoReviewMountCreate a free account to mount
HermeticOrmusCursor rule

linux-sysadmin-skills / rules

HermeticOrmus/linux-sysadmin-skills/.cursor/rules/linux-sysadmin.mdc

Linux sysadmin workflows for Debian/Ubuntu (apt, systemd, journalctl) covering security, performance, diagnose, monitor, maintain. Confirm before destructive operations.

46mo agoReviewMountCreate a free account to mount
encoreshaoCursor rule

encore-skills / rules

encoreshao/encore-skills/.cursor/rules/review-code.mdc

Pre-MR self-review — first confirm the problem is actually solved, then check for security, correctness, and simplicity

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

codeprism / rules

rustic-ai/codeprism/.cursor/rules/rust-advanced.mdc

Enterprise-grade patterns for production systems including security, complex architecture, and deployment. Use this for high-stakes applications requiring authentication, comprehensive testing, and production deployment.

3117mo agoReviewMountCreate a free account to mount
michele-prandinaCursor rule

ClaudE2E / agents

michele-prandina/ClaudE2E/.cursor/rules/agents/head-of-engineering.mdc

Head of Engineering persona — architecture decisions, technical feasibility, stack governance. Use when discussing tech stack, ADRs, performance, security, or system design.

89mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/iso-42001-ai-governance.mdc

AI governance audit using ISO 42001 standard. Ensures AI systems are developed and deployed responsibly with risk management, ethics, security, transparency, and compliance best practices.

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

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/docker.mdc

Apply when writing or reviewing Dockerfiles, docker compose files, or container build pipelines. Covers layer caching, multi-stage builds, security hardening, and compose conventions.

206mo agoReviewMountCreate a free account to mount
darknecrocitiesCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/aws.mdc

Amazon Web Services resilient cloud architecture, serverless Lambda execution, S3 bucket security, DynamoDB single-table design, and IAM least privilege.

1317d agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/pr-validation.mdc

PR validation workflow (security, functionality and shortcomings, scale testing with mock data, hard-coded strings, CE/EE docs and code separation, reusable components, design principles, cross-agent verification). Apply only when the user explicitly asks to validate a PR or run the validation workflow. When a PR looks ready, ask "Your PR looks ready. Should I run the validation workflow?" instead of starting it.

3.1k5mo agoReviewMountCreate a free account to mount
RatimonReads credentialsCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/security-guidelines.mdc

Security — no service client in client code, no SUPABASE_SECRET_KEY on client, RLS, correct Supabase client per context, rate limit config, SSR state rules (no authenticationRepository in server load, ssr = false for protected routes)

1077d agoReviewMountCreate a free account to mount
raye-dengCursor rule

open-code-review / rules

raye-deng/open-code-review/.cursor/rules/open-code-review.mdc

Open Code Review - AI code quality gate for detecting hallucinated packages, stale APIs, context breaks, security anti-patterns, and over-engineering in AI-generated code.

378mo agoReviewMountCreate a free account to mount
darknecrocitiesCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/devops.mdc

Architect, implement, and maintain secure cloud infrastructure on GCP/AWS, multi-stage non-root Docker containers, Terraform IaC, CI/CD pipelines, and OpenTelemetry observability.

1317d agoReviewMountCreate a free account to mount
KangaKodeCursor rule

universal-agent-bootstrap / rules

KangaKode/universal-agent-bootstrap/.cursor/rules/code-reviewer.mdc

Code review quality gate — enforces architecture, code quality, and security conventions. Use proactively after any code change.

06mo agoReviewMountCreate a free account to mount
KangaKodeReads credentialsCursor rule

universal-agent-bootstrap / rules

KangaKode/universal-agent-bootstrap/.cursor/rules/red-team.mdc

Adversarial security gate — blocks commits with secrets, injection vulnerabilities, SSRF, and authorization failures. Run before every commit.

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

AgentsConfigHelper / rules

kgrizz-git/AgentsConfigHelper/.cursor/rules/codeguard-0-client-side-web-security.mdc

Client-side web security (XSS/DOM XSS, CSP, CSRF, clickjacking, XS-Leaks, third-party JS)

23mo agoReviewMountCreate a free account to mount
afaraha8403Cursor rule

balakit / rules

afaraha8403/balakit/.cursor/rules/seo-ai-search.mdc

Universal guidelines for SEO and AI-search implementation — meta tags, JSON-LD, llms.txt, crawlability, and adversarial security.

110d agoReviewMountCreate a free account to mount
Ame-AlReads credentialsCursor rule

ame / rules

Ame-Al/ame/.cursor/rules/sim-sandbox.mdc

Isolated-vm sandbox worker security policy. Hard rules for anything that lives in the worker child process that runs user code.

13mo agoReviewMountCreate a free account to mount
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

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

Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.

224mo agoReviewMountCreate a free account to mount
Surya8991Cursor rule

AgentMaster / rules

Surya8991/AgentMaster/.cursor/rules/codereview.mdc

Blunt, factual code review. No sugar coating. Finds bugs, security issues, performance problems, and architecture flaws. Use when user says /codereview or asks to review code.

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