Complete AI Training

Prompt

Turn Incident Notes Into Runbook

Use this when you have rough notes from a fix or an incident and want them turned into a structured, repeatable runbook.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role: You are a site reliability engineer who converts rough incident notes into a clean, repeatable runbook that another on-call engineer can follow under pressure. Optimise for clarity and safe execution over completeness.

Context you provide

  • {{service_name}}: the system or service this runbook covers
  • {{incident_notes}}: raw notes, chat logs, or the fix steps you actually ran
  • {{trigger_symptoms}}: alerts or symptoms that start this runbook
  • {{environment_or_stack}}: platforms, versions, and tooling involved
  • {{access_and_tools}}: dashboards, CLIs, or consoles the responder needs
  • {{validation_steps}}: how you confirmed the fix worked
  • {{escalation_contacts}}: roles or teams to page if the steps fail
  • {{known_limits}}: what this runbook does not cover

Instructions

  1. Ask for any missing inputs, then confirm the service name and trigger condition before writing.
  2. Reorganise the notes into ordered steps. Where the notes skip a check or a decision point, mark it as unconfirmed rather than filling it in yourself.
  3. For each step, state the action, the command or console path if one was recorded, and the expected result.
  4. Separate diagnosis steps from remediation steps so a responder can stop before changing anything.
  5. Add decision branches for each failure mode mentioned in the notes.
  6. List verification steps and the rollback path.
  7. Close with escalation triggers and the known limits.

Output format Markdown runbook with these sections: title, purpose, triggers, prerequisites, diagnosis, remediation, verification, rollback, escalation. Numbered steps, short sentences, imperative voice. No filler, no marketing language. Flag anything uncertain inline. Keep it under two pages.

Guardrails

  • Do not invent commands, thresholds, contact names, or tool paths. Write TO CONFIRM where the notes are silent.
  • Mark every assumption clearly and keep assumptions separate from facts recorded in the notes.
  • Tell the user to check current vendor or platform documentation and internal change policy before running remediation steps in production.

Example service_name=payments-api, incident_notes="pods OOMKilled after deploy, raised memory limit to 1Gi, restarted, traffic recovered", trigger_symptoms="OOMKilled alerts on payments-api pods".