New to Claude Skills? Learn how to install them →

davila7 on GitHub

DevOps IaC Engineer

Free

Streamline your cloud infrastructure with IaC practices.

Get this skill

Free · Opens the source repo

What DevOps IaC Engineer does

The DevOps IaC Engineer skill is designed for teams looking to implement Infrastructure as Code (IaC) using tools like Terraform and Kubernetes. By leveraging this skill, users can create, manage, and maintain cloud infrastructure in a consistent and repeatable manner. This skill provides a structured approach to designing scalable architectures, deploying containerized applications, and establishing CI/CD pipelines, all while adhering to security-first DevOps practices.

At its core, the skill emphasizes the importance of understanding business requirements and constraints before diving into implementation. It guides users through the process of selecting appropriate cloud platforms, designing high-availability architectures, and choosing the right IaC tools. With a focus on modular and reusable code, the skill promotes best practices in state management, versioning, and documentation, ensuring that infrastructure is not only functional but also maintainable.

In addition to infrastructure deployment, the skill covers essential topics such as observability and security. Users can define Service Level Indicators (SLIs) and Service Level Objectives (SLOs) to monitor system performance, while also implementing security measures to protect sensitive data. The included references and templates serve as valuable resources for quick implementation and adherence to industry standards.

This skill is particularly beneficial for DevOps teams, site reliability engineers, and developers who want to enhance their cloud infrastructure management capabilities. By following the outlined workflows and utilizing the provided resources, teams can effectively address common challenges in cloud environments, such as infrastructure drift, security vulnerabilities, and high operational costs.

When to use it

Use this skill when setting up cloud architectures, deploying applications, or establishing CI/CD pipelines with a focus on security and observability.

When not to use it

This skill may not be suitable for teams not utilizing cloud infrastructure or those who prefer manual configuration over IaC practices.

What you can build with it

Setting Up a New Application

Use this skill to design and implement the infrastructure for a new cloud-based application, ensuring scalability and security.

Migrating to the Cloud

Leverage the skill to create a structured migration plan that includes IaC practices to minimize downtime and ensure compliance.

Establishing CI/CD Pipelines

Utilize the skill to set up automated CI/CD pipelines that integrate with your existing development workflows, enhancing deployment efficiency.

How to install DevOps IaC Engineer

View source

1. Install with the skills CLI

npx skills add davila7/claude-code-templates/devops-iac-engineer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by davila7

DevOps IaC Engineer

This Skill helps DevOps teams design, implement, and maintain cloud infrastructure using Infrastructure as Code principles. Use this when building cloud architectures, deploying containerized applications, setting up CI/CD pipelines, or implementing observability and security practices.

Quick Navigation

  • Terraform & IaC: See terraform.md for Terraform best practices and patterns
  • Kubernetes & Containers: See kubernetes.md for container orchestration
  • Cloud Platforms: See cloud_platforms.md for AWS, Azure, GCP guidance
  • CI/CD Pipelines: See cicd.md for pipeline design and GitOps
  • Observability: See observability.md for monitoring and logging
  • Security: See security.md for DevSecOps practices
  • Templates & Tools: See templates.md for ready-to-use templates

Core Principles

Key DevOps Terminology (Consistent Throughout)

  • Infrastructure as Code (IaC): Managing infrastructure through declarative code files
  • GitOps: Using Git as the single source of truth for infrastructure and applications
  • Immutable Infrastructure: Infrastructure components that are replaced rather than modified
  • Service Mesh: Infrastructure layer for service-to-service communication
  • Observability: Ability to understand system state from external outputs (logs, metrics, traces)
  • SLI/SLO/SLA: Service Level Indicators/Objectives/Agreements for reliability
  • RTO/RPO: Recovery Time Objective/Recovery Point Objective for disaster recovery

Workflow: Infrastructure Implementation

When implementing infrastructure, follow this structured approach:

  1. Understand Requirements

    • What is the business need? (new application, migration, scaling, compliance)
    • What are the scale requirements? (traffic, data, geographic distribution)
    • What are the constraints? (budget, timeline, regulatory)
    • What are the dependencies? (existing systems, data sources)
  2. Design Architecture

    • Choose appropriate cloud platform(s) and services
    • Design for high availability and fault tolerance
    • Plan network topology and security boundaries
    • Identify data flows and storage requirements
    • Document architecture with diagrams
  3. Select IaC Tools

    • Terraform for multi-cloud infrastructure provisioning
    • Kubernetes manifests/Helm for container orchestration
    • CI/CD tool selection based on team and requirements
    • Configuration management tools if needed
  4. Implement Infrastructure

    • Create modular, reusable IaC code
    • Follow security best practices (see security.md)
    • Implement proper state management and versioning
    • Use consistent naming and tagging conventions
    • Document code and create README files
  5. Set Up Observability

    • Define SLIs and SLOs for critical services
    • Implement logging, metrics, and tracing
    • Create dashboards and alerts
    • Set up log aggregation and analysis
    • Plan on-call rotation and runbooks
  6. Implement CI/CD

    • Design deployment pipeline stages
    • Implement automated testing (unit, integration, e2e)
    • Set up GitOps workflows
    • Configure deployment strategies (blue/green, canary)
    • Implement rollback procedures
  7. Test & Validate

    • Run infrastructure tests (security, compliance, cost)
    • Perform disaster recovery drills
    • Load testing and performance validation
    • Security scanning and penetration testing
    • Document test results and improvements
  8. Deploy & Monitor

    • Execute phased rollout
    • Monitor metrics and logs closely
    • Validate against SLOs
    • Document runbooks and troubleshooting guides
    • Conduct post-deployment review

Decision Framework: Tool Selection

Multi-Cloud Requirements → Terraform or Pulumi AWS-Only → Terraform, AWS CDK, or CloudFormation Container Orchestration → Kubernetes (EKS, GKE, AKS) Simple Container Deployment → ECS, Cloud Run, or App Service Configuration Management → Ansible or cloud-native solutions GitOps Workflows → ArgoCD or Flux CI/CD Pipelines → GitHub Actions, GitLab CI, or Jenkins

Common Challenges & Solutions

Problem: Infrastructure drift between code and reality Solution: Implement automated drift detection, use terraform plan in CI/CD, enable read-only production access, maintain state file integrity

Problem: Secrets management and credential exposure Solution: Use cloud-native secret managers (AWS Secrets Manager, HashiCorp Vault), implement SOPS for encrypted secrets in Git, use IRSA/workload identity

Problem: High cloud costs and unexpected bills Solution: Implement tagging strategy, use cost allocation tags, set up budget alerts, right-size resources, use spot instances, implement auto-scaling

Problem: Complex Kubernetes configurations Solution: Use Helm charts for templating, implement Kustomize for environment-specific configs, follow GitOps patterns, use operators for complex workloads

Collaboration Tips

  • With Development Teams: Provide self-service platforms, document APIs, share infrastructure as reusable modules
  • With Security Teams: Implement policy as code, automate compliance checks, provide audit trails
  • With SRE Teams: Define SLIs/SLOs together, share on-call responsibilities, collaborate on incident response
  • With Finance Teams: Provide cost visibility, forecast expenses, implement chargeback models

Next Steps

  1. Start with terraform.md if you're implementing infrastructure as code
  2. Use kubernetes.md for container orchestration
  3. Reference templates.md for ready-to-use configurations
  4. Check observability.md to set up monitoring

Note: Always verify current infrastructure state, security requirements, and compliance needs before implementing changes. This Skill provides frameworks and best practices but should be adapted to your organization's specific requirements.

Frequently asked questions about DevOps IaC Engineer

Similar skills