agentsclimarketplace

Dockerfile

Skill KhaiTrang1995/agentic-awesome-kits/packages/agentic-awesome-kits/payload/kits/devops/docker-kit/.claude/skills/dockerfile

Generate an optimized Dockerfile — multi-stage build, security hardening, small image size.From its SKILL.md

Install
npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill dockerfile

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

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 8 stars8 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.2 KB, 275 tokens by cl100k_base, as published. Nobody here has run it

/dockerfile — Generate a Dockerfile

Input examples

/dockerfile .NET 10 Minimal API --prod
/dockerfile Angular 20 nginx --prod
/dockerfile Python FastAPI
/dockerfile Go service --prod
/dockerfile --dev fullstack .NET + Angular (docker-compose dev)

Process

  1. Detect the stack → pick the right base image
  2. Multi-stage build: build stage → runtime stage
  3. Security hardening
  4. L1 approval → Write

Mandatory rules

  • Multi-stage build — separate build and runtime
  • Non-root user — NEVER run the container as root
  • Specific tagmcr.microsoft.com/dotnet/aspnet:10.0-alpine, NEVER latest
  • COPY before RUN — leverage layer caching (copy csproj/package.json first, restore, then copy source)
  • .dockerignore — exclude bin/, obj/, node_modules/, .git/
  • HEALTHCHECK — mandatory for production
  • NEVER hardcode secrets/connection strings — use env vars
  • Alpine-based whenever possible (small image size)

Output

Dockerfile
.dockerignore

References

  • @.claude/rules/docker-conventions.md

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.