원클릭으로
postmortem
Write incident postmortems using the DERP model (Detection, Escalation, Recovery, Prevention). Integrates with incident.io.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write incident postmortems using the DERP model (Detection, Escalation, Recovery, Prevention). Integrates with incident.io.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Monitor CI checks after pushing, detect flaky vs legit failures, and auto-fix
End-of-day counterpart to wake-me-up. Reads today's morning briefing at ~/dev/ai/notes/wake-me-up/{date}.md, asks the user what they shipped or resolved, drafts a Slack wrap-up post in the user's voice, shows the draft for explicit confirmation, then posts it on the user's behalf via the Slack MCP. Appends the posted summary back to the briefing file so the file is a full day record. Use when the user says "/closing-time", "wrap the day", "end of day post", or wants help summarizing what they did.
Commit staged/unstaged changes with a well-crafted commit message.
Create or update a GitHub PR with automatic template detection and filling
Plan, implement, and iteratively review a task end-to-end using Claude + Copilot reviewers in a linear flow.
Investigate what it would take to upgrade a library from its currently pinned version to a target version (or "latest"). Produces a migration assessment — version delta, breaking changes that apply to us, impacted files, estimated blast radius, suggested rollout — and STOPS there. Does not perform the upgrade unless the user explicitly asks. Use when the user says "investigate updating <pkg> from X to Y", "investigate updating <pkg> to latest", "we are behind on <pkg>", or "let's update <pkg> to version N".
| name | postmortem |
| description | Write incident postmortems using the DERP model (Detection, Escalation, Recovery, Prevention). Integrates with incident.io. |
| argument-hint | ["find|list|from <path>|<incident-id-or-slug>"] |
Write structured incident postmortems using the DERP model.
Parse the argument to determine the mode:
| Argument | Mode | Action |
|---|---|---|
| (none) | Interactive | Ask for incident details, then create/continue |
find or list | List | Run postmortem-list.sh and display results |
find <slug> | Find | Run postmortem-find.sh <slug> |
from <path> | Generate from notes | Read notes file and generate postmortem |
<incident-id-or-slug> | Create/Continue | Run postmortem-find-or-create.sh |
All scripts are in: ~/.dotfiles/ai/skills/postmortem/scripts/
postmortem-find-or-create.sh <id-or-slug> - Find or return path for new postmortempostmortem-find.sh [slug] - Find specific or list allpostmortem-list.sh - List all postmortems with metadataOutput format is tab-separated for easy parsing.
Postmortems are stored at: ~/dev/ai/postmortems/PostHog/{slug}.md
Use the template at: ~/.dotfiles/ai/skills/postmortem/templates/derp-postmortem.md
When the user provides a path to existing notes (/postmortem from <path>):
Read the notes file at the provided path
Extract incident identifier:
Map notes content to DERP sections:
| Notes Content | Maps To |
|---|---|
| Timeline entries with times | Detection timeline, Recovery timeline |
| "Root cause", "Why did this happen" | Prevention → Root Cause |
| Actions taken, "We did X" | Recovery → Actions |
| Team mentions, "@person" | Escalation → Who responded |
| Alert mentions, monitoring | Detection → How detected |
| "Action items", "TODO", "Follow-up" | Prevention → Action Items |
| Impact statements, user counts | Summary → Impact |
Generate draft postmortem:
postmortem-find-or-create.sh with the identifierShow the user what was extracted and what gaps remain
Offer to fill gaps through the interactive DERP interview
Guide the user through each section with targeted questions. Only ask about sections that are incomplete. Ask one section at a time — don't present all questions at once.
Update the status frontmatter field as the postmortem progresses:
draft - Gathering informationin-review - All sections complete, awaiting team reviewcomplete - Reviewed and finalizedWhen displaying postmortem status, show title, status/severity/duration, file path, and per-section completion. For example:
Postmortem: {title}
Status: {status} | Severity: {severity} | Duration: {duration}
Path: {path}
Sections:
[x] Summary
[ ] Detection - needs timeline details
[x] Escalation
[ ] Recovery - missing automation opportunities
[x] Prevention (3 action items)