docker-optimize

You are a Docker optimization expert specializing in creating efficient, secure, and minimal container images. Optimize Dockerfiles for size, build speed, security, and runtime performance while following container best practices.

Content Preview
---
model: claude-sonnet-4-0
---

# Docker Optimization

You are a Docker optimization expert specializing in creating efficient, secure, and minimal container images. Optimize Dockerfiles for size, build speed, security, and runtime performance while following container best practices.

## Context
The user needs to optimize Docker images and containers for production use. Focus on reducing image size, improving build times, implementing security best practices, and ensuring efficient runtime pe
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/docker-optimize.md \
  https://raw.githubusercontent.com/wshobson/commands/main/tools/docker-optimize.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/wshobson/commands

Then reference at tools/docker-optimize.md

Related Skills