agentleFS
nisarthnisarth/claude-skills-store/skills/operations/runbook/SKILL.md

runbook

Skill1 starsChanged 7 months agoMITView on GitHub

Create operational runbooks with step-by-step procedures, troubleshooting decision trees, and rollback instructions. Use when documenting a task that on-call needs to run repeatably, turning tribal knowledge into exact steps, or adding troubleshooting to a procedure. Trigger with "runbook", "create a runbook", "operational procedure", "on-call guide", or "playbook".

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident, discover and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JkudjoSkill

    incident

    Production incident response — structured triage, hypothesis tree, safe remediation, incident record

    Also in 4 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 4 projects that use this

  • asterkinSkill

    adr

    Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.

    Also in 5 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 4 projects that use this

  • SentrySkill

    e2e

    Run E2E tests for Sentry JavaScript SDK test applications

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create structured runbooks with step-by-step procedures, troubleshooting, rollback, and escalation paths.

    line 25
  2. Distinctive:

    Action: Document trigger conditions, pre-failover checks (replica lag, connections), promotion commands, connection string updates, …

    line 98
  3. Distinctive:

    Action: Document alert identification, initial diagnostics (process, memory profile, recent deploys), remediation options (restart, scale, …

    line 101
  4. Distinctive:

    Write commands that can be copy-pasted with all flags and parameters.

    line 105
  5. Distinctive:

    Test by having someone unfamiliar follow the runbook.

    line 107
  6. Distinctive:

    Add decision points explicitly with if/then branches.

    line 109

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Runbook Creation

Create structured runbooks with step-by-step procedures, troubleshooting, rollback, and escalation paths. Designed so any qualified operator can execute reliably.

Workflow

Step 1: Define Scenario

Trigger (alert, schedule, request, incident), scope, prerequisites (access, permissions, tools), expected duration, frequency, and SLA/SLO impact.

Step 2: Write Procedure

For each step: number and title, exact command or action in code blocks, expected output, failure indicators, decision points (if-then branches), and wait conditions.

Step 3: Add Troubleshooting

For common problems: symptom, likely cause, resolution steps, and when to stop troubleshooting and escalate.

Step 4: Define Rollback

Trigger conditions (specific error thresholds), ordered reversal steps, verification checks, and data considerations.

Step 5: Add Metadata

Owner, last tested date, escalation contacts by tier, related runbooks, and change history.

Output Format

## Runbook: [Task Name]
**ID**: RB-[NNN] | **Owner**: [Name] | **Last Tested**: [YYYY-MM-DD]
**Trigger**: [What initiates this] | **Duration**: [Est.] | **Frequency**: [How often]

### Prerequisites
- [ ] Access to [system] with [role]
- [ ] [Tool] installed

### Procedure

**Step 1: [Action]**

[exact command]

- Expected: [What you should see]
- If fails: [What to do]

**Step 2: [Action]**

[exact command]

- Decision: If [condition], go to Step [X].

### Verification
- [ ] [Confirmation check 1]
- [ ] [Confirmation check 2]

### Troubleshooting
| Symptom | Likely Cause | Resolution |
|---------|-------------|------------|
| [What you see] | [Why] | [Fix] |

### Rollback
**Trigger**: [Conditions] | **Duration**: [Est.]
1. [Rollback step]
2. Verify: [Confirmation]

### Escalation
| Tier | Contact | When to Escalate |
|------|---------|------------------|
| 1 | [Name/Channel] | [Condition] |

Examples

User: "Create a runbook for database failover to the replica" Action: Document trigger conditions, pre-failover checks (replica lag, connections), promotion commands, connection string updates, verification queries, and rollback to original primary.

User: "On-call runbook for high memory alerts on production" Action: Document alert identification, initial diagnostics (process, memory profile, recent deploys), remediation options (restart, scale, clear cache), root cause steps, and escalation criteria.

Best Practices

  • Write commands that can be copy-pasted with all flags and parameters.
  • Include expected output for every step so operators know they are on track.
  • Test by having someone unfamiliar follow the runbook. If they get stuck, add detail.
  • Include timing expectations ("takes approximately 5 minutes") to distinguish "running" from "broken."
  • Add decision points explicitly with if/then branches.
  • Version the runbook and record when it was last tested.
  • Store where on-call can access during an incident (not in a system that might be down).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.