agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
alibabaCursor rule

loongcollector / testing-standards

alibaba/loongcollector/.cursor/rules/testing-standards/e2e-develop-guide.mdc

LoongCollector E2E Testing Framework Development Guide. Use this rule when you need to understand E2E testing framework architecture, develop new test behavior functions, or extend testing capabilities. Contains detailed BDD testing framework usage, test behavior function development and registration workflows, and comprehensive reference of existing testing capabilities. Example: When adding custom test behaviors for new plugins, use this rule to understand how to write and register new test functions. Example: When developing E2E tests, use this rule to understand the e2e framework.

2.2k4mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / testing-standards

alibaba/loongcollector/.cursor/rules/testing-standards/e2e-manual.mdc

E2E Testing Standards Guide. Use this rule when you need to write or execute E2E tests, including test naming conventions, test workflows, and test behavior templates. This rule should be used for end-to-end integration testing scenarios to ensure test standardization and maintainability. Example: When writing new E2E tests, use this rule to ensure proper test format and workflow compliance.

2.2k4mo agoReviewMountCreate a free account to mount
databrickslabsCursor rule

Testing and Deployment

databrickslabs/ontos/.cursor/rules/08-testing-and-deployment.mdc

name: Testing and Deployment priority: 65 scope: globs: ["**/*"] --- ### Testing and Deployment **Local development** - Backend (FastAPI/Uvicorn) runs on **port 8000**. Frontend (Vite) runs on **port 3000**. - Both servers

2193mo agoReviewMountCreate a free account to mount
SentryCursor rule

XcodeBuildMCP-iOS-Template / rules

getsentry/XcodeBuildMCP-iOS-Template/template/.cursor/rules/swift-testing.mdc

Modern Swift Testing patterns with @Test macros, #expect/#require assertions, async testing, parameterized tests, and test organization. Apply when writing or modifying tests, setting up test suites, or working with test files.

4217mo agoReviewMountCreate a free account to mount
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/enforce-first.mdc

Apply the F.I.R.S.T test quality rubric (per CONVENTIONS.md §Tests) to a test suite or individual tests. Use when develop-tdd is writing tests, when test quality needs to be checked, or when user mentions F.I.R.S.T or \"test quality\".

2867d agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/test-authoring-edho-ferdian.mdc

Write unit and component tests well: React Testing Library, pytest, Go and Vue, plus regression-test patterns. Use for \"tulis test untuk component ini\", \"bagaimana test hook ini\", \"test yang bagus untuk fitur X\", \"tulis test pytest/Go/Vue\", or dev-kickoff's TEST stage.

223d agoReviewMountCreate a free account to mount
MANVENDRA-githubCursor rule

test-writing

MANVENDRA-github/agentry/.cursor/rules/test-writing.mdc

Writes tests for code that already exists and is untested — characterize and protect current behavior so future changes are safe. Use this for adding coverage to existing code; use tdd-workflow when writing new code test-first.

04mo agoReviewMountCreate a free account to mount
katalon-labsCursor rule

true-skills / rules

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

Plan Katalon True Platform/TestOps testing for a release, sprint, or feature. Use when you need to translate quality goals into scope, prioritize testing by requirement coverage and risk, decide what to test first, or build the executable plan structure (folders, suites, and sprint/release association) that stands in for a formal Test Plan. Reads project/repository/iteration context and requirement coverage, then proposes and materializes a prioritized plan. For designing the actual test cases, hand off to create-test-cases; for the ship/no-ship call, hand off to release-analyze. Written for the test lead who owns the cycle and has to decide what gets tested first.

104mo agoReviewMountCreate a free account to mount
Zulut30Cursor rule

dart-mobile-game-studio / agents

Zulut30/dart-mobile-game-studio/.cursor/rules/agents/qa-tester.mdc

