agentsclimarketplace

Docker hardening

Skill eooo-io/ai-native-engineering-doctrine/04-agent-skills/docker-hardening

Review Dockerfiles and Compose setups for security, reliability, image size, and developer ergonomics.From its SKILL.md

Install
npx -y skills add eooo-io/ai-native-engineering-doctrine --skill docker-hardening

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.5 KB, 280 tokens by cl100k_base, as published. Nobody here has run it

Docker Hardening

Purpose

Review a Dockerfile, Compose file, or build pipeline for the predictable failure modes: bloated images, leaked secrets, missing health checks, root-owned runtimes, and base images that haven't been updated since the previous coffee shortage.

Review areas

  • Base image choice and version pinning.
  • Dependency installation order and cache usage.
  • Layer caching effectiveness.
  • Non-root user and filesystem permissions.
  • Secret handling (environment, runtime injection, never bake-in).
  • Health checks and readiness signals.
  • Multi-stage builds and final image surface.
  • Reproducibility (locked dependencies, deterministic build inputs).
  • Image size and unused tooling left in the final stage.
  • Local developer usability (build time, dev/prod parity, debug story).

Output format

## Summary

## Security findings

## Reliability findings

## Image size and build findings

## Developer-ergonomics findings

## Recommended changes

Rules

  • Never bake secrets into images. Use environment variables, secret stores, or runtime injection.
  • Tie each finding to a concrete line or layer; "this image is too big" without a target is not a review.
  • Prefer minimal, reproducible base images over whatever the README first suggested.
  • Do not invent deployment-environment requirements; ask if they aren't stated.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.