agentleFS

Cursor rules examples

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

Best matches · from page 3Worked for most · soon
Twodragon0Cursor rule

claudesec / rules

Twodragon0/claudesec/.cursor/rules/security-citations.mdc

Security advice must cite OWASP, NIST, CIS; claims need sources

166mo agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/drupal-logging-failures.mdc

Detect and prevent security logging and monitoring failures in Drupal as defined in OWASP Top 10:2021-A09

8813mo agoReviewMountCreate a free account to mount
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/audit-bugs.mdc

Bug audit checklist — use when asked to review code for bugs, security issues, or quality problems

406mo agoReviewMountCreate a free account to mount
brettdaviesCursor rule

cursor-template / sql

brettdavies/cursor-template/.cursor/rules/sql/sql-rls-policies.mdc

Supabase Postgres SQL RLS Row Level Security Guide

120mo agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/python-logging-monitoring-failures.mdc

Detect and prevent security logging and monitoring failures in Python applications as defined in OWASP Top 10:2021-A09

8813mo agoReviewMountCreate a free account to mount
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

1229mo 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

23mo 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
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)

95mo agoReviewMountCreate a free account to mount
ashish7802Cursor rule

awesome-agent-skills / rules

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

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

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.

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

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

207mo agoReviewMountCreate a free account to mount
wchen02Cursor rule

cursor-agent-learning / rules

wchen02/cursor-agent-learning/.cursor/rules/human-in-the-loop.mdc

When and how to use human-in-the-loop (HITL) in agent workflows; apply before merge, deploy, release, or applying security fixes.

39mo 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

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

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

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

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

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