Agent skill
docker-dev
Assistance with Local Development using Docker (Compose, DevContainers).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ops-andreibesleaga-gabbe-5
SKILL.md
Docker Dev Skill
Triggers
- docker
- compose
- local dev
- devcontainer
- dev environment
- containerize
- dockerization
Purpose
To set up robust, reproducible local development environments using Docker technologies.
Capabilities
1. Docker Compose (Local Dev)
- Generate
compose.yaml: Define services (App + DB + Redis). - Watch Mode: Configure
develop.watchfor hot-reloading (sync + rebuild). - Networking: Ensure services can talk to each other (and to host if needed).
2. DevContainers (VS Code)
- Configuration: Generate
.devcontainer/devcontainer.json. - Features: Add standard features (git, node, python, docker-in-docker).
- Extensions: Pre-install VS Code extensions for the team.
3. Optimization
- Multi-stage Builds: Separate build-deps from runtime-deps.
- Caching: Optimize layer ordering for faster builds.
- Distroless: Use distroless images for production (keep shells in dev).
Instructions
- Prefer Compose Watch: Always recommend
docker compose watchover legacy volume mounts for code sync. - User Mapping: Ensure file permissions work by mapping non-root user (UID/GID) inside container.
- Persistence: Use Docker Volumes for DB data so it survives restarts.
Deliverables
compose.yamlwith watch config..devcontainer/folder.Dockerfile(Target: dev & prod).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?