Create Dockerfile
Skill Verifiziert AktivCreate general-purpose Dockerfiles for Node.js, Python, Go, Rust, and Java projects. Covers base image selection, dependency installation, user permissions, COPY patterns, ENTRYPOINT vs CMD, and .dockerignore. Use when containerizing an application for the first time, creating a consistent build/runtime environment, preparing an app for cloud deployment or Docker Compose, or when no existing Dockerfile is present in the project.
To automate the creation of production-ready Dockerfiles for common application stacks, ensuring consistency and best practices.
Funktionen
- Generates Dockerfiles for Node.js, Python, Go, Rust, and Java.
- Selects appropriate base images (slim/distroless for production).
- Handles dependency installation and non-root user setup.
- Includes guidance on ENTRYPOINT vs. CMD and .dockerignore.
- Provides build and verification steps.
Anwendungsfälle
- Containerizing a new application for the first time.
- Creating a consistent build and runtime environment.
- Preparing an application for cloud deployment or Docker Compose.
- Generating a Dockerfile when none exists in a project.
Nicht-Ziele
- Building Docker images directly.
- Optimizing complex multi-stage builds (suggests related skills).
- Handling highly specialized or niche language runtimes.
- Providing runtime container management.
Workflow
- Select language and entry point.
- Choose base image based on language and environment.
- Write Dockerfile content (e.g., dependency installation, user setup, copy patterns).
- Create .dockerignore file.
- Add non-root user configuration.
- Build and verify the Docker image.
Praktiken
- Dockerfile Best Practices
- Containerization
- Development Environment Setup
Installation
/plugin install agent-almanac@pjt222-agent-almanacQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Cleanup Cycles
100Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".
Optimize Docker Build Cache
99Optimize Docker build times using layer caching, multi-stage builds, BuildKit features, and dependency-first copy patterns. Applicable to R, Node.js, and Python projects. Use when Docker builds are slow due to repeated package installations, when rebuilds reinstall all dependencies on every code change, when image sizes are unnecessarily large, or when CI/CD pipeline builds are a bottleneck.
Containerize MCP Server
100Containerize an R-based MCP (Model Context Protocol) server using Docker. Covers mcptools integration, port exposure, stdio vs HTTP transport, and connecting Claude Code to the containerized server. Use when deploying an R MCP server without requiring a local R installation, creating a reproducible MCP server environment, running MCP servers alongside other containerized services, or distributing an MCP server to other developers.
Azure Container Registry SDK for Python
100Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".
Coding Standards
100Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
Create Multistage Dockerfile
99Create multi-stage Dockerfiles that separate build and runtime environments for minimal production images. Covers builder/runtime stage separation, artifact copying, scratch/distroless/alpine targets, and size comparison. Use when production images are too large, when build tools are included in the final image, when you need separate dev and prod images from one Dockerfile, or when deploying to constrained environments like edge or serverless.