Operational Runbook Draft
Draft an operational runbook for a service or alert: how to recognise the problem, check it, fix it safely and know when to escalate.
When to use it
Use it when an alert or recurring operational task needs written steps so that whoever is on duty, including someone unfamiliar with the service, can act without guessing. You provide the symptoms and what you know about checking and fixing it, and the prompt shapes it into a runbook with verification steps and escalation.
When not to use it: Do not use it to discover how to fix a production problem: it can only organise the knowledge you give it. Any command it writes must be checked by someone who knows the system before it enters a runbook. Never include real credentials, hostnames or customer data.
Required inputs
| Placeholder | What to provide | Example |
|---|---|---|
| {{alert_or_task}} | The alert, symptom or recurring task the runbook covers. | Alert: 'order-sync queue depth above threshold for 15 minutes'. |
| {{system_knowledge}} | What you know about the cause, how to check it, and how it has been fixed before. Include commands only if they are verified. | Usually the worker is stuck after a deploy. Check the worker logs and the queue dashboard. Restarting the worker has fixed it before. Never purge the queue: it contains unsent orders. |
| {{reader}} | Who will follow the runbook and what access and skills they have. | The on-call developer, who has dashboard access and permission to restart services, but may not know this service. |
| {{escalation}} | Who to escalate to and when, using roles instead of personal details. | The platform team's on-call engineer; escalate if the restart does not clear the queue in 20 minutes. |
The prompt
Fill in each {{placeholder}} before you send it.
You are an experienced site reliability engineer writing an operational runbook. The reader may be tired, stressed and unfamiliar with this service, so write for clarity.
<alert_or_task>
{{alert_or_task}}
</alert_or_task>
<system_knowledge>
{{system_knowledge}}
</system_knowledge>
<reader>
{{reader}}
</reader>
<escalation>
{{escalation}}
</escalation>
Write the runbook with these sections:
1. What this means: what the alert indicates and why it matters, in two or three sentences.
2. Impact: who or what is affected, and how urgent it is, based only on the facts given.
3. Quick checks: ordered steps to confirm the problem is real and to narrow the cause. For each, say what the reader should see and what a bad result looks like.
4. Fix: numbered steps for the known remedies. For each step: the action, the expected result, how to verify it worked, and how to undo it if it did not.
5. Do not: actions that are dangerous or irreversible, with the reason.
6. Escalate when: concrete conditions, and what information to hand over.
7. After the incident: what to record and follow up.
Rules:
- Use only the knowledge provided. Do not invent commands, dashboards, thresholds, service names or causes. Where a step needs a command or location that was not provided, write a bracketed placeholder such as [COMMAND TO CHECK WORKER STATUS] and add it to "Missing information".
- Mark every step that changes something in production as "Changes production" and say whether it needs approval, based on what you were told. If approval rules are unknown, say so.
- Never include a destructive step, such as deleting data or purging a queue, as a fix. List it under Do not.
- Steps must be short, in the imperative mood, with one action per step.
- State uncertainty. If the cause might differ from the one described, include a branch: "If you see X instead, go to escalation."
Output format: the runbook using the headings above, then "Missing information" (what the author must supply before this is usable) and "Assumptions made".Expected output
A runbook with a clear meaning and impact statement, ordered quick checks with expected and bad results, fix steps each with a verification and undo, a prominent Do not section, concrete escalation conditions and a closing list of missing information. Commands that were not supplied appear as bracketed placeholders, and production-changing steps are marked.
What this means
Orders are waiting to be synced and are not being processed. If this persists, they will not reach the warehouse.
Quick checks
1. Open the queue dashboard. Expected: depth falling. Bad: depth rising or flat.
2. Check worker status with [COMMAND TO CHECK WORKER STATUS]. Bad: the worker is stopped or restarting repeatedly.
Fix
1. Changes production: restart the worker using [COMMAND TO RESTART WORKER]. Approval: not stated; confirm.
Verify: queue depth starts to fall within a few minutes.
Undo: not applicable; if it does not recover, escalate.
Do not
- Purge or delete the queue. It contains unsent orders and the loss cannot be undone.
Missing information
- The commands in brackets, and the dashboard name.Limitations
- A runbook is only as good as the knowledge you give it. The assistant cannot discover causes, commands or thresholds, and will leave placeholders where you have not provided them.
- It does not know your approval rules or compliance requirements. Add them yourself.
- A generated runbook looks authoritative even when it is incomplete. It must be tested with someone who has not seen it before.
- Runbooks decay as systems change. Without an owner and a review date, the steps will become wrong.
How to validate the output
Do these before relying on anything the model returns.
- Written by
- PromptFable Editorial
- Last updated 13 Nov 2026
- Review
- Not yet reviewed
PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.