terraform-skill

Installation
SKILL.md

Terraform skill

Use this skill when working with Terraform or OpenTofu infrastructure code. It diagnoses the failure mode first, then loads only the relevant reference file rather than preloading all context.

Use this skill when

  • Creating or reviewing Terraform/OpenTofu configurations or modules
  • Setting up or debugging tests (native terraform test, Terratest, mock providers)
  • Structuring multi-environment deployments or choosing module patterns
  • Implementing or debugging IaC CI/CD pipelines
  • Configuring or migrating remote state backends
  • Choosing state organization for multi-team environments
  • Performing security scans or compliance checks on Terraform code

Do not use this skill when

  • The question is basic HCL syntax already in model knowledge — answer directly
  • The question is about a cloud provider API unrelated to Terraform (link to provider docs instead)
  • The question is about CI/CD for a non-IaC project — see github-actions-failure-triage or github-actions-local-repro
Installs
5
GitHub Stars
4
First Seen
Sep 1, 2026