← 返回 Skills 市场
yuyonghao-123

Deployment Kit

作者 yuyonghao-123 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
160
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yuyonghao-deployment-kit
功能描述
提供基于 Docker 和 GitHub Actions 的多阶段构建、CI/CD 流水线和健康检查的生产部署套件。
安全使用建议
This skill largely behaves like a local Docker/CICD deployment helper, but there are several red flags to consider before installing or running it: 1) SKILL.md asks you to configure OPENAI_API_KEY (and 'other env vars') even though the included code does not use OpenAI — do not supply any secret keys until the author explains why they're needed. 2) The code runs shell commands (docker build/run, netstat, docker logs). That means running this skill will execute commands on your machine — ensure Docker is installed and run it in an isolated/test environment first. 3) The health-check example in the docs mismatches the script (it does not export runHealthChecks) and some commands include Windows-specific syntax (findstr, 2>nul) while other parts target Linux containers — expect cross-platform inconsistencies. 4) The docker-compose mounts a local ./config directory into the container as read-only — review that directory to ensure it does not contain secrets you'll inadvertently expose to containers. 5) If you plan to use this in production, ask the author to clarify why OpenAI credentials are mentioned, request a corrected SKILL.md that matches code exports, and audit the code (especially any shell exec invocations) before providing credentials or running on sensitive hosts.
功能分析
Type: OpenClaw Skill Name: yuyonghao-deployment-kit Version: 0.1.0 The skill bundle contains a shell injection vulnerability in 'src/deploy-manager.js' where 'child_process.exec' is used with unvalidated configuration parameters (e.g., 'imageName', 'containerName', 'port'). While these capabilities are aligned with the stated purpose of a deployment kit, the lack of input sanitization allows for arbitrary command execution. Additionally, the code uses Windows-specific shell syntax ('findstr', '2>nul') which may cause unexpected behavior or errors on non-Windows systems.
能力评估
Purpose & Capability
Files (docker-compose, deploy manager, health check, CI/CD mention) align with a deployment kit. However SKILL.md's '注意事项' asks to set OPENAI_API_KEY (and '等环境变量') even though the codebase does not consume OpenAI credentials — this is an unexplained mismatch.
Instruction Scope
Runtime instructions focus on building/running Docker and running the local health-check script (good), but examples in SKILL.md reference importing runHealthChecks from scripts/health-check.js although the script does not export that function. SKILL.md also asks user to set OPENAI_API_KEY (sensitive) without showing any runtime step that uses it. Some commands and examples are inconsistent (path and export mismatches), giving the agent or user too much ambiguous discretion.
Install Mechanism
No install spec (instruction-only) and all code is included in the bundle. Nothing is downloaded from external URLs during install, so install risk is low.
Credentials
Manifest declares no required env vars, but SKILL.md instructs to configure OPENAI_API_KEY and '等环境变量' on first run. Requesting an API key for an unrelated provider (OpenAI) is disproportionate and is not justified by the provided source code.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent platform-wide privileges. It does execute local shell commands (docker, netstat) which is expected for a deployment tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yuyonghao-deployment-kit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yuyonghao-deployment-kit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of Deployment Kit Skill. - Provides Docker-based containerization with multi-stage builds for optimal image size. - Supports one-click full stack deployment using Docker Compose. - Integrates CI/CD pipelines via GitHub Actions (build, test, deploy). - Includes health checks for gateway, disk, memory, and logs. - Features security scanning with Trivy. - Optional monitoring stack with Prometheus and Grafana. - Detailed setup instructions and configuration guidance.
元数据
Slug yuyonghao-deployment-kit
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Deployment Kit 是什么?

提供基于 Docker 和 GitHub Actions 的多阶段构建、CI/CD 流水线和健康检查的生产部署套件。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。

如何安装 Deployment Kit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuyonghao-deployment-kit」即可一键安装,无需额外配置。

Deployment Kit 是免费的吗?

是的,Deployment Kit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Deployment Kit 支持哪些平台?

Deployment Kit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Deployment Kit?

由 yuyonghao-123(@yuyonghao-123)开发并维护,当前版本 v0.1.0。

💬 留言讨论