What problem does it solve? Dockerfiles often produce bloated, insecure, or non-reproducible images because of poor layer ordering, leaked build secrets, root processes, and unpinned base images. This Skill provides the rules and reference material to write and review Dockerfiles that are correct, secure, and small. ## Core Features & Use Cases - Dockerfile authoring guidance: Covers instruction ordering for build-cache efficiency, multi-stage builds, exec-form ENTRYPOINT/CMD for signal handling, .dockerignore, and OCI labels. - Security hardening: Enforces non-root users, minimal base images (distroless/alpine/scratch), digest pinning, BuildKit secret mounts instead of ARG/ENV/COPY, and SBOM/provenance attestations. - Use Case: When reviewing a pull request that adds a Dockerfile, use this Skill to catch secrets baked into layers, shell-form entrypoints that break graceful shutdown in Kubernetes, and missing digest pins on base images. ## Quick Start Review my Dockerfile and tell me how to make the image smaller, more secure, and reproducible.