agentleFS

Cursor rules examples

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

Best matches · from page 7Worked for most · soon
trpcCursor rule

trpc / rules

trpc/trpc/.cursor/rules/test-patterns.mdc

tRPC testing patterns using testServerAndClientResource

41k14mo agoReviewMountCreate a free account to mount
MazalucasCursor rule

El-DT-Lightweight-Army / rules

Mazalucas/El-DT-Lightweight-Army/.cursor/rules/30-testing.mdc

Convenciones de testing, cobertura mínima, tipos de tests, mocks

46d agoReviewMountCreate a free account to mount
hiromailyCursor rule

go-crypto-wallet / go

hiromaily/go-crypto-wallet/.cursor/rules/go/go-test.mdc

Go Test Rules

1286mo agoReviewMountCreate a free account to mount
afaraha8403Reads credentialsCursor rule

balakit / rules

afaraha8403/balakit/.cursor/rules/testing.mdc

Testing philosophy, conventions, and tooling — write tests that earn their place

146d agoReviewMountCreate a free account to mount
jahongashtamcCursor rule

hallwright / rules

jahongashtamc/hallwright/.cursor/rules/04-testing-tdd.mdc

Test-Driven Development (TDD) and Test Verification Rules

113d agoReviewMountCreate a free account to mount
junimnjwCursor rule

everything-claude-code / rules

junimnjw/everything-claude-code/.cursor/rules/common-testing.md

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

18mo agoReviewMountCreate a free account to mount
Miyamura80Cursor rule

MCP-Template / rules

Miyamura80/MCP-Template/.cursor/rules/tests.mdc

On how to write tests

14mo agoReviewMountCreate a free account to mount
niloykumarbarmanCursor rule

EVERYTHING-CLAUDE-CODE / rules

niloykumarbarman/EVERYTHING-CLAUDE-CODE/.cursor/rules/common-testing.md

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

17mo agoReviewMountCreate a free account to mount
TechNickAICursor rule

python-template / rules

TechNickAI/python-template/.cursor/rules/pytest-what-to-test-and-mocking.mdc

When writing tests

112mo agoReviewMountCreate a free account to mount
TechNickAICursor rule

python-template / rules

TechNickAI/python-template/.cursor/rules/testing-standards.mdc

when writing tests

112mo 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
AutomatticCursor rule

jetpack / rules

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

Guidelines to write JavaScript tests

1.9k12d agoReviewMountCreate a free account to mount
Brandawg93Cursor rule

PeaNUT / rules

Brandawg93/PeaNUT/.cursor/rules/05-testing-standards.mdc

Defines the standards for testing in the project.

Steady13 mentions in 2 weeks

No other project uses it yet

1.7k12mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/tdd-comprehensive-testing.mdc

Enforces comprehensive test-driven development practices based on lessons learned from testing gaps and failures

3116mo agoReviewMountCreate a free account to mount
langwatchCursor rule

better-agents / rules

langwatch/better-agents/.cursor/rules/unit-tests-todos.mdc

When proposing/writing unit test specs

1.6k12mo agoReviewMountCreate a free account to mount
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/running-frontend-tests.mdc

How to run frontend component tests

1.5k13mo agoReviewMountCreate a free account to mount
nphausgCursor rule

ai-agent-skills / android

nphausg/ai-agent-skills/.cursor/rules/android/android_integration_testing.mdc

Android Integration Testing best practices for multi-layer testing

26mo agoReviewMountCreate a free account to mount
nphausgCursor rule

ai-agent-skills / android

nphausg/ai-agent-skills/.cursor/rules/android/android_ui_testing.mdc

Android UI testing best practices using Espresso and Compose Testing

26mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/backend-test-conventions.mdc

Backend Python test conventions (pytest)

No other project uses it yet

17k6mo 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.