ci-cd-watchdog

CI/CD流水线智能运维助手,自动解析构建日志、定位根因、生成修复方案与回滚指令、输出事后复盘报告

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ci-cd-watchdog" with this command: npx skills add boboy-j/ci-cd-watchdog

🐕 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。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Senior Devops

Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastruc...

Registry SourceRecently Updated
4K7Profile unavailable
Coding

OpenClaw Mobile Gateway Installer

Installs and manages OpenClaw mobile gateway as a system service. Invoke when users need one-command deploy, start, stop, upgrade, or uninstall.

Registry SourceRecently Updated
2850Profile unavailable
Coding

Version Drift Publish

One command to check if your entire stack is up to date. SSHes into servers, queries APIs, and compares installed versions against latest — across every serv...

Registry SourceRecently Updated
2500Profile unavailable
Coding

Vultr

Manage Vultr cloud infrastructure including VPS instances, bare metal, Kubernetes clusters, databases, DNS, firewalls, VPCs, object storage, and more. Use wh...

Registry SourceRecently Updated
3521Profile unavailable