agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
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

10k8mo 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

Steady17 mentions in 2 weeks

20 projects use a version of this

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

41k17d 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

11k6d 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

40k4d 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

Steady5 mentions in 2 weeks

No other project uses it yet

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

36k10d agoReviewMountCreate a free account to mount
osqueryCursor rule

osquery / rules

osquery/osquery/.cursor/rules/build-format.mdc

Build, test, and format

Steady3 mentions in 2 weeks

No other project uses it yet

24k12mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/writing-tests.mdc

How to write tests in the monorepo

Steady8 mentions in 2 weeks

No other project uses it yet

17k3mo agoReviewMountCreate a free account to mount
BasedHardwareCursor rule

omi / rules

BasedHardware/omi/.cursor/rules/backend-testing.mdc

Backend testing requirements

No other project uses it yet

14k10mo agoReviewMountCreate a free account to mount
novuhqCursor rule

novu / rules

novuhq/novu/.cursor/rules/testing.mdc

Rules for writing and running tests

40k4d agoReviewMountCreate a free account to mount
surrealdbCursor rule

surrealdb / rules

surrealdb/surrealdb/.cursor/rules/surrealql-language-tests.mdc

SurrealQL language testing guidelines

No other project uses it yet

33k4mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Go testing extending common rules

Steady17 mentions in 2 weeks

20 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Kotlin testing extending common rules

Steady17 mentions in 2 weeks

17 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

PHP testing extending common rules

Steady17 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Python testing extending common rules

Steady17 mentions in 2 weeks

20 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Swift testing extending common rules

Steady17 mentions in 2 weeks

20 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

TypeScript testing extending common rules

Steady17 mentions in 2 weeks

20 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
tw93Cursor rule

Mole / rules

tw93/Mole/.cursor/rules/mole-test-safety.mdc

Mole test safety and verification defaults

No other project uses it yet

74k22d agoReviewMountCreate a free account to mount
HumanSignalCursor rule

label-studio / rules

HumanSignal/label-studio/.cursor/rules/cypress_tests.mdc

Writing and updating cypress integration tests

No other project uses it yet

29k8mo 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.