Back to list
oimiragieo

terraform-infra

by oimiragieo

1🍴 0📅 Jan 21, 2026

SKILL.md


name: terraform-infra description: Terraform infrastructure operations with safety controls version: 1.0.0 allowed-tools: [Bash, Read, Glob]

Terraform Infrastructure Skill

Overview

Provides 90%+ context savings vs raw Terraform MCP server. Includes critical safety controls for infrastructure operations.

Requirements

  • Terraform CLI (v1.0+)
  • Cloud provider credentials configured
  • Working directory with .tf files

Tools (Progressive Disclosure)

Planning & Validation

ToolDescriptionConfirmation
planGenerate terraform planNo
validateValidate configurationNo
fmtFormat terraform filesNo

State Operations

ToolDescriptionConfirmation
showDisplay current stateNo
listList state resourcesNo
state-mvMove resource in stateYes

Workspace Operations

ToolDescriptionConfirmation
workspace-listList workspacesNo
workspace-selectSelect workspaceNo
workspace-newCreate workspaceYes

Execution (⚠️ Dangerous)

ToolDescriptionConfirmation
applyApply changesREQUIRED

Blocked Operations

ToolStatus
destroyBLOCKED
state-rmBLOCKED

Quick Reference

# Initialize
terraform init

# Plan changes
terraform plan -out=tfplan

# Validate
terraform validate

# Apply (requires -auto-approve for automation)
terraform apply tfplan

Configuration

  • Working directory: Must contain terraform files
  • TFVAR*: Variable values via environment
  • TF_WORKSPACE: Active workspace

Safety Controls

⚠️ terraform apply ALWAYS requires confirmation ⚠️ terraform destroy is BLOCKED by default ⚠️ State modifications require confirmation ⚠️ Review plan output before apply

Agent Integration

  • devops (primary): Infrastructure management
  • architect (secondary): Infrastructure design
  • cloud-integrator (secondary): Cloud provisioning

Troubleshooting

IssueSolution
Init failedCheck provider credentials
State lockedCheck for other operations
Plan failedReview error output carefully

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon