incident-commandercommit 91a20baSKILL.md · 监控与运维
事故指挥官
为生产事故分级、重建时间线并起草事后复盘,附带通报模板和运行手册框架。
npx skills add alirezarezvani/claude-skills --skill incident-commander已选中命令,请手动复制。
- 权限
- read-repo
- write-files
- shell
- network
- 兼容工具
- Claude Code, Codex, Cursor, Gemini CLI, Windsurf
- GitHub
- 29.1k
- 来源
- 社区 · Alireza Rezvani
- 状态
- 扫描通过
- 许可证
- MIT
- 分类
- 监控与运维
核心规则
按用户、收入和 SLA 影响给事故定级,并按级别固定沟通频率。
执行阶段
阶段 01事故分级
用 incident_classifier.py 按影响和紧急度划分 SEV1–SEV4,并确定响应要求。
阶段 02指挥与沟通
指挥官统筹响应,按模板和级别对应的频率向内部、管理层和客户通报。
阶段 03重建时间线
用 timeline_reconstructor.py 把分散的日志和事件整理成连贯的经过。
阶段 04事后复盘
用 pir_generator.py 按多种根因分析框架起草复盘,并沉淀为运行手册。
权限说明(据 SKILL.md 整理)
| 能力 | 是否需要 | 说明 |
|---|---|---|
| 文件写入 | 需要 | 生成分级结果、时间线、复盘报告和运行手册文档。 |
| 命令执行 | 部分需要 | 运行技能自带的三个 Python 脚本处理事故数据。 |
| 网络外发 | 不需要 | 技能未要求访问网络。 |
SKILL.md 头部信息(YAML)
---
name: "incident-commander"
description: "Use when declaring or running a production incident or outage, or writing its post-incident review. Classifies severity with incident_classifier.py, rebuilds the timeline with timeline_reconstructor.py and drafts the PIR with pir_generator.py. Security incidents: incident-response."
---相关技能
规则扫描无法覆盖所有风险,安装前请阅读此技能的 SKILL.md,确认权限后再使用。