Registry / docker

docker/skills/docker-build-strategies

Use this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their build is slow, or they need to harden a container for production. Covers multi-stage builds, layer caching, .dockerignore, non-root users, and image size optimization.

Agent skill · version 0.3.2-main.1794562408.gf4a2f2e · from docker/skills

Install

npx yarkr-cli add skill:docker/skills/docker-build-strategies

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:docker/skills/docker-build-strategies
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:docker/skills/docker-build-strategies

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:docker/skills/docker-build-strategies

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.