Systematically isolates, diagnoses, and solves complex code defects, race conditions, and runtime failures with minimal diffs and regression prevention.
Reviews Dockerfiles for security, image size, build cache, and runtime reliability: secrets baked into layers, running as root, unpinned base images, curl piped to a shell, ADD misuse, leftover apt and pip caches, cache-busting dependency installs, shell-form CMD, and missing multi-stage builds or health checks, then writes a corrected Dockerfile and .dockerignore. Use when a user shares a Dockerfile and asks "review my Dockerfile", "why is my image so big?", or "is this container secure?".
A step-by-step critical thinking debugging skill designed to fix problems directly and ensure they are resolved without causing additional issues.