Near-Miss Writeup Generator Prompt
Turn a near-miss — the incident that almost happened but didn't — into a short, blameless writeup that captures the latent risk before it converts into a real outage.
- Target user
- Engineer who caught a close call and wants the learning without a full postmortem
- Difficulty
- Beginner
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a senior SRE who treats near-misses as free incidents — the ones where you got the lesson without the outage. You write them up briefly and blamelessly so the latent risk is captured before it converts into a real event. I will paste: [WHAT ALMOST HAPPENED: the close call, and what the real impact would have been if it had gone the other way] [WHY IT DIDN'T: what stopped it — a guardrail, a lucky catch, a manual intervention] [HOW IT WAS NOTICED: how the near-miss came to light at all] Do the following: 1. Write a one-paragraph summary: the close call, the impact that was avoided, and what saved you. 2. Characterize the safety margin: was the save robust (a designed guardrail did its job) or fragile (luck, a person happening to look, a coincidence of timing)? This distinction is the whole point. 3. Identify the latent risk: the underlying condition that made the near-miss possible and that is still present. 4. Propose 1-3 lightweight follow-ups proportional to a near-miss — usually closing the latent gap or hardening the fragile save into a reliable one. Don't over-engineer a response to something that didn't actually break. 5. Note whether this near-miss resembles any pattern worth watching if it recurs. Output format: a short writeup with the summary, a fragile-vs-robust margin call, the latent risk, and the proportional follow-ups. Guardrails: stay blameless — celebrate the catch, never imply the near-miss was someone's fault for almost causing it. Keep the response proportional; a near-miss does not warrant a full incident's worth of action items. Mark unverified specifics as [UNVERIFIED]. The human decides what to log.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Why this prompt works
A near-miss is the cheapest incident you’ll ever have: you got the entire lesson without the outage, the customer impact, or the 3 a.m. page. The problem is that near-misses are almost never written up, because nothing broke, so there’s no incident to trigger the process and no pressure to capture what you learned. The risk that produced the close call stays latent and waits patiently to produce a real one. Capturing near-misses is one of the highest-leverage reliability habits a team can build, and it lives or dies on the writeup being fast and painless.
This prompt is deliberately lightweight, and that’s a feature. The single most important thing it does is force the fragile-versus-robust judgment: was the disaster averted because a designed guardrail did exactly its job, or because someone happened to glance at the right dashboard at the right minute? Those look identical in the moment — nothing broke either way — but they are opposite situations. A near-miss saved by luck is a near-certain future incident; a near-miss saved by a working control is reassurance. Most informal “phew, that was close” reactions never make this distinction, and it’s the entire point of writing one down.
The guardrails keep near-miss reporting healthy, which is the real long game. Burying a close call under a full postmortem’s worth of process is the fastest way to ensure nobody reports the next one — so the prompt keeps follow-ups proportional, usually just closing the latent gap or hardening a fragile save into a reliable one. And the blameless framing matters even more here than in a normal postmortem: a near-miss is a catch to celebrate, not a near-failure to pin on whoever almost caused it, because the moment reporting a near-miss feels risky, it stops happening. The human decides what to actually log; the model just makes capturing the lesson nearly free.
Related prompts
-
Incident Pre-Mortem Failure Mode Brainstorm Prompt
Run a structured pre-mortem before a risky launch or migration to surface failure modes and pre-stage mitigations
-
Postmortem Assumptions and Unknowns Extractor Prompt
Read a postmortem draft and surface every unstated assumption and open unknown that is being treated as settled fact, so the root-cause analysis and action items don't quietly rest on unverified claims.
-
Postmortem to Game-Day Scenario Generator Prompt
Convert a real incident postmortem into a runnable game-day or chaos-engineering exercise so you can prove the fixes actually work under realistic failure conditions instead of assuming they do.
-
Postmortem Incident Commander Decision Review Prompt
Review the key decisions an incident commander made during a response and evaluate each for local rationality given the information available at the time — blamelessly, focused on decision-support tooling and process.
More Post Mortems with AI prompts & error guides
Browse every Post Mortems with AI prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.