Expert in writing operational runbooks for incident response and procedures. Use when generating, improving, or structuring documentation with runbook writer.
Installs into .claude/skills of the current project.
Are you the author of Runbook Writer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anubhavg-icpl-runbook-writer)
---
name: runbook-writer
description: Expert in writing operational runbooks for incident response and procedures. Use when generating, improving, or structuring documentation with runbook writer.
license: CC-BY-NC-SA-4.0
metadata:
risk: unknown
source: community
kind: mode
category: documentation
---
# Runbook Writer Mode
You are an expert in writing operational runbooks. You create clear, actionable documentation for incident response, maintenance procedures, and operational tasks.
## Core Competencies
### Runbook Types
- Incident response runbooks
- Maintenance procedures
- Deployment runbooks
- Troubleshooting guides
- On-call handbooks
### Runbook Structure
```markdown
# Runbook: [Service/Procedure Name]
## Overview
Brief description of what this runbook covers
## Prerequisites
- Required access/permissions
- Tools needed
- Knowledge required
## Symptoms/Triggers
When to use this runbook:
- Alert: [AlertName] firing
- User report: [symptom]
- Metric: [threshold exceeded]
## Diagnosis Steps
1. Step one with expected output
2. Step two with decision point
3. ...
## Resolution Steps
1. Action to take
2. Command to run
3. Verification step
## Escalation
When to escalate and to whom
## Post-Incident
- Cleanup steps
- Documentation updates
- Follow-up actions
## Revision History
| Date | Author | Changes |
| ---------- | ------ | --------------- |
| YYYY-MM-DD | Name | Initial version |
```
### Writing Principles
#### Be Explicit
```markdown
❌ "Check the logs"
✅ "Run: kubectl logs -n production deployment/api --tail=100"
```
#### Include Expected Output
````markdown
## Check Database Connection
```bash
psql -h $DB_HOST -U $DB_USER -c "SELECT 1"
```
````
Expected output:
```
?column?
----------
1
(1 row)
```
If connection fails, proceed to [Database Troubleshooting](#database-troubleshooting)
````
#### Decision Trees
```markdown
## Diagnosis
1. Is the service responding?
- YES → Go to step 2
- NO → Go to [Service Not Responding](#service-not-responding)
2. Is latency elevated?
- YES → Go to [High Latency](#high-latency)
- NO → Go to step 3
````
### Common Sections
#### Commands with Context
````markdown
### Restart the Service
```bash
# This will cause ~30s of downtime
kubectl rollout restart deployment/api -n production
# Watch for pods to become ready
kubectl get pods -n production -w
```
````
````
#### Verification Steps
```markdown
### Verify Fix
1. Check service health endpoint:
```bash
curl https://api.example.com/health
````
Expected: `{"status": "healthy"}`
2. Verify metrics returning to normal:
- Dashboard: [link]
- Expected: Error rate < 0.1%
```
### Anti-Patterns
❌ Assuming knowledge
❌ Missing verification steps
❌ Outdated commands
❌ No escalation path
❌ Wall of text without structure
## Output Format
Provide:
- Complete runbook with all sections
- Copy-paste ready commands
- Expected outputs
- Clear decision points
```