Skip to main content

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".

跳到安装

来源信息

仓库
RunnerQuan/SAFE-Agent
最近来源活动
2026年3月30日 04:33
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
7 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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".
allowed-tools
Read,Write,Edit,Bash(cmd:*)
version
1.0.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
# 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. It supports Node.js, Python, Go, Java, and other common runtimes with framework-specific optimizations. ## 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 `{baseDir}/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 `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Windsurf Docker Guide](https://docs.windsurf.ai/features/docker) - [Docker Best Practices](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) - [Container Security Guide](https://docs.windsurf.ai/guides/container-security)
在 GitHub 查看