agentleFS

Cursor rules examples

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

Best matches · from page 11Worked for most · soon
transitive-bullshitCursor rule

agentic / rules

transitive-bullshit/agentic/.cursor/rules/general.mdc

using `any`/`unknown` or casting values like `(value as any)` in TypeScript outside of test files e.g. `*.test.ts` or test fixtures e.g. `**/test-data.ts`. - Don't rely on `typeof`, `ReturnType<>`, `Awaited

18k17mo agoReviewMountCreate a free account to mount
koelCursor rule

koel / rules

koel/koel/.cursor/rules/laravel-boost.mdc

writing a new one. ## Verification Scripts - Do not create verification scripts or tinker when tests cover that functionality and prove it works. Unit and feature tests are more important. ## Application

Steady2 mentions in 2 weeks

No other project uses it yet

17k6mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc

Require reading dev-guides before development and keeping docs in sync

No other project uses it yet

17k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/i18n-no-hardcoded-strings.mdc

No hardcoded UI strings — use i18n translation keys

17k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/implementation-review-checklist.mdc

Require structural code review after implementation before final response

17k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/test-driven-workflow.mdc

测试优先开发与测试保护规则。确保新功能/Bug 修复必须有测试覆盖,测试失败时先诊断后修改。

17k7mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/unified-error-protocol.mdc

Unified error handling protocol for backend and frontend

17k7mo agoReviewMountCreate a free account to mount
MODSetterCursor rule

SurfSense / rules

MODSetter/SurfSense/.cursor/rules/ponytail.mdc

Ponytail, lazy senior dev mode. Always pick the simplest solution that works.

1 project uses a version of this

17k19d agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/executing-commands.mdc

how to run commands in the monorepo

Steady7 mentions in 2 weeks

No other project uses it yet

17k3mo agoReviewMountCreate a free account to mount
triggerdotdevReads credentialsCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/webapp.mdc

Making updates to the main trigger.dev remix webapp

Steady7 mentions in 2 weeks

No other project uses it yet

17k3mo agoReviewMountCreate a free account to mount
triggerdotdevReads credentialsCursor rule

trigger.dev / rules

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

Guidelines for writing Trigger.dev tasks

Steady7 mentions in 2 weeks

No other project uses it yet

17k3mo agoReviewMountCreate a free account to mount
explodinggradientsCursor rule

ragas / rules

explodinggradients/ragas/.cursor/rules/project-structure.mdc

primary components: 1. [/](./) – Core evaluation toolkit • Source code lives in [src/](src/) • Tests live in [tests/](tests/) • Build configuration is in [pyproject.toml](pyproject.toml) 2. [examples/](examples/) – Installable examples package • Package

1 project uses a version of this

16k14mo agoReviewMountCreate a free account to mount
we-promiseCursor rule

sure / rules

we-promise/sure/.cursor/rules/testing.mdc

description: globs: test/** alwaysApply: false --- @docs/llm-guides/testing.md

Steady30 mentions in 2 weeks

No other project uses it yet

16k2mo agoReviewMountCreate a free account to mount
albumentations-teamCursor rule

albumentations / rules

albumentations-team/albumentations/.cursor/rules/albumentations-rules.mdc

have ANY default values in the InitSchema class - Use pytest.mark.parametrize for parameterized tests - In the code, when need default value use 137, not 42 - If you want to create tests

15k17mo agoReviewMountCreate a free account to mount
albumentations-teamCursor rule

albumentations / rules

albumentations-team/albumentations/.cursor/rules/coding-guidelines.mdc

transformations ### Serialization Compatibility - Ensure transforms work with both tuples and lists for range parameters - Test serialization/deserialization with JSON and YAML formats ## Documentation ### Docstrings - Use Google-style docstrings - Include type information

15k17mo agoReviewMountCreate a free account to mount
alibabaCursor rule

hooks / rules

alibaba/hooks/.cursor/rules/testing.mdc

description: globs: **/__tests__/**,**/*.test.tsx,**/*.test.ts alwaysApply: false --- # 测试规范 - 使用 vitest 和 @testing-library/react 编写单元测试 - 测试覆盖率要求 100% - 测试文件放在 **tests** 目录,命名格式为:index.spec.ts 或 xxx.spec.ts

Steady6 mentions in 2 weeks

No other project uses it yet

15k7mo agoReviewMountCreate a free account to mount
567-labsCursor rule

instructor / rules

567-labs/instructor/.cursor/rules/new-features-planning.mdc

when asked to implement new features or clients

Steady5 mentions in 2 weeks

No other project uses it yet

14k6mo agoReviewMountCreate a free account to mount
567-labsCursor rule

instructor / rules

567-labs/instructor/.cursor/rules/readme.md

file patterns to match alwaysApply: true/false --- ``` 3. Write clear, specific instructions in Markdown 4. Test the rule with relevant file types ## Best Practices - Keep rules focused and specific - Use clear

Steady5 mentions in 2 weeks

No other project uses it yet

14k6mo agoReviewMountCreate a free account to mount
BasedHardwareCursor rule

omi / rules

BasedHardware/omi/.cursor/rules/common-mistakes.mdc

Common implementation mistakes

Steady2 mentions in 2 weeks

No other project uses it yet

14k10mo agoReviewMountCreate a free account to mount
datahub-projectReads credentialsCursor rule

datahub / rules

datahub-project/datahub/.cursor/rules/datahub-dev.mdc

DataHub dev workflow — use scripts/dev/datahub-dev.sh for all build/test/flag operations

Steady6 mentions in 2 weeks

No other project uses it yet

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