Terraform skill
Plugin by antonbabenko
Terraform skill guides AI coding agents through writing, reviewing, and debugging Terraform and OpenTofu modules, tests, CI, scans, and state operations. It is for developers and teams who manage infrastructure as code.
Install Terraform skill
Built from the published package, never by AI.
/plugin marketplace add antonbabenko/agent-plugins
/plugin install terraform-skill@antonbabenkoType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Terraform skill is a best-practices skill for Terraform and OpenTofu, published by antonbabenko. It covers testing with native tests and Terratest, module structure and versioning, remote state and locking, CI/CD workflows for GitHub Actions and GitLab CI, and security scanning with Trivy and Checkov. AWS, Azure, and GCP are all covered, with AWS as the default in examples.
Written from the project's README and checked against it.
What it can do
- Testing guidanceDecision matrix for native tests versus Terratest, with static, integration, and E2E workflows.
- Module developmentCovers structure, naming conventions, versioning, and public versus private module patterns.
- State managementCovers remote backends for S3, Azure, GCS, and Terraform Cloud, plus locking and recovery.
- CI/CD integrationCovers GitHub Actions and GitLab CI workflows, cost optimization, and compliance automation.
- Security scanningCovers Trivy and Checkov integration and policy-as-code patterns.
- Patterns and anti-patternsSide-by-side DO and DON'T examples for naming, composition, and provider configuration.
What you need
- Terraform 1.0 or later, or OpenTofu 1.6 or later
- An AI agent with skill support, such as Claude Code
- Optional: terraform-mcp-server for registry integration
- Optional: terraform-ls and a local terraform or tofu binary on PATH
Try asking
- Create a Terraform module for an AWS VPC with native tests
- Help me choose between native tests and Terratest for my modules
- Create a GitHub Actions workflow for Terraform with cost estimation
Good to know
- The native test framework requires Terraform 1.6 or later.
- Some examples need newer versions: use_lockfile needs 1.10+ and write_only needs 1.11+.
- Without terraform-ls, code lookups fall back to text search and reading files.
- Language server features need terraform init to be run in the workspace first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Terraform skill
All alternatives →Adds 14 expert skills and an always-on router to Claude Code for building n8n workflows with the n8n-mcp MCP server. It is for developers who build, validate and deploy n8n automations with an AI assistant.
Google Cloud developer provides Agent Skills for Google products, including Google Cloud, installable with npx skills add google/skills. The included skills cover onboarding, IAM authentication, and many GKE, BigQuery, and Compute Engine tasks. It suits developers building on Google Cloud with coding agents.
Installs the AAS DevOps & Cloud plugin, which bundles 10 skills for infrastructure, deployments, and operational workflows in Claude Code. It suits developers who want reusable DevOps playbooks for their AI coding agent.
Firebase CLI Tools lets you test, manage, and deploy Firebase projects from the command line. It is aimed at developers building on Firebase.
Provides Agent Skills for Google products and technologies, including Google Cloud. Install them with npx skills add google/skills, then pick specific skills, target agents and scope during setup.
AAS DevOps & Cloud is a specialized plugin with 10 skills for Claude Code. It covers infrastructure, deployments, and operational workflows for developers working on DevOps and cloud tasks.
Compare with N8n mcp skills, Google cloud developer or Agentic bundle aas devops cloud
Terraform skill: common questions
Does Terraform skill work with OpenTofu?
Yes. The source says it covers both Terraform and OpenTofu, and lists OpenTofu 1.6+ compatibility.
Does it cover Azure and GCP as well as AWS?
Yes. The source says AWS, Azure, and GCP are all first-class, and AWS is the default only in examples.
Is a language server required?
No. The source says the skill works without terraform-ls and falls back to text search with rg and file reads.
How do I install Terraform skill?
Inside Claude Code, add the marketplace with /plugin marketplace add antonbabenko/agent-plugins, then install the plugin with the second command shown above.
Is Terraform skill free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Terraform skill safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Terraform skill?
Similar plugins: N8n mcp skills, Google cloud developer, Agentic bundle aas devops cloud, Firebase firebase tools.
