agentleFS

Cursor rules examples

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

Best matches · from page 7Worked for most · soon
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
elie222Cursor rule

inbox-zero / features

elie222/inbox-zero/.cursor/rules/features/digest.mdc

points - **"calendar"** → Extract event details, times, locations - **"coldEmail"** → Brief description of sender and purpose --- ## Testing & Development ### Running AI Tests ```bash # Enable AI tests (requires API keys) export RUN_AI_TESTS

Steady10 mentions in 2 weeks

No other project uses it yet

13k9mo agoReviewMountCreate a free account to mount
elie222Cursor rule

inbox-zero / features

elie222/inbox-zero/.cursor/rules/features/schedule.mdc

intervals work across month boundaries // Leap years are handled by date-fns utilities ``` --- ## Testing & Development ### Testing Schedule Calculations ```typescript import { calculateNextScheduleDate } from '@/utils/schedule'; describe('Schedule', () => { it('calculates daily schedule correctly

Steady10 mentions in 2 weeks

No other project uses it yet

13k9mo agoReviewMountCreate a free account to mount
elie222Reads credentialsCursor rule

inbox-zero / rules

elie222/inbox-zero/.cursor/rules/posthog-feature-flags.mdc

Guidelines for implementing and using PostHog feature flags for early access features and A/B tests globs: apps/web/hooks/useFeatureFlags.ts alwaysApply: false --- # PostHog Feature Flags Guidelines for implementing feature flags using PostHog

Steady10 mentions in 2 weeks

No other project uses it yet

13k9mo agoReviewMountCreate a free account to mount
elie222Cursor rule

inbox-zero / rules

elie222/inbox-zero/.cursor/rules/ultracite.mdc

exceed a given Cognitive Complexity score. - Don't nest describe() blocks too deeply in test files. - Don't use unnecessary boolean casts. - Don't use unnecessary callbacks with flatMap

Steady10 mentions in 2 weeks

No other project uses it yet

13k9mo agoReviewMountCreate a free account to mount
keephqCursor rule

keep / rules

keephq/keep/.cursor/rules/keep-ui-tests.mdc

description: globs: alwaysApply: true --- --- description: Rules and guidelines for writing and running React tests globs: *.spec.tsx, *.test.tsx, *.test.ts, *.spec.ts --- # Writing frontend tests Place tests in __tests__ folder in the module

No other project uses it yet

13k20mo agoReviewMountCreate a free account to mount
Arize-aiCursor rule

phoenix / rules

Arize-ai/phoenix/.cursor/rules/client-migration.mdc

forget required annotator_kind px_client.spans.log_span_annotations_dataframe( dataframe=df, annotation_name="test" # Missing annotator_kind="LLM" ) ``` ## Basic Client Import Patterns ### Legacy Pattern ```python # Complete context - typical legacy file header

Steady12 mentions in 2 weeks

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
Arize-aiCursor rule

phoenix / rules

Arize-ai/phoenix/.cursor/rules/evals-migration.mdc

how to migrate to the new evals interfaces

Steady12 mentions in 2 weeks

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
Arize-aiCursor rule

phoenix / frontend

Arize-ai/phoenix/.cursor/rules/frontend/RULE.md

Start dev server with hot reload - `pnpm run build` - Build production bundle - `pnpm test` - Run tests ### Quality Checks - `pnpm run lint:fix` - Fix linting issues - `pnpm run typecheck` - Type check

Steady12 mentions in 2 weeks

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
Arize-aiCursor rule

phoenix / python

Arize-ai/phoenix/.cursor/rules/python/RULE.md

Python Development ## Commands ### Testing and Linting - `make format-python lint-python` - Format and lint code - `cd tests && uv run pytest unit/ -q` - Run all unit tests in quiet mode

Steady12 mentions in 2 weeks

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
Arize-aiCursor rule

phoenix / typescript-packages

Arize-ai/phoenix/.cursor/rules/typescript-packages/RULE.md

install` - Install dependencies - `pnpm run -r build` - Build all packages recursively - `pnpm run -r test` - Test all packages recursively - `pnpm run lint` - Lint all packages - `pnpm run fmt:check .` - Check

Steady12 mentions in 2 weeks

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
keplerglDeletes or force-pushesCursor rule

kepler.gl / rules

keplergl/kepler.gl/.cursor/rules/no-auto-commit-push.mdc

Never commit or push without explicit user approval

No other project uses it yet

12k20d agoReviewMountCreate a free account to mount
gravitlCursor rule

netmaker / rules

gravitl/netmaker/.cursor/rules/netmaker-acls.mdc

Netmaker ACL model — user devices vs resources, egress/exit enforcement, NM-356 constraints

No other project uses it yet

12k20d agoReviewMountCreate a free account to mount
grafanaCursor rule

pyroscope / rules

grafana/pyroscope/.cursor/rules/development-workflow.mdc

Development workflow, commands, and commit guidelines for Pyroscope

Steady2 mentions in 2 weeks

No other project uses it yet

12k4mo agoReviewMountCreate a free account to mount
grafanaCursor rule

pyroscope / rules

grafana/pyroscope/.cursor/rules/go-backend.mdc

Go backend coding standards and patterns for Pyroscope

No other project uses it yet

12k4mo agoReviewMountCreate a free account to mount
grafanaCursor rule

pyroscope / rules

grafana/pyroscope/.cursor/rules/pyroscope-general.mdc

General Pyroscope project context and architecture overview

Steady2 mentions in 2 weeks

No other project uses it yet

12k4mo 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.