Optimize Docker — DevOps skill for Claude Code
Analyze and optimize Docker builds for production.
How to install Optimize Docker
Installs to ~/.claude/commands/thedecipherist-claude-code-mastery-project-starter-kit-optimize-docker.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/TheDecipherist/claude-code-mastery-project-starter-kit/HEAD/.claude/commands/optimize-docker.md -o ~/.claude/commands/thedecipherist-claude-code-mastery-project-starter-kit-optimize-docker.md Restart Claude Code, or start a new session, for it to be picked up.
What Optimize Docker does
description: Analyze and optimize Docker builds for production scope: project argument-hint: [dockerfile-path] allowed-tools: Read, Write, Edit, Grep, Glob, Bash
Optimize Docker Build
Analyze and optimize the Docker setup for: **$ARGUMENTS**
If no Dockerfile path provided, search for Dockerfiles in the project root.
Step 0 — Auto-Branch (if on main)
Before modifying any files, check the current branch:
git branch --show-current
**Default behavior** (`auto_branch =
Alternatives in DevOps
- Docker 71.9k ★
- Vercel Deploy — Deploy applications and websites to Vercel with preview or production options 14.6k ★
- Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
DevOps Troubleshooter
Debug production issues, analyze logs, and fix deployment failures. Masters monitoring tools, incident respons
Docker Multistage
Optimize Docker builds with multi-stage builds
Vercel
Build, optimize, and deploy to Vercel using Vercel Agent Skills
Dd De
Open the Data Engineering department (build stage) and route the request to one of its 25 atomic tasks. Design
Cloud Architect
Design AWS/Azure/GCP infrastructure, implement Terraform IaC, and optimize cloud costs. Handles auto-scaling,
Skill
Web extraction engine with antibot bypass. Scrape, crawl, extract, summarize, search, map, diff, monitor, rese
Related Agents
Bazel CI Analyzer
Use this agent when:\\n- The user needs to analyze or optimize Bazel configuration in CI/CD pipelines, particu
Csharp Expert
Use this agent when you need to write, refactor, analyze, or optimize any C# code. This includes creating new
Moon Workspace Analyzer
Use this agent to analyze and optimize moon workspace configuration. Examples: