terraform-basics
Skill by projectious-work
Gives an AI assistant Terraform and OpenTofu guidance for writing .tf files, managing state and backends, using modules, and running plan and apply safely. Aimed at engineers working on infrastructure-as-code.
Install terraform-basics
Built from the published package, never by AI.
git clone --depth 1 https://github.com/projectious-work/aibox /tmp/aibox && mkdir -p ~/.claude/skills && cp -r /tmp/aibox/context/templates/processkit/v0.28.7/context/skills/devops/terraform-basics ~/.claude/skills/terraform-basicsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/projectious-work/aibox /tmp/aibox && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aibox/context/templates/processkit/v0.28.7/context/skills/devops/terraform-basics ~/.gemini/antigravity-cli/skills/terraform-basicsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
terraform-basics is an agent skill that gives an AI assistant guidance on Terraform and OpenTofu. It covers resources and providers with pinned versions, typed variables and outputs, data sources, remote state backends, modules, and the plan, apply and destroy workflow. It also lists common failure modes, such as applying without a saved plan, editing state by hand, and hardcoding secrets.
The skill is delivered as a SKILL.md file with Markdown guidance and HCL and bash examples. It includes a worked EC2 with security group example, steps for migrating state from local to S3, and instructions for importing existing resources and using moved blocks. It is aimed at people writing .tf files, managing cloud infrastructure, handling state and backends, or reviewing infrastructure-as-code.
Written from the project's SKILL.md and checked against it.
What it can do
- Provider and resource setupShows how to pin provider versions in a required_providers block and define resources.
- Variables and outputsCovers typed variables with validation, outputs, and tfvars or -var-file for environment values.
- Data sourcesExplains how to reference existing infrastructure without managing it.
- Remote state backendsShows an S3 backend configuration with locking and state inspection commands.
- ModulesDescribes focused modules, local and registry sources, and pinning module versions.
- Plan and apply workflowWalks through init, fmt, validate, plan with a saved file, and apply of that plan.
- Importing and state refactoringCovers terraform import, state mv, and moved blocks for renaming or moving resources.
- Agent gotchasLists self-check items such as avoiding state rm for drift and avoiding hardcoded secrets.
What you need
- Terraform or OpenTofu
Try asking
- Write a Terraform config with a pinned AWS provider and an S3 remote backend
- Review my .tf files for hardcoded secrets and unpinned versions
- Show me how to import an existing S3 bucket into Terraform state
Good to know
- Examples are written for AWS
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: context/templates/processkit/v0.28.7/context/skills/devops/terraform-basics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to terraform-basics
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
terraform-basics: common questions
Does this skill help with OpenTofu as well as Terraform?
Yes. The description says it covers Terraform and OpenTofu, and the guidance applies to both.
How should I handle state with this skill?
The skill recommends a remote backend with state locking and never editing state files by hand. It points to terraform state commands, import, and moved blocks instead.
Does it explain how to apply changes safely?
It recommends saving a plan with terraform plan -out and applying that exact file. It also advises caution with destroy and -target.
How do I install terraform-basics?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is terraform-basics free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is terraform-basics safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to terraform-basics?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
