Terraform Patterns
Terraform skill that reviews module design, state backends, provider setup, and IaC security before .tf edits.
- CCM score
- 64 of 100
- skills.sh installs
- 753
- GitHub stars
- 30.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers three slash-command workflows:
reviewfor anti-pattern and structure checks,modulefor scaffolding, andsecurityfor audits - Includes
tf_module_analyzer.pyfor resource counts and variable/output quality, andtf_security_scanner.pyfor secrets, IAM wildcards, open ports, and encryption gaps - Enforces a checklist covering remote state with locking and encryption, pessimistic provider version constraints, and
sensitive = trueon secret variables - Designed for engineers writing or reviewing Terraform modules, state backends, and multi-region deployments
Install
$ npx -y skills add alirezarezvani/claude-skills --skill terraform-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Terraform Patterns
Predictable infrastructure. Secure state. Modules that compose. No drift.
Opinionated Terraform workflow that turns sprawling HCL into well-structured, secure, production-grade infrastructure code. Covers module design, state management, provider patterns, security hardening, and CI/CD integration.
Not a Terraform tutorial — a set of concrete decisions about how to write infrastructure code that doesn't break at 3 AM.
Slash Commands
| Command | What it does |
|---|---|
/terraform-patterns review | Analyze Terraform code for anti-patterns, security issues, and structure problems |
/terraform-patterns module | Design or refactor a Terraform module with proper inputs, outputs, and composition |
/terraform-patterns security | Audit Terraform code for security vulnerabilities, secrets exposure, and IAM misconfigurations |
When This Skill Activates
Recognize these patterns from the user:
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- DevOps & Cloud, Security
- First seen
- Jun 3, 2026
Questions
What does the terraform-patterns skill do?
terraform-patterns is an agent skill for Terraform infrastructure-as-code that covers module design, state management, provider configuration, security hardening, policy-as-code with Sentinel or OPA, and CI/CD plan and apply workflows. It runs the tf_module_analyzer.py and tf_security_scanner.py scripts to review .tf files for misconfigurations and anti-patterns.
When should I use the terraform-patterns skill?
Use terraform-patterns when you want to design Terraform modules, manage remote state backends, review Terraform code for security issues, or plan multi-region deployments. The skill applies whenever a project contains .tf files or HCL that provisions infrastructure.
How do I install the terraform-patterns skill?
Run npx -y skills add alirezarezvani/claude-skills --skill terraform-patterns -y inside your project. Once installed, terraform-patterns gives your agent the module, state and security workflows for reviewing and writing Terraform code.
Where does terraform-patterns stand in the DevOps & Cloud category?
terraform-patterns sits in the DevOps & Cloud category on Claude Marketplaces, next to Azure skills such as azure-diagnostics and azure-prepare. Its focus is Terraform itself, covering HCL module structure, state locking and encryption, and IAM and security group checks, rather than a single cloud provider's deployment tooling.
More from alirezarezvani/claude-skills
All 259- Competitive Intel752
- Brand Guidelines751
- Content Production751
- Database Schema Designer751
- X Twitter Growth751
- Mdr 745 Specialist750
- Analytics Tracking749
- Ad Creative748
- Product Discovery747
- Gcp Cloud Architect744
- Ai Security742
- Revenue Operations742
- Codebase Onboarding741
- Customer Success Manager739
- Marketing Psychology739
- Content Strategy738
- Docker Development737
- Page Cro728
- Agent Designer726
- Social Content725
- Ci Cd Pipeline Builder724
- Dependency Auditor723
- Llm Wiki720
- Product Analytics718
Similar to Terraform Patterns
More DevOps & Cloudterraform-skillSkillsickn33/agentic-awesome-skills245 installsTerraform and OpenTofu guidance for testing, module design, CI/CD, and production infrastructure patterns.
terraform-engineerSkilljeffallan/claude-skills5.9K installsTerraform skill with validation, plan-review, and apply-approval workflow for AWS, Azure, and GCP infrastructure.
terraform-validatorSkillakin-ozer/cc-devops-skills723 installsValidates Terraform/HCL files through formatting, linting, syntax, security scanning, and regression checks.
tfmcpMCP servernwiizo373 starsLocal Terraform plan, review, and apply workflows through an MCP server, with saved-plan safety checks.
terraform-specialistSkillsickn33/agentic-awesome-skills364 installsThis is a comprehensive Terraform and OpenTofu specialist that goes well beyond basic resource definitions. It covers the full IaC lifecycle: advanced module co
terraformSkillbobmatnyc/claude-mpm-skills343 installsInfrastructure-as-code workflow patterns for Terraform covering state, module design, and safe plan and apply.