---
name: docker-optimization
description: Optimize Docker images with multi-stage builds, layer caching, and minimal base images
category: Software Development
---

# Docker Optimization

## Overview
Optimize Docker images with multi-stage builds, layer caching, and minimal base images. This skill helps you apply structured, repeatable methods for consistent results.

## When to Use
- When you need to apply docker optimization best practices
- When establishing processes or standards for your workflow
- When training team members on docker optimization
- When automating or optimizing docker optimization tasks

## Instructions
1. **Assess**: Evaluate the current state, requirements, and constraints
2. **Plan**: Define the approach, steps, and success criteria
3. **Execute**: Follow the established patterns and best practices
4. **Verify**: Check results against expected outcomes and quality standards
5. **Iterate**: Refine based on feedback and lessons learned

## Examples
```
User: Help me apply docker optimization for my current project
Assistant: I'll help you apply docker optimization step by step...
```

## Related Skills
- Use with `workflow` tool for orchestrated execution
- Combine with `task` tool for delegated processing
- Reference `system-prompt` for system-level integration
