← 返回 Skills 市场
boboy-j

ci-cd-watchdog

作者 boboy-j · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ci-cd-watchdog
功能描述
CI/CD流水线智能运维助手,自动解析构建日志、定位根因、生成修复方案与回滚指令、输出事后复盘报告
使用说明 (SKILL.md)

🐕 CI/CD 流水线智能运维助手

🎯 核心定位

将冗长构建日志转化为“阶段定位→根因诊断→修复命令→安全回滚→预防清单”的标准化运维闭环,缩短 MTTR(平均恢复时间)。

🔄 工作流指令

  1. 日志解析:按时间轴切分阶段(Build/Test/Deploy/Notify),提取失败节点与关键错误堆栈。
  2. 模式匹配:识别常见故障类型(依赖冲突/权限不足/磁盘已满/网络超时/配置漂移/代码语法)。
  3. 方案生成:输出精准修复步骤(含文件路径/行号/环境变量),区分“临时绕过”与“根本解决”。
  4. 回滚评估:若涉及生产/预发环境,生成安全回滚指令与影响面分析。
  5. 复盘输出:生成 Post-Mortem 草稿与防复发 Checklist,按标准 Markdown 模板输出。

📤 输出模板

# 🔧 CI/CD 故障诊断报告

## 1. 失败定位
| 阶段 | 错误类型 | 关键日志行 | 触发条件 |
|:---|:---|:---|:---|
| ... | ... | `Line #...` | ... |

## 2. 根因分析与修复方案
- **根本原因**:...
- **修复步骤**:
  1. `...`
  2. `...`
- **验证命令**:`...`

## 3. 回滚与影响评估(如适用)
- **回滚指令**:`...`
- **影响范围**:...
- **数据风险提示**:...

## 4. 预防 Checklist
- [ ] 添加依赖锁定文件 (package-lock.json / poetry.lock)
- [ ] 增加集成测试覆盖关键路径
- [ ] 配置构建缓存策略与超时阈值
- [ ] 环境变量注入增加类型校验
> ⚠️ 所有命令已做安全过滤。生产环境操作请走变更审批流并执行 Dry-Run。
安全使用建议
This skill is instruction-only and internally consistent with its CI/CD troubleshooting purpose, but exercise operational caution: 1) Do not paste unredacted secrets/tokens into pipeline_log — redact them as README recommends. 2) Treat generated repair and rollback commands as suggestions: review, run in staging, follow change-approval/Dry-Run procedures before applying in production. 3) Verify file paths, git commits, and environment assumptions in the output — an LLM can misdiagnose or hallucinate exact commands. 4) Because no code is installed, the skill itself does not exfiltrate data, but any sensitive information you include in inputs could be exposed in logs or downstream systems; avoid sharing secrets. If you need the skill to act directly against your CI/CD system (e.g., run git revert), prefer implementing a controlled adapter that requires explicit credentials and approval rather than pasting secrets into the skill inputs.
功能分析
Type: OpenClaw Skill Name: ci-cd-watchdog Version: 1.0.0 The ci-cd-watchdog skill is a standard DevOps utility designed to analyze CI/CD logs and provide troubleshooting reports. The instructions in SKILL.md and the schema in schema.json are strictly aligned with the stated purpose of log parsing and root cause analysis, with no evidence of data exfiltration, malicious execution, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description (CI/CD log parsing, root-cause, repair/rollback suggestions, post-mortem) match the SKILL.md, examples.json and README; no unrelated binaries, env vars, or config paths are requested.
Instruction Scope
Runtime instructions operate only on the provided pipeline_log, optional ci_platform and repo_context and describe producing diagnostics, commands and a post-mortem. This is appropriate, but the skill purposefully emits operational commands and file paths — users must not run those blindly in production. The README does advise redacting secrets and using Dry-Run/approval flows.
Install Mechanism
No install spec and no code files — instruction-only skill. Nothing will be written to disk or downloaded during install.
Credentials
The skill requests no environment variables, credentials, or config paths. The optional repo_context may include repo/branch identifiers but does not require access tokens; this is proportionate to its stated function.
Persistence & Privilege
always is false and default autonomous invocation is allowed (platform default). The skill does not request persistent system-level presence or write other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ci-cd-watchdog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ci-cd-watchdog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of ci-cd-watchdog. - Provides intelligent CI/CD pipeline troubleshooting, including log parsing, root cause analysis, and fix suggestions. - Generates standardized diagnostics reports with failure stage location, remedy steps, rollback guidance, and prevention checklist. - Supports major DevOps platforms and outputs results in markdown format. - Designed to reduce MTTR by automating incident post-mortem and recovery instructions.
元数据
Slug ci-cd-watchdog
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

ci-cd-watchdog 是什么?

CI/CD流水线智能运维助手,自动解析构建日志、定位根因、生成修复方案与回滚指令、输出事后复盘报告. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 ci-cd-watchdog?

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

ci-cd-watchdog 是免费的吗?

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

ci-cd-watchdog 支持哪些平台?

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

谁开发了 ci-cd-watchdog?

由 boboy-j(@boboy-j)开发并维护,当前版本 v1.0.0。

💬 留言讨论