agentleFS

Cursor rules examples

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

Worked for most · soon
SentryReads credentialsCursor rule

spotlight / rules

getsentry/spotlight/packages/spotlight/src/electron/.cursor/rules/electron.mdc

Electron desktop app development guidelines

No other project uses it yet

6246mo agoReviewMountCreate a free account to mount
SentryReads credentialsCursor rule

spotlight / rules

getsentry/spotlight/packages/spotlight/src/server/cli/.cursor/rules/cli.mdc

CLI command development guidelines for Spotlight

6246mo agoReviewMountCreate a free account to mount
SentryCursor rule

spotlight / rules

getsentry/spotlight/packages/spotlight/src/server/.cursor/rules/server.mdc

Server/sidecar development guidelines using Hono framework

6246mo agoReviewMountCreate a free account to mount
SentryReads credentialsCursor rule

spotlight / rules

getsentry/spotlight/packages/spotlight/src/server/mcp/.cursor/rules/mcp.mdc

MCP (Model Context Protocol) server development guidelines

6246mo agoReviewMountCreate a free account to mount
SentryCursor rule

spotlight / rules

getsentry/spotlight/packages/spotlight/src/ui/.cursor/rules/ui.mdc

UI development guidelines for the Spotlight React application

6246mo agoReviewMountCreate a free account to mount
SentryCursor rule

spotlight / rules

getsentry/spotlight/packages/website/.cursor/rules/website.mdc

Rules for the Spotlight documentation website

No other project uses it yet

6246mo agoReviewMountCreate a free account to mount
VercelCursor rule

workflow-examples / rules

vercel/workflow-examples/custom-adapter/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc

../../CLAUDE.md

22 projects use a version of this

55513mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

PowerAppsCodeApps / rules

microsoft/PowerAppsCodeApps/samples/Dataverse/.cursor/rules/powersdkcli.mdc

Always read the .github/copilot-instructions.md for the context.

No other project uses it yet

51010mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

PowerAppsCodeApps / rules

microsoft/PowerAppsCodeApps/samples/FluentSample/.cursor/rules/powersdkcli_backup.mdc

Always read the .github/copilot-instructions.md for the context.

No other project uses it yet

51010mo agoReviewMountCreate a free account to mount
PostHogCursor rule

DeskHog / rules

PostHog/DeskHog/.cursor/rules/about-project.mdc

This is an ESP32-S3-based project to display PostHog insights on a 240x135 TFT screen. Details about the device are available at platformio.ini

No other project uses it yet

49120mo agoReviewMountCreate a free account to mount
PostHogCursor rule

DeskHog / rules

PostHog/DeskHog/.cursor/rules/application-structure.mdc

Creating new functionality

No other project uses it yet

49120mo agoReviewMountCreate a free account to mount
PostHogCursor rule

DeskHog / rules

PostHog/DeskHog/.cursor/rules/code-generation.mdc

Code generation tasks

No other project uses it yet

49120mo agoReviewMountCreate a free account to mount
PostHogCursor rule

DeskHog / rules

PostHog/DeskHog/.cursor/rules/troubleshooting.mdc

Fixing problems, recovering from failures

49120mo agoReviewMountCreate a free account to mount
SentryCursor rule

sentry-docs / rules

getsentry/sentry-docs/.cursor/rules/contribution-guidelines.mdc

LLM Contribution Guidelines for Sentry Documentation

No other project uses it yet

44710mo agoReviewMountCreate a free account to mount
LangChainCursor rule

docs / rules

langchain-ai/docs/.cursor/rules/docs-style.mdc

LangChain docs prose style guide, applied when authoring or editing MDX pages

No other project uses it yet

4243mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/00-agents-context.mdc

Always load AGENTS.md context first

No other project uses it yet

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/auto-generated-files.mdc

../../.agents/rules/auto-generated-files.md

No other project uses it yet

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/changelog.mdc

../../.agents/rules/changelog.md

No other project uses it yet

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/comments.mdc

../../.agents/rules/comments.md

4054mo agoReviewMountCreate a free account to mount
DatabricksCursor rule

cli / rules

databricks/cli/.cursor/rules/databricks-template-schema-json.mdc

../../.agents/rules/databricks-template-schema-json.md

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