agentleFS

Cursor rules examples

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

Best matches · from page 5Worked for most · soon
KangaKodeCursor rule

universal-agent-bootstrap / rules

KangaKode/universal-agent-bootstrap/.cursor/rules/expert-review.mdc

Full expert review protocol. 8-expert, 2-wave deliberation for comprehensive codebase and documentation review. Invoke before major milestones, after shipping feature clusters, or before staging/production deployment.

07mo agoReviewMountCreate a free account to mount
KangaKodeCursor rule

universal-agent-workflow-template / rules

KangaKode/universal-agent-workflow-template/.cursor/rules/expert-review.mdc

Full expert review protocol. 8-expert, 2-wave deliberation for comprehensive codebase and documentation review. Invoke before major milestones, after shipping feature clusters, or before staging/production deployment.

07mo agoReviewMountCreate a free account to mount
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/simple-english.mdc

Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so the result is clear, unambiguous, and free of AI slop. Use for documentation, READMEs, runbooks, procedures, error messages, release notes, incident reports, and API guides. Also use when the user says \"STE\", \"Simplified Technical English\", \"ASD-STE100\", \"de-slop\", \"make this readable\", \"write for non-native readers\", or asks for docs that translate well. Enforces the 53 rules of the standard (Issue 9) with a deterministic lint gate.

2523mo agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/explain-concept.mdc

Explain a Microsoft ecosystem concept to someone who is confused by it, after working out what they actually misunderstand. Use when someone asks what something is or why it behaves the way it does across Copilot Studio, Power Platform, Dataverse, Dynamics 365, Microsoft Foundry or Entra - particularly when they have already read the documentation and are still stuck.

33mo agoReviewMountCreate a free account to mount
anmolnagpalCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/adr.mdc

Capture architectural decisions that have already been made, as structured ADRs (Architecture Decision Records). Use when user says 'record this decision', 'ADR this', 'why did we choose X', 'document this trade-off', 'we decided to...', or when a choice between alternatives has been settled and needs writing down. This records a decision; it does not make one. A question of the form 'should we use X or Y' is a design discussion, not an ADR request.

83mo agoReviewMountCreate a free account to mount
jefrncCursor rule

quant-llm-skills / rules

jefrnc/quant-llm-skills/.cursor/rules/xbrl-fallbacks.mdc

Use when SEC XBRL company-facts data returns 404, is empty, or has sparse coverage — typical for recent FPIs (foreign private issuers), recent IPOs, SPACs, or shell companies. Defines the document hierarchy and extraction rules to recover shares-outstanding data from filing text when structured XBRL is unavailable.

17mo agoReviewMountCreate a free account to mount
DXHeroesCursor rule

mcp-devtools / rules

DXHeroes/mcp-devtools/.cursor/rules/package-documentation.mdc

Package Documentation Standards

1321mo agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/de-slop.mdc

Rewrite text that reads like a model wrote it into something a person would actually send. Use when a proposal, customer email, README or executive summary reads like a brand deck, when a draft leans on \"seamless\", \"robust\", \"pivotal moment\" or \"evolving landscape\", when every sentence could be pasted into another company's blog post unchanged, when a document hedges instead of taking a position, or when a reviewer says a page is fine but cannot say what it told them.

33mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/gh-commands.mdc

This rule provides essential guidance for executing GitHub CLI (gh) commands correctly when using the run_terminal_cmd tool. It covers the critical workaround for pager-related issues that cause gh commands to fail with "cannot open '|' for reading" errors. The rule documents why piping gh commands to cat (e.g., gh run list | cat) is necessary and provides templates for common GitHub workflow operations, issue management, and pull request commands. Essential for debugging GitHub Actions workflows and accessing repository information via CLI. This rule should be requested whenever: Working with GitHub CLI commands Debugging GitHub Actions workflows Encountering terminal/pager-related errors with gh commands Need to list workflow runs, view logs, or manage GitHub repository resources via CLI The rule is now saved and ready to be used by agents who need to execute GitHub CLI commands correctly.

3217mo agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/dev-kickoff-edho-ferdian.mdc

