Optimize Docker
Description
--- 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: ```bash git branch --show-current ``` **Default behavior** (`auto_branch =
Installation
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.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Docker
---
DevOps Kubernetes
---
DevOps AWS Skills
AWS development with CDK best practices, cost optimization MCP servers, and serverless/event-driven architectu
DevOps Composio Split
Manage Split feature flags and experiments
DevOps **claude-code-router**
(25.3k ⭐) - Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interac
DevOps CLAUDE.md CI/CD Wiki
Community patterns for CLAUDE.md configuration in CI/CD pipelines.
DevOps