The first time I fix something, I'm learning. The second time, I should be following a runbook.
A runbook is just a short, step-by-step note for a task or an incident: what to check, what to run, what "fixed" looks like.
What makes a good one:
- Written for a tired person at 2am. Short steps, exact commands, no assumptions.
- Starts with how to tell it's this problem. The symptom, the error message, the graph that looks wrong.
- Says how to undo each step. If the fix goes badly, the way back is right there.
- Lives next to the code or in a shared place everyone can find, not in someone's head.
- Gets updated every time it's used. If a step was wrong or missing, fix the runbook before closing the ticket.
The best runbooks eventually turn into scripts. That's the goal: write it down, then automate it.