What problem does it solve? Docker configuration involves many subtle traps — silently ignored secret mounts, broken cache behavior in CI, rootless BuildKit setup quirks, and Compose v1-to-v2 migration differences. This Skill gives an AI agent a structured, read-only Docker reference so it can produce correct Dockerfiles, build commands, and Compose files without trial and error. ## Core Features & Use Cases - BuildKit and Rootless Builds: Covers the # syntax directive, version pinning, rootless buildkitd setup, socket paths, and feature support matrices. - Secret and Cache Mounts: Documents --mount=type=secret and --mount=type=cache patterns, sharing modes, and the silent-failure trap when the syntax directive is missing. - Multi-Stage and Multi-Platform Builds: Explains stage ordering, COPY --from, QEMU vs cross-compilation trade-offs, and platform variables like TARGETARCH. - Security and Compose v2: Details non-root users, .dockerignore, runtime hardening flags, health-check dependencies, and profiles. - Use Case: Ask the agent to write a multi-stage Dockerfile for a Go service with secret mounts for a private module proxy and a rootless BuildKit build command — it produces correct syntax on the first attempt. ## Quick Start Ask the agent to write a secure multi-stage Dockerfile with BuildKit cache and secret mounts for your application.