agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 20Worked for most · soon
AlephantAICursor rule

AIephant-AI-Agent-Gateway / rules

AlephantAI/AIephant-AI-Agent-Gateway/.cursor/rules/.task-magic/_index.mdc

detailed rule file: 1. **Plans (`@plans.mdc`)**: * **Purpose**: Defines how Product Requirements Documents (PRDs) are created and structured for the overall project and specific features. * **Location**: PRDs are stored in `.ai/plans

1115mo agoDiscuss
AlephantAICursor rule

AIephant-AI-Agent-Gateway / rules

AlephantAI/AIephant-AI-Agent-Gateway/.cursor/rules/.task-magic/tasks.mdc

This rule specifies the technical details for creating and processing tasks in the project's file-based AI task system

1115mo agoDiscuss
gviiisenCursor rule

repo-context-ledger / rules

gviiisen/repo-context-ledger/.cursor/rules/repo-context-ledger.mdc

Route Cursor through the repository's verified, cross-Agent context ledger.

10524d agoDiscuss
Habitat-ThinkingCursor rule

ai-literacy-superpowers / rules

Habitat-Thinking/ai-literacy-superpowers/.cursor/rules/constraints.mdc

Architectural constraints synced from HARNESS.md

10436d agoDiscuss
aaddrickCursor rule

attention-control / rules

aaddrick/attention-control/.cursor/rules/attention-control.mdc

Action-first output in controlled English, shaped for a reader with ADHD.

10359d agoDeletes or force-pushesDiscuss
putervisionCursor rule

state-memory-mcp / rules

putervision/state-memory-mcp/.cursor/rules/state-memory-mcp.mdc

create", type: "task", title: "...", session_id: session_id)`. - **Making a design or implementation decision**: Document it with `manage_nodes(action: "create", type: "decision", title: "...", metadata: { "rationale": "..." }, session_id: session

1035d agoDiscuss
MarcoPorcellatoCursor rule

matryca-plumber / rules

MarcoPorcellato/matryca-plumber/.cursor/rules/00-karpathy-agent-behavior.mdc

Master Agent Behavior & Karpathy Guidelines (Always Apply)

982mo agoDiscuss
MarcoPorcellatoCursor rule

matryca-plumber / rules

MarcoPorcellato/matryca-plumber/.cursor/rules/01-core-paradigm.mdc

Core paradigm rules for Logseq OG (Markdown outliner vs flat text)

982mo agoDiscuss
MarcoPorcellatoCursor rule

matryca-plumber / rules

MarcoPorcellato/matryca-plumber/.cursor/rules/06-auto-changelog.mdc

Always keep the CHANGELOG updated with meaningful changes.

982mo agoReads credentialsDiscuss
MarcoPorcellatoCursor rule

matryca-plumber / rules

MarcoPorcellato/matryca-plumber/.cursor/rules/07-env-example.mdc

Keep .env.example in sync when adding or changing environment variables (operator vs advanced tiers).

982mo agoReads credentialsDiscuss
MarcoPorcellatoCursor rule

matryca-plumber / rules

MarcoPorcellato/matryca-plumber/.cursor/rules/10-tooling-static-analysis-policy.mdc

Vendor-neutral public tooling policy with a narrow, license-evidenced project-naming exception

982mo agoDiscuss
fr0sterCursor rule

mcp-abap-adt / rules

fr0ster/mcp-abap-adt/.cursor/rules/main.mdc

mcp-abap-adt project rules and guidelines

9511mo agoDiscuss
mturacCursor rule

everything-openai-codex / rules

mturac/everything-openai-codex/.cursor/rules/common-agents.md

Agent orchestration: available agents, parallel execution, multi-perspective analysis

895mo agoDiscuss
mturacCursor rule

everything-openai-codex / rules

mturac/everything-openai-codex/.cursor/rules/common-performance.md

Performance: model selection, context management, build troubleshooting

895mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/behat-ai-guide.mdc

This rule provides comprehensive guidance for AI assistants writing Behat tests for Drupal projects using the drevops/behat-steps package. It emphasizes reusing existing traits and steps rather than creating custom implementations. Contains the full STEPS.md reference embedded for easy access.

8811mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/behat-steps.mdc

--- description: globs: *.feature,FeatureContext.php,*Context.php alwaysApply: false --- # Behat Steps - Claude Memory ## Available steps ### Index

8811mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/code-generation-standards.mdc

Standards for code generation and implementation

8811mo agoDiscuss
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/cursor-rules.mdc

Describes how and where to create Cursor Rules

8811mo agoDiscuss
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.