antonbabenko/terraform-skill
VerifiedBest-practices skill that equips AI agents to write, test, and manage production Terraform and OpenTofu code.
What is antonbabenko/terraform-skill?
The Terraform & OpenTofu Skill delivers ready-to-use patterns and decision frameworks that help AI coding agents generate high-quality infrastructure code. It emphasizes testing strategies, remote state management, policy-as-code integration, and multi-cloud consistency while keeping AWS examples as the default.
Agents access the skill through marketplace installs or direct Git clones. Once loaded, it supplies decision matrices, workflow templates, and quick-reference cheat sheets that guide the agent through module structuring, compliance checks, and environment-specific adaptations for Azure or GCP.
Intended for developers and teams that rely on AI assistants to accelerate infrastructure work, the skill reduces common errors in state locking, security scanning, and CI automation without requiring manual prompt engineering.
What you can build with antonbabenko/terraform-skill
Module Development
Guides agents on folder structure, naming rules, versioning, and public versus private module patterns for reusable infrastructure components.
Security & Compliance Automation
Integrates Trivy and Checkov scans plus policy-as-code workflows so agents automatically validate configurations before deployment.
Multi-Cloud State Management
Provides backend setup instructions for S3, Azure Storage, and GCS along with locking, isolation, and migration procedures.
Install antonbabenko/terraform-skill
npx skills add https://github.com/antonbabenko/terraform-skillnpx skills add https://github.com/antonbabenko/terraform-skill- 1Run the marketplace command for your chosen agent (Claude Code, Cursor, etc.) or use the universal npx command.
- 2Clone the repository into the agent's skills folder when marketplace installation is unavailable.
- 3Restart or reload the agent so it discovers the new terraform-skill directory.
- 4Ask the agent to apply Terraform patterns or generate code; it will reference the skill's decision matrices automatically.
- 5Update periodically with git pull or the agent's built-in extension update command.
antonbabenko/terraform-skill: pros & cons
Pros
- +Covers the full lifecycle from testing and modules to CI/CD and compliance
- +First-class multi-cloud support with easy Azure/GCP equivalents
- +Works across many popular AI coding agents without custom prompts
- +Includes practical decision flowcharts and DO/DON'T examples
Cons
- –Requires separate installation steps for each supported agent
- –Some advanced features depend on optional MCP servers
- –Marketplace name clashes can occur if both repos are added
Frequently asked questions
It works with Claude Code, Cursor, Copilot, Gemini CLI, OpenCode, Codex, Kiro, and any Agent Skills-compatible tool.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…