agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 13Worked for most · soon
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/file-structures.mdc

Outlines file and directory structure conventions within the `@vibe/core` package (located in `packages/core/`), including top-level "src/" and component-specific organization (tests, stories, sub-components, hooks).

6787mo agoDiscuss
arxdsilvaCursor rule

vault / rules

arxdsilva/vault/.cursor/rules/unit-tests-tdd.mdc

TDD for behavior changes; co-located tests; keep touched areas well covered

32mo agoDiscuss
ashish7802Cursor rule

awesome-agent-skills / rules

ashish7802/awesome-agent-skills/.cursor/rules/playwright-e2e-suite.mdc

Enforces user-centric locators, hermetic test fixtures, and automated accessibility auditing.

118d agoDiscuss
EvilFreelancerCursor rule

zaezd / rules

EvilFreelancer/zaezd/.cursor/rules/workflow.mdc

BDD delivery order, Gherkin spec before tests before code, definition of done, Rules Sync

143d agoDiscuss
luisabwkCursor rule

kraken / systematic-debugging

luisabwk/kraken/.cursor/rules/systematic-debugging/RULE.md

Use when encountering bugs, test failures, unexpected behavior, or any technical issue before proposing fixes

17mo agoDiscuss
sfmqrbCursor rule

pics-or-it-didnt-happen / rules

sfmqrb/pics-or-it-didnt-happen/.cursor/rules/pics-or-it-didnt-happen.mdc

No receipt, no claim. Never report tests passing or bugs fixed without running the check.

16d agoDiscuss
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-testing-ui.mdc

Validate Android UI behavior with Compose UI tests, Espresso-style checks, screenshot assertions, and accessibility verification.

146mo agoDiscuss
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-testing-unit.mdc

Write fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders.

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

3115mo agoDiscuss
driftwatch-kitCursor rule

driftwatch / rules

driftwatch-kit/driftwatch/.cursor/rules/no-skipped-tests.mdc

TEASER — do not skip tests to go green. Incomplete; the full pack flags skip markers in CI.

221d agoDiscuss
kunalsuriCursor rule

ai-fication-kit / rules

kunalsuri/ai-fication-kit/.cursor/rules/add-feature.mdc

Implement a feature using the knowledge layer — spec first, surgical diffs, tests before done, knowledge updated after.

33mo agoDiscuss
vmandicCursor rule

searchconsole-mcp / rules

vmandic/searchconsole-mcp/.cursor/rules/code-style.mdc

Use when editing TypeScript under src/ or test/ in searchconsole-mcp (imports, Zod, stdio, tool handlers).

34mo agoDiscuss
sordi-aiCursor rule

skill-everything / rules

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

Apply when building FastAPI endpoints, Pydantic models, or async APIs. Covers routing, dependency injection, error handling, testing, and OpenAPI hygiene.

205mo agoDiscuss
luisabwkCursor rule

kraken / test-driven-development

luisabwk/kraken/.cursor/rules/test-driven-development/RULE.md

Use when implementing any feature, bugfix, or code change - write tests first, watch them fail, then implement

17mo agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/respond-review.mdc

Act on a reviewer agent's feedback systematically — categorize findings, apply fixes, verify tests still pass. Use after request-review returns a report, or when user wants to work through code review findings.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/trace-requirement.mdc

Link story IDs from specs/release-plan.yaml + epic capsule directories to the implementing code and tests. Produces specs/TRACEABILITY_LATEST.md. Use when you want to verify coverage of a release plan, audit which stories are implemented, or find \"dark\" stories with no code.

24030d agoDiscuss
canyonlabzCursor rule

perfpilot-hub / rules

canyonlabz/perfpilot-hub/.cursor/rules/jmeter-script-guardrails.mdc

JMeter script guardrails — smoke test limits, dry run first, backup protection, debug iteration caps

45mo agoDiscuss
farukzahraCursor rule

agent-skills / rules

farukzahra/agent-skills/.cursor/rules/finish-task-dev-server.mdc

Ao concluir tarefas, subir servidor dev e informar URL de teste

024d agoDiscuss
smg99Cursor rule

ticket-flow / rules

smg99/ticket-flow/.cursor/rules/ticket-handoff.mdc

Prompts the developer or agent to provide the standard Impact Area and ensures tests are included before handoff.

02mo agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/validate-fix.mdc

Prove a fix works before declaring done — re-run the failing test, run the full suite, typecheck, lint, and harden against recurrence. Use after implementing a bug fix, when user says \"is this fixed?\", or before closing an investigation.

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