Loot Protocol is a marketplace for AI coding extensions — skills, MCP servers, and plugins that enhance Claude Code and Cursor. Install with a single CLI command. Learn more →
Audits Dockerfiles for image size, layer caching, and security pitfalls. Suggests a refactored version that follows current best practices.
brew install lootprotocol/tap/lootloot loginloot learn @jonas-lindqvist/dockerfile-doctor --claudePrefer to use your AI agent? Switch to the AI Agent tab below to connect via MCP server instead.
loot learn @jonas-lindqvist/dockerfile-doctor --claudeRun in your terminal. Requires the loot CLI — see the installation guide.
Reviews a Dockerfile and tells you three things: how to make the image smaller, how to make rebuilds faster, and where you're leaking security risk (running as root, COPY-ing secrets, pinning :latest). Outputs a refactored Dockerfile alongside the explanation so you can diff it.
Knows the patterns for Node, Python, Go, Rust, and JVM base images.
loot run dockerfile-doctor --file DockerfilePass --multi-stage to specifically suggest a multi-stage build refactor.