Production Error Triage Runbook
Create a systematic runbook for triaging production errors
Create a production error triage runbook for: **Application:** [APP_DESCRIPTION] **Error:** [ERROR_MESSAGE_OR_STACK_TRACE] **Impact:** [AFFECTED_USERS_OR_ENDPOINTS] Generate a step-by-step triage guide: 1. **Severity classification** — P0/P1/P2/P3 based on impact scope 2. **Immediate actions** — what to check first (logs, metrics, recent deploys) 3. **Root cause investigation** — decision tree for common causes: - Recent deployment? → Check diff, rollback procedure - Infrastructure? → Check CPU, memory, disk, connections - External dependency? → Check third-party status pages - Data issue? → Check for corrupt or missing records 4. **Log query templates** — exact queries for your logging system 5. **Mitigation options** — ranked by speed (feature flag, rollback, hotfix, config change) 6. **Communication template** — status update for stakeholders 7. **Post-mortem checklist** — what to document after resolution Format as a runbook with checkboxes for each step.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Debugging Prompts
Related debugging templates from the vault
Network Request Waterfall Analyzer
Use this prompt to network request waterfall analyzer with AI assistance
Stack Trace Decoder and Fixer
Use this prompt to stack trace decoder and fixer with AI assistance
Systematic Bug Diagnosis
Get structured help diagnosing a bug you cannot figure out
Systematic Memory Leak Hunter
Systematically identify and fix memory leaks in a production application using heap snapshots and allocation tracking
You Might Also Like
Prompts from other categories that share similar tags
Runbook Generator for Operations
Create operational runbooks for common maintenance and incident tasks
Disaster Recovery Runbook
Use this prompt to disaster recovery runbook with AI assistance
Troubleshooting Guide Generator
Use this prompt to troubleshooting guide generator with AI assistance
Security Incident Response Plan
Use this prompt to security incident response plan with AI assistance
Keep Exploring the Vault