agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 2Worked for most · soon
UgbotCursor rule

ai-grind / rules

Ugbot/ai-grind/.cursor/rules/devtools-mcp.mdc

devtools-mcp MCP server usage — profiling, tracker, dashboard

94d agoDiscuss
thehumanworksCursor rule

langchain-claude-code / claude-sdk

thehumanworks/langchain-claude-code/.cursor/rules/claude-sdk/tools.mdc

@tool decorator, create_sdk_mcp_server for in-process custom MCP tools

110mo agoDiscuss
sms021Cursor rule

RunawayContext / rules

sms021/RunawayContext/.cursor/rules/runaway-retrieval.md

RunawayContext v3 retrieval rule for Cursor. Routes context queries through the MCP server.

165mo agoDiscuss
iblaiCursor rule

lms / rules

iblai/lms/.cursor/rules/e2e-healer.mdc

Heal failing Playwright E2E tests using the Playwright Test MCP server

136mo agoDiscuss
runwhen-contribCursor rule

runwhen-platform-mcp / rules

runwhen-contrib/runwhen-platform-mcp/.cursor/rules/skill-management.mdc

How to create and manage AI workflow skills in this MCP server project

16mo agoDiscuss
dejanuCursor rule

kubectl-kontext / rules

dejanu/kubectl-kontext/.cursor/rules/mcp-server-setup.mdc

MCP server setup and safety workflow for kubectl-kontext

05mo agoDiscuss
ZephiorCursor rule

zephior-agent-toolkit / rules

Zephior/zephior-agent-toolkit/.cursor/rules/zephior-public-integration.mdc

Safe integration with Zephior public APIs, MCP servers, and published resources

021d agoDiscuss
ctxr-devCursor rule

llm-wiki-memory / rules

ctxr-dev/llm-wiki-memory/.cursor/rules/verify-live-change.mdc

Skill: verify a change to the live engine tree — `~/.llm-wiki-memory/src` runs LIVE — the MCP server, the Claude Code hook workers, and cron import it as you edit. Canonical file is .agents/skills/verify-live-change.md.

13157d agoDiscuss
canyonlabzCursor rule

perfpilot-hub / rules

canyonlabz/perfpilot-hub/.cursor/rules/prerequisites.mdc

Pre-flight validation for all workflows — artifact structure, MCP server availability, config file reference

45mo agoReads credentialsDiscuss
giantswarmCursor rule

pro / rules

giantswarm/pro/.cursor/rules/mcp-tools-usage.mdc

How to use the pro MCP server tools efficiently for operational tasks (issues, sub-issues, boards)

13mo agoDiscuss
cbtw-apacCursor rule

qdrant-loader / rules

cbtw-apac/qdrant-loader/.cursor/rules/ai-expert.mdc

Guide the AI to act as an AI/ML/MLOps Expert, integrating modern AI tooling, including AI agents, AI-powered IDEs, MCP servers, and online AI-powered tools.

518mo agoDiscuss
Jackalope-DevCursor rule

Moxie-Docs-MCP / rules

Jackalope-Dev/Moxie-Docs-MCP/.cursor/rules/moxie-docs.mdc

Ground Cursor AI Agent in live repository conventions, architecture docs, and doc impact analysis using Moxie Docs MCP server.

22mo agoDiscuss
miapreCursor rule

mimic-ai / rules

miapre/mimic-ai/.cursor/rules/mimic-ai.mdc

Golden workflow for building or editing Figma designs with the Mimic AI MCP server (mimic_status, mimic_discover_ds, figma_create_frame, figma_insert_component, mimic_build_table, mimic_build_chart, and related tools).

133mo agoDiscuss
MANVENDRA-githubCursor rule

mcp-authoring

MANVENDRA-github/agentry/.cursor/rules/mcp-authoring.mdc

Build a well-behaved Model Context Protocol server — tool and resource design, input schemas, structured errors, transport choice (stdio vs remote), and secret handling. Invoke when writing or extending an MCP server other tools will call. Skip for consuming an existing server.

03mo agoDiscuss
Prorise-coolCursor rule

claude-code-plugins / rules

Prorise-cool/claude-code-plugins/.cursor/rules/claude-code-plugins.mdc

Use when working with Claude Code plugins, skills, agents, hooks, commands, or MCP servers. Plugins extend Claude Code with reusable components that may be installed in user/global locations outside the project.

19mo agoDiscuss
AWSCursor rule

automated-security-helper / rules

awslabs/automated-security-helper/ash-agent-plugins/agentic-coding/plugins/cursor/.cursor/rules/ash-mcp.mdc

Run security scans with the ASH (Automated Security Helper) MCP server. Use this skill whenever the user asks to scan for vulnerabilities, run a security check, find CVEs, audit dependencies, check for secrets, run SAST or SCA, scan IaC (Terraform/CloudFormation/Kubernetes), check for hardcoded credentials, or mentions ASH, Bandit, Semgrep, Checkov, Grype, Syft, or detect-secrets. Also trigger when the user wants to find security issues, harden a codebase, or asks "is my code secure". Do NOT trigger for code review without security context, performance audits, or test writing.

69521d agoDiscuss
katalon-labsCursor rule

true-skills / rules

katalon-labs/true-skills/.cursor/rules/platform-setup.mdc

Set up, verify, and troubleshoot Katalon True Platform/TestOps MCP connectivity for any AI coding agent. Use when you need to install or configure the Katalon MCP server, connect to a Katalon platform account, verify available Katalon MCP tools, diagnose missing authentication or repository access, confirm project/repository discovery, or explain what platform operations are and are not exposed through the MCP. One-time cross-cutting setup, run once by whoever wires the agent to the platform, before any lifecycle skill can work.

83mo agoDiscuss
lalal-zzzCursor rule

mcp-skill-publisher / rules

lalal-zzz/mcp-skill-publisher/.cursor/rules/mcp-skill-deployer.mdc

mcp-skill-deployer: when the user explicitly asks to audit, score, optimize, inspect, package, or publish an MCP server or Agent Skill project, run compliance checks, quality scoring, guided optimization, and export file generation. Never execute npm publish, git push, or registry commands without per-step user confirmation.

42mo agoReads credentialsDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/config-hygiene-edho-ferdian.mdc

Periodic garbage collection for Edho's own Claude Code environment (`~/.claude`): find redundant, stale, orphaned, or context-expensive items across skills, memory, hooks, permissions, MCP servers, automations and caches, then walk them one by one with a human confirmation and an undo path. Includes the ECC decommissioning track — the concrete checklist for removing the ECC install once its native replacement exists. Use when the user says \"bersihin config\", \"~/.claude berantakan\", \"kebanyakan skill\", \"sesi lambat mulai\", \"audit setup gue\", \"context cepat penuh\", or when a periodic (~30 day) review is due.

197d agoDiscuss
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.

142d agoDiscuss

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.