agentleFS
Sign inSign up

Cursor rules examples

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

Best matchesWorked for most · soon
sipyourdrink-ltdCursor rule

bernstein / rules

sipyourdrink-ltd/bernstein/.cursor/rules/documentation-duty.mdc

Documentation duty

1.3k9d agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/legal-tos-privacy.mdc

Create bulletproof Terms of Service and Privacy Policy documents for SaaS applications. Infers company information from codebase/marketing site, conducts comprehensive audits, drafts documents, then asks user ONLY for missing details at the end. Minimizes user interaction. Use when the user needs to draft, review, or update legal documents (ToS, Terms of Service, Privacy Policy, legal pages). Triggers on requests for legal documents, terms drafting, privacy policy creation, cover our bases legally, liability protection, or legal compliance for software products.

223mo agoReads credentialsDiscuss
afaraha8403Cursor rule

balakit / rules

afaraha8403/balakit/.cursor/rules/comments.mdc

Guidelines for code comments and documentation — document the why, not the what

114d agoDiscuss
langwatchCursor rule

better-agents / rules

langwatch/better-agents/.cursor/rules/docs-directory.mdc

When writing documentation for the repository

1.6k11mo agoDiscuss
golid-aiCursor rule

golid / rules

golid-ai/golid/.cursor/rules/document-module.mdc

Document an existing module — use when asked to spec, document, or map a module that's already built

404mo agoDiscuss
korchasaCursor rule

speelka-agent / rules

korchasa/speelka-agent/.cursor/rules/how-to-compact-documentation.mdc

How to write documentation

417mo agoDiscuss
VercelCursor rule

streamdown / rules

vercel/streamdown/apps/website/.cursor/.cursor/rules/documentation.mdc

Documentation Writing Style Guide

5.7k14mo agoDiscuss
raw-labsCursor rule

mxcp / rules

raw-labs/mxcp/.cursor/rules/documentation.mdc

Documentation standards and practices

6911mo agoDiscuss
extractumioCursor rule

extractum-skills / rules

extractumio/extractum-skills/.cursor/rules/40-docstrings.mdc

Docstring and documentation standards

448mo agoReads credentialsDiscuss
SentryCursor rule

spotlight / rules

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

Rules for the Spotlight documentation website

6204mo agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/doc-updater.mdc

Documentation and codemap specialist. Use PROACTIVELY for updating codemaps and documentation. Runs /update-codemaps and /update-docs, generates docs/CODEMAPS/*, updates READMEs and guides.

223mo agoReads credentialsDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/edit-document.mdc

Edit and improve documents by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, restructure, or improve any document — including specs/ files, articles, READMEs, or technical writing.

24029d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/write-document.mdc

Write, organize, and sync high-integrity technical documents using the BMAD methodology. Ensures every document is Bold, Minimal, Actionable, and Durable. Use when creating architectural docs, technical guides, or organizing the specs/ directory.

24029d agoDiscuss
marckrennCursor rule

rtfmbro-mcp / rules

marckrenn/rtfmbro-mcp/.cursor/rules/rtfmbro.mdc

rtfmbro Package Documentation Policy

9116mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/readme-maintenance-standards.mdc

Standards for maintaining README.md documentation

8811mo agoDiscuss
SentryCursor rule

sentry-docs / rules

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

LLM Contribution Guidelines for Sentry Documentation

4468mo agoDiscuss
SaynaAICursor rule

sayna / rules

SaynaAI/sayna/.cursor/rules/core.mdc

Core STT/TTS abstraction layer documentation

31110mo agoDiscuss
PierreTsiaCursor rule

workout-app / rules

PierreTsia/workout-app/.cursor/rules/docs-format.mdc

Document templates for Epic Briefs, Tech Plans, and Tickets. Enforces consistent structure across all project documentation.

034d agoDiscuss
christopherpaquinCursor rule

Guardrails-AI / rules

christopherpaquin/Guardrails-AI/.cursor/rules/008_documentation.mdc

Documentation requirements and standards

18mo agoReads credentialsDiscuss

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.