What problem does it solve? Container builds often suffer from bloated images, broken layer caching, security issues from running as root, and race conditions between services. This Skill provides structured workflows to write efficient Dockerfiles, design multi-stage builds, and orchestrate services with Docker Compose correctly. ## Core Features & Use Cases - Dockerfile Optimization: Order layers by change frequency, mount BuildKit package manager caches, consolidate RUN commands, and create .dockerignore files to keep builds fast and images small. - Multi-Stage Builds: Separate dependency, build, and production stages so build tools stay out of the final image, reducing a Node app from roughly 1GB to around 150MB. - Compose Orchestration: Define health checks, isolated internal networks, resource limits, and split dev/prod configurations with compose override files. - Use Case: You have a Node.js API with Postgres. Use this Skill to produce an optimized production Dockerfile with a non-root user and health check, plus a Compose setup where the app waits for the database to be healthy before starting. ## Quick Start Use the docker-expert skill to write an optimized multi-stage Dockerfile and Compose setup for my Node.js API with a Postgres database.