Generate Docker Compose and Dockerfile configurations for local development through interactive Q&A. Supports PHP/Laravel, WordPress, Drupal, Joomla, Node.js, and Python stacks with Nginx, Supervisor/PM2, databases, Redis, and email testing. Always asks clarifying questions before generating configurations.
View on GitHubthienanblog/awesome-ai-agent-skills
workflow-skills
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/thienanblog/awesome-ai-agent-skills/blob/main/skills/docker-local-dev/SKILL.md -a claude-code --skill docker-local-devInstallation paths:
.claude/skills/docker-local-dev/# Docker Local Development Environment Generator ## Overview This skill helps you create optimized Docker development environments for your projects. It generates `docker-compose.yml`, `Dockerfile`, and related configurations through an interactive, question-driven workflow. **When to use this skill:** - Setting up a new Docker development environment - Dockerizing an existing project for local development - Adding services (database, Redis, email testing) to your Docker setup - Updating or merging with existing Docker configurations **Key Principle:** This skill ALWAYS asks questions before making decisions. You will be notified about each configuration choice and can adjust settings to match your exact needs. ## Important Notice This skill uses an **interactive approach**. Before generating any files, I will: 1. Run auto-detection scripts to identify your tech stack (saves AI tokens) 2. Present the detection results for your confirmation 3. Ask 10-15 clarifying questions about your preferences 4. Show you a preview before creating or modifying files **Why this approach?** Docker configurations are project-specific. Asking questions ensures the setup matches YOUR requirements, not generic defaults. This prevents issues and saves debugging time later. ## Quick Start To generate a Docker development environment: 1. Navigate to your project root 2. Tell the AI: "Use the docker-local-dev skill to set up Docker" 3. Confirm or correct the auto-detected tech stack 4. Answer the configuration questions 5. Review and approve the generated files ## Supported Tech Stacks | Stack | Framework/CMS | Process Manager | Notes | |-------|--------------|-----------------|-------| | PHP | Laravel 10/11/12 | Supervisor | Queue workers, scheduler | | PHP | WordPress | WP-CLI | Debug plugins, error logging | | PHP | Drupal 10/11 | Drush | Development services | | PHP | Joomla 4/5 | - | CLI tools, debug mode | | Node.js | Express, NestJS, Next.js | PM2 or Supervisor | Hot relo