Dockerfile

From KhaiTrang1995/agentic-awesome-kits · View interactive version

Dockerfile is an AI agent skill from the GitHub repository KhaiTrang1995/agentic-awesome-kits. Generate an optimized Dockerfile — multi-stage build, security hardening, small image size.

How to use this skill

Skill file

/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

Output

Dockerfile
.dockerignore

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.