agentleFS
Sign inSign up

Cursor rules examples

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

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

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/testing.mdc

DCGM Exporter test layer selection and validation gates

1.9k3mo agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/perseus.mdc

Advanced Offensive Security & Pentesting Specialist. Use this agent for red teaming, penetration testing, and identifying complex security flaws. It leverages specialized security tools for XSS, SQLi, JWT, OAuth2, and network-level vulnerability testing.

223mo agoDiscuss
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

brendadeeznuts1111/betting-brain-v3/.cursor/rules/test-setup-patterns.mdc

Test setup and configuration patterns

812mo agoReads credentialsDiscuss
dx-toolingCursor rule

maas-webapp / rules

dx-tooling/maas-webapp/.cursor/rules/run-software-tests.mdc

Software Tests Must Pass

811mo agoDiscuss
vibestackdevCursor rule

vibe-stack / rules

vibestackdev/vibe-stack/.cursor/rules/testing.mdc

Testing strategy for AI developers

86mo agoDiscuss
EvilFreelancerCursor rule

openapi-to-cli / rules

EvilFreelancer/openapi-to-cli/.cursor/rules/testing.mdc

Test conventions for openapi-to-cli (Jest)

26027d agoDiscuss
lineai-intelligenceCursor rule

lineai-mcp-server / rules

lineai-intelligence/lineai-mcp-server/.cursor/rules/testing-approach.mdc

Testing approach for the Lineai MCP Server

3849d agoDiscuss
xu-xiangCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/python-testing.md

扩展通用规则的 Python 测试 (Python testing extending common rules)

1.9k7mo agoDiscuss
dafthunk-comCursor rule

dafthunk / rules

dafthunk-com/dafthunk/.cursor/rules/04-code-implementation-guidelines.mdc

Coding standards, naming, testing & style rules

1237mo agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/test-type-discipline.mdc

Type-safe modular test patterns and isolation requirements

1.5k9d agoDiscuss
yavdaanalyticsCursor rule

traceback / rules

yavdaanalytics/traceback/.cursor/rules/testing-files.mdc

Test file layout and conventions

23mo agoDiscuss
JasonBoyCursor rule

msw-mcp / rules

JasonBoy/msw-mcp/.cursor/rules/testing.mdc

Add Vitest tests when changing behavior in this monorepo

813mo agoDiscuss
JustineDevsCursor rule

Collection / rules

JustineDevs/Collection/.cursor/rules/production.mdc

The standard way for production teams to connect frontend and backend branches and ensure integration before merging to main is to use temporary integration or "test" branches for local verification, automated testing, and code review.

18mo agoDeletes or force-pushesDiscuss
TheArchitectitCursor rule

agent-guardrails-template / rules

TheArchitectit/agent-guardrails-template/.cursor/rules/production-first.md

Enforces production code is created before tests or infrastructure

795mo agoDiscuss
laragenticCursor rule

agents / rules

laragentic/agents/.cursor/rules/testing.mdc

Testing conventions and patterns for the Laragentic package

137mo agoDiscuss
y-miyazakiCursor rule

config / rules

y-miyazaki/config/.cursor/rules/bats.mdc

Bats Test Suites Instructions

141d agoDeletes or force-pushesDiscuss
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.