dockerfile-review

Review Dockerfiles for security, optimization, and best-practice issues.

2|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/mhalder/dotfiles --skill dockerfile-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dockerfile-review
Source: https://github.com/mhalder/dotfiles/tree/main/claude/.claude/skills/dockerfile-review
Command: npx skills add https://github.com/mhalder/dotfiles --skill dockerfile-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews Dockerfiles for common security, optimization, and best-practice issues.

Core Features & Use Cases

  • Security checks: flags for root user, secrets, pinned tags.
  • Optimization checks: multi-stage builds, layers, caches.
  • Best practices: proper user, commands.

Quick Start

Read a Dockerfile, identify issues, and apply fixes.