agentleFS

Cursor rules examples

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

Best matches · from page 8Worked for most · soon
rlaopeCursor rule

nen / rules

rlaope/nen/.cursor/rules/nen-transmuter.mdc

Behavior-preserving refactoring under characterization tests, plus severity-rated code review. Use when the user says \"refactor\", \"clean up\", \"tech debt\", \"code review\", \"extract\", \"rename\", \"restructure\", \"this file is a mess\", or \"impossible to modify\"; when every small change breaks something unrelated; when cleanup has to land before the next feature has anywhere to go; when code is called hard to change, scary to touch, or too tangled to test; when requirements shifted and the current shape fights the new feature; when a PR needs review for structure and maintainability; or when every small change keeps ballooning because everything touches everything.

34mo agoReviewMountCreate a free account to mount
CadastoCursor rule

openehr-assistant-mcp / rules

Cadasto/openehr-assistant-mcp/.cursor/rules/docker-workflow.mdc

Run PHP, Composer, tests, and static analysis only via Docker in this project

186mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008c-model-missing-checkpoint-loading-test.mdc

Every model must have tests that load from checkpoint files (.mdlus), verify attributes, and compare outputs against reference data to ensure serialization works correctly.

3.3k12mo agoReviewMountCreate a free account to mount
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/22-agent-qas.mdc

QAS (Quality Assurance Specialist) agent role: independent gate owner, acceptance criteria verification, test execution.

4194mo agoReviewMountCreate a free account to mount
EvilFreelancerCursor rule

zaezd / rules

EvilFreelancer/zaezd/.cursor/rules/testing.mdc

Vitest conventions and the mandatory unit-test set

13mo agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/evaluate-agent-quality.mdc

Establish whether an agent actually works, and whether it still works, using a recorded eval set rather than ad hoc chats. Use when an agent is about to ship and the only testing was somebody typing a few questions into the test pane, when an agent that used to answer correctly now does not and nobody can say when it broke, when a knowledge source or model version changed and you need to know what it affected, when a stakeholder asks how accurate it is and there is no number to give them, when you cannot decide what \"correct\" even means for a generative answer, or when the agent works for the builder and fails for a user with different permissions. For a one-off read of a single agent's configuration, review-copilot-studio-agent is the better fit; this one is about measurement over time.

33mo agoReviewMountCreate a free account to mount
cbtw-apacCursor rule

qdrant-loader / rules

cbtw-apac/qdrant-loader/.cursor/rules/qa.mdc

Guide the AI to act as a Senior QA Engineer, focusing on test strategies and quality assurance.

5510mo agoReviewMountCreate a free account to mount
streamshubCursor rule

streamshub-mcp / rules

streamshub/streamshub-mcp/.cursor/rules/add-system-test.mdc

Step-by-step guide for writing e2e system tests

42mo agoReviewMountCreate a free account to mount
saharmorCursor rule

simulatedev / rules

saharmor/simulatedev/.cursor/rules/running_backend.mdc

Every time Cursor is trying to run the backend or test it, i.e. needing port 8000

4416mo agoReviewMountCreate a free account to mount
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/write-tests-frontend-workflow.mdc

Frontend test workflow — coverage thresholds, sync discipline, pre-push checklist

406mo agoReviewMountCreate a free account to mount
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/15-deployment.mdc

Deployment procedures: pre-deploy validation, post-deploy smoke tests, Coolify, Docker, rollback procedures.

4194mo agoReviewMountCreate a free account to mount
brianwestphalCursor rule

glassbox / rules

brianwestphal/glassbox/.cursor/rules/hotsheet-instructions.mdc

Hot Sheet — ticket-driven work, testing, and requirements-doc conventions

343mo agoReviewMountCreate a free account to mount
pr-pmCursor rule

prpm / rules

pr-pm/prpm/.cursor/rules/self-improve-cursor.mdc

Automatically search and install PRPM packages when working on infrastructure, testing, deployment, or framework-specific tasks

1229mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008b-model-missing-non-regression-test-with-reference-data.mdc

Every model must have non-regression tests comparing outputs against reference data saved in .pth files, using realistic tensor shapes and pytest parameterization.

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

codeprism / rules

rustic-ai/codeprism/.cursor/rules/tdd-workflow-planning.mdc

Enforces proper TDD workflow planning to prevent scope limitation and incomplete test coverage

3217mo agoReviewMountCreate a free account to mount
ZAidBinAsifCursor rule

flutter-ai-starter / rules

ZAidBinAsif/flutter-ai-starter/.cursor/rules/testing.mdc

Testing requirements — unit, widget, provider, golden, integration

05mo agoReviewMountCreate a free account to mount
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/kickoff-branch.mdc

Create an isolated Git worktree/branch or Jujutsu workspace, then verify a clean test baseline before code. Use when starting a feature or task.

2523mo agoReviewMountCreate a free account to mount
RatimonCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/backend-api-layers.mdc

Backend API layer flow — routes → controller/data/errors/utils → service → repository; add e2e tests per feature

7956d agoReviewMountCreate a free account to mount
golid-aiCursor rule

golid / rules

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

Backend test planning — discriminator matrix, predicate-derived plans, integration DB safety

406mo agoReviewMountCreate a free account to mount
ralphkraussCursor rule

agent-orchestrator / rules

ralphkrauss/agent-orchestrator/.cursor/rules/node-typescript.mdc

Node.js and TypeScript conventions for package source, tests, scripts, and build configuration

47mo 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.