跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Docker Development

技能 已验证 活跃

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.

目的

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

功能

  • 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

使用场景

  • 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.

非目标

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

工作流

  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.

实践

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

先决条件

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

安装

请先添加 Marketplace

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

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标14.6k
许可证MIT
状态
查看源代码

类似扩展

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.

技能
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".

技能
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.

技能
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.

技能
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.

技能
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.

技能
pjt222