QA / testing specialist for Flutter/Dart mobile games (iOS + Android). Use to write test cases and unit tests (dart test) for the pure Dart model, widget tests (flutter_test) for views/HUD, hunt edge cases, verify accessibility (Semantics) and kids-safety, and run dart analyze / dart test / flutter test. Call after gameplay-programmer; loop defects back to it.

14mo agoReviewMountCreate a free account to mount
ZIZKA-AI-SLCursor rule

ZizkaDB / rules

ZIZKA-AI-SL/ZizkaDB/.cursor/rules/testing.mdc

ZizkaDB testing conventions — per-layer test commands, integration test setup, and test file map

1502d agoReviewMountCreate a free account to mount
VoTruongDanhCursor rule

Skills-Agent / rules

VoTruongDanh/Skills-Agent/.cursor/rules/test.mdc

Write tests, improve coverage, define test strategy, and add validation. Use when the user wants to test code, add unit/integration/e2e tests, or check coverage. Triggers: test, coverage, jest, vitest, playwright, spec, kiểm thử, viết test.

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

true-skills / rules

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

Organize, classify, and trace Katalon True Platform/TestOps test assets. Use when you need to structure test cases into folders and suites, move or reorganize cases, search and find existing assets at scale, link or unlink requirements to test cases, or produce a requirement-to-test traceability report (which requirements have coverage, which cases are orphaned, coverage percentage). Prefer this skill for inventory hygiene and traceability audits. For authoring new cases use create-test-cases; for coverage quality verdicts use test-review. Written for the test lead doing inventory hygiene on a repository nobody has curated in months.

104mo agoReviewMountCreate a free account to mount
golid-aiCursor rule

golid / rules

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

Patterns for writing backend tests — integration tests with TestDB, unit tests for pure logic, test data seeding

405mo agoReviewMountCreate a free account to mount
katalon-labsCursor rule

true-skills / rules

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

Execute Katalon True Platform/TestOps tests when the input is an existing test case, manual test case list, test suite, suite collection, execution request, or "run with AI" instruction. Use when you need to create a manual test run, start Run with AI, poll AI session results, schedule automated suites, read execution/test results, or summarize pass/fail/blocked outcomes. For full requirement-to-test-design-to-execution workflows, combine with or defer to true-platform-testing. Written for the manual tester who has cases and needs a result, by hand or through Run with AI. A coded suite driven from a framework starts at playwright-execute or upload-report.

104mo agoReviewMountCreate a free account to mount
hyperdxioCursor rule

hyperdx / rules

hyperdxio/hyperdx/.cursor/rules/playwright.mdc

HyperDX Playwright E2E test conventions for writing, reviewing, and fixing tests. Use when creating, editing, or debugging any E2E test in this project.

No other project uses it yet

9.9k8mo agoReviewMountCreate a free account to mount
affaan-mCursor rule

ECC / rules

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

Testing requirements: 80% coverage, TDD workflow, test types

Steady32 mentions in 2 weeks

19 projects use a version of this

246k2mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/nat-test-llm.mdc

Follow these rules when the user's request involves using NAT test LLM (nat_test_llm) to simulate deterministic responses in workflows or tests

2.7k15mo agoReviewMountCreate a free account to mount
the-vibey-projectCursor rule

vibey / rules

the-vibey-project/vibey/.cursor/rules/vibey-testing.mdc

The 100% per-layer coverage gates, running tests locally, Postgres integration tests (never mocked), property testing for rotation and no-loss gate, the chaos test, the test tree, and markers.

325d agoReviewMountCreate a free account to mount
dotCMSCursor rule

core / rules

dotCMS/core/.cursor/rules/test-context.mdc

Testing with Spectator, Vitest, data-testid, integration tests. Use when writing or editing *.spec.ts, *Test.java, or test files.

9713mo agoReviewMountCreate a free account to mount
BetterTypedCursor rule

react-zoom-pan-pinch / rules

BetterTyped/react-zoom-pan-pinch/.cursor/rules/testing.mdc

Testing conventions — always use yarn test

Steady7 mentions in 2 weeks

No other project uses it yet

1.9k7mo 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.