Runbook assistant

From AsiaOstrich/universal-dev-standards · View interactive version

Runbook assistant is an AI agent skill from the GitHub repository AsiaOstrich/universal-dev-standards. 引导 Runbook 的撰写、维护与演练。 Use when: 撰写 Runbook、规划演练、审计 Runbook 覆盖范围、事故后更新 Runbook。 Not for: 处理正在进行中的事故——请用 /incident;部署流程本身——请用 /deploy。 Keywords: runbook, operations, drill, on-call, procedure, 运维手册, 演练, 值班, 标准流程.

How to use this skill

Skill file

Runbook 助手

语言: English | 简体中文

引导 Runbook 撰写、维护、演练和覆盖率报告。

功能

| 功能 | 说明 |

|------|------|

| 创建 Runbook | 从标准模板生成 Runbook(7 个章节) |

| 演练规划 | 规划和记录演练 |

| 覆盖率报告 | 检查 P1-P4 告警的 Runbook 覆盖率 |

| 质量审查 | 验证 Runbook 质量(6 个原则) |

| 过期检查 | 识别过期需审查的 Runbook |

使用方式

/runbook                              # 显示 Runbook 指南
/runbook create "api-latency-high"    # 为告警创建 Runbook
/runbook drill                        # 规划演练
/runbook coverage                     # 生成覆盖率报告

下一步引导

Runbook 引导完成。建议下一步:

- 执行 /observability --alerting 连接告警到 Runbook ⭐ 推荐

- 执行 /incident --postmortem 从事故更新 Runbook

- 执行 /checkin 提交变更

部署 Runbook — 强制规则

任何包含 destructive-update(stop → swap → start)的部署 runbook 必须遵循 Defensive Deployment Ordering 顺序:解压到 staging → verify → 通过后才动 live install。跳过 verify 步骤已造成真实的生产事故。

参考

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.