agentleFS
Sign inSign up

Cursor rules examples

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

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

skillsaw / rules

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

Guidelines for writing tests, especially integration tests with fixtures

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

13157d agoDiscuss
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

3803mo agoDiscuss
triggerdotdevCursor rule

trigger.dev / rules

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

How to write tests in the monorepo

16k50d agoDiscuss
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/true-platform-testing.mdc

End-to-end Katalon True Platform testing workflow and lifecycle router. Use when one request spans several stages and no single skill owns all of it, for example analyze a requirement, design and import the cases, build a suite, run it with AI, and report the outcome. Also use to route any testing request across the full 7-stage lifecycle (plan, design, manage, review, execute, analyze, maintain) to the right focused skill, and for deciding what is and is not available through the Katalon MCP tools. Start here when a request names a job rather than one task, such as drive the whole chain from requirement to ship call. Also start here when the asker wants orienting before acting, for example where do I start, which skill do I need, or I own quality here and do not know where to begin. Routes the asker to the skill that owns their next step, whether they say manual tester, QA analyst, test analyst, automation tester, SDET, automation engineer, QA engineer, test lead, QA lead, test manager, or QA manager.

83mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

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

Testing Guidelines

8811mo agoDiscuss
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

brendadeeznuts1111/betting-brain-v3/.cursor/rules/testing-patterns.mdc

Testing patterns and best practices for Bun test

812mo agoReads credentialsDiscuss
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.

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

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

83mo agoDiscuss
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/test-document-knowledge-base.mdc

When testing <DocumentKnowledgeBase/> or our pdf.js annotations

1.5k12mo agoDiscuss
rishapgandhiCursor rule

python-skills / rules

rishapgandhi/python-skills/.cursor/rules/python-testing.mdc

Testing standards — auto-attached to test files

45mo agoDiscuss
katalon-labsCursor rule

true-skills / rules

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

Maintain and evolve a Katalon True Platform/TestOps regression suite as the application changes. Use when you need to detect which tests broke or became flaky from stability and result history, diagnose whether a case needs repair vs regeneration, repair test assets (update, move, reorganize cases), refresh coverage after application or requirement changes, and feed the resulting gap list back into planning. Closes the lifecycle loop. For classifying a specific run's failures use analyze-failures; for authoring brand-new cases use create-test-cases. Written for the automation tester repairing a suite that has started lying, and the test lead who has to keep it trustworthy.

83mo agoDiscuss
golid-aiCursor rule

golid / rules

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

Patterns for frontend component tests — SolidJS Testing Library, mocking, jsdom limits

404mo agoDiscuss
brendadeeznuts1111Cursor rule

betting-brain-v3 / rules

brendadeeznuts1111/betting-brain-v3/.cursor/rules/ai-friendly-testing.mdc

AI-friendly testing patterns and Bun test integration

812mo agoReads credentialsDiscuss
dx-toolingCursor rule

maas-webapp / rules

dx-tooling/maas-webapp/.cursor/rules/software-test-design.mdc

Software Test Design Standards - Testing Patterns and Best Practices

811mo agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/golang-testing.md

Go testing extending common rules

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/kotlin-testing.md

Kotlin testing extending common rules

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/php-testing.md

PHP testing extending common rules

246k30d agoDiscuss
affaan-mCursor rule

ECC / rules

affaan-m/ECC/.cursor/rules/python-testing.md

Python testing extending common rules

246k30d 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.