
Terraform Infrastructure Expert
Guides writing, planning, and managing Terraform/OpenTofu infrastructure code and state safely
- Repository
- RightNow-AI/openfang
- Stars
- 18,243
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill gives an AI agent a set of expert guidelines for Terraform, a tool that defines cloud infrastructure (servers, networks, databases) as code. Once installed, the agent follows safer habits: running a plan before applying changes, using remote state with locking, pinning provider versions, designing reusable modules, and avoiding hardcoded secrets. It is written as instructions and reference advice, not as a tool that changes your infrastructure by itself.
Great for
- Engineers writing or reviewing Terraform or OpenTofu configurations
- Teams who want consistent IaC conventions such as tagging, for_each usage, and module structure
- People learning Terraform state management, imports, and refactoring with state mv
Skip it if
- Users who expect the skill to provision or manage cloud resources on its own; it only contains guidance, so the agent still needs its own access and tools to run Terraform
- Non-technical users without access to a real Terraform project, since the advice assumes working knowledge of cloud infrastructure
- Situations needing provider-specific details beyond the general guidance, since the file covers general principles and not specific cloud APIs
Try asking
- “Review my Terraform module for variable types, outputs, and missing descriptions”
- “Help me migrate my local state to an S3 backend with DynamoDB locking”
- “Show me how to import an existing AWS security group into Terraform without recreating it”
- “Check my configuration for hardcoded secrets and suggest safer alternatives”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
terraform.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip terraform.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip terraform.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Ask the agent to show the plan output and review it before approving any apply or destroy step
- Provide your backend and provider configuration so advice matches your real setup
- Keep credentials in environment variables or a vault, not in prompts or .tf files
What's inside
- SKILL.md
Redistributed unmodified from RightNow-AI/openfang under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.