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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/docker-developmentWhat This Skill Does
The docker-development skill is a specialized OpenClaw agent capability designed to transform standard, bloated container configurations into production-grade, highly optimized, and secure Docker assets. It moves beyond basic tutorials to provide an opinionated, professional workflow that addresses the common pitfalls of containerization. The skill acts as an expert DevOps engineer, performing deep analysis of your Dockerfile to suggest multi-stage build architectures, layer caching strategies, and image size reductions using slim or alpine variants. It also provides deep-dive auditing for container security, helping you identify misconfigurations, potential vulnerabilities in base images, and best practices for secret management. By automating the boilerplate of orchestration, it allows teams to focus on application code while ensuring their infrastructure remains lean, performant, and consistent across development, staging, and production environments.
Installation
To install this skill, use the following command within the OpenClaw environment:
clawhub install openclaw/skills/skills/alirezarezvani/docker-development
Use Cases
- Production Hardening: You are preparing to deploy a container to production and need to minimize the attack surface.
- Build Optimization: Your CI/CD pipeline is sluggish because Docker build layers are not utilizing caching effectively.
- Image Bloat Reduction: Your current Docker images are several gigabytes in size and you need to strip them down to the absolute essentials.
- Orchestration: You need to bridge multiple containers (database, redis, backend) into a coherent, locally reproducible development environment using docker-compose.
- Security Auditing: You are concerned about running containers as root or exposing sensitive environment variables in your build process.
Example Prompts
- "I have a heavy Node.js Dockerfile, please use /docker:optimize to reduce the image size and implement a multi-stage build."
- "Can you help me write a docker-compose.yml file that connects my Python FastAPI app to a PostgreSQL container with persistent storage?"
- "I'm worried about the security of my current container; run /docker:security and tell me if I'm doing anything dangerous."
Tips & Limitations
- Always review generated Dockerfiles before building them, especially when moving between development and production environments.
- The tool is designed to work best when you provide full context about the application's runtime requirements.
- While the tool can automate security checks, it is not a replacement for comprehensive vulnerability scanning tools like Trivy or Clair; treat it as an initial diagnostic layer.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-docker-development": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
marketing-strategy-pmm
Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.
paid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
qms-audit-expert
ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.
code-reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.