WI

windsurf-dockerfile-generation

Automated Dockerfile creation and optimization.

Install

mkdir -p .claude/skills/windsurf-dockerfile-generation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7725" && unzip -o skill.zip -d .claude/skills/windsurf-dockerfile-generation && rm skill.zip

Installs to .claude/skills/windsurf-dockerfile-generation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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".
410 chars · catalog description✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Implement multi-stage build architectures
  • Optimize container layer caching
  • Set up security best practices for images
  • Generate orchestration files (docker-compose)

How it works

Analyzes code imports and package files to determine container requirements. It writes Dockerfile instructions based on established efficiency patterns.

Inputs & outputs

You give it
Application runtime and package manifest
You get back
Optimized Dockerfile and docker-compose.yml

When to use windsurf-dockerfile-generation

  • Containerizing a new app
  • Optimizing existing dockerfiles
  • Creating production docker configs

About this skill

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

  1. Analyze Application
  2. Select Base Image
  3. Generate Dockerfile
  4. Configure Security
  5. Test and Validate

See ${CLAUDE_SKILL_DIR}/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 ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

When not to use it

  • Applications intended for serverless-only deployment
  • Simple local scripts without dependencies

Prerequisites

Docker runtimeDefined project dependencies

Limitations

  • Requires manual verification of build steps
  • Cannot infer missing environment configuration

How it compares

It builds production-ready container configurations automatically rather than hand-writing multi-stage build files.

Compared to similar skills

windsurf-dockerfile-generation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
windsurf-dockerfile-generation (this skill)12moReviewIntermediate
storage-networking67moReviewAdvanced
kubernetes-architect64moNo flagsAdvanced
senior-devops77moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

storage-networking

pluginagentmarketplace

Master Kubernetes storage management and networking architecture. Learn persistent storage, network policies, service discovery, and ingress routing.

663

kubernetes-architect

sickn33

Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost optimization, and developer experience. Use PROACTIVELY for K8s architecture, GitOps implementation, or cloud-native platform design.

636

senior-devops

davila7

Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastructure as code, deployment automation, and monitoring. Use when setting up pipelines, deploying applications, managing infrastructure, implementing monitoring, or optimizing deployment processes.

720

gitops-workflow

sickn33

Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.

521

k8s-manifest-generator

wshobson

Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.

319

server-management

davila7

Server management principles and decision-making. Process management, monitoring strategy, and scaling decisions. Teaches thinking, not commands.

113

Search skills

Search the agent skills registry