What problem does it solve? Writing Dockerfiles that produce small, secure, and fast-building images requires juggling stage structure, base image selection, layer ordering, and security practices. This Skill provides concrete patterns and checklists so containers are built correctly the first time instead of through trial and error. ## Core Features & Use Cases - Multi-Stage Build Patterns: Separates builder and runtime stages so compilers and build tools never ship in production images. - Layer & Cache Optimization: Orders instructions from stable to volatile and uses BuildKit cache mounts for uv, npm, and Go builds. - Security Hardening: Enforces non-root users, pinned image tags, secret mounts, and minimal runtime attack surface. - Use Case: When containerizing a Python FastAPI service, generate a complete two-stage Dockerfile using uv with cache mounts, a non-root user, a healthcheck, and a matching .dockerignore. ## Quick Start Ask the assistant to create an optimized multi-stage Dockerfile for your application stack, for example a Python service using uv or a Node.js app with npm ci.