agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
alibabaCursor rule

loongcollector / testing-standards

alibaba/loongcollector/.cursor/rules/testing-standards/e2e-develop-guide.mdc

LoongCollector E2E Testing Framework Development Guide. Use this rule when you need to understand E2E testing framework architecture, develop new test behavior functions, or extend testing capabilities. Contains detailed BDD testing framework usage, test behavior function development and registration workflows, and comprehensive reference of existing testing capabilities. Example: When adding custom test behaviors for new plugins, use this rule to understand how to write and register new test functions. Example: When developing E2E tests, use this rule to understand the e2e framework.

2.2k4mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / testing-standards

alibaba/loongcollector/.cursor/rules/testing-standards/e2e-manual.mdc

E2E Testing Standards Guide. Use this rule when you need to write or execute E2E tests, including test naming conventions, test workflows, and test behavior templates. This rule should be used for end-to-end integration testing scenarios to ensure test standardization and maintainability. Example: When writing new E2E tests, use this rule to ensure proper test format and workflow compliance.

2.2k4mo agoReviewMountCreate a free account to mount
hyperdxioCursor rule

hyperdx / rules

hyperdxio/hyperdx/.cursor/rules/playwright.mdc

HyperDX Playwright E2E test conventions for writing, reviewing, and fixing tests. Use when creating, editing, or debugging any E2E test in this project.

No other project uses it yet

9.9k8mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/common-testing.md

Testing requirements: 80% coverage, TDD workflow, test types

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/nat-test-llm.mdc

Follow these rules when the user's request involves using NAT test LLM (nat_test_llm) to simulate deterministic responses in workflows or tests

2.7k15mo 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
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
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
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
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
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
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
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

Steady5 mentions in 2 weeks

No other project uses it yet

11k47d agoReviewMountCreate a free account to mount
novuhqReads credentialsCursor rule

novu / rules

novuhq/novu/.cursor/rules/safe-api-tests.mdc

NEVER run apps/api mocha tests without NODE_ENV=test — drops dev MongoDB

40k52d agoReviewMountCreate a free account to mount
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/build-test.mdc

Build & test

Surging3 mentions in 2 weeks

1 project uses a version of this

1.3k30d agoReviewMountCreate a free account to mount
datahub-projectCursor rule

datahub / rules

datahub-project/datahub/.cursor/rules/test-review.mdc

DataHub test review — use when asked to review, check, validate, or audit smoke tests

No other project uses it yet

13k2mo agoReviewMountCreate a free account to mount
OpnFormCursor rule

OpnForm / rules

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

Front-end Testing Nuxt app with Vitest and Vue Test Utils

Steady4 mentions in 2 weeks

No other project uses it yet

3.8k5mo agoReviewMountCreate a free account to mount
jdxReads credentialsCursor rule

mise / rules

jdx/mise/.cursor/rules/testing.mdc

how to test the mise codebase

No other project uses it yet

36k24d agoReviewMountCreate a free account to mount
dasherswCursor rule

gea / rules

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

How to run unit tests — uses Node built-in test runner, NOT vitest

No other project uses it yet

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