| name | docker-review |
| description | Review a Dockerfile against an enterprise best-practice checklist and report concrete issues with line references. |
| license | MIT |
| user-invocable | true |
docker-review
Use when the user asks to review, audit, or improve a Dockerfile.
Steps
- Read the full Dockerfile. Note the base image, build stages, and final
CMD/ENTRYPOINT.
- Walk the checklist below. For each item, record PASS / FAIL / N/A with a
Dockerfile:<line> reference.
- Report findings grouped by severity: Blocker → High → Medium → Low.
- Do not auto-edit. Propose changes; let the user decide.
Checklist
Blocker
High
Medium
Low
Output format
docker-review: <path/to/Dockerfile>
BLOCKER (n)
- Dockerfile:3 — base image is `python:latest`, no pin
- ...
HIGH (n)
- ...
MEDIUM (n)
- ...
LOW (n)
- ...
Summary: n blockers, n high, n medium, n low.
Recommended next action: <one sentence>.
Exit conditions
- Every checklist item has a verdict
- Findings reference exact line numbers
- No files modified