agentleFS

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
the-vibey-projectCursor rule

vibey / rules

the-vibey-project/vibey/.cursor/rules/vibey-testing.mdc

The 100% per-layer coverage gates, running tests locally, Postgres integration tests (never mocked), property testing for rotation and no-loss gate, the chaos test, the test tree, and markers.

325d agoReviewMountCreate a free account to mount
dotCMSCursor rule

core / rules

dotCMS/core/.cursor/rules/test-context.mdc

Testing with Spectator, Vitest, data-testid, integration tests. Use when writing or editing *.spec.ts, *Test.java, or test files.

9713mo agoReviewMountCreate a free account to mount
BetterTypedCursor rule

react-zoom-pan-pinch / rules

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

Testing conventions — always use yarn test

Steady7 mentions in 2 weeks

No other project uses it yet

1.9k7mo 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.

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.

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

No other project uses it yet

41k6d 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.

104mo 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.8k16mo 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.

114d 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.4k14mo 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

Steady3 mentions in 2 weeks

No other project uses it yet

4.3k19d agoReviewMountCreate a free account to mount
katalon-labsReads credentialsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/test-case-to-katalon-studio.mdc

Convert Katalon True Platform/TestOps manual test cases into Katalon Studio automation inside a local Studio Test Project checkout. Use when you need to author or extend a .tc test case file and its paired Groovy script under Scripts/, keep test case variable GUIDs consistent with the .ts test suite bindings that read them, model page elements as .rs test objects in the Object Repository instead of inline selectors, write WebUI, Mobile, or WS keyword steps in Groovy with Java interop, or wire data files, execution profiles, and GlobalVariable into a generated case. Also use to decide whether a headless katalonc run is possible at all, since Katalon Runtime Engine is a separately licensed paid runtime whose CLI requires -apiKey. Once a Studio run has finished and its report exists, hand off to upload-report. Written for the automation tester who has to land a manual case inside a Katalon Studio project rather than a code-first framework.

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

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

32331d 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.1k49d 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
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.