Skip to main content
skill Claude Code

runbook-generator — Claude Code skill: what it does, how to install

Generates operational runbook scaffolding from a service name. It structures deployment, rollback, health check, and incident workflows before a production launch.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skills
Open on GitHub

What runbook-generator does

This skill scaffolds operational runbooks using scripts/runbook_generator.py. It requires Python 3. The generator outputs standard sections for health checks, rollback triggers, and incident escalation paths. Reference templates are also available in references/runbook-templates.md.

You run the script from the CLI. It accepts a service name, an optional owner via --owner, and a destination path via --output. Once the skeleton is ready, you fill in specific commands, test them in staging, and commit the markdown file right next to the service code.

Install this if you are onboarding on-call engineers or launching a service to production without docs. If your team already has a working operational runbook in place, you can skip it.

What it helps with

  • generate runbook scaffolding for a new service
  • structure rollback triggers and health checks before launching to production
  • standardize incident escalation procedures across teams
  • document operational instructions for on-call onboarding

Example prompts for the agent

  • Generate an operational runbook for payments-api and save it to docs/runbooks/payments-api.md
  • Create deployment and rollback procedures for billing-worker with platform owner
  • Run scripts/runbook_generator.py for auth-service

How to install runbook-generator

1Plugin marketplace

/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skills

This installs the whole engineering-advanced-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add alirezarezvani/claude-skills --skill runbook-generator -a claude-code

3Manually: put the files in place

~/.claude/skills/runbook-generator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/runbook-generator/

From the same set349

The whole set →
engineering-skills Alireza Rezvani An engineering skill index for Claude Code that helps you select one specialist SKILL.md for the task at hand. It covers architecture, testing, DevOps, and data work. Claude Code 2,387installs finance-skills Alireza Rezvani Routes ambiguous finance prompts to the right bundled skill: financial-analyst, saas-metrics-coach, or month-end-close. Claude Code 2,312installs marketing-skills Alireza Rezvani A directory and router for marketing skills in Claude Code. It picks the right specialist skill for SEO, content, CRO, channels, and related tasks. Claude Code 2,264installs business-growth-skills Alireza Rezvani Routes growth and revenue prompts to the right specialized skill across customer success, sales engineering, RevOps, and proposals in Claude Code. Claude Code 2,189installs engineering-advanced-skills Alireza Rezvani An index of 37 engineering skills for architecture, automation, reliability, and platform work. Use it when a project needs task-specific engineering workflows. Claude Code 2,019installs product-skills Alireza Rezvani Product work orchestrator for Claude Code. Routes queries across 16 domain lanes and validates discovery trees with deterministic scripts. Claude Code 1,994installs pm-skills Alireza Rezvani Routes project-delivery requests across 8 PM sub-skills for Jira, Confluence, sprints, reporting, and team communication. Useful for controlled delivery work. Claude Code 1,975installs senior-backend Alireza Rezvani Scaffolds backend APIs, detects database bottlenecks, and runs load tests. Useful when designing Express routes, optimizing PostgreSQL, or preparing for production. Claude Code 1,674installs

Similar

Questions about runbook-generator

How to install runbook-generator in Claude Code?

Run /plugin marketplace add alirezarezvani/claude-skills in Claude Code, or install it via npm: npx skills add alirezarezvani/claude-skills --skill runbook-generator -a claude-code.

What does runbook-generator do?

It executes a Python CLI script that produces a markdown template with sections for service health checks, rollback procedures, and escalation contacts.

What is required to run the runbook generator?

You need Python 3 installed to run scripts/runbook_generator.py. After generating the file, dry-run the commands in staging before committing it to git.

Source text

SKILL.md · MIT
---
name: "runbook-generator"
description: "Generate operational runbooks from a service name — deployment, incident response, maintenance, and rollback workflows. Templated structure customizable per environment. Use when documenting on-call procedures for a new service, standardizing incident response across teams, or producing runbooks before launching to production."
---

# 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

```bash
# 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

1. Generate the initial skeleton with `scripts/runbook_generator.py`.
2. Fill in service-specific commands and URLs.
3. Add verification checks and rollback triggers.
4. Dry-run in staging.
5. 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

1. Keep every command copy-pasteable.
2. Include health checks after every critical step.
3. Validate runbooks on a fixed review cadence.
4. Update runbook content after incidents and postmortems.

© Alireza Rezvani · MIT · alirezarezvani/claude-skills

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor