agentleFS

Cursor rules examples

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

Best matches · from page 14Worked for most · soon
jeaninejiangCursor rule

shipping-skills / rules

jeaninejiang/shipping-skills/.cursor/rules/supabase-rls-data-model.mdc

Design Postgres tables, Row Level Security policies and migrations for a Supabase app where data is shared between users — couples, teams, households, invites, join codes, anything two or more accounts touch. Use this whenever you are creating or changing a Supabase table, writing or debugging an RLS policy, adding an invite/pairing/join flow, or investigating why a query returns nothing for one user but works for another. Reach for it early: RLS decisions are cheap to make correctly up front and expensive to unpick once rows exist, and the most common failure mode is a silent empty result rather than an error.

139d agoReviewMountCreate a free account to mount
MANVENDRA-githubReads credentialsCursor rule

secrets-management

MANVENDRA-github/agentry/.cursor/rules/secrets-management.mdc

Handle a secret across its whole lifecycle — keep it out of source and image layers, inject it at runtime via environment or a secret store, scope each credential to least privilege, and rotate on a schedule and immediately after exposure. Invoke when code needs an API key, DB password, token, or private key, or when wiring how an app obtains its secrets. Complements the secret-scan hook (which only blocks committing a literal) and security-review (which only flags secrets in your diff). Skip for code that handles no credentials.

05mo agoReviewMountCreate a free account to mount
adammatthewsteinbergerCursor rule

claudeloop / rules

adammatthewsteinberger/claudeloop/.cursor/rules/claudeloop-quality-gates.mdc

Covers how to run and FIX every quality gate in this repo — ruff (lint + format), mypy --strict, pytest with per-layer coverage, import-linter (lint-imports), bandit, and pip-audit. Use this whenever a quality gate fails locally or in CI, whenever the user asks how to lint, format, type-check, or run security scans on this codebase, or before opening a PR to run the full gate set proactively. Make sure to consult this whenever a ruff, mypy, lint-imports, or bandit error appears in tool output — it gives the exact fix command for each gate rather than requiring you to guess at generic remediation.

14mo agoReviewMountCreate a free account to mount
allthingslinuxReads credentialsCursor rule

tux / security

allthingslinux/tux/.cursor/rules/security/secrets.mdc

Secret management, environment variables, credential handling, and secure configuration for Tux

16510mo agoReviewMountCreate a free account to mount
cbtw-apacCursor rule

qdrant-loader / rules

cbtw-apac/qdrant-loader/.cursor/rules/security-expert.mdc

Guide the AI to act as a Security Expert, focusing on code and infrastructure auditing.

5610mo agoReviewMountCreate a free account to mount
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/security-audit.mdc

Use the security-audit Agent Skill when relevant; read the full skill directory before acting.

335mo agoReviewMountCreate a free account to mount
dirnbauerReads credentialsCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/typo3-security.mdc

Use the typo3-security Agent Skill when relevant; read the full skill directory before acting.

335mo agoReviewMountCreate a free account to mount
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/security-incident-reporting.mdc

Use the security-incident-reporting Agent Skill when relevant; read the full skill directory before acting.

335mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-agents.md

Agent orchestration: available agents, parallel execution, multi-perspective analysis

Steady16 mentions in 2 weeks

18 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-patterns.md

Common patterns: repository, API response, skeleton projects

Steady16 mentions in 2 weeks

21 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
DietrichGebertCursor rule

ponytail / rules

DietrichGebert/ponytail/.cursor/rules/ponytail.mdc

Ponytail, lazy senior dev mode. Always pick the simplest solution that works.

Surging12 mentions in 2 weeks

1 project uses a version of this

201k6mo agoReviewMountCreate a free account to mount
apacheCursor rule

superset / rules

apache/superset/.cursor/rules/dev-standard.mdc

Apache Superset development standards and guidelines for Cursor IDE

Steady2 mentions in 2 weeks

No other project uses it yet

76k15mo agoReviewMountCreate a free account to mount
maybe-financeCursor rule

maybe / rules

maybe-finance/maybe/.cursor/rules/project-design.mdc

This rule explains the system architecture and data flow of the Rails app

54k18mo agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/agents.mdc

testing-feature` | QA test features using Playwright | | `reviewing-local-changes` | Code review for quality, security, best practices, and product/API alignment | | `simplifying-local-changes` | Simplify and refine code changes

No other project uses it yet

47k5d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/overview.mdc

clear error, a short doc note, or leaving the code as is. Security issues and data loss still need a real fix. This applies to review feedback too: a reviewer

No other project uses it yet

47k5d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/python_lib.mdc

Production code must remain compatible with Python/OpenSSL environments running in FIPS mode. - For non-security hashing, use `streamlit.util.create_fast_hasher` (incremental hashing) or `calc_hash` (one-shot string/bytes hashing) instead

No other project uses it yet

47k5d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/specs.mdc

working app is to hit it later. Preventing wrong results, data loss, or a security problem justifies an exception; enforcing tidy usage does not. ## 24. Leverage Markdown Everywhere Wherever text

No other project uses it yet

47k5d agoReviewMountCreate a free account to mount
streamlitReads credentialsCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/workflows.mdc

snapshots | | `spec-validation.yml` | PR with `change:spec` label | Validates product spec PRs in `specs/` directory | ### Security & Analysis | Workflow | Trigger | Description | |----------|---------|-------------| | `codeql-analysis.yml` | Push/PR to `develop`, weekly | GitHub CodeQL security scanning

47k5d agoReviewMountCreate a free account to mount
appsmithorgReads credentialsCursor rule

appsmith / build

appsmithorg/appsmith/.cursor/rules/build/docker.mdc

Docker image optimization — minimal base images, layer caching, multi-stage builds, and size reduction

41k35d agoReviewMountCreate a free account to mount
eyaltoledanoCursor rule

claude-task-master / rules

eyaltoledano/claude-task-master/.cursor/rules/self_improve.mdc

Guidelines for continuously improving Cursor rules based on emerging code patterns and best practices.

Risinginterest up 38% this month

7 projects use a version of this

28k12mo 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.