agentleFS

Cursor rules examples

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

Best matches · from page 12Worked for most · soon
SiriusScanCursor rule

Sirius / rules

SiriusScan/Sirius/.cursor/rules/playwright-testing.mdc

Cursor rules for using Playwright MCP for browser testing and validation

1.7k9mo agoReviewMountCreate a free account to mount
prestCursor rule

prest / rules

prest/prest/.cursor/rules/adapter-unit-tests.mdc

Postgres adapter unit tests are sqlmock-only; no real DB or sqlx.Connect

No other project uses it yet

4.6k37d agoReviewMountCreate a free account to mount
yavdaanalyticsCursor rule

traceback / rules

yavdaanalytics/traceback/.cursor/rules/testing-files.mdc

Test file layout and conventions

24mo agoReviewMountCreate a free account to mount
SalesforceCommerceCloudCursor rule

pwa-kit / testing

SalesforceCommerceCloud/pwa-kit/.cursor/rules/testing/unit-tests-generic.mdc

USE WHEN writing unit tests for components in template packages

36311d agoReviewMountCreate a free account to mount
strelov1Cursor rule

freehire / rules

strelov1/freehire/.cursor/rules/commit-checks.mdc

Run gofmt, go vet, and unit tests before committing Go files

No other project uses it yet

3.4k7d agoReviewMountCreate a free account to mount
JasonBoyCursor rule

msw-mcp / rules

JasonBoy/msw-mcp/.cursor/rules/testing.mdc

Add Vitest tests when changing behavior in this monorepo

815mo agoReviewMountCreate a free account to mount
laragenticCursor rule

agents / rules

laragentic/agents/.cursor/rules/testing.mdc

Testing conventions and patterns for the Laragentic package

139mo agoReviewMountCreate a free account to mount
Ame-AlCursor rule

ame / rules

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

Testing patterns with Vitest and @sim/testing

13mo agoReviewMountCreate a free account to mount
oniharnantyoCursor rule

go-ai-ready-boilerplate / rules

oniharnantyo/go-ai-ready-boilerplate/.cursor/rules/04-testing.mdc

Testing conventions and coverage expectations

13mo agoReviewMountCreate a free account to mount
shahuichao24-opsCursor rule

Dialectic / rules

shahuichao24-ops/Dialectic/.cursor/rules/dialectic.mdc

Adversarial stress-testing framework for business proposals and product decisions (驳真). Triggers when debating "should we build it / is it worth it / is it a fake need" or when asked to challenge, stress test, roast, or find fatal flaws.

19d agoReviewMountCreate a free account to mount
coin-orCursor rule

pulp / rules

coin-or/pulp/.cursor/rules/verify-after-changes.mdc

Run unit tests, ty, and ruff checks after every code change

Steady2 mentions in 2 weeks

No other project uses it yet

2.5k5mo agoReviewMountCreate a free account to mount
jumpstarter-devCursor rule

jumpstarter / rules

jumpstarter-dev/jumpstarter/.cursor/rules/e2e-doc-sync.mdc

keep e2e README synchronized with e2e tests and runners

23337d agoReviewMountCreate a free account to mount
DataDogCursor rule

dd-trace-py / rules

DataDog/dd-trace-py/.cursor/rules/iast.mdc

IAST (Interactive Application Security Testing) - How it works and development guidelines

6538d agoReviewMountCreate a free account to mount
ReefJediCursor rule

coding-agent-prompts / rules

ReefJedi/coding-agent-prompts/.cursor/rules/debugger.mdc

Root-cause debugger. Use when a test fails, an error or stack trace appears, or behavior is wrong. Reproduces, isolates with evidence, applies the minimal fix plus a regression test.

030d agoReviewMountCreate a free account to mount
vltpkgCursor rule

vltpkg / rules

vltpkg/vltpkg/.cursor/rules/code-validation-workflow.mdc

Code validation workflow (format, lint, test, coverage, typecheck)

5656d agoReviewMountCreate a free account to mount
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

brendadeeznuts1111/betting-brain-v3/.cursor/rules/analytics-testing.mdc

Analytics testing patterns and best practices

813mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/incremental-development-cadence.mdc

Enforce step-by-step implementation with design-doc checks, tests, and i18n after each step

17k7mo agoReviewMountCreate a free account to mount
pr-pmCursor rule

prpm / rules

pr-pm/prpm/.cursor/rules/testing-patterns.mdc

Testing patterns and best practices for PRPM codebase with Vitest

1249mo agoReviewMountCreate a free account to mount
mrcbrbn5361Cursor rule

SyncytiumMD / rules

mrcbrbn5361/SyncytiumMD/.cursor/rules/testing-standards.mdc

Quality assurance and test verification guidelines

69d agoReviewMountCreate a free account to mount
masterfabric-mobileCursor rule

osmea / rules

masterfabric-mobile/osmea/.cursor/rules/osmea-packages-general.mdc

OSMEA packages - structure, dependencies, docs, testing, publishing

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