Agent skill · software engineering · alirezarezvani
docker-development
Use for any Dockerfile or docker-compose file to write, optimize or review, before editing it. Checks layers, caching, size and security with dockerfile_analyzer.py and validates compose files with compose_validator.py.
Why this skill is useful
Adds executable scripts for Dockerfile optimization, multi-stage builds, and security audits that enhance container development capabilities.
What it needs
Requires docker installed locally. About 6k tokens when loaded. Last updated 2026-08-05. 23,939 stars on the source repository.
What this skill does
Docker Development Smaller images. Faster builds. Secure containers. No guesswork. Opinionated Docker workflow that turns bloated Dockerfiles into production-grade containers. Covers optimization, multi-stage builds, compose orchestration, and security hardening. Not a Docker tutorial — a set of concrete decisions about how to build containers that don't waste time, space, or attack surface. --- Slash Commands Command What it does --------- ------------- /docker-development optimize Analyze and optimize a Dockerfile for size, speed, and layer caching /docker-development compose Generate or improve docker-compose.yml with best practices /docker-development security Audit a Dockerfile or running container for security issues --- When This Skill Activates Recognize these patterns from the user: "Optimize this Dockerfile" "My Docker build is slow" "Create a docker-compose for this project" "Is this Dockerfile secure?" "Reduce my Docker image size" "Set up multi-stage builds" "Docker best practices for [language/framework]" Any request involving: Dockerfile, docker-compose, container, image size, build cache, Docker security If the user has a Dockerfile or wants to containerize something → this skill applies. --- Workflow /docker-development optimize — Dockerfile Optimization 1. Analyze current state Read the Dockerfile Identify base image and its size Count layers (each RUN/COPY/ADD = 1 layer) Check for common anti-patterns 2. Apply optimization checklist 3. Generate optimized Dockerfile Apply all relevant optimizations Add inline comments explaining each decision Report estimated size reduction 4. Validate /docker-development compose — Docker Compose Configuration 1. Identify services Application (web, API, worker) Database (postgres, mysql, redis, mongo) Cache (redis, memcached) Queue (rabbitmq, kafka) Reverse proxy (nginx, traefik, caddy) 2. Apply compose best practices 3. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills alirezarezvani/docker-development--f46461