docker
Context skill for Docker best practices — activates automatically when Dockerfiles or Docker Compose config are detected, no slash command needed.
Requirements
docker— Docker installation
Commands
This is a context skill. It activates automatically when a Dockerfile, docker-compose.yml, or dockerfiles/ directory is detected. No slash command is needed.
Trigger conditions
The skill loads when any of the following are present:
- A
Dockerfileordockerfiles/directory in the project docker-compose.ymlorcompose.ymlin the project- User mentions Docker,
docker build,docker compose, COMPOSE_BAKE, or dev containers
Recipes available
| Situation | Recipe loaded |
|---|---|
| Running mise inside Docker (base images, tool installation) | mise-in-docker |
| Multi-stage builds (base and production image) | multi-stage |
| Docker Compose service composition | compose |
| Cross-platform compatibility (Mac, Linux, WSL2) | cross-platform |
| Pushing to GCP Artifact Registry or deploying to Cloud Run | gcp-registry |
Each recipe loads on demand — only what is relevant to the current task.