agentleFS

Cursor rules examples

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

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

Steady7 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

Steady2 mentions in 2 weeks

No other project uses it yet

14k10mo agoReviewMountCreate a free account to mount
apacheCursor rule

nifi / rules

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

Testing guidance for NiFi framework code (not extensions). Covers when to use unit, integration, and system tests for framework classes.

6.3k5mo agoReviewMountCreate a free account to mount
eastlondonerReads credentialsCursor rule

vibe-tools / rules

eastlondoner/vibe-tools/.cursor/rules/testing.mdc

Any testing with pnpm dev <command>

4.8k16mo agoReviewMountCreate a free account to mount
apptensionCursor rule

saas-boilerplate / rules

apptension/saas-boilerplate/.cursor/rules/testing.mdc

Testing conventions and patterns

3k9mo agoReviewMountCreate a free account to mount
apacheCursor rule

trafficserver / rules

apache/trafficserver/.cursor/rules/writing-autests.mdc

Consider this when adding tests.

Steady2 mentions in 2 weeks

No other project uses it yet

2k17d agoReviewMountCreate a free account to mount
AutomatticCursor rule

jetpack / rules

Automattic/jetpack/.cursor/rules/php-testing.mdc

Guidelines when testing PHP

1.9k14d agoReviewMountCreate a free account to mount
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/test-document-knowledge-base.mdc

When testing <DocumentKnowledgeBase/> or our pdf.js annotations

1.5k14mo agoReviewMountCreate a free account to mount
novuhqCursor rule

novu / rules

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

Rules for writing and running tests

No other project uses it yet

40k7d agoReviewMountCreate a free account to mount
surrealdbCursor rule

surrealdb / rules

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

SurrealQL language testing guidelines

Steady2 mentions in 2 weeks

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

Steady12 mentions in 2 weeks

20 projects use a version of this

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

ECC / rules

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

Kotlin testing extending common rules

Steady12 mentions in 2 weeks

17 projects use a version of this

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

ECC / rules

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

PHP testing extending common rules

Steady12 mentions in 2 weeks

19 projects use a version of this

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

ECC / rules

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

Python testing extending common rules

Steady12 mentions in 2 weeks

20 projects use a version of this

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

ECC / rules

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

Swift testing extending common rules

Steady12 mentions in 2 weeks

20 projects use a version of this

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

ECC / rules

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

TypeScript testing extending common rules

Steady12 mentions in 2 weeks

20 projects use a version of this

246k3mo agoReviewMountCreate a free account to mount
openshiftCursor rule

origin / rules

openshift/origin/.cursor/rules/testing.mdc

Testing guidelines and patterns for origin

No other project uses it yet

8.7k4mo 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

74k26d 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.