docker-compose-patterns
Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple containers. Covers service definitions, health checks, dependency ordering, volumes, networks, environment variables, and development overrides.
Install
With your agent
Install OMGSkills skill "docker/skills:skills/docker-compose-patterns" into this agent's normal skills directory: use the OMGSkills MCP get_skill tool, install only the pinned_install commit and path, verify SKILL.md against pinned_install.skill_md_sha, and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/docker/skills /tmp/skills && ln -s /tmp/skills/skills/docker-compose-patterns ~/.claude/skills/docker-compose-patterns
From README
Docker Compose Patterns Overview This skill provides rules for creating, reviewing, and debugging Docker Compose configurations. Use it when the main artifact is compose.yaml or compose.override.yaml and the task is about service wiring rather than image-build internals. When to use this skill Activate this skill when: Creating a new compose.yaml for a project Adding or modifying services in an existing Compose file Setting up development overrides with compose.override.yaml Debugging service startup ordering or connectivity issues Do not use this skill when Do not use this skill when: The project has no Docker yet and the main need is an initial scaffold The main task is writing or optimizing a Dockerfile The main task is improving build caching, image size, or runtime user configuration Core guidance File naming Use compose.yaml as the canonical filename. Do not use docker-compose.yml or docker-compose.yaml — those are legacy names.
More from this repo
docker-agent-config
Used when creating or editing an agent.yaml (or .yml/.hcl) configuration file for Docker Agent (cagent), including...
docker-agent-deploy
Used when exposing a Docker Agent as a server (MCP, HTTP API, A2A, ACP, or OpenAI-compatible chat), distributing an...
docker-agent-run
Used when running a Docker Agent with `docker agent run`, choosing a safety/approval mode, using the `--sandbox`...
