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.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skillsWhat 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-skillsThis 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-code3Manually: put the files in place
~/.claude/skills/runbook-generator/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/runbook-generator/
Manually: put the files in place
.agents/skills/runbook-generator/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/runbook-generator/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install alirezarezvani/claude-skills runbook-generator2Manually: put the files in place
.github/skills/runbook-generator/SKILL.mdPlatform CLI
gemini skills install https://github.com/alirezarezvani/claude-skills --path engineering/skills/runbook-generatorManually: put the files in place
.devin/skills/runbook-generator/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set349
The whole set →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