agent-ops-docker-review
Docker image reviews, optimization, and step-building guidance. Analyzes Dockerfiles for best practices, security issues, and anti-patterns.
npx skills add majiayu000/claude-skill-registry --skill agent-ops-docker-review --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Docker Review Skill Analyze Dockerfiles for best practices, security issues, and optimization opportunities. ## Modes | Mode | Command | Purpose | |------|---------|---------| | Review | `/docker-review` | Analyze existing Dockerfile, produce findings report | | Optimize | `/docker-optimize` | Suggest specific changes with before/after comparison | | Build | `/docker-build` | Interactive step-by-step Dockerfile creation | | Scan | `/docker-scan` | Run security scanners on built images (requires Docker) | ## Review Mode ### Trigger ``` /docker-review [path/to/Dockerfile] ``` If no path provided, search for `Dockerfile` in project root. ### Procedure 1. **Locate Dockerfile** - Check provided path or search common locations - If not found, offer to create one (switches to Build mode) 2. **Static Analysis** - Parse Dockerfile instructions - Check against best practices rules (see below) - Identify anti-patterns and security issues 3. **Generate Report** - Output to `.agent/docker-review.md` - Categorize findings by severity - Provide fix suggestions for each finding ### Output Format ```markdown # Docker Review Report **File:** Dockerfile **Date:** YYYY-MM-DD **Base Image:** python:3
- Modes
- Review Mode
- Trigger
- Procedure
- Output Format
- Best Practices Rules
- Security (🔴 Error level)
- Optimization (🟡 Warning level)
- Maintainability (🔵 Info level)
- Optimize Mode
- Output
- Build Mode (Interactive)
- Language Templates
- Scan Mode
trivy image --severity HIGH,CRITICAL {{image}}
grype {{image}} --only-fixed
dockle {{image}}
dive {{image}} --ci
Check if hadolint is available
hadolint --version
Run hadolint
hadolint Dockerfile --format jsonWhat does the agent-ops-docker-review skill do?
Docker image reviews, optimization, and step-building guidance. Analyzes Dockerfiles for best practices, security issues, and anti-patterns.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-ops-docker-review --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
