devops-infrastructure

Review and optimize Dockerfiles, CI/CD pipelines, Terraform, and Kubernetes manifests.

1|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/mazelb/dev-environment-template --skill devops-infrastructure-mazelb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devops-infrastructure
Source: https://github.com/mazelb/dev-environment-template/tree/main/.claude/skills/devops-infrastructure
Command: npx skills add https://github.com/mazelb/dev-environment-template --skill devops-infrastructure-mazelb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps teams optimize Dockerfiles, CI/CD pipelines, and IaC to speed deployments, improve security, and reduce manual toil.

Core Features & Use Cases

  • Dockerfile optimization: multi-stage builds, smaller images, non-root users
  • CI/CD optimization: caching, parallel jobs, security scanning
  • Infrastructure-as-Code review: Terraform, Kubernetes manifests quality

Quick Start

Paste a Dockerfile or GitHub Actions workflow and ask Claude to suggest production-ready optimizations.

Frequently Asked Questions about devops-infrastructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize a Dockerfile for production?

Dockerfile optimization reduces image size and improves security through multi-stage builds, non-root user execution, and layer caching. This Skill analyzes your Dockerfile and recommends production-ready improvements including smaller base images, consolidated RUN commands, and vulnerability remediation.

Can I use this to review my CI/CD pipeline configuration?

Yes. This Skill reviews CI/CD pipelines (GitHub Actions, similar workflows) to optimize caching strategies, parallelize jobs, integrate security scanning, and reduce build times. It identifies inefficiencies and suggests deployment-ready configurations.

What infrastructure-as-code formats does this work with?

Infrastructure-as-Code review covers Terraform configurations and Kubernetes manifests. This Skill audits these files for security hardening, least-privilege permissions, health checks, and deployment efficiency across development, staging, and production environments.

How does multi-stage Docker optimization improve deployments?

Multi-stage builds separate build dependencies from runtime layers, shrinking final image size and attack surface. This Skill configures stages to cache build artifacts, reduce layer count, and enforce non-root execution for faster, more secure deployments.

Does this Skill handle secrets and vulnerability scanning in CI/CD?

Yes. This Skill integrates secrets management and vulnerability scanning into pipeline reviews, ensuring security scanning runs early, secrets are never logged, and least-privilege permissions apply throughout development, staging, and production workflows.