agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
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

1207mo agoDiscuss
ZIZKA-AI-SLCursor rule

ZizkaDB / rules

ZIZKA-AI-SL/ZizkaDB/.cursor/rules/core-backend.mdc

ZizkaDB FastAPI backend — Python/DB/Redis/security (CODING_STANDARDS §15-24)

11429d agoDiscuss
ZIZKA-AI-SLCursor rule

ZizkaDB / rules

ZIZKA-AI-SL/ZizkaDB/.cursor/rules/testing.mdc

ZizkaDB testing conventions — per-layer test commands, integration test setup, and test file map

11429d agoDiscuss
aaddrickCursor rule

attention-control / rules

aaddrick/attention-control/.cursor/rules/attention-control.mdc

Action-first output in controlled English, shaped for a reader with ADHD.

1032mo agoDeletes or force-pushesDiscuss
litefuseCursor rule

litefuse / rules

litefuse/litefuse/.cursor/rules/global.mdc

observations.ts](mdc:packages/shared/src/domain/observations.ts), [traces.ts](mdc:packages/shared/src/domain/traces.ts), [scores.ts](mdc:packages/shared/src/domain/scores.ts). ## Database schema We use Postgres and Clickhouse. - The postgres schema is in [schema.prisma](mdc:packages/shared/prisma/schema.prisma) - The clickhouse schema is in [0001_traces.up.sql

1014mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/secret-detection.mdc

secure configuration manager for database connections." # Database Credentials - pattern: "(?i)(db[_-]?password|mysql[_-]?password|postgres[_-]?password|mongo[_-]?password|database[_-]?password)[\\s]*[=:]\\s*['\\\"][^\\s]{3,}['\\\"]" message: "Potential database password detected. Store

8811mo agoReads credentialsDiscuss
RatimonCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/backend-service-cache.mdc

Cache usage in backend service layer — source of truth, read-aside / write-around, CacheService, keys, getOrSet, invalidation

766d agoDiscuss
RatimonCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/infra-docker-compose.mdc

infra/ Compose stacks, self-host env, Docker image builds (Node 24, monorepo root context), and how they relate to contributor dev deps

766d agoReads credentialsDiscuss
kivo360Cursor rule

OmoiOS / rules

kivo360/OmoiOS/.cursor/rules/development.mdc

Development environment setup and commands for backend services

758mo agoDiscuss
delphicleancodeCursor rule

delphi-spec-kit / rules

delphicleancode/delphi-spec-kit/.cursor/rules/postgresql-patterns.md

PostgreSQL Database Standards — FireDAC connection, PL/pgSQL, UPSERT, JSONB, full-text search, transactions

506mo agoDiscuss
alkoleftCursor rule

platform-context-exporter / rules

alkoleft/platform-context-exporter/.cursor/rules/122-java-integration-testing.mdc

Java Integration testing guidelines

4816mo agoDeletes or force-pushesDiscuss
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/seed-data.mdc

Patterns for development seed data — stable UUIDs, realistic data, cross-references

404mo agoDiscuss
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/write-tests-planning.mdc

Backend test planning — discriminator matrix, predicate-derived plans, integration DB safety

404mo agoDiscuss
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.

3115mo agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/devops-engineer.mdc

Infrastructure, Deployment, and CI/CD specialist. Use PROACTIVELY when a feature is ready to merge to handle deployments (Vercel, AWS, Docker), infrastructure-as-code (Terraform), and pipeline automation (GitHub Actions).

223mo agoReads credentialsDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/super-architect.mdc

Software architecture specialist for system design, scalability, and technical decision-making. Produces ADRs, Vertical Slice plans, and enforces deep module design for the Agentic Company pipeline. Contains the full knowledge of Architecture Patterns, Systems Design, and Planning.

223mo agoDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-n8n.mdc

Rules for n8n workflows (nodes, webhooks, Execute Workflow, credentials, docs). Aligned with the n8n-workflows skill.

2010d agoDiscuss
sordi-aiCursor rule

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/db-schema.mdc

Apply when designing database schemas, writing migrations, or reviewing table structure. Covers naming, keys, indexes, constraints, nullability, and migration safety.

205mo agoDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/backend-engineering-edho-ferdian.mdc

Authoring server-side code between the API contract and the datastore — layering and ports/adapters boundaries, error taxonomy and resilience (typed errors, Result style, retry with backoff, circuit breakers), background jobs and queues, structured logging emission, and adding a new integration that matches the repo's existing connector pattern. The backend counterpart to frontend-engineering-edho-ferdian. Framework guides: NestJS and Ruby on Rails (service/form/query objects, Hotwire, Rails 8 Solid stack). Trigger phrases: \"struktur service layer\", \"error handling di backend\", \"retry/circuit breaker\", \"background job / queue\", \"tambah integrasi baru\", \"bikin app Rails\", \"Rails service object\".

199d agoDiscuss
delphicleancodeCursor rule

lazarus-spec-kit / rules

delphicleancode/lazarus-spec-kit/.cursor/rules/postgresql-patterns.md

Padrões PostgreSQL Database — conexão SQLdb/Zeos, PL/pgSQL, UPSERT, JSONB, full-text search, transactions

176mo agoDiscuss
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.