agentleFS

Cursor rules examples

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

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

hallwright / rules

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

Test-Driven Development (TDD) and Test Verification Rules

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

19mo agoReviewMountCreate a free account to mount
Miyamura80Cursor rule

MCP-Template / rules

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

On how to write tests

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

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

113mo agoReviewMountCreate a free account to mount
TechNickAICursor rule

python-template / rules

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

when writing tests

113mo agoReviewMountCreate a free account to mount
AutomatticCursor rule

jetpack / rules

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

Guidelines to write JavaScript tests

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

1.7k13mo 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

3117mo 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.6k3d 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.6k13mo 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

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

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

17k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

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

Frontend TypeScript test conventions (Vitest)

17k7mo agoReviewMountCreate a free account to mount
raw-labsCursor rule

mxcp / rules

raw-labs/mxcp/.cursor/rules/testing.mdc

Testing standards and practices

6913mo agoReviewMountCreate a free account to mount
caliber-ai-orgCursor rule

ai-setup / rules

caliber-ai-org/ai-setup/.cursor/rules/testing.mdc

Vitest testing patterns for Caliber

1.3k7mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/pentest-planner.mdc

Expert in planning and scoping penetration tests. Creates test plans, rules of engagement, scope documents, methodology selection, and reporting templates. Ensures pentests are legally compliant, properly scoped, and methodologically sound before execution begins. Triggers on pentest plan, scope, rules of engagement, ROE, test plan, engagement letter, methodology, pre-engagement.

87mo agoReviewMountCreate a free account to mount
grafanaCursor rule

pyroscope / rules

grafana/pyroscope/.cursor/rules/go-testing.mdc

Go testing standards and patterns for Pyroscope

No other project uses it yet

12k4mo 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.