Install
openclaw skills install @hmahmadcs/dockerfile-best-practice-reviewerReview a Dockerfile for layer hygiene, least-privilege users, pin practices, and clearer build structure. Use when drafting or cleaning up container builds.
openclaw skills install @hmahmadcs/dockerfile-best-practice-reviewerProvide a structured review of a Dockerfile the user pastes: what is fine, what to change, and a suggested patch sketch — without claiming to run a build unless asked.
:latest risk)
b. Package installs (cleanup, combined RUN, pinning)
c. Multi-stage opportunities
d. COPY/ADD scope and .dockerignore reminders
e. Non-root USER
f. HEALTHCHECK, EXPOSE, signal handling (STOPSIGNAL / tini notes)
g. Secrets in build args/ENV (flag strongly)docker build, run as
non-root, etc.) without executing them unless requested.Single-stage Python image as root with pip install and no cleanup
→ suggest multi-stage, non-root user, and apt/pip cleanup patterns.
None for review. Docker CLI only if the user wants build commands run locally.
Cannot validate that a private base image exists. Distro package names vary.
Flag secrets in ENV/ARG. Do not ask for registry passwords. Text review only by default.
Review a Dockerfile for layer hygiene, least-privilege users, pin practices, and clearer build structure.
Research
For users and teams who want a concise assistant for: Review a Dockerfile for layer hygiene, least-privilege users, pin practices, and clearer build structure.
This skill may not be used illegally. Violations of domestic or international law are unacceptable; The publisher will not be accountable for such use. Do not use it to plan physical harm, terror-related activity, or other violent crime. Do not use it to generate instructions for committing crimes.