npx skills add sickn33/agentic-awesome-skills --skill terraform-skill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Terraform Skill for Claude Comprehensive Terraform and OpenTofu guidance covering testing, modules, CI/CD, and production patterns. Based on terraform-best-practices.com and enterprise experience. ## When to Use This Skill **Activate this skill when:** - Creating new Terraform or OpenTofu configurations or modules - Setting up testing infrastructure for IaC code - Deciding between testing approaches (validate, plan, frameworks) - Structuring multi-environment deployments - Implementing CI/CD for infrastructure-as-code - Reviewing or refactoring existing Terraform/OpenTofu projects - Choosing between module patterns or state management approaches **Don't use this skill for:** - Basic Terraform/OpenTofu syntax questions (Claude knows this) - Provider-specific API reference (link to docs instead) - Cloud platform questions unrelated to Terraform/OpenTofu ## Core Principles ### 1. Code Structure Philosophy **Module Hierarchy:** | Type | When to Use | Scope | |------|-------------|-------| | **Resource Module** | Single logical group of connected resources | VPC + subnets, Security group + rules | | **Infrastructure Module** | Collection of resource modules for a purpose | Multiple re
- When to Use This Skill
- Core Principles
- 1. Code Structure Philosophy
- 2. Naming Conventions
- Testing Strategy Framework
- Decision Matrix: Which Testing Approach?
- Testing Pyramid for Infrastructure
- Native Test Best Practices (1.6+)
- Code Structure Standards
- Resource Block Ordering
- Variable Block Ordering
- Count vs ForEach: When to Use Each
- Quick Decision Guide
- Common Patterns
Static security scanning trivy config . checkov -d . Lock versions initially terraform init # Creates .terraform.lock.hcl Update to latest within constraints terraform init -upgrade # Updates providers Review and test terraform plan
What does the terraform-skill skill do?
Terraform infrastructure as code best practices
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill terraform-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.