agentleFS

Cursor rules examples

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

Best matches · from page 13Worked for most · soon
ethereumjsCursor rule

ethereumjs-monorepo / rules

ethereumjs/ethereumjs-monorepo/.cursor/rules/typecheck.mdc

After TS edits, run tsc in the touched package; a green test run is not tsc

No other project uses it yet

2.8k8d agoReviewMountCreate a free account to mount
ori88c-python-templatesCursor rule

fastmcp-polyrepo-template / rules

ori88c-python-templates/fastmcp-polyrepo-template/.cursor/rules/tests.mdc

Test layout and the ban on monkeypatching

042d agoReviewMountCreate a free account to mount
streamshubCursor rule

streamshub-mcp / rules

streamshub/streamshub-mcp/.cursor/rules/test-coverage.mdc

Test coverage analysis for StreamsHub MCP

532d agoReviewMountCreate a free account to mount
ROCmCursor rule

AMDMIGraphX / rules

ROCm/AMDMIGraphX/.cursor/rules/split-sym-dim-pass-tests.mdc

Enforce structural testing for the split_sym_dim transformation pass

3373mo agoReviewMountCreate a free account to mount
OneKeyHQCursor rule

app-monorepo / rules

OneKeyHQ/app-monorepo/.cursor/rules/self-testing.mdc

Mandatory self-testing checklist before completing any task — applies to all team members

Steady3 mentions in 2 weeks

No other project uses it yet

2.5k4mo agoReviewMountCreate a free account to mount
vantionlabsCursor rule

saas-starter / rules

vantionlabs/saas-starter/.cursor/rules/effect-form-e2e.mdc

Use when adding or changing a form, a field's validation rules, or a Playwright test in this repository. Covers why a form is effect-form and lives in the app rather than the design system, declaring field rules once in the contract, telling a validation failure apart from a refusal, and the e2e harness's rules — a user per test, waiting on a condition rather than sleeping.

955d agoReviewMountCreate a free account to mount
alchemyplatformCursor rule

aa-sdk / rules

alchemyplatform/aa-sdk/.cursor/rules/testing.mdc

Vitest projects, Anvil, Rundler, and affected-test guidance

3216mo agoReviewMountCreate a free account to mount
trypostitCursor rule

trypost / rules

trypostit/trypost/.cursor/rules/tests-pest.mdc

Pest 5 feature/unit tests — file location, named routes, factories

83215d agoReviewMountCreate a free account to mount
colchuck-aiCursor rule

ai-resource-manager / grug-brained-dev

colchuck-ai/ai-resource-manager/.cursor/rules/grug-brained-dev/grug-brained-dev_test-simply.mdc

Write simple, focused tests that verify behavior

2312mo agoReviewMountCreate a free account to mount
j4flmaoCursor rule

agent-skills / rules

j4flmao/agent-skills/.cursor/rules/testing-requirements.mdc

j4flmao/rules — Mandatory testing requirements when generating code

235mo agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/tests-documentation-maintenance.mdc

Require tests for new functionality and enforce documentation updates.

8813mo agoReviewMountCreate a free account to mount
VahlameCursor rule

create-vkm-kit / rules

Vahlame/create-vkm-kit/.cursor/rules/20-testing.mdc

How to run tests and MCP smoke checks.

43mo agoReviewMountCreate a free account to mount
vikisingh23Cursor rule

neuraforge-ai / rules

vikisingh23/neuraforge-ai/.cursor/rules/test-forge.mdc

NeuraForge AI — test-forge

47mo agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / rules

appsmithorg/appsmith/.cursor/rules/frontend.mdc

React frontend — TypeScript SPA, monorepo packages, Redux-Saga, key directories, testing, and build commands

No other project uses it yet

41k19d agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/mutation-testing.mdc

Use when writing tests for critical business logic, auditing test suite quality beyond line coverage, or interpreting surviving mutants — covers mutation operators, mutation score thresholds, and tooling (mutmut, Stryker, gremlins) for Python, TypeScript/JS, and Go.

13mo agoReviewMountCreate a free account to mount
prassanna-ravishankarCursor rule

clearml-mcp / rules

prassanna-ravishankar/clearml-mcp/.cursor/rules/test-coverage-improvement.mdc

test coverage improvement patterns and lessons learned

1616mo agoReviewMountCreate a free account to mount
techniqCursor rule

layerchart / rules

techniq/layerchart/.cursor/rules/testing.mdc

Comprehensive Testing Best Practices for Svelte 5 + vitest-browser-svelte

Steady13 mentions in 2 weeks

No other project uses it yet

1.4k9mo agoReviewMountCreate a free account to mount
mg-chaoCursor rule

snow-apps / rules

mg-chao/snow-apps/.cursor/rules/related-tests.mdc

After code changes, run only related tests — never the full suite unless the user explicitly asks.

1 project uses a version of this

6.8k2mo agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/security-testing.mdc

Authorization, input validation, CE boundary, secrets, and test guidance for OpenLIT server code.

No other project uses it yet

3k5mo 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.