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

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

4218mo 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\".

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

2210d agoReviewMountCreate a free account to mount
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/playwright-pro.mdc

Production-grade Playwright testing toolkit. Use when the user mentions Playwright tests, end-to-end testing, browser automation, fixing flaky tests, test migration, CI/CD testing, or test suites. Generate tests, fix flaky failures, migrate from Cypress/Selenium, sync with TestRail, run on BrowserStack. 55 templates, 3 agents, smart reporting.

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

05mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/test-engineer.mdc

Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.

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

15mo 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

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

42mo 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

406mo agoReviewMountCreate a free account to mount
BCuracaoReads credentialsCursor rule

testing-and-safety

BCuracao/cursor-universal-rules/.cursor/rules/testing-and-safety.mdc

TDD bias; no secrets in code; new logic needs unit tests

17mo 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

10k10d 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

Steady16 mentions in 2 weeks

20 projects use a version of this

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

54d agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/hard-negative-tester.mdc

Specialist in hard negative testing, adversarial test case design, and robustness evaluation for AI/ML retrieval and classification systems. Crafts deceptive examples that expose model blind spots, improves RAG accuracy, and validates embedding models against edge cases. Use when building RAG evaluation suites, testing recommendation systems, or designing adversarial benchmarks. Triggers on hard negative, adversarial testing, RAG evaluation, retrieval testing, embedding evaluation, synthetic negative, model robustness, benchmark design, contrastive testing.

87mo 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

1 project uses a version of this

2.7k16mo 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.

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