docker-build-strategies
Installation
SKILL.md
Docker Build Strategies
Overview
This skill provides rules and patterns for writing and reviewing production-quality Dockerfiles. Apply it when the main task is image-build quality: multi-stage builds, cache behavior, non-root execution, build context hygiene, and runtime image size.
When to use this skill
Activate this skill when:
- Creating a new Dockerfile for any language or framework
- Optimizing an existing Dockerfile for size, speed, or security
- Reviewing a Dockerfile for best-practice compliance
- Adding a
.dockerignorefile to a project
Do not use this skill when
Do not use this skill when: