Skip to content

terraform

Context skill for Terraform infrastructure patterns — activates automatically, no slash command needed.

Requirements

Commands

This is a context skill. It activates automatically when .tf files are detected. No slash command is needed.

Trigger conditions

The skill loads when any of the following are present:

  • .tf or .tfvars files in the project
  • User mentions Terraform, tf-init, tf-plan, or tf-apply
  • An infra/ directory containing Terraform configuration

Recipes available

SituationRecipe loaded
Directory structure and module layoutstructure
GCP backend (GCS) and workspace managementgcp-backend-workspaces
GCP variable and tfvars managementgcp-variables
AWS backend (S3) and workspace managementaws-backend-workspaces
AWS variable and provider setupaws-variables

For mise task wrappers (tf-init, tf-plan, tf-apply, tf-destroy) see the mise skill — recipes terraform-gcp and terraform-aws.

Each recipe loads on demand — only what is relevant to the current task.

References

Released under the MIT License.