terraform-infrastructure-as-code — Claude Code skill setup guide
Equips your coding agent to structure Terraform manifests, configure cloud providers, and manage remote state. Useful when spinning up infrastructure with HCL.
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-codeWhat terraform-infrastructure-as-code does
This skill brings detailed HCL conventions directly into the agent context. It explains how to structure declarations for cloud resources, input variables, and reusable modules. Example setups include compute instances, VPC networking, and S3 storage with encryption. The guidance also covers standard CLI workflows from terraform init to terraform apply.
You need a working grasp of Git and at least one cloud platform like AWS or Azure. Remote state needs explicit backend setup. CLI familiarity is equally mandatory before applying these files. Beyond basic resource blocks, the instructions outline lifecycle rules such as prevent_destroy alongside workspace isolation.
What it helps with
- Declare AWS infrastructure including compute instances, subnets, and security groups
- Configure remote backend storage for Terraform state tracking
- Define resource lifecycle rules using
create_before_destroyandprevent_destroy - Structure arguments for
terraform planandterraform applyexecutions
Example prompts for the agent
- Write an
aws_vpcconfiguration with public and private subnets inus-west-2 - Create an
aws_s3_bucketresource with enabled versioning and AES256 encryption - Show me how to apply a saved plan file using
terraform apply
How to install terraform-infrastructure-as-code
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-code2Manually: put the files in place
~/.claude/skills/terraform-infrastructure-as-code/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/terraform-infrastructure-as-code/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a codex2Manually: put the files in place
.agents/skills/terraform-infrastructure-as-code/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a cursor2Manually: put the files in place
.cursor/skills/terraform-infrastructure-as-code/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace terraform-infrastructure-as-code2Manually: put the files in place
.github/skills/terraform-infrastructure-as-code/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-devops-suite/skills/terraform-infrastructure-as-codeManually: put the files in place
.devin/skills/terraform-infrastructure-as-code/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about terraform-infrastructure-as-code
How to install terraform-infrastructure-as-code in Claude Code?
Run npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-code in your terminal to install the skill for Claude Code.
What does the terraform-infrastructure-as-code skill do?
It equips coding agents with HCL guidelines, module organization patterns, and state workflows. This helps the assistant write declarative manifests for virtual machines, networks, and storage.
What prerequisites are needed to use this skill?
You need foundational knowledge of cloud infrastructure, familiarity with terminal commands, basic Git concepts, and prior experience with AWS, Azure, or GCP.