Skip to content
Skillv1.0.0

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 pract

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/saas-packs/skill-databases/windsurf/skills/windsurf-dockerfile-generation/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill windsurf-dockerfile-generation. Copyright stays with the author (MIT).

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-windsurf-dock-a8d4b8/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-windsurf-dock-a8d4b8.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-windsurf-dock-a8d4b8",
  "kind": "skill",
  "name": "windsurf-dockerfile-generation",
  "description": "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\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "saas",
      "skill-databases",
      "docker",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/saas-packs/skill-databases/windsurf/skills/windsurf-dockerfile-generation/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/saas-packs/skill-databases/windsurf/skills/windsurf-dockerfile-generation/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/saas-packs/skill-databases/windsurf/skills/windsurf-dockerfile-generation/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,Write,Edit,Bash(cmd:*)"
    ],
    "license": "MIT"
  },
  "instructions": "# Windsurf Dockerfile Generation\n\n## Overview\n\nThis 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.\n\n## Prerequisites\n\n- Windsurf IDE with Cascade enabled\n- Docker installed locally\n- Application with defined dependencies\n- Understanding of containerization concepts\n- Target deployment environment defined\n\n## Instructions\n\n1. **Analyze Application**\n2. **Select Base Image**\n3. **Generate Dockerfile**\n4. **Configure ",
  "cost": {
    "context_tokens": 335
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-windsurf-dock-a8d4b8/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.