agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 6Worked for most · soon
Jailsom-NogueiraCursor rule

nextjs-bootstrap-template / rules

Jailsom-Nogueira/nextjs-bootstrap-template/.cursor/rules/30-tests.mdc

Vitest + RTL unit tests, Playwright e2e — determinism, no skipped tests, MSW where needed

04mo agoDiscuss
sakurablushCursor rule

zeroagent-studio / rules

sakurablush/zeroagent-studio/.cursor/rules/zeroagent-test-engineer.mdc

Write and improve ZeroAgent Studio tests (Vitest, jsdom). Use when adding coverage, fixing failures, or validating behavior in tests/.

43mo agoDiscuss
MANVENDRA-githubCursor rule

tdd-workflow

MANVENDRA-github/agentry/.cursor/rules/tdd-workflow.mdc

Test-first development with explicit red-green-refactor loops. Invoke when implementing a feature with well-defined inputs and outputs, fixing a reproducible bug, or refactoring code that already has tests. Skip for exploratory spikes, UI-heavy work, or one-off scripts where test overhead exceeds value.

03mo agoDiscuss
sayeed1999Cursor rule

agent-skills / rules

sayeed1999/agent-skills/.cursor/rules/battle-tested-engineer.mdc

Battle-tested engineering judgment for code, refactors, tests, and frontend UI. Ultra-terse caveman style during code work.

637d agoDiscuss
alkoleftCursor rule

platform-context-exporter / rules

alkoleft/platform-context-exporter/.cursor/rules/122-java-integration-testing.mdc

Java Integration testing guidelines

4816mo agoDeletes or force-pushesDiscuss
carmentacollectiveCursor rule

carmenta / rules

carmentacollective/carmenta/.cursor/rules/testing-standards-typescript.mdc

When writing tests for typescript

28mo agoDeletes or force-pushesDiscuss
contextmuxCursor rule

contextmux / rules

contextmux/contextmux/.cursor/rules/skill-test-integrity.mdc

Use whenever a test fails, or when adding tests for a change. Governs what may and may not be changed to make a suite pass.

131d agoDiscuss
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/testing.mdc

Use when working on FinnTS testing rules.

27428d agoDiscuss
girijashankarjCursor rule

cursor-handbook / testing

girijashankarj/cursor-handbook/.cursor/rules/testing/testing-standards.mdc

Testing standards and patterns for all code

3031d agoDiscuss
madebyarisCursor rule

cursor-composer-rules / rules

madebyaris/cursor-composer-rules/.cursor/rules/composer-debugging.mdc

Failing tests, errors, flaky behavior, or a bug with no clear line — reproduce, trace the data, fix the cause, prove it with one scoped test

343d agoDiscuss
contextmuxCursor rule

contextmux / rules

contextmux/contextmux/.cursor/rules/030-writing-tests.mdc

What a test here has to do to earn its place

131d agoDiscuss
bubblelabaiCursor rule

BubbleLab / rules

bubblelabai/BubbleLab/.cursor/rules/api.mdc

For creating tests for the backend in bubblelab-api

1.1k8mo agoDiscuss
coddy-projectCursor rule

coddy-agent / rules

coddy-project/coddy-agent/.cursor/rules/testing.mdc

Go tests, tags, and commands for this repo

1563d agoDiscuss
lacymorrowCursor rule

paperclip-hub / rules

lacymorrow/paperclip-hub/.cursor/rules/testing.mdc

Testing Best Practices and Guidelines

157mo agoDiscuss
SynkraAICursor rule

aiox-core / agents

SynkraAI/aiox-core/.cursor/rules/agents/qa.mdc

AIOX agent @qa - Test Architect & Quality Advisor

3.1k4mo agoDiscuss
SentryCursor rule

XcodeBuildMCP-iOS-Template / rules

getsentry/XcodeBuildMCP-iOS-Template/template/.cursor/rules/xcodebuildmcp-tools.mdc

Comprehensive guide for using XcodeBuildMCP tools for building, testing, deploying, and automating iOS applications. Includes simulator management, device deployment, UI automation, and debugging workflows. Apply when building apps, running tests, automating workflows, or using development tools.

4216mo agoDiscuss
agent-anatomyCursor rule

cursor / rules

agent-anatomy/cursor/.cursor/rules/testing.mdc

Testing conventions and rules

05mo agoDiscuss
rg11740-ship-itCursor rule

houserules / rules

rg11740-ship-it/houserules/.cursor/rules/code--tests-are-typechecked.mdc

Tests are typechecked, not just run

041d 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.