agentleFS

Cursor rules examples

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

Worked for most · soon
ShopifyCursor rule

checkout-kit / rules

Shopify/checkout-kit/platforms/swift/.cursor/rules/swift-development.mdc

Swift development workflow and language server workarounds

724d agoReviewMountCreate a free account to mount
AWSCursor rule

operator-for-ai-chips-on-aws / rules

awslabs/operator-for-ai-chips-on-aws/.cursor/rules/make-commands.md

How to run make targets — check Go toolchain first, fall back to skipper

64mo agoReviewMountCreate a free account to mount
ElasticCursor rule

jingra / rules

elastic/jingra/.cursor/rules/jingra-project.mdc

../../AGENTS.md

4 projects use a version of this

66mo agoReviewMountCreate a free account to mount
PostHogCursor rule

wizard-workbench / rules

PostHog/wizard-workbench/apps/basic-integration/react-router/saas-template/.cursor/rules/facades.mdc

When writing facade functions, use this guide for facade functions best practices and guidance

57mo agoReviewMountCreate a free account to mount
PostHogCursor rule

wizard-workbench / rules

PostHog/wizard-workbench/apps/basic-integration/react-router/saas-template/.cursor/rules/js-and-ts.mdc

When writing JavaScript or TypeScript code, use this guide for JavaScript best practices and guidance

57mo agoReviewMountCreate a free account to mount
PostHogCursor rule

wizard-workbench / rules

PostHog/wizard-workbench/apps/basic-integration/react-router/saas-template/.cursor/rules/jsx-and-tsx.mdc

When writing React code, use this guide for React best practices and guidance

57mo agoReviewMountCreate a free account to mount
VercelCursor rule

sitecore-skills / rules

vercel-labs/sitecore-skills/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc

../../CLAUDE.md

33 projects use a version of this

59mo agoReviewMountCreate a free account to mount
LangChainCursor rule

smith-utils / rules

langchain-ai/smith-utils/smith-fly/.cursor/rules/k8s-bash-rule.mdc

You are a Senior DevOps Engineer with expertise in Kubernetes and Bash scripting to create system-oriented solutions that deliver measurable value. Generate system designs, scripts, automation templates, and refactorings that…

413mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/architecture.md

✅ Use locking mechanism for announcements (prevents overlap) ✅ Check state before announcing (prevent duplicates) ✅ Graceful hardware error handling ✅ Persist state after mutations ✅ Transform API responses to…

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/code-style.md

No summary in the file. Open it to read it.

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/development.md

Development (with auto-reload) Web interface always available at http://localhost:3000 Uses tsx for instant TypeScript execution - no build step needed! Available voice categories:

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/frontend.md

Use x-data to define component state and methods: Alpine.js automatically tracks dependencies. Modify state directly: Always use try/catch with proper error handling: Use :class binding for dynamic states: Use x-for…

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/hardware.md

Platform-specific commands: Implementation in audio.ts:

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/observability.md

All major functions must be wrapped in spans for observability. Use span.setAttributes() for:

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/overview.md

A hackweek project that monitors Sentry commits and announces them via TTS audio and a physical light beacon on Raspberry Pi. Celebrate team contributions by announcing production deployments with fun,…

313mo agoReviewMountCreate a free account to mount
SentryCursor rule

hackweek-the-box / rules

getsentry/hackweek-the-box/.cursor/rules/rules-system.md

Commit matching and announcement configuration system. Rules stored in ../.rules.json:

313mo agoReviewMountCreate a free account to mount
ElasticCursor rule

oblt-aw / rules

elastic/oblt-aw/.cursor/rules/ci-precommit-before-push.mdc

GOLD — mandatory local pre-commit (actionlint/ruff/mypy/…) before every commit or push.

230d agoReviewMountCreate a free account to mount
ElasticCursor rule

oblt-aw / rules

elastic/oblt-aw/.cursor/rules/fail-closed-e2e-gates.mdc

Fail-closed E2E harness/oracle evidence chains — chase every substitute signal when hardening gates.

230d agoReviewMountCreate a free account to mount
ElasticCursor rule

oblt-aw / rules

elastic/oblt-aw/.cursor/rules/new-org-key-checklist.mdc

Checklist when adding a new org key under config/<org-key>/

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