agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
BetterTypedCursor rule

react-zoom-pan-pinch / rules

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

Testing conventions — always use yarn test

Steady15 mentions in 2 weeks

No other project uses it yet

2k8mo agoReviewMountCreate a free account to mount
adammatthewsteinbergerCursor rule

claudeloop / rules

adammatthewsteinberger/claudeloop/.cursor/rules/claudeloop-testing.mdc

Explains claudeloop's testing philosophy and pytest layout — fakes over mocks for every port, FakeClock/FakeSleeper for simulating multi-day waits without real sleeping, mandatory Hypothesis property tests for numeric/time-based invariants, per-layer coverage gates (100% for domain and application), and the documented # pragma no cover policy. Use this whenever writing or modifying any test under tests/, whenever the user asks how to test something in this codebase, mentions coverage, Hypothesis, property-based testing, or asks why a coverage gate failed. Make sure to consult this before adding a mock (this codebase uses fakes implementing real Protocols instead), before adding a numeric or time-based config field without a property test, and before adding a # pragma no cover without a stated reason — all three are enforced review expectations here, not suggestions.

14mo agoReviewMountCreate a free account to mount
apacheCursor rule

nifi / rules

apache/nifi/.cursor/rules/system-test-troubleshooting-archive.mdc

Explains that every CI run of NiFi system tests uploads a per-test troubleshooting archive containing each cluster node's logs/ and conf/ directories, and how to download it when investigating a system test failure.

Steady2 mentions in 2 weeks

No other project uses it yet

6.3k6mo agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/testing.mdc

Use when writing tests, deciding on test coverage, choosing between unit/integration/E2E tests, applying TDD, or reviewing test quality — covers rigor tiers, the Red-Green-Refactor cycle, coverage requirements, and Playwright for UI testing.

13mo agoReviewMountCreate a free account to mount
appsmithorgReads credentialsCursor rule

appsmith / rules

appsmithorg/appsmith/.cursor/rules/playwright.mdc

Playwright E2E test conventions — POM design, assertions, selectors, test structure

41k35d agoReviewMountCreate a free account to mount
vantage-shCursor rule

ec2instances.info / rules

vantage-sh/ec2instances.info/.cursor/rules/tests.mdc

Test rules

No other project uses it yet

5.8k17mo agoReviewMountCreate a free account to mount
isaac-simCursor rule

IsaacSim / rules

isaac-sim/IsaacSim/.cursor/rules/test_instructions.mdc

How to run Kit extension/application tests and standalone source/libraries module tests

No other project uses it yet

4.6k26d agoReviewMountCreate a free account to mount
luigi-dvCursor rule

react-ts-vite / rules

luigi-dv/react-ts-vite/.cursor/rules/rtv-testing.mdc

What to test, where tests live and how to write them with Vitest and Testing Library.

143d agoReviewMountCreate a free account to mount
clouderaCursor rule

hue / rules

cloudera/hue/.cursor/rules/testing-rtl.mdc

Frontend testing with React Testing Library best practices.

1.4k15mo agoReviewMountCreate a free account to mount
JNTMTMTMCursor rule

eIsland / rules

JNTMTMTM/eIsland/.cursor/rules/test-file-location.mdc

Keep test files in dedicated test directories

3622mo agoReviewMountCreate a free account to mount
tounsilsCursor rule

claude-code-skills / rules

tounsils/claude-code-skills/.cursor/rules/test-gaps.mdc

Find the untested branches that matter, write tests that can actually fail, and report pass, fail, and skip counts honestly. Use when asked to add tests, write tests for this, improve coverage, find test gaps, check what is untested, or when a change needs test coverage before it ships.

140d agoReviewMountCreate a free account to mount
osaurus-aiCursor rule

osaurus / rules

osaurus-ai/osaurus/.cursor/rules/testing-workflow.mdc

When to run tests — full suite only before PR submission, targeted tests during development

Steady7 mentions in 2 weeks

No other project uses it yet

8.2k19d agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/test-quality-validation.mdc

Validates test quality and prevents testing theater anti-patterns in Rust test files

3117mo agoReviewMountCreate a free account to mount
darknecrocitiesCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/testing.mdc

Test-Driven Development (TDD), Vitest, Jest, Playwright E2E with accessible locators, MSW contract tests, mutation testing, and controlled A/B testing with deterministic hash bucketing and SRM statistical verification.

1332d agoReviewMountCreate a free account to mount
przeprogramowaniCursor rule

ai-rules-builder / rules

przeprogramowani/ai-rules-builder/.cursor/rules/vitest-unit-testing.mdc

Unit testing with Vitest and React Testing Library

26413mo agoReviewMountCreate a free account to mount
apacheCursor rule

nifi / rules

apache/nifi/.cursor/rules/testing-standards.mdc

Shared test coding conventions for all NiFi automated tests (framework and extensions)

Steady2 mentions in 2 weeks

No other project uses it yet

6.3k6mo agoReviewMountCreate a free account to mount
Zulut30Cursor rule

dart-mobile-game-studio / rules

Zulut30/dart-mobile-game-studio/.cursor/rules/dart-flutter-testing.mdc

Testing & build rules for Dart/Flutter games — unit-test the pure model with dart test, widget/golden/Patrol tests, honest analyze/build reporting.

15mo agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/desktop-e2e-edho-ferdian.mdc

End-to-end tests for Windows desktop apps (WPF, WinForms, Win32, Qt) with pywinauto over UI Automation. Use for \"test aplikasi desktop\", \"pywinauto\", \"WPF/WinForms/Qt test\", \"UI Automation\", \"test .exe ini\", or a flaky desktop GUI suite.

2211d agoReviewMountCreate a free account to mount
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/e2e-runner.mdc

End-to-end testing specialist using Playwright. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

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