terraform-skill

terraform-skill

AI agent skills for Terraform and OpenTofu, supporting testing, modules, CI/CD, and production environments.

Agent SkillDevOpen sourceTerraformOpenTofuCI/CD模块开发测试
Type
Agent Skill
Open source
Yes
GitHub Stars
★ 2.0k
Source
skill-github

Overview

This is a best-practice skill for AI coding agents (such as Claude Code, Cursor, Copilot, etc.) focused on Terraform and OpenTofu. It assists agents in code testing, module structuring, CI/CD setup, and writing production-grade infrastructure code. Supports AWS, Azure, and GCP, and provides features including test frameworks, module development, state management, CI/CD integration, and security compliance.

Capabilities

  • Test framework selection and workflow
  • Module structure and versioning strategy
  • Remote backend management and security
  • GitHub Actions and GitLab CI examples
  • Security integration with Trivy and Checkov

Use cases

Creating a Terraform module with testsSetting up CI/CD workflowsOptimizing cloud resource costsAutomating compliance

Setup

Requires: API KeyNode 环境
Install using the command: `npx skills add https://github.com/antonbabenko/terraform-skill`

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How can I verify if the installation was successful?

Try creating a Terraform module for an S3 bucket with tests.

Which cloud platforms are supported?

Supports AWS, Azure, and GCP.

Related skills