Claude Skill
antonbabenko/terraform-skill
A Claude Agent Skill for Terraform and OpenTofu projects. Get assistance with testing, module development, CI/CD implementation, and production infrastructure patterns.
Overview
Repository
Install this Skill
npx skills add https://github.com/antonbabenko/terraform-skillRegistry
npx skills add https://github.com/antonbabenko/terraform-skillgit clone https://github.com/antonbabenko/terraform-skill.git ~/.cursor/skills/terraform-skillgit clone https://github.com/antonbabenko/terraform-skill.git ~/.copilot/skills/terraform-skillgit clone https://github.com/antonbabenko/terraform-skill.git ~/.agents/skills/terraform-skillgit clone https://github.com/antonbabenko/terraform-skill.git ~/.kiro/skills/terraform-skill
Summary
A Claude Skill designed to assist with Terraform and OpenTofu infrastructure as code projects. It provides expertise in testing methodologies, module development, CI/CD pipeline integration, and production environment patterns.
Claude Skill for Terraform and OpenTofu - 测试、模块、CI/CD及生产环境模式
Key features
- Expertise in Terraform and OpenTofu
- Testing methodologies for IaC
- Module development guidance
- CI/CD pipeline integration
- Production environment patterns
- Infrastructure as code best practices
Use cases
- Developing and testing Terraform modules
- Implementing CI/CD for infrastructure changes
- Applying production-ready IaC patterns
- Learning infrastructure as code best practices
- Migrating or working with OpenTofu projects
- Automating infrastructure deployment workflows
README excerpt
# Terraform & OpenTofu Skill for AI Agents [](https://agentskills.io) [](https://www.terraform.io/) [](https://opentofu.org/) [](LICENSE) A best-practices skill for Terraform and OpenTofu, for AI coding agents (Claude Code, Cursor, Copilot, Gemini CLI, OpenCode, Codex, Kiro, and more). It helps the agent test code, structure modules, set up CI/CD, and write production infrastructure code. AWS, Azure, and GCP are all first-class. AWS stays the default in examples, but the same backend, auth, security, and resource guidance applies to all three - ask for the Azure or GCP equivalent of any pattern and the skill maps it. ## What this skill provides **Testing frameworks** - Decision matrix for native tests vs Terratest - Testing workflows (static, integration, E2E) - Examples and patterns **Module development** - Structure and naming conventions - Versioning strategies - Public vs private module patterns **State management** - Remote backends (S3, Azure, GCS, Terraform Cloud) - Locking and security - Multi-team state isolation - Migration and recovery procedures **CI/CD integration** - GitHub Actions workflows - GitLab CI examples - Cost optimization - Compliance automation **Security and compliance** - Trivy and Checkov integration - Policy-as-code patterns - Compliance scanning workflows **Quick reference** - Decision flowcharts - Common patterns (DO vs DON'T) - Cheat sheets ## Installation Installed through one Claude Code marketplace, `antonbabenko/agent-plugins` (terraform-skill is listed there as an ext