Skip to main content

Docker Development

Skill Verified Active

Docker and container development agent skill and plugin for Dockerfile optimization, docker-compose orchestration, multi-stage builds, and container security hardening. Use when: user wants to optimize a Dockerfile, create or improve docker-compose configurations, implement multi-stage builds, audit container security, reduce image size, or follow container best practices. Covers build performance, layer caching, secret management, and production-ready container patterns.

Purpose

To help users build smaller, faster, and more secure Docker containers by providing automated analysis and actionable guidance for Dockerfiles and docker-compose configurations.

Features

  • Dockerfile optimization analysis
  • Docker compose configuration generation and validation
  • Container security hardening audits
  • Multi-stage build pattern examples
  • Best practice checklists for base image selection and layer optimization

Use Cases

  • Optimizing a Dockerfile for size and build speed.
  • Creating or improving docker-compose configurations with best practices.
  • Auditing Dockerfiles or running containers for security vulnerabilities.
  • Implementing multi-stage builds for production-ready images.

Non-Goals

  • Providing a Docker tutorial or introductory content.
  • Building or managing Docker infrastructure beyond configuration analysis.
  • Directly executing Docker commands or managing container lifecycles.

Workflow

  1. Analyze Dockerfile or docker-compose.yml for current state.
  2. Apply optimization checklist or best practice rules.
  3. Generate optimized Dockerfile, improved compose file, or security report.
  4. Validate generated configurations using provided tooling.

Practices

  • Dockerfile optimization
  • Docker compose best practices
  • Container security hardening
  • Multi-stage build patterns

Prerequisites

  • Python 3 installed locally for script execution
  • Docker installed locally for applying generated configurations

Installation

First, add the marketplace

/plugin marketplace add alirezarezvani/claude-skills
/plugin install docker-development@claude-code-skills

Quality Score

Verified
98 /100
Analyzed about 18 hours ago

Trust Signals

Last commitabout 21 hours ago
Stars14.6k
LicenseMIT
Status
View Source

Similar Extensions

Containerize MCP Server

100

Containerize an R-based MCP (Model Context Protocol) server using Docker. Covers mcptools integration, port exposure, stdio vs HTTP transport, and connecting Claude Code to the containerized server. Use when deploying an R MCP server without requiring a local R installation, creating a reproducible MCP server environment, running MCP servers alongside other containerized services, or distributing an MCP server to other developers.

Skill
pjt222

Azure Container Registry SDK for Python

100

Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".

Skill
microsoft

Ship Gate

100

Pre-production audit that scans a codebase for security, database, deployment, code quality, AI/LLM, dependency, frontend, and observability issues. Intercepts deploy commands and blocks until critical items pass. Stack-agnostic. Use for "run ship gate", "am I ready to ship", "pre-launch audit", "can I deploy", "push to production", "go live checklist", "preflight check". Not for CI/CD setup or infra provisioning.

Skill
alirezarezvani

Setup Docker Compose

99

Configure Docker Compose for multi-container R development environments. Covers service definitions, volume mounts, networking, environment variables, and development vs production configurations. Use when running R alongside other services (databases, APIs), setting up a reproducible R development environment, orchestrating an R-based MCP server container, or managing environment variables and volume mounts for R projects.

Skill
pjt222

Optimize Docker Build Cache

99

Optimize Docker build times using layer caching, multi-stage builds, BuildKit features, and dependency-first copy patterns. Applicable to R, Node.js, and Python projects. Use when Docker builds are slow due to repeated package installations, when rebuilds reinstall all dependencies on every code change, when image sizes are unnecessarily large, or when CI/CD pipeline builds are a bottleneck.

Skill
pjt222

Create Multistage Dockerfile

99

Create multi-stage Dockerfiles that separate build and runtime environments for minimal production images. Covers builder/runtime stage separation, artifact copying, scratch/distroless/alpine targets, and size comparison. Use when production images are too large, when build tools are included in the final image, when you need separate dev and prod images from one Dockerfile, or when deploying to constrained environments like edge or serverless.

Skill
pjt222

© 2025 SkillRepo · Find the right skill, skip the noise.