Generates production-ready Dockerfiles with multi-stage builds, security hardening, and layer optimization baked in. It walks through requirements gathering, consults local references for best practices, creates the Dockerfile and dockerignore, then validates with dockerfile-validator and iteratively fixes errors. Works across Node.js, Python, Go, and Java with language-specific templates. The deterministic workflow is refreshingly explicit: six stages with defined stop conditions and a three-iteration cap on fixes. You get non-root users, minimal base images, and proper cache layering without hunting through Docker docs. Good for new projects or cleaning up existing Dockerfiles that have grown organically messy.
npx skills add https://github.com/akin-ozer/cc-devops-skills --skill dockerfile-generator