agentleFS

Cursor rules examples

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

Best matches · from page 7Worked for most · soon
prassanna-ravishankarCursor rule

clearml-mcp / rules

prassanna-ravishankar/clearml-mcp/.cursor/rules/test-coverage-improvement.mdc

test coverage improvement patterns and lessons learned

1617mo agoReviewMountCreate a free account to mount
openlitCursor rule

openlit / rules

openlit/openlit/.cursor/rules/security-testing.mdc

Authorization, input validation, CE boundary, secrets, and test guidance for OpenLIT server code.

2.8k5mo agoReviewMountCreate a free account to mount
Smithbox-aiCursor rule

ControlFlow / rules

Smithbox-ai/ControlFlow/.cursor/rules/controlflow-implementation-review.mdc

Guidelines for implementation, testing, review, and governance alignment.

135mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-003j-docstrings-should-include-examples-section.mdc

Docstrings should include an Examples section with executable code demonstrating usage, as these are automatically tested by CI for correctness.

3.3k12mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/test-coverage-requirements.mdc

Enforces comprehensive test coverage requirements and validation standards

3217mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

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

Follow these rules when the user's request involves writing, creating, or modifying tests for NeMo Agent Toolkit

2.7k16mo agoReviewMountCreate a free account to mount
wangqiqiCursor rule

cursor-ai / execution

wangqiqi/cursor-ai/.cursor/rules/execution/testing.mdc

测试文件 SOP — Vitest/Jest/Playwright/pytest;链 test skill

32mo agoReviewMountCreate a free account to mount
wangqiqiCursor rule

cursor-ai / execution

wangqiqi/cursor-ai/.cursor/rules/execution/vibe.mdc

VIBE development — documentation, tests, API alignment

32mo agoReviewMountCreate a free account to mount
chimera-defiCursor rule

eth2-quickstart / rules

chimera-defi/eth2-quickstart/.cursor/rules/frontend.mdc

Frontend rules - Bun only, no npm, test before commit

23mo agoReviewMountCreate a free account to mount
nphausgCursor rule

ai-agent-skills / android

nphausg/ai-agent-skills/.cursor/rules/android/android_unit_testing_bdd.mdc

Unit testing best practices with BDD style

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

true-skills / rules

katalon-labs/true-skills/.cursor/rules/exploratory-charter.mdc

Write, run, and debrief exploratory testing charters against Katalon True Platform/TestOps when there is no script to follow. Use when you need to turn a vague area into a charter (mission, areas, oracles, timebox), run a timeboxed unscripted session, log what you find as session notes, judge which findings are real defects, and promote what was learned into atomic manual cases plus the folder or suite that holds them. This is unscripted discovery and the debrief after it; when a written requirement is already in hand and the job is designing cases from it, use create-test-cases instead. Written for the manual tester who has an hour, a feature, and no cases to run against it.

105mo agoReviewMountCreate a free account to mount
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/cicd-pipeline-design.mdc

CI/CD pipeline architecture for GitHub Actions and GitLab CI: matrix testing, dependency caching, OIDC keyless cloud authentication, security gating, and concurrency control. Use when a pipeline is slow because every job reinstalls dependencies, when long-lived AWS or cloud access keys stored as CI secrets must be removed, or when building, gating and speeding up a build-test-deploy workflow.

13mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

physicsnemo / rules

NVIDIA/physicsnemo/.cursor/rules/mod-008a-model-missing-constructor-attributes-tests.mdc

Every model must have CI tests verifying constructor instantiation and all public attributes (excluding buffers/parameters) using pytest parameterization.

3.3k12mo agoReviewMountCreate a free account to mount
alipajandCursor rule

agent-readiness-kit / rules

alipajand/agent-readiness-kit/.cursor/rules/TESTING.mdc

Test expectations for audit checks and CLI behaviour

12mo agoReviewMountCreate a free account to mount
AndreRatzenbergerCursor rule

cursor-rules / rules

AndreRatzenberger/cursor-rules/.cursor/rules/development-workflow-rule.mdc

Comprehensive development workflow system for task tracking, testing, and version control

4221mo agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/code-simplification-edho-ferdian.mdc

Behavior-preserving refactoring workflow that actively rewrites code for clarity — extracting overlong functions, flattening deep nesting, consolidating duplicated logic, AND removing over-engineered \"just in case\" abstractions — always gated on a passing test suite (or a characterization test written first) so behavior never changes. Use whenever the user wants code actually SIMPLIFIED or REFACTORED, not just reviewed: \"sederhanakan kode ini\", \"refactor biar lebih rapi\", \"reduce complexity\", \"ini over-engineered\". A read-only finding about the same issues (CQ-01/CQ-04/CQ-04b in `review-checklist.md`) is `code-review-edho-ferdian`'s job, not this skill's — see the scope table below for the exact boundary with that skill, `dead-code-cleanup-edho- ferdian`, and `build-fix-edho-ferdian`.

212mo agoReviewMountCreate a free account to mount
labringCursor rule

sealos-skills / rules

labring/sealos-skills/.cursor/rules/validation-assets.mdc

Keep all local test artifacts and scratch clones in gitignored validation-assets/

812mo agoReviewMountCreate a free account to mount
rlaopeCursor rule

nen / rules

rlaope/nen/.cursor/rules/nen-conjurer.mdc

Failure-mode-driven reliability engineering — enumerate how it breaks, give every mode a verdict, prove every handler with a reproducing test. Use when the user says \"flaky\", \"harden this before launch\", \"what if this fails\", \"error handling\", \"timeout\", \"retry\", \"idempotency\", or \"race condition\"; when an incident or postmortem lands; when a job crashes halfway and leaves partial state; when a webhook or queue consumer double-fires, sees double delivery, or charges a customer twice; when crash recovery is undefined; or when code is about to ship with only happy-path tests.

34mo agoReviewMountCreate a free account to mount
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/policy-as-code-opa-kyverno.mdc

Policy as code for Kubernetes and infrastructure: authoring Kyverno ClusterPolicy rules, OPA Rego in a Gatekeeper ConstraintTemplate, and Conftest checks, plus Pod Security Standards enforcement, policy unit testing, and an owned exception register with expiry dates. Use when privileged containers or pods without resource limits must be rejected at admission rather than reported, when admission policies need tests so a rule cannot silently stop matching, or when choosing between Kyverno and OPA Gatekeeper.

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