Infrastructure As Code
Terraform, CloudFormation, reproducible infrastructure, version control, and IaC best practices.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill infrastructure-as-codegit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/engineer/devops-practices/skills/infrastructure-as-code ~/.claude/skills/infrastructure-as-codePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Infrastructure as Code Managing infrastructure through code; version controlled, auditable, reproducible. ## Context You are writing infrastructure as code. Treat it like software; test, review, version. ## Domain Context - **Declarative**: Describe desired state; tool figures out changes - **Version Control**: Infrastructure changes tracked like code - **Review**: Infrastructure changes go through pull requests - **Reproducible**: Same code → same infrastructure - **Idempotent**: Running twice is same as running once ## Instructions 1. **Use IaC**: Terraform, CloudFormation, Pulumi; pick one 2. **Version Control**: Commit infrastructure code 3. **Code Review**: Pull requests for all changes 4. **Modules**: Reusable components; DRY principle 5. **Secrets**: Never commit secrets; use secrets manager 6. **State**: Manage state file carefully; backup, lock 7. **Testing**: Test infrastructure like code ## Anti-Patterns - Manual changes outside IaC; infrastructure drifts - Secrets in code; instant compromise - Massive monolithic infrastructure files; hard to review - No version control; can't audit changes, can't rollback - Testing infrastructure only in prod; catch errors early ## Further Reading - Terraform documentation - AWS CloudFormation best practices - IaC best practices (O'Reilly)
Details
- Skill name
infrastructure-as-code- Repository
- sethdford/claude-skills
- Path
engineer/devops-practices/skills/infrastructure-as-code/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Infrastructure As Code skill do?
Terraform, CloudFormation, reproducible infrastructure, version control, and IaC best practices.
How do I install the Infrastructure As Code skill?
Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Infrastructure As Code popular?
It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.
Related skills
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
Infrastructure As Code Patterns
48sethdford/claude-skills
Codify infrastructure with Terraform, CloudFormation, or Pulumi. Design IaC architecture, versioning, testing, and drift detection. Use when automating infrastructure or establishing IaC practices.
Fitness Function Design
48sethdford/claude-skills
Design metrics that measure architecture health (coupling, modularity, scalability). Automate fitness function checks in CI/CD. Use when establishing quality gates or measuring architectural degradation.
Infrastructure Hardening
48sethdford/claude-skills
Harden infrastructure through patch management, service hardening, and secure baselines.
Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.