agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
JNTMTMTMCursor rule

eIsland / rules

JNTMTMTM/eIsland/.cursor/rules/test-file-location.mdc

Keep test files in dedicated test directories

31816d agoDiscuss
katalon-labsCursor rule

true-skills / rules

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

Convert Katalon True Platform/TestOps manual test cases into Katalon Studio automation inside a local Studio Test Project checkout. Use when you need to author or extend a .tc test case file and its paired Groovy script under Scripts/, keep test case variable GUIDs consistent with the .ts test suite bindings that read them, model page elements as .rs test objects in the Object Repository instead of inline selectors, write WebUI, Mobile, or WS keyword steps in Groovy with Java interop, or wire data files, execution profiles, and GlobalVariable into a generated case. Also use to decide whether a headless katalonc run is possible at all, since Katalon Runtime Engine is a separately licensed paid runtime whose CLI requires -apiKey. Once a Studio run has finished and its report exists, hand off to upload-report. Written for the automation tester who has to land a manual case inside a Katalon Studio project rather than a code-first framework.

83mo agoReads credentialsDiscuss
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/test-quality-validation.mdc

Validates test quality and prevents testing theater anti-patterns in Rust test files

3115mo agoDiscuss
osaurus-aiCursor rule

osaurus / rules

osaurus-ai/osaurus/.cursor/rules/testing-workflow.mdc

When to run tests — full suite only before PR submission, targeted tests during development

8k17d agoDiscuss
przeprogramowaniCursor rule

ai-rules-builder / rules

przeprogramowani/ai-rules-builder/.cursor/rules/vitest-unit-testing.mdc

Unit testing with Vitest and React Testing Library

26411mo agoDiscuss
Zulut30Cursor rule

dart-mobile-game-studio / rules

Zulut30/dart-mobile-game-studio/.cursor/rules/dart-flutter-testing.mdc

Testing & build rules for Dart/Flutter games — unit-test the pure model with dart test, widget/golden/Patrol tests, honest analyze/build reporting.

13mo agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/e2e-runner.mdc

End-to-end testing specialist using Playwright. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

223mo agoReads credentialsDiscuss
y-miyazakiCursor rule

config / rules

y-miyazaki/config/.cursor/rules/go-test.mdc

Go test authoring conventions for tests, stubs, and test pairing

141d agoDiscuss
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/release-analyze.mdc

Analyze Katalon True Platform/TestOps release readiness from testing quality data. Use when you need to use Katalon MCP metrics and results to assess whether a release, sprint, iteration, version, test plan, suite, or repository is ready to ship; summarize requirement coverage, execution health, defect risk, test stability, configuration coverage, release blockers, quality gaps, and produce a Ready / Ready with risk / Not ready recommendation. Written for the test manager who owns the ship call and the test lead who has to defend it.

83mo agoDiscuss
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/build-test.mdc

Build & test

1.3k9d agoDiscuss
linuxchataCursor rule

ai-playbook / rules

linuxchata/ai-playbook/.cursor/rules/csharp-testing-standards.mdc

Defines the testing standards, patterns, and conventions for all C# unit and integration test projects. Rules cover test framework usage, naming, structure, mocking, assertions, and parameterization. Apply these rules uniformly across all test projects.

65mo agoDiscuss
prassanna-ravishankarCursor rule

clearml-mcp / rules

prassanna-ravishankar/clearml-mcp/.cursor/rules/testing-philosophy.mdc

testing philosophy and behavioral testing approach

1615mo agoDiscuss
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/create-test-cases.mdc

Create, update, organize, and link Katalon True Platform/TestOps manual test cases from a synced requirement key such as CEL-6, a read requirement, or free-text product behavior. Use when you need to analyze requirements, design manual test cases using ISTQB techniques as a reference, check existing Katalon coverage, avoid duplicate test cases, import only missing cases, update or link existing cases, or create/reuse a test suite for newly designed cases. For full requirement-to-execution workflows, combine with or defer to true-platform-testing. Written for the manual tester who has a written requirement in hand and no cases for it yet.

83mo agoDiscuss
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/analyze-failures.mdc

Triage Katalon True Platform/TestOps test failures and file defects. Use when you need to investigate failed test results, classify each failure as product defect vs automation defect vs environment/data issue, cluster failures by common signature, find likely root cause from execution data, and optionally create ALM-linked defects for real product bugs. This is failure diagnosis and defect filing; for the overall ship/no-ship release call use release-analyze, and for repairing the tests themselves use test-maintenance. Written for the manual tester and the automation tester looking at a red run and needing to know whether the application broke or the test did.

83mo agoDiscuss
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/13-testing.mdc

Testing rules for pytest, integration tests, and E2E Docker framework.

4052mo agoDiscuss
tableauCursor rule

tableau-mcp / rules

tableau/tableau-mcp/.cursor/rules/testing.mdc

Testing standards — Vitest framework, test organization, mocking patterns

3464mo agoDiscuss
0xranxCursor rule

golembot / rules

0xranx/golembot/.cursor/rules/testing-conventions.mdc

Testing conventions — must reference when modifying src/ code or tests

3227mo agoReads credentialsDiscuss
girijashankarjCursor rule

cursor-handbook / testing

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

Integration testing patterns and database test setup

3031d agoDiscuss
girijashankarjCursor rule

cursor-handbook / testing

girijashankarj/cursor-handbook/.cursor/rules/testing/mock-patterns.mdc

Mock and test fixture patterns for consistent testing

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