agentleFS

Cursor rules examples

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

Best matches · from page 8Worked for most · soon
ctxr-devCursor rule

llm-wiki-memory / rules

ctxr-dev/llm-wiki-memory/.cursor/rules/testing.mdc

Testing rules for llm-wiki-memory — node:test harness conventions, mock-provider seams, the /tmp/lwm-* leak trap. Canonical file is .agents/rules/testing.md.

1313mo agoReviewMountCreate a free account to mount
ArenukvernCursor rule

mcp_flutter / rules

Arenukvern/mcp_flutter/.cursor/rules/test_use_tdd.mdc

when writiing tests or mentioning TDD

3977d agoReviewMountCreate a free account to mount
simstudioaiCursor rule

sim / rules

simstudioai/sim/.cursor/rules/sim-testing.mdc

Test layers, naming, and Vitest mechanics for Sim

Steady23 mentions in 2 weeks

No other project uses it yet

30k8d agoReviewMountCreate a free account to mount
OpnFormCursor rule

OpnForm / rules

OpnForm/OpnForm/.cursor/rules/back-end-testing.mdc

Laravel Back-end Tests

No other project uses it yet

4k20d agoReviewMountCreate a free account to mount
dotneetCursor rule

aica / rules

dotneet/aica/.cursor/rules/test.mdc

use bun for test

1621mo agoReviewMountCreate a free account to mount
IamLiuLvCursor rule

compoder / storybook-test

IamLiuLv/compoder/.cursor/rules/storybook-test/StorybookGenerationOrchestrator.mdc

compoder storybook-test

28817mo agoReviewMountCreate a free account to mount
keymapperorgCursor rule

KeyMapper / rules

keymapperorg/KeyMapper/.cursor/rules/keymapper-build-and-tooling.mdc

Build, test, and tooling commands for KeyMapper

2.8k6mo agoReviewMountCreate a free account to mount
VercelCursor rule

workflow / rules

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

Workflow testing and deployment process guide

2.5k13mo 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
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

13k6mo 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

07mo agoReviewMountCreate a free account to mount
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

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

Testing conventions and patterns

813mo 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

Steady2 mentions in 2 weeks

No other project uses it yet

1.4k7mo 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

No other project uses it yet

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

Steady14 mentions in 2 weeks

No other project uses it yet

8.2k2mo 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.

124d 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

No other project uses it yet

7.1k53d 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
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

91k11d 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.