agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
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.

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

6.3k5mo 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
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/test-estimation.mdc

Estimate testing effort, duration, and resourcing for a Katalon True Platform/TestOps cycle. Use when the question is how long testing will take, how many testers it needs, whether the scope fits the sprint window, or what a scope change costs in person-hours. Sizes design, manual execution, automated execution and triage, and rework separately, counts the countable part from platform data (case counts, automation split, historical pass and stability rates, configuration matrix), calibrates the rest against a rate the team supplies, and returns a three-point range with a confidence label instead of a single number. Splits resourcing across the manual and automated lanes and names the assumptions that would move the number most. For what to test and in what order, use test-plan; for a verdict on a cycle that has already run, use release-analyze. Written for the test lead sizing a cycle before it starts and the test manager who has to fund it.

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

Steady2 mentions in 2 weeks

No other project uses it yet

4.4k10d 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.

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

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

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

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

No other project uses it yet

8.1k2mo 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

26412mo 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)

6.3k5mo 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.

14mo agoReviewMountCreate a free account to mount
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/release-analyze.mdc

Analyze Katalon True Platform/TestOps release readiness from testing quality data. Use when you need to use Katalon MCP metrics and results to assess whether a release, sprint, iteration, version, test plan, suite, or repository is ready to ship; summarize requirement coverage, execution health, defect risk, test stability, configuration coverage, release blockers, quality gaps, and produce a Ready / Ready with risk / Not ready recommendation. Written for the test manager who owns the ship call and the test lead who has to defend it.

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

2216d agoReviewMountCreate a free account to mount
Chia-NetworkCursor rule

chia-blockchain / rules

Chia-Network/chia-blockchain/.cursor/rules/testing-guide.mdc

Chia test harness routing — pick the right guide and harness before writing tests

No other project uses it yet

11k9d agoReviewMountCreate a free account to mount
y-miyazakiCursor rule

config / rules

y-miyazaki/config/.cursor/rules/go-test.mdc

Go test authoring conventions for tests, stubs, and test pairing

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