docker-init

Installation
SKILL.md

docker-init

Generate a Dockerfile and .dockerignore tailored to the current project.

When to use

  • When the user asks to create or initialize a Dockerfile
  • When the user wants to containerize their project
  • When the user runs /docker-init

Instructions

  1. Detect the project type by scanning the repository for key files:
    • package.json / package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lockb → Node.js
    • go.mod → Go
    • Cargo.toml → Rust
    • pyproject.toml / requirements.txt / Pipfile / setup.py → Python
    • Gemfile → Ruby
    • *.csproj / *.sln → .NET
Related skills
Installs
7
First Seen
Mar 6, 2026