agentleFS
Sign inSign up

Cursor rules examples

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

Best matchesWorked for most · soon
y-miyazakiCursor rule

config / rules

y-miyazaki/config/.cursor/rules/terraform.mdc

Terraform Instructions

143d agoDiscuss
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/devops-infrastructure.mdc

DevOps and infrastructure: Docker, Kubernetes, Terraform, CI/CD. Load when editing Dockerfiles, compose, k8s manifests, Terraform, or workflow YAML — not for application code.

1254mo agoReads credentialsDiscuss
anmolnagpalCursor rule

devops-skills / rules

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

Generic Terraform review, scaffolding, and version upgrades for AWS infrastructure using the terraform-aws-modules ecosystem. Use when user says 'review my terraform', 'before I raise an MR', 'scaffold a lambda/rds/s3/eks/vpc', 'check my .tf files', 'upgrade provider', or when working in .tf or .tfvars files. NOTE: if the repo has an `_modules/` directory wrapping `clouddrove/*/aws` modules, use /clouddrove:wrapper-tf instead — the two patterns conflict.

835d agoDiscuss
anmolnagpalCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/tf-plan.mdc

Review a Terraform plan before applying it: destroys and replacements of data-bearing resources, secrets readable in plan output, out-of-band drift, blast radius, and whether the apply is bound to the plan you actually reviewed. Use when user says 'review my plan', 'is this plan safe to apply', 'check tfplan', 'what will this destroy', 'why is it replacing', 'review before apply', or shares terraform plan output. Complements /clouddrove:tf and /clouddrove:wrapper-tf, which review .tf source; this reviews the diff Terraform intends to make.

835d agoDiscuss
nwiizoCursor rule

tfmcp / rules

nwiizo/tfmcp/.cursor/rules/002_terraform.mdc

Terraform standards and best practices for tfmcp.

37125d agoDiscuss
anmolnagpalCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/wrapper-tf.mdc

Team standard for AWS Terraform repos built on the CloudDrove wrapper-module pattern. Use when working in a repo with an `_modules/` directory that wraps `clouddrove/*/aws` modules, scaffolding a new wrapper module, generating Terraform GitHub Actions CI, reviewing wrapper-pattern PRs, or mapping the pattern to SOC2/GDPR controls. Supersedes /tf on CloudDrove repos.

835d agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/terraform-iac-modules.mdc

Terraform and OpenTofu module architecture, remote state with locking and encryption, provider and module version pinning, drift detection, and safe plan/apply workflow. Use when structuring or restructuring a Terraform repository across dev, staging and production environments, writing reusable modules, configuring a state backend, or investigating unexplained infrastructure drift.

145d agoDiscuss
sugukurukabeCursor rule

ssw-compass / rules

sugukurukabe/ssw-compass/.cursor/rules/deployment-checklist.mdc

SSW の Cloud Run / Terraform / WIF デプロイ手順

14mo agoDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-devops.mdc

CURSOR-SKILLS rules for DevOps (Docker, Kubernetes, CI/CD, Terraform, IaC).

2010d agoReads credentialsDiscuss
nitinjain999Cursor rule

platform-skills / rules

nitinjain999/platform-skills/.cursor/rules/terraform.mdc

Terraform module and resource generation rules — blast radius, IAM least privilege, SOC 2 defaults

457d agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/devops-engineer.mdc

Infrastructure, Deployment, and CI/CD specialist. Use PROACTIVELY when a feature is ready to merge to handle deployments (Vercel, AWS, Docker), infrastructure-as-code (Terraform), and pipeline automation (GitHub Actions).

223mo agoReads credentialsDiscuss
anmolnagpalCursor rule

devops-skills / rules

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

Observability review and scaffolding: centralized logging, log retention, metrics scraping, alert rules that page a human, distributed tracing, dashboards, and SLO/SLI definition. Use when user says 'review my monitoring', 'do we have enough observability', 'am I flying blind', 'set up alerts', 'write alert rules', 'define an SLO', 'review my prometheus config', 'check log retention', or when working in prometheus/alertmanager/otel-collector config, ServiceMonitor manifests, or CloudWatch log-group and alarm Terraform.

835d agoDiscuss
anmolnagpalCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/skill-creator.mdc

Create, edit, evaluate, and debug the skills in this repo, including running their evals and fixing a description that fails to trigger. Use when user says 'help me build a new skill', 'add a skill for X', 'run the evals for the tf skill', 'run the behavioral evals', 'my skill is not triggering', 'fix this skill's description', 'improve this skill's rule catalog', 'add a rule ID', or 'benchmark a skill'. Operates on the skills themselves rather than on infrastructure: a request to review actual Terraform or Kubernetes belongs to that domain skill.

835d agoDiscuss
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/enterprise-iac-governance-terragrunt.mdc

Enterprise IaC governance: Terragrunt DRY multi-account layouts, generated backends and providers, dependency graphs, and policy-as-code gates with OPA and Conftest. Use when Terraform has been copy-pasted across many accounts or environments, or when non-compliant resources such as unencrypted or untagged S3 buckets must be blocked in CI before apply rather than found afterwards.

145d agoDiscuss
anmolnagpalCursor rule

devops-skills / rules

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

GitLab CI/CD pipeline review and scaffolding for Terraform and Helm/EKS deployments, including individual stages, jobs, manual gates on prod stages, and pipeline credentials. Use when user says 'review my pipeline', 'check my gitlab-ci', 'scaffold a pipeline', 'is my CI correct', 'is my pipeline gated before prod', 'add a stage', 'add a deploy job', 'add a helm deploy stage', 'my pipeline leaks credentials', 'why does staging deploy with prod credentials', 'staging and prod share a job', or when working in .gitlab-ci.yml files. Anything expressed as a pipeline, stage, or job belongs here.

835d agoReads credentialsDiscuss
anmolnagpalCursor rule

devops-skills / rules

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

Review whether security-relevant logging is enabled, complete, shipped off-host, and tamper-resistant across Kubernetes and the cloud control plane. Use when user says 'review my audit logging', 'is audit logging on', 'check my k8s audit policy', 'are we logging API-server access', 'review GKE/AKS logging', 'do we capture admin activity', or when working in audit-policy.yaml, kube-apiserver manifests, or GKE/AKS Terraform. Covers generic Kubernetes audit policy, GKE Cloud Logging + audit config, AKS diagnostic settings, and cross-cloud audit-log immutability. For AWS CloudTrail/flow-log/EKS-audit/S3-access IaC use /clouddrove:tf (SEC-LOG-*); for log retention/centralization, metrics, and SLOs use /clouddrove:observability (OBS-LOG-*).

835d agoDiscuss
cisco-ai-defenseCursor rule

skill-scanner / rules

cisco-ai-defense/skill-scanner/.cursor/rules/codeguard-0-iac-security.mdc

Infrastructure as Code Security

2.6k8mo agoDiscuss
nwiizoCursor rule

tfmcp / rules

nwiizo/tfmcp/.cursor/rules/000_general.mdc

General project guidelines for tfmcp. Always consider these guidelines when working on the project.

37125d agoDiscuss
nwiizoCursor rule

tfmcp / rules

nwiizo/tfmcp/.cursor/rules/001_rust.mdc

Rust coding standards and architecture guidelines for tfmcp.

37125d agoDiscuss
nwiizoCursor rule

tfmcp / rules

nwiizo/tfmcp/.cursor/rules/003_mcp.mdc

MCP protocol implementation guidelines and standards.

37125d 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.