antonbabenko/terraform-skill
An Agent Skill for Terraform and OpenTofu module design, testing, and delivery
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Despite the MCP classification, the core artifact is an Agent Skill, not an MCP server. A compatible host discovers SKILL.md under skills/terraform-skill and loads Terraform and OpenTofu guidance for the task. The repository includes Claude and Codex plugin directories and an mcp.json file, but HashiCorp’s Terraform MCP server is a separate, optional registry integration. The skill itself does not replace the Terraform or OpenTofu CLI.
Code navigation has two paths. With terraform-ls, the host can look up definitions and references from a position in a file; resolving across modules and providers requires a local terraform or tofu binary on PATH and an initialized workspace. Without the language server, the skill falls back to rg and file reads. The companion code-intelligence plugin is optional and supplies general navigation conventions rather than Terraform-specific rules.
Key Capabilities & Differentiators
The strongest material helps agents make concrete engineering choices: when to use Terraform’s native tests versus Go-based Terratest, how to structure and version reusable modules, and how to isolate, migrate, or recover remote state. AWS is the default in examples, with Azure and GCP counterparts for backend, authentication, and resource patterns. State guidance spans S3, Azure, GCS, and Terraform Cloud.
Delivery patterns cover GitHub Actions, GitLab CI, Atlantis, Infracost, and Trivy or Checkov. The guidance distinguishes baseline compatibility from feature gates: Terraform’s native test framework requires 1.6+, the S3 use_lockfile example requires Terraform 1.10+, and write-only arguments require Terraform 1.11+ plus provider support. For OpenTofu, check the equivalent feature and provider support rather than carrying over Terraform version thresholds.
Trade-offs & Limitations
The skill fills a different role from official Terraform/OpenTofu references, HashiCorp’s Terraform MCP server, and standalone IaC tooling. It brings decision guidance into the agent’s workflow; official references remain the place to verify version-specific behavior, MCP adds registry access, and tools such as TFLint, Trivy, and Checkov produce check results that CI can enforce. Installing the skill does not make an agent-generated plan safe to apply.
The cross-cloud coverage is useful for teams standardizing module and CI conventions, but AWS defaults do not transfer mechanically: identity, backend locking, and provider support still need to be checked per platform. Text lookup keeps installation simple but is less reliable for following references during refactors. Finally, the tree contains LICENSE, but the license terms are unspecified here; verify them before commercial use or redistribution.
Hardware & Deployment Guide
Start with a skill-capable host and Terraform 1.0+ or OpenTofu 1.6+ for IaC work. The generic installation path is npx skills add https://github.com/antonbabenko/terraform-skill. Claude Code and managed Codex installs use the antonbabenko/agent-plugins marketplace; adding the skill repository as a second marketplace creates a name collision. For manual installation, check how the host discovers nested skills. Cursor, for example, needs a copy of skills/terraform-skill rather than the repository root and may not follow symlinks.
The skill can be installed locally without running a dedicated service. Offline use depends on the host, whether providers and modules are already available, and the operations being run. Release v1.18.0 corrected drift-detection and plugin-cache examples; v1.18.1 corrected examples and claims and added CI linting for documentation snippets; v1.18.2 fixed nested-directory installation for Cursor, Copilot, Kiro, and Antigravity.
Platform teams that want coding agents to apply consistent Terraform/OpenTofu module, testing, state, and CI practices across repositories, with validation and approvals enforced separately.
You need a standalone MCP service, registry access alone, or an enforcement engine that can block infrastructure changes.
Quick Start & Installation
npx skills add https://github.com/antonbabenko/terraform-skillComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| terraform-skill ★ | 2.5k | +28 | — | — | An Agent Skill for Terraform and OpenTofu module design, testing, and delivery |
| claude-code-best-practice | 69.6k | +191 | HTML | MIT | Claude Code playbook for agent orchestration and cross-model review |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
| skills | 338.7k | +4.4k | Shell | MIT | Composable Markdown skills that bring engineering workflows to coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/antonbabenko/terraform-skill.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about terraform-skill
Does installation require running an MCP server?
What hardware or runtime overhead should I plan for?
Can we install it locally and use it commercially?
How does it compare with Terraform MCP or standalone IaC tooling?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy