runbook-generator
它能做什么
这项技能为软件服务创建称为运行手册的操作指南。适合需要明确部署、事件处理和回滚步骤的团队。
适用场景
- ✓当某个服务还没有运行手册、上线前需要一份基本版本的时候。
- ✓当团队的运行手册格式不统一、需要统一格式的时候。
- ✓当新的值班人员需要标准操作文档的时候。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/runbook-generator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我们的支付 API 创建运行手册,涵盖部署、事故处理和回滚。”
每周 5 个新技能,1 分钟读完。
工作原理
它会生成包含启动、停止、健康检查和回滚等标准章节的运行手册框架,然后由你补充服务的具体细节。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Runbook Generator
Tier: POWERFUL
Category: Engineering
Domain: DevOps / Site Reliability Engineering
Overview
Generate operational runbooks quickly from a service name, then customize for deployment, incident response, maintenance, and rollback workflows.
Core Capabilities
- Runbook skeleton generation from a CLI
- Standard sections for start/stop/health/rollback
- Structured escalation and incident handling placeholders
- Reference templates for deployment and incident playbooks
When to Use
- A service has no runbook and needs a baseline immediately
- Existing runbooks are inconsistent across teams
- On-call onboarding requires standardized operations docs
- You need repeatable runbook scaffolding for new services
Quick Start
# Print runbook to stdout
python3 scripts/runbook_generator.py payments-api
# Write runbook file
python3 scripts/runbook_generator.py payments-api --owner platform --output docs/runbooks/payments-api.md
Recommended Workflow
- Generate the initial skeleton with
scripts/runbook_generator.py. - Fill in service-specific commands and URLs.
- Add verification checks and rollback triggers.
- Dry-run in staging.
- Store runbook in version control near service code.
Reference Docs
references/runbook-templates.md
Common Pitfalls
- Missing rollback triggers or rollback commands
- Steps without expected output checks
- Stale ownership/escalation contacts
- Runbooks never tested outside of incidents
Best Practices
- Keep every command copy-pasteable.
- Include health checks after every critical step.
- Validate runbooks on a fixed review cadence.
- Update runbook content after incidents and postmortems.
常见问题
它会自动填入我的服务细节吗?
不会。它只创建结构,由你添加服务所需的命令、链接和检查项。
运行手册应存放在哪里?
该技能建议把它与服务代码一起保存在版本控制中。
它包含回滚步骤吗?
包含。回滚是标准章节之一,与部署和事故响应并列。
详情
作者的原始描述
Use when a service needs runbooks for deploy, incident response, maintenance or rollback, before launch. Generates them per environment with runbook_generator.py.
热度
- GitHub 星标
- 29k
- 排名
- #9598
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。