This is a comprehensive reference of 48 Docker optimization rules pulled straight from official Docker docs, organized into 8 priority-ranked categories from layer caching to security hardening. It's designed to trigger when you're writing or reviewing Dockerfiles, giving you specific patterns like cache mounts for package managers, multi-stage build strategies, and secret mount handling. The rules come with impact ratings (CRITICAL/HIGH/MEDIUM) so you know what actually matters for build time and image size versus what's just polish. Honestly most useful as a systematic checklist when you're past the "just get it working" stage and want to do things properly, especially the cache invalidation and base image selection guidance that people usually learn through pain.
npx skills add https://github.com/pproenca/dot-skills --skill dockerfile-optimise