image-optimization

Installation
SKILL.md

Image Optimization

Trigger

Use this skill when:

  • A Docker image is too large for fast pulls or deployments
  • CI/CD pipelines are slow due to image size
  • Comparing base image options (Alpine vs slim vs distroless vs scratch)
  • Analyzing image layers to find bloat
  • Applying multi-stage build patterns to strip build-time dependencies
  • Using BuildKit features for more efficient builds

Required Inputs

  • Current image name/tag or Dockerfile to optimize
  • Application language/runtime
  • Whether the image needs a shell or debugging tools in production
  • Target environment (Kubernetes, ECS, local dev)
Installs
2
First Seen
Sep 11, 2026
image-optimization — tmhsdigital/docker-developer-tools