chatandbuild/chatchat-skills/devops-iac-engineer
Claude Code and agent skill by chatandbuild/chatchat-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use this skill when designing or reviewing Infrastructure as Code for reliability, security, drift control, modularity, environment promotion, and operational maintainability.
Install
npx vskill@latest install chatandbuild/chatchat-skills/devops-iac-engineerSKILL.md
The same SKILL.md was published earlier as chatandbuild/chatchat-skills/devops-iac-engineer.
DevOps IaC Engineer
Plan and validate Infrastructure as Code workflows with policy and safety guardrails.
When to Use
- You are creating or modifying Terraform/Pulumi/CloudFormation-style infrastructure definitions.
- You need to prevent drift, unsafe changes, or privilege misconfiguration.
- You need a controlled rollout and verification sequence.
Workflow
- Define intended infrastructure change and blast radius. Identify resources to create, modify, or destroy. Use module composition patterns (call modules from root, avoid monolithic root modules) to limit scope. For brownfield resources, use
terraform importor equivalent to bring existing infrastructure under IaC control before changing it.
- Review state dependencies and potential drift impacts. Ensure backend state locking is configured (e.g., DynamoDB for Terraform, S3 with versioning). Run
terraform plan -out=tfplan(or equivalent) and persist the plan artifact for audit and apply. Never apply without a saved plan output; always review the plan diff before apply.
- Add policy/security checks before apply. Run tfsec, checkov, or OPA/Conftest against the plan or configuration. Integrate these into CI so policy failures block apply. Address findings for IAM policies (avoid overly broad
*permissions), network exposure, and secrets handling.
- Stage changes by environment with explicit approval gates. Promote dev → staging → prod only after validation. Use workspace or environment-specific variables. Require manual approval for production applies.
- Validate post-apply state and document rollback path. Run
terraform state listand compare with expected resources. Check for state drift between runs; investigate and reconcile before next change. Document rollback steps (e.g., revert plan, re-apply previous state).
Common Pitfalls
- Applying without plan output. Always use
terraform plan -out=tfplanandterraform apply tfplanso the exact plan is applied, not a re-generated one that may differ. - Ignoring state drift between runs. Drift causes unexpected destroys or conflicts. Run periodic
terraform planin read-only mode and fix drift before applying new changes. - Overly broad IAM policies in IaC. Avoid
"*"on actions or resources. Use least-privilege; scope policies to specific ARNs and actions. - Monolithic root modules. Large root modules make changes risky and slow. Use composable modules; keep root thin and delegate to modules.
- Missing backend locking. Without state locking, concurrent applies can corrupt state. Use S3+DynamoDB (Terraform), or equivalent locking for your tool.
Risk Classification
Classify each change before apply:
- Data-destructive: Drops, truncates, or replaces resources that hold data (DBs, volumes). Requires backup verification and explicit approval.
- Permission-escalating: Adds IAM roles, policies, or broadens existing permissions. High security risk; require security review.
- Network-opening: New ingress rules, public IPs, or exposed ports. Increases attack surface; validate necessity.
- Stateful resource replacement: Recreates resources with
ForceNew(e.g., instance type change). May cause downtime or data loss; plan maintenance windows.
Concrete Commands
Terraform:
Pulumi:
CloudFormation:
Output Format
Constraints
- Prefer small, reversible infrastructure changes.
- Avoid production-first apply paths.
- Treat state and permission changes as high risk by default.
- Never apply without a persisted plan artifact.
- Always run policy checks (tfsec, checkov, or OPA) before apply.
- Use backend state locking for all environments.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
- semgrepFailed, 0 of 100
- njsscanPassed, 100 of 100
- trufflehogFailed, 0 of 100
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devops-iac-engineer/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 13
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chatandbuild/chatchat-skills/devops-iac-engineer)