agentleFS

Cursor rules examples

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

Best matches · from page 4Worked for most · soon
stbenjamCursor rule

skillsaw / rules

stbenjam/skillsaw/.cursor/rules/testing.mdc

Guidelines for writing tests, especially integration tests with fixtures

714mo agoReviewMountCreate a free account to mount
osqueryCursor rule

osquery / rules

osquery/osquery/.cursor/rules/build-format.mdc

Build, test, and format

Steady2 mentions in 2 weeks

No other project uses it yet

24k12mo agoReviewMountCreate a free account to mount
ArenukvernCursor rule

mcp_flutter / rules

Arenukvern/mcp_flutter/.cursor/rules/create_test_rule.mdc

To create md file for test describing how to create rules to write tests

3977d agoReviewMountCreate a free account to mount
ctxr-devCursor rule

llm-wiki-memory / rules

ctxr-dev/llm-wiki-memory/.cursor/rules/run-tests-safely.mdc

Run the llm-wiki-memory test suite without filling /tmp — sweep stale lwm-* workspaces, iterate on single files, run npm test once. Use when running or debugging tests in this repo.

1313mo agoReviewMountCreate a free account to mount
ajavadinezhadCursor rule

zyrln / rules

ajavadinezhad/zyrln/.cursor/rules/testing.mdc

Tests document behavior; never bend product logic to make tests pass

7645mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/writing-tests.mdc

How to write tests in the monorepo

Steady7 mentions in 2 weeks

No other project uses it yet

17k3mo agoReviewMountCreate a free account to mount
BasedHardwareCursor rule

omi / rules

BasedHardware/omi/.cursor/rules/backend-testing.mdc

Backend testing requirements

Steady2 mentions in 2 weeks

No other project uses it yet

14k10mo agoReviewMountCreate a free account to mount
apacheCursor rule

nifi / rules

apache/nifi/.cursor/rules/framework-testing.mdc

Testing guidance for NiFi framework code (not extensions). Covers when to use unit, integration, and system tests for framework classes.

6.3k5mo agoReviewMountCreate a free account to mount
darknecrocitiesCursor rule

SkillBuilder / rules

darknecrocities/SkillBuilder/.cursor/rules/testing.mdc

Test-Driven Development (TDD) discipline, Vitest, Jest, Playwright E2E with accessible locators, MSW contract tests, and mutation testing principles.

1316d agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/testing-guidelines.mdc

Testing Guidelines

8813mo agoReviewMountCreate a free account to mount
Fadi88Cursor rule

one-man-startup / rules

Fadi88/one-man-startup/.cursor/rules/skill-bug-fix.mdc

Fix a bug test first - reproduce it in a failing test, fix, watch the test pass, and stop after three failed attempts to rethink. Use for any reported bug or failing behaviour.

1615d agoReviewMountCreate a free account to mount
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/test-case-to-playwright.mdc

Convert Katalon True Platform/TestOps manual test cases, test suites, or requirement-linked cases into Playwright TypeScript automation. Use when you need to fetch/read Katalon Platform test cases and implement Playwright scripts, create or adapt a Playwright framework, apply Page Object Model and fixtures, or translate manual steps into meaningful automated test keywords. Written for the automation tester converting a manual case into code that fits an existing page-object layer.

105mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/tdd-guide.mdc

Test-Driven Development specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.

224mo agoReviewMountCreate a free account to mount
apptensionCursor rule

saas-boilerplate / rules

apptension/saas-boilerplate/.cursor/rules/testing.mdc

Testing conventions and patterns

3k9mo agoReviewMountCreate a free account to mount
iblaiCursor rule

lms / rules

iblai/lms/.cursor/rules/e2e-healer.mdc

Heal failing Playwright E2E tests using the Playwright Test MCP server

1128mo agoReviewMountCreate a free account to mount
apacheCursor rule

trafficserver / rules

apache/trafficserver/.cursor/rules/writing-autests.mdc

Consider this when adding tests.

Steady2 mentions in 2 weeks

No other project uses it yet

2k16d agoReviewMountCreate a free account to mount
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/test-review.mdc

Review Katalon True Platform/TestOps test quality and coverage before tests enter the delivery pipeline. Use when you need to check whether a suite is ready to run, review requirement and configuration coverage, assess test-case quality and flakiness/stability, spot weak or unreliable cases, and produce a review verdict (Approve / Approve with fixes / Reject for pipeline) with the specific cases to fix. This is a pre-execution quality gate, not a ship decision; for the release ship/no-ship call use release-analyze. Written for the test lead gating what is allowed into the pipeline, one suite at a time.

105mo agoReviewMountCreate a free account to mount
AutomatticCursor rule

jetpack / rules

Automattic/jetpack/.cursor/rules/php-testing.mdc

Guidelines when testing PHP

1.9k13d agoReviewMountCreate a free account to mount
AishwaryShrivastavCursor rule

vibe-testing / rules

AishwaryShrivastav/vibe-testing/.cursor/rules/vibe-test.mdc

How to use the vibe-test MCP server for browser testing

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