Agent skill · Security

agent-ops-docker-review

Docker image reviews, optimization, and step-building guidance. Analyzes Dockerfiles for best practices, security issues, and anti-patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/analysis/agent-ops-docker-review/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Modes
  2. Review Mode
  3. Trigger
  4. Procedure
  5. Output Format
  6. Best Practices Rules
  7. Security (🔴 Error level)
  8. Optimization (🟡 Warning level)
  9. Maintainability (🔵 Info level)
  10. Optimize Mode
  11. Output
  12. Build Mode (Interactive)
  13. Language Templates
  14. Scan Mode
Ships with 1 file
  • metadata.json
Commands it runs
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 json
More from claude-skill-registry
All skills →
About this skill
What 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.

Keep going