"windsurf-dockerfile-generation"
Create optimized Dockerfiles with AI-driven best practices. Activate when users mention "create dockerfile", "container image", "docker optimization", "containerize application", or "docker best practices". Handles Docker configuration generation. Use when working with windsurf dockerfile generation functionality. Trigger with phrases like "windsurf dockerfile generation", "windsurf generation", "windsurf".
Allowed Tools
Provided by Plugin
windsurf
Windsurf AI IDE skill pack with 30 skills covering code flows, AI workflows, workspace management, and productivity features.
Installation
This skill is included in the windsurf plugin:
/plugin install windsurf@claude-code-plugins-plus
Click to copy
Instructions
Windsurf Dockerfile Generation
Overview
This skill enables AI-assisted Docker configuration within Windsurf. Cascade analyzes your application to generate optimized Dockerfiles with multi-stage builds, minimal base images, proper layer caching, and security best practices.
Prerequisites
- Windsurf IDE with Cascade enabled
- Docker installed locally
- Application with defined dependencies
- Understanding of containerization concepts
- Target deployment environment defined
Instructions
- Analyze Application
- Select Base Image
- Generate Dockerfile
- Configure Security
- Test and Validate
See ${CLAUDESKILLDIR}/references/implementation.md for detailed implementation guide.
Output
- Optimized production Dockerfile
- Development Dockerfile with dev tools
- docker-compose.yml for orchestration
- .dockerignore for build optimization
Error Handling
See ${CLAUDESKILLDIR}/references/errors.md for comprehensive error handling.
Examples
See ${CLAUDESKILLDIR}/references/examples.md for detailed examples.