adr
Write an Architecture Decision Record documenting a significant technical decision.
Optimize an existing Dockerfile for smaller images, faster builds, and better security.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/optimize-dockerfileContext preview
What this command does when you run it.
Optimize an existing Dockerfile for smaller images, faster builds, and better security.
name: optimize-dockerfile description: Optimize an existing Dockerfile for smaller images, faster builds, and better security.
Optimize an existing Dockerfile for smaller images, faster builds, and better security.
1. Read the existing Dockerfile and analyze each instruction. 2. Check for size optimization opportunities:
3. Check for build cache optimization:
4. Check for security best practices:
5. Apply optimizations and compare before/after image sizes. 6. Verify the optimized image still runs correctly.
Dockerfile Optimization: <path> Before: <size>MB, <layers> layers After: <size>MB, <layers> layers Reduction: <percent>% Changes: 1. Switched base from node:20 to node:20-alpine (-600MB) 2. Combined 5 RUN commands into 2 (-3 layers) 3. Added multi-stage build, excluded devDependencies (-200MB) 4. Added non-root USER instruction (security) Verification: container starts and passes health check
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Write an Architecture Decision Record documenting a significant technical decision.
Conduct a structured design review of a module, feature, or system component.
Create a structured implementation plan for the requested feature or change.