Kickoff and execute a development project from ANY specification or planning documents (PRD, SRS, WBS, tech spec, RFC, ADRs, and more — see the Phase 0 role table below for the full list). Classifies docs by role, cross-validates them, extracts a binding Project Decision Register, generates an Execution Context Pack plus a project-fit agent roster, then builds task-by-task through a seven-stage PLAN→TEST→IMPLEMENT→REVIEW→ VERIFY→REMEMBER→IMPROVE loop — auto-invoking this ecosystem's other skills as needed. Use whenever the user wants to build from specs, or says \"mulai proyek\", \"kickoff\", \"buat context pack\", \"handoff ke Cursor\" — or wants to RESUME: \"lanjutkan proyek\", \"resume\", \"lanjut dari snapshot\". Also use when a repo has /project-memory/ and the user asks to continue it.

212mo agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/ground-agents-in-work-context.mdc

Choose the right grounding layer for an agent across the Microsoft IQ stack - Work IQ, Fabric IQ, Foundry IQ, Web IQ. Use when an agent can see someone's email, calendar and Teams messages but not the approval rules or business entities it needs, when deciding between workplace signals and an ontology over business data, when someone maps a conceptual \"Business IQ\" or \"Work IQ\" onto Microsoft's products and gets the opposite of what they expected, when an agent needs GL accounts, vendors or authorisation thresholds rather than documents, or when an unattended background agent is being designed on top of Work IQ.

33mo agoReviewMountCreate a free account to mount
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/ai-agent-security-llm-threats.mdc

Security for LLM and agent systems: direct and indirect prompt injection, the OWASP Top 10 for LLM Applications, MITRE ATLAS technique mapping, excessive agency and tool-scope containment, egress allowlisting to stop data exfiltration, human confirmation for irreversible actions, and treating third-party skills and MCP servers as untrusted code. Use when an agent is given tools or credentials, when retrieved documents or repository files could carry injected instructions, or when reviewing an AI feature before it reaches production.

13mo agoReviewMountCreate a free account to mount
moclam1905Cursor rule

CocktailRecipes / core-rules

moclam1905/CocktailRecipes/.cursor/rules/core-rules/rule-generating-agent.mdc

This rule is essential for maintaining consistency and quality in rule creation across the codebase. It must be followed whenever: (1) A user requests a new rule to be created, (2) An existing rule needs modification, (3) The user asks to remember certain behaviors or patterns, or (4) Future behavior changes are requested. This rule ensures proper organization, clear documentation, and effective rule application by defining standard formats, naming conventions, and content requirements. It's particularly crucial for maintaining the rule hierarchy, ensuring rules are discoverable by the AI, and preserving the effectiveness of the rule-based system. The rule system is fundamental to project consistency, code quality, and automated assistance effectiveness.

120mo agoReviewMountCreate a free account to mount
linkpranay-aiCursor rule

context-engineering-protocol / rules

linkpranay-ai/context-engineering-protocol/.cursor/rules/ult-autoscaffold-content.mdc

Generate real starter content for a project's What-L2 (requirements) and How-L2 (architecture/conventions) CEP layers once ult-repo-layout has resolved their paths but found them empty — an honest, minimal, YAML-frontmatter-first overview document per layer for small/single targets, or graphify-informed per-module tiering with resumable per-module CONTEXT.md generation, existence-gated CODING-STANDARDS.md/TESTING-GUIDELINES.md, interface-boundary docs for graph-crossing module pairs, and a rendered CEP-INDEX.md router for large repos, optionally informed by a user-supplied domain-pack of terminology/references if one is configured. This skill generates a NEW starter doc only when none exists — it never compiles or reconciles EXISTING scattered guideline sources (that's compiling-project-guidelines' job). Do NOT use to enforce layout paths or run layer discovery — that's ult-repo-layout. Do NOT use to author or generate a domain pack — this skill only ever consumes one you already wrote.

93mo agoReviewMountCreate a free account to mount
sergeyklayCursor rule

cityhive / rules

sergeyklay/cityhive/.cursor/rules/always-enable-context7.mdc

Whenever you use a library or a tool that has documentation.

218mo agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/django-python.mdc

Rules for writing Python services at PostHog (Python servers powered by the Django framework)

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/rust.mdc

Rules for writing Rust services at PostHog. Focuses on writing async Rust with Tokio and encoding general Rust best practices from the Rust book and docs.

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
VercelCursor rule

chatbot / rules

vercel/chatbot/.cursor/rules/ultracite.mdc

Ultracite Rules - AI-Ready Formatter and Linter

5 projects use a version of this

21k14mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc

Require reading dev-guides before development and keeping docs in sync

No other project uses it yet

18k7mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/repo.mdc

understanding the structure of the monorepo

No other project uses it yet

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