agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 3Worked for most · soon
kensaurusCursor rule

cursor-kenji / rules

kensaurus/cursor-kenji/.cursor/rules/verification-before-completion.mdc

Require fresh, scope-appropriate evidence before any completion claim. Distinguishes implemented, locally verified, repository-green, PR-green, deployed, and observed-stable states.

910d agoDiscuss
afaraha8403Cursor rule

balakit / rules

afaraha8403/balakit/.cursor/rules/release.mdc

Git tag, CHANGELOG heading, package.json, and npm publish must share one semver. Use when releasing, shipping, deploying, tagging, or publishing npm.

117d agoDiscuss
nachum10Cursor rule

cloudflare-tunnel-routes / rules

nachum10/cloudflare-tunnel-routes/.cursor/rules/cloudflare-tunnel-routes.mdc

Persistent HTTPS URL for local Gradio/Streamlit/FastAPI/webhook services without deploying. Use when the user wants a stable permanent URL on a domain they own (not a throwaway URL, not managed hosting).

15mo agoDiscuss
SafetyMPCursor rule

HR-ERP / rules

SafetyMP/HR-ERP/.cursor/rules/vercel-jwt-smoke.mdc

When the user asks for a dev JWT, Bearer token, or to test / hit the linked Vercel deployment API with auth — run the smoke command and report status (not the token)

14mo agoDiscuss
0xdfinityCursor rule

fhevm-agent-skill / rules

0xdfinity/fhevm-agent-skill/.cursor/rules/fhevm-agent-skill.mdc

Zama FHEVM skills. Use for confidential Solidity contracts, encrypted frontend flows, tests, deployments, ERC-7984, input proofs, ACL, and decryption.

05mo agoDiscuss
kadam-officialCursor rule

mcp-server / rules

kadam-official/mcp-server/.cursor/rules/release-gate.mdc

Release & deploy gate for @kadam-net/mcp-server — what the agent may do autonomously vs. what requires explicit human approval. Applies to all branch/MR/release/deploy work in this repo.

04mo agoDiscuss
malawaddCursor rule

zama-fhevm-confidential-contracts / rules

malawadd/zama-fhevm-confidential-contracts/.cursor/rules/zama-fhevm-confidential-contracts.mdc

Build, test, deploy, and integrate confidential smart contracts on Zama Protocol FHEVM, including encrypted inputs, ACL, decryption, OpenZeppelin confidential contracts, and ERC-7984.

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

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

05mo agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/helm-kubernetes-deployment.mdc

Helm chart engineering: chart/subchart layout, values schema validation, hardened Deployment templates (probes, resources, securityContext, PDB), and release lifecycle with rollback. Use when authoring or reviewing a Helm chart, templating Kubernetes manifests, or debugging a failed or stuck Helm release.

145d agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/devops-metrics-dora-kpis.mdc

DORA metrics instrumentation: deployment frequency, lead time for changes, change failure rate, and time to restore, with PromQL dashboards, benchmark bands, and anti-gaming guidance. Use when measuring delivery performance, building an engineering-metrics dashboard, or diagnosing why throughput or stability is poor.

145d agoDiscuss
MANVENDRA-githubCursor rule

feature-flags

MANVENDRA-github/agentry/.cursor/rules/feature-flags.mdc

Decouple deploy from release with feature flags — ship code dark, turn it on deliberately, and delete the flag once it has served its purpose. Invoke when rolling out a risky or incomplete change, running an experiment, or gating access. Skip for a small change with no rollout risk, where a flag is just indirection.

03mo agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/gcp-cloud-engineering-patterns.mdc

GCP platform engineering: organization, folder and project hierarchy, Organization Policy constraints, Shared VPC, VPC Service Controls, IAM Workload Identity Federation, and BigQuery operations. Use when designing a Google Cloud resource hierarchy or network, letting GitHub Actions or another external CI deploy to GCP without a service account key, or building a data perimeter.

145d agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/database-devops-lifecycle.mdc

Database DevOps: expand/contract zero-downtime schema migration, migration-as-code with Flyway, Liquibase and Atlas, connection pooling, replication lag, and rollback strategy. Use when adding, renaming or dropping a column on a large Postgres or MySQL table without downtime, running migrations from a deploy pipeline, or diagnosing read replicas lagging behind the primary and serving stale data.

145d agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/cicd-pipeline-design.mdc

CI/CD pipeline architecture for GitHub Actions and GitLab CI: matrix testing, dependency caching, OIDC keyless cloud authentication, security gating, and concurrency control. Use when a pipeline is slow because every job reinstalls dependencies, when long-lived AWS or cloud access keys stored as CI secrets must be removed, or when building, gating and speeding up a build-test-deploy workflow.

145d agoDiscuss
joinwell52-AICursor rule

FCoP / rules

joinwell52-AI/FCoP/.cursor/rules/fcop-rules.mdc

FCoP Rules (behavior governance protocol layer · v3 — agent runtime contract for _lifecycle/-based collaboration) — the protocol rules every agent must follow inside an FCoP project. Auto-deployed by the fcop MCP. Companion file fcop-protocol.mdc explains how each rule applies in practice. FCoP 协议规则(行为治理协议层 · v3 —— agent 在 _lifecycle/ 目录结构上协作的运行时契约):任何在 FCoP 项目中工作的 Agent 都必须遵守的规则,由 fcop MCP 自动部署;规则的具体适用说明见同目录的 fcop-protocol.mdc。

24mo agoDiscuss
0xmythrilCursor rule

clawdtm / rules

0xmythril/clawdtm/.cursor/rules/vercel-next-build.mdc

Avoid Vercel/Next.js build failures. Apply when editing code that affects npm run build or deployment.

98mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/path-safety.mdc

路径安全编码规范 — 编辑路由/Agent/Loader/Workspace/知识库代码时自动提醒

17k5mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/airweave-overview.mdc

General overview of Airweave.

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/search-module.mdc

answer if generate_answer=True ``` ### Advanced Search with Options ```python request = SearchRequest( query="deployment failures last week", retrieval_strategy=RetrievalStrategy.HYBRID, temporal_relevance=0.7, # Strong recency bias expand_query=True, interpret

6.6k6mo 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.