Infrastructure As Code Patterns
Codify infrastructure with Terraform, CloudFormation, or Pulumi. Design IaC architecture, versioning, testing, and drift detection. Use when automating infrastructure or establishing IaC 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-code-patternsgit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/architect/infrastructure-design/skills/infrastructure-as-code-patterns ~/.claude/skills/infrastructure-as-code-patternsPersonal 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 Patterns Define and manage infrastructure through code for reproducibility, version control, and automation. ## Context You are building infrastructure-as-code practices. Choose tools, design module structure, plan testing and validation, implement drift detection. Read current infrastructure, team programming skills, and cloud platform. ## Domain Context Based on IaC best practices (Terraform, CloudFormation, Pulumi): - **Declarative vs Imperative**: Declare desired state (Terraform) vs describe steps (CloudFormation). Declarative is more maintainable. - **Modularity**: Reusable modules (VPC, database, load balancer); parameterized for different environments - **State Management**: Terraform state tracks infrastructure; must be versioned and backed up - **Testing**: Unit tests (validate syntax), integration tests (deploy to staging), policy tests (compliance) - **Drift Detection**: Find manual changes not in code; reconcile or remediate ## Instructions 1. **Choose Tool**: Terraform (multi-cloud, popular, large ecosystem). CloudFormation (AWS-native, less learning). Pulumi (programming language, more flexible). 2. **Design Module Structure**: Root modules per environment (dev, staging, prod). Shared modules for common patterns (VPC, RDS cluster, service). Versioned modules in registry.
Details
- Skill name
infrastructure-as-code-patterns- Repository
- sethdford/claude-skills
- Path
architect/infrastructure-design/skills/infrastructure-as-code-patterns/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Infrastructure As Code Patterns skill do?
Codify infrastructure with Terraform, CloudFormation, or Pulumi. Design IaC architecture, versioning, testing, and drift detection. Use when automating infrastructure or establishing IaC practices.
How do I install the Infrastructure As Code Patterns 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 Patterns 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 Hardening
48sethdford/claude-skills
Harden infrastructure through patch management, service hardening, and secure baselines.
Infrastructure As Code
48sethdford/claude-skills
Terraform, CloudFormation, reproducible infrastructure, version control, and IaC best practices.
Kubernetes Security
48sethdford/claude-skills
Secure Kubernetes clusters through RBAC, network policies, pod security, and runtime monitoring.
Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.