docker-development
Skill by alirezarezvani
Writes, optimizes and reviews Dockerfiles and docker-compose files for smaller images, faster builds and better security. Built for developers who containerize projects. It ships two Python checker scripts.
Install docker-development
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/engineering/docker-development/skills/docker-development ~/.claude/skills/docker-developmentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/engineering/docker-development/skills/docker-development ~/.gemini/antigravity-cli/skills/docker-developmentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Docker Development is a skill for AI assistants that works on Dockerfiles and docker-compose files. It offers three slash commands: optimize, which targets size, speed and layer caching; compose, which generates or improves a compose file; and security, which audits a Dockerfile or running container. The skill includes checklists for base images, layers, build cache and multi-stage builds, plus example patterns for Go, Node.js and Python.
The skill also includes two Python command-line scripts. dockerfile_analyzer.py runs static analysis on a Dockerfile, with text or JSON output and an optional security focus. compose_validator.py checks service dependencies, healthchecks, networks, volumes, environment variables and port conflicts. It is aimed at developers who build or review container images and compose setups. The author describes it as an opinionated workflow, not a Docker tutorial.
Written from the project's SKILL.md and checked against it.
What it can do
- /docker-development optimizeAnalyzes and optimizes a Dockerfile for size, speed and layer caching.
- /docker-development composeGenerates or improves a docker-compose.yml with best practices.
- /docker-development securityAudits a Dockerfile or running container for security issues.
- dockerfile_analyzer.pyStatic analysis of Dockerfiles with anti-pattern and security checks.
- compose_validator.pyValidates compose files for dependencies, healthchecks, networks and ports.
- Multi-stage build patternsReference Dockerfiles for Go, Node.js and Python multi-stage builds.
What you need
- Python 3 to run the analyzer and validator scripts
Try asking
- Optimize this Dockerfile and reduce the image size
- Create a docker-compose.yml for this project with healthchecks
- Is this Dockerfile secure? Run a security audit
Good to know
- The source describes it as a set of decisions, not a Docker tutorial.
- Compose validator strict mode fails the run on warnings.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: engineering/docker-development/skills/docker-development/SKILL.md, engineering/docker-development/skills/docker-development/scripts/compose_validator.py, engineering/docker-development/skills/docker-development/scripts/dockerfile_analyzer.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/compose-patterns.md6 KB -
references/dockerfile-best-practices.md5 KB -
scripts/compose_validator.py13 KB -
scripts/dockerfile_analyzer.py14 KB
Alternatives to docker-development
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
docker-development: common questions
What does docker-development check in a Dockerfile?
The skill checks layers, caching, image size and security. The dockerfile_analyzer.py script adds anti-pattern detection and security flagging.
Does it validate docker-compose files?
Yes. compose_validator.py checks service dependencies, healthchecks, network setup, volume mounts, environment variables and port conflicts, and gives a best practice score.
Who is this skill for?
The source targets developers who write, optimize or review Dockerfiles and docker-compose files, or who want to containerize a project.
How do I install docker-development?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docker-development free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is docker-development safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docker-development?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
