agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 12Worked for most · soon
oniharnantyoCursor rule

go-ai-ready-boilerplate / rules

oniharnantyo/go-ai-ready-boilerplate/.cursor/rules/08-testing-standards.mdc

Mandatory testing framework: testify/suite + mockery-generated mocks

150d agoDiscuss
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/coding-agents-hook.mdc

Authoring and testing coding-agent hook adapters, including payload probing, session state, capture modes, and plugin manifests. Consult the telemetry convention when changing canonical attributes.

2.8k3mo agoDiscuss
delphicleancodeCursor rule

delphi-spec-kit / rules

delphicleancode/delphi-spec-kit/.cursor/rules/tdd-patterns.md

Rigorous Test-Driven Development (TDD) with DUnitX, naming and dependency injection for isolation with fakes and mocks.

506mo agoDiscuss
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-di-hilt.mdc

Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.

146mo agoDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-mobile.mdc

CURSOR-SKILLS rules for mobile (React Native, Flutter, Expo). Platform, performance, tests.

207d agoReads credentialsDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-testing.mdc

CURSOR-SKILLS rules for tests (unit, integration, E2E). Jest, Cypress, fixtures, mocks.

207d agoReads credentialsDiscuss
dazebCursor rule

coolify-mcp-enhanced / rules

dazeb/coolify-mcp-enhanced/.cursor/rules/801-feature-workflow.mdc

FOLLOW feature development workflow WHEN implementing new features TO ensure consistent, tested, and documented changes

1919mo agoDiscuss
webhook-coCursor rule

webhook / rules

webhook-co/webhook/.cursor/rules/engineering-conventions.mdc

TypeScript and Cloudflare Workers conventions, error handling, and testing expectations.

02mo agoDiscuss
RatimonCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/backend-e2e-integration-test-naming.mdc

E2E and integration tests must be feature-, user-, or scenario-driven; avoid endpoint-style describe/it names

763d agoDiscuss
CryptoGnomeCursor rule

v4hooks / rules

CryptoGnome/v4hooks/.cursor/rules/foundry-gates.mdc

When contracts/ or forge.toml change, run forge test and keep CI green

135d agoDiscuss
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/write-tests-e2e.mdc

Patterns for frontend E2E tests — Playwright selectors, SPA waits, serial workers, and full-stack setup

404mo agoDiscuss
mrcbrbn5361Cursor rule

SyncytiumMD / rules

mrcbrbn5361/SyncytiumMD/.cursor/rules/release-criteria.mdc

Every change ships green: typecheck, build, tests, lint, and zero context drift

65d agoDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-python.mdc

CURSOR-SKILLS rules for Python (Django, Flask, FastAPI, Data Science). PEP, venv, tests.

207d agoReads credentialsDiscuss
dazebCursor rule

coolify-mcp-enhanced / rules

dazeb/coolify-mcp-enhanced/.cursor/rules/802-coolify-mcp-workflow.mdc

FOLLOW Coolify MCP workflow WHEN implementing new Coolify API endpoints TO ensure consistent and tested MCP

1919mo agoDiscuss
LeandroPG19Cursor rule

Memorys / rules

LeandroPG19/Memorys/.cursor/rules/swarm-forge-tdd.mdc

TDD — el test de comportamiento se escribe y se ve rojo antes del código

298d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/develop-tdd.mdc

Test-driven development with red-green-refactor loop using vertical slices. Use for features (epic tasks) or bugs (specs/bugs/BUG-*.md).

24030d agoReads credentialsDiscuss
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-room-database.mdc

Model Room entities, DAOs, transactions, migrations, schema exports, and test-safe local persistence.

146mo agoDiscuss
CryptoGnomeCursor rule

v4hooks / rules

CryptoGnome/v4hooks/.cursor/rules/forge-tests.mdc

Forge tests for first-party hooks must stay green with contracts/

135d agoDiscuss
willcoliveiraCursor rule

playwright-ts-template / rules

willcoliveira/playwright-ts-template/.cursor/rules/playwright-e2e.mdc

Playwright E2E testing rules for playwright-ts-template; the full skill lives in .agents/skills/playwright-e2e

522d agoDiscuss
shihabshahrierCursor rule

manim-coding-skill / rules

shihabshahrier/manim-coding-skill/.cursor/rules/test-manim.mdc

test-manim — create STEM teaching animations with ManimGL when user invokes /test-manim

25mo agoDiscuss
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.