dockerfile-best-practices
Installation
SKILL.md
Dockerfile Best Practices
Trigger
Use this skill when:
- Writing a new Dockerfile from scratch
- Reviewing or optimizing an existing Dockerfile
- Reducing image size or build time
- Hardening a container image for production
- Fixing layer caching issues that slow CI/CD builds
Required Inputs
- Target application language/runtime (e.g., Node.js, Python, Go, Java)
- Whether the image is for development or production
- Any specific base image requirements or constraints