agentleFS

Cursor rules examples

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

Best matches · from page 9Worked for most · soon
VercelCursor rule

workflow / rules

vercel/workflow/.cursor/rules/workflow-deployment.mdc

Workflow testing and deployment process guide

2.5k13d agoReviewMountCreate a free account to mount
BetterTypedCursor rule

react-zoom-pan-pinch / rules

BetterTyped/react-zoom-pan-pinch/.cursor/rules/testing-workflow.mdc

When and whether to write tests during library work

Steady15 mentions in 2 weeks

No other project uses it yet

2k8mo agoReviewMountCreate a free account to mount
xu-xiangCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/swift-testing.md

Swift 测试(Swift Testing)扩展了通用规则

1.9k9mo agoReviewMountCreate a free account to mount
elie222Reads credentialsCursor rule

inbox-zero / rules

elie222/inbox-zero/.cursor/rules/e2e-testing.mdc

E2E Flow Tests setup and debugging guide

Steady6 mentions in 2 weeks

No other project uses it yet

13k9mo agoReviewMountCreate a free account to mount
AutomatticCursor rule

wp-calypso / rules

Automattic/wp-calypso/.cursor/rules/dashboard-testing.mdc

Rules for writing tests for dashboard screen / components

No other project uses it yet

13k2d agoReviewMountCreate a free account to mount
oaknationalCursor rule

oak-open-curriculum-ecosystem / rules

oaknational/oak-open-curriculum-ecosystem/.cursor/rules/test-immediate-fails.mdc

Test immediate-fail checklist. Any single violation rejects the test; first-pass screen before any deeper analysis.

107mo agoReviewMountCreate a free account to mount
boundlesslightbringerCursor rule

novelwriter / rules

boundlesslightbringer/novelwriter/.cursor/rules/test-patterns.mdc

Test fixture and assertion patterns. Auto-attach when editing test_*.py

08mo agoReviewMountCreate a free account to mount
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

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

Testing conventions and patterns

814mo agoReviewMountCreate a free account to mount
SentryCursor rule

sentry-java / rules

getsentry/sentry-java/.cursor/rules/e2e_tests.mdc

Java SDK End to End Tests

Steady5 mentions in 2 weeks

No other project uses it yet

1.4k13d agoReviewMountCreate a free account to mount
dasherswCursor rule

gea / rules

dashersw/gea/.cursor/rules/playwright-testing.mdc

How to run Playwright tests for example apps

1.3k8mo agoReviewMountCreate a free account to mount
hatchet-devCursor rule

hatchet / rules

hatchet-dev/hatchet/.cursor/rules/typescript-e2e-tests.mdc

Running and writing TypeScript SDK e2e tests

Steady13 mentions in 2 weeks

No other project uses it yet

8.4k3mo agoReviewMountCreate a free account to mount
toprakahmetaydogmusCursor rule

TZeroAlgorithm / rules

toprakahmetaydogmus/TZeroAlgorithm/.cursor/rules/testing.mdc

Testing and Quality Assurance Protocols

1265d agoReviewMountCreate a free account to mount
tounsilsCursor rule

claude-code-skills / rules

tounsils/claude-code-skills/.cursor/rules/root-cause.mdc

Debug by reproducing first, isolating the mechanism, then fixing the cause rather than the symptom, and keeping the reproduction as a regression test. Use when asked to debug this, fix this bug, find out why something happens, investigate a failure, or work out what is going wrong, and when a test fails intermittently or flakily, behavior differs between environments, or someone proposes raising a timeout, adding a retry, or skipping a test to make a problem go away.

140d agoReviewMountCreate a free account to mount
elementorCursor rule

elementor / rules

elementor/elementor/.cursor/rules/tests-code-style.mdc

Technical testing rules and code quality standards

7.1k2mo agoReviewMountCreate a free account to mount
thedaviddiasCursor rule

llms-txt-hub / rules

thedaviddias/llms-txt-hub/.cursor/rules/testing.mdc

Rules for writing Jest tests in TypeScript

91221mo agoReviewMountCreate a free account to mount
eyaltoledanoReads credentialsCursor rule

claude-task-master / rules

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

Guidelines for implementing and maintaining tests for Task Master CLI

Risinginterest up 38% this month

No other project uses it yet

28k12mo agoReviewMountCreate a free account to mount
Jailsom-NogueiraCursor rule

nextjs-bootstrap-template / rules

Jailsom-Nogueira/nextjs-bootstrap-template/.cursor/rules/30-tests.mdc

Vitest + RTL unit tests, Playwright e2e — determinism, no skipped tests, MSW where needed

06mo agoReviewMountCreate a free account to mount
storybookjsCursor rule

storybook / rules

storybookjs/storybook/.cursor/rules/spy-mocking.mdc

Rules for consistent and type-safe mocking in Vitest tests

No other project uses it yet

92k4d agoReviewMountCreate a free account to mount
sakurablushCursor rule

zeroagent-studio / rules

sakurablush/zeroagent-studio/.cursor/rules/zeroagent-test-engineer.mdc

Write and improve ZeroAgent Studio tests (Vitest, jsdom). Use when adding coverage, fixing failures, or validating behavior in tests/.

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