From Napkin
Guides creation of optimized multi-stage Dockerfiles with best practices for layer caching, security, and minimal image size across any language or framework.
How this skill is triggered — by the user, by Claude, or both
Slash command
/napkin:multi-stage-dockerfileThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Your goal is to help me create efficient multi-stage Dockerfiles that follow best practices, resulting in smaller, more secure container images.
Your goal is to help me create efficient multi-stage Dockerfiles that follow best practices, resulting in smaller, more secure container images.
AS keyword (e.g., FROM node:18 AS builder)python:3.11-slim not just python).dockerignore to prevent unnecessary files from being included in the build context&& to reduce layer countUSER instruction to specify a non-root usernpx claudepluginhub ani1797/forge --plugin copilot-sdk4plugins reuse this skill
First indexed Jun 6, 2026
Guides creation of optimized multi-stage Dockerfiles with best practices for layer caching, security, and minimal image size across any language or framework.
Generates optimized Dockerfiles with multi-stage builds, non-root execution, layer caching, health checks, and .dockerignore. Activates when user wants to containerize an app, create a Docker image, or configure Docker Compose.
Generates optimized multi-stage Dockerfiles, .dockerignore, for Node.js, Python, Go, Java apps with security hardening, layer caching, validation, and error fixes.