agentleFS

Cursor rules examples

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

Worked for most · soon
SentryCursor rule

sentry-academy-workshop / rules

getsentry/sentry-academy-workshop/.cursor/rules/project_context.mdc

This is a pnpm monorepo with the following structure: Technology Stack: - Framework: React 19.1.0 with React DOM - Build Tool: Vite 5.4.2 - Language: TypeScript 5.5.3 - Styling: Tailwind…

218mo agoReviewMountCreate a free account to mount
ElasticCursor rule

dashboard-alert-migration / rules

elastic/dashboard-alert-migration/.cursor/rules/git-commit-and-push.mdc

Commit and push workshop changes to Git by default

06mo agoReviewMountCreate a free account to mount
ElasticCursor rule

dashboard-alert-migration / rules

elastic/dashboard-alert-migration/.cursor/rules/mig-to-kbn-upstream.mdc

elastic/observability-migration-platform is upstream-only; workshop edits stay outside vendored mig-to-kbn/

06mo agoReviewMountCreate a free account to mount
ElasticCursor rule

dashboard-alert-migration / rules

elastic/dashboard-alert-migration/.cursor/rules/workshop-git-instruqt.mdc

After changing this Instruqt workshop repo, push to Git and Instruqt

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