Terraform
Use when the user asks for a Terraform module (for example a VPC with remote state), state backends and locking, workspaces, terraform plan in CI, module versioning, import and moved blocks, or OpenTofu. Produces module layouts, backend configs and CI review flows. Not for Pulumi (use devops-pulumi) or configuration management (use ansible).
Install
npx skills add j4flmao/agent-skills --skill terraformgit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/devops/terraform ~/.claude/skills/terraformPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Terraform Patterns ## Purpose Define and enforce Terraform infrastructure provisioning patterns with module design, state management, and CI/CD integration. ## Agent Protocol ### Trigger User request includes: `terraform`, `tf`, `iac`, `infrastructure as code`, `hcl`, `terraform module`, `terraform state`, `terraform workspace`, `terraform backend`, `terragrunt`. ### Input Context - Cloud provider (AWS, GCP, Azure) - Current IaC state (if any) - Team structure (who manages infrastructure) - State storage requirements - Compliance requirements ### Output Artifact A markdown document containing: - Module structure (directory layout, naming) - State management strategy (remote backend, locking) - Workspace/environment strategy - Module design (input/output conventions, versioning) - CI/CD pipeline integration - Policy as code (Sentinel, OPA/Rego) - Secret management ### Response Format Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging, no transitions. Strip articles a/an/the where unambiguous. Compress output — why use many token when few do trick. ### Completion Criteria - Module directory structure documented - Backend configuration with state locking - Workspace or directory strategy per environment - Module input/output conventions defined - CI/CD pipeline steps for plan/apply ### Max Response Length 4096 tokens ## Decision Tree: Directory Structure vs Workspaces vs Terragrunt | Strategy | When | Pros | Cons |
Details
- Skill name
terraform- Repository
- j4flmao/agent-skills
- Path
skills/devops/terraform/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Terraform skill do?
Use when the user asks for a Terraform module (for example a VPC with remote state), state backends and locking, workspaces, terraform plan in CI, module versioning, import and moved blocks, or OpenTofu. Produces module layouts, backend configs and CI review flows. Not for Pulumi (use devops-pulumi) or configuration management (use ansible).
How do I install the Terraform skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill terraform. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Terraform popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Vault
45j4flmao/agent-skills
Use when the user asks to store database credentials in HashiCorp Vault, dynamic secrets, KV v2, Transit encryption, the PKI engine, Vault policies, auth methods (Kubernetes, OIDC, AppRole), Vault Agent or the injector. Produces Vault configs and policies. Not for cloud secret stores or overall secrets strategy (use security-secrets-management).
Storage Infrastructure
45j4flmao/agent-skills
Use when the user asks about SAN, NAS, iSCSI, Fibre Channel, NVMe-oF, Ceph, MinIO, ZFS, RAID levels, block vs file vs object storage, SSD endurance, thin provisioning, or fio benchmarks. Produces storage architecture and benchmarking plans. Not for Longhorn on Kubernetes (use longhorn) or backup policy (use backup-dr).
Publish Site
49marcoemrich/agentic_coding_lab
Build the results site and publish it to GitHub Pages. Checks every precondition deploy-site.py enforces before spending a build on them, presents the research/ diff the build produces for a commit, and deploys only on explicit confirmation. Trigger when the user says "publish", "deploy", "site deployen", "gh-pages", "auf die Seite bringen", or asks how to get results online.
Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.