agentleFS
Sign inSign up

tfmcp / rules

nwiizo/tfmcp/.cursor/rules/terraform.json

{ "description": "Rules for Terraform files in the project", "include": ["*/.tf", "*/.tfvars", "*/.hcl"], "rules": [ "Use Terraform 1.15.8 for this project.", "Follow HCL formatting best practices.", "Document resource blocks with meaningful comments.", "Use variables for reusable values.", "Group related resources together.", "Use modules for reusable components.", "Add descriptions to variables and outputs." ], "commands": { "tfmcp:analyze": { "description": "Run analyze command on terraform project", "command": "cargo run -- analyze -d $1", "args": [ { "name": "project_dir", "description": "Terraform project directory",…

Cursor rule371 starsChanged 23 days ago
{
  "description": "Rules for Terraform files in the project",
  "include": ["**/*.tf", "**/*.tfvars", "**/*.hcl"],
  "rules": [
    "Use Terraform 1.15.8 for this project.",
    "Follow HCL formatting best practices.",
    "Document resource blocks with meaningful comments.",
    "Use variables for reusable values.",
    "Group related resources together.",
    "Use modules for reusable components.",
    "Add descriptions to variables and outputs."
  ],
  "commands": {
    "tfmcp:analyze": {
      "description": "Run analyze command on terraform project",
      "command": "cargo run -- analyze -d $1",
      "args": [
        {
          "name": "project_dir",
          "description": "Terraform project directory",
          "required": true
        }
      ]
    }
  },
  "references": {
    "files": [".terraform-version"]
  }
}

Discussion

Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.

Posts are public.Sign in to post

No one has posted yet. Be the first.