본문으로 건너뛰기
Skillpedia
글쓰기40k · #7250

incident-postmortem

하는 일

이 에이전트는 시스템이나 서비스에서 일어난 사고에 대한 자세한 보고서를 만드는 데 도움을 줍니다. 무엇이 일어났고 왜 일어났는지, 그리고 다시 일어나지 않도록 어떻게 막을지를 이해하는 데 집중하며, 누구를 탓하지 않습니다.

사용하는 경우

  • ✓서비스 중단이나 큰 속도 저하 후에.
  • ✓심각한 오류가 많은 사용자에게 영향을 준 경우.
  • ✓큰 문제 후 얻은 교훈을 기록할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/incident-postmortem/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/incident-postmortem/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“어제 웹사이트가 2시간 동안 중단된 사고에 대한 사후 분석(포스트모템)을 작성해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 사고가 언제 시작되고 끝났는지, 무엇이 영향을 받았는지, 근본 원인이 무엇인지 같은 정보를 모읍니다. 그런 다음 학습과 향후 개선에 초점을 맞춘 구조화된 문서로 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Incident Post-Mortem

Guide a team through writing a structured, blameless post-mortem after a production incident. The output is a document that builds shared understanding, identifies root causes without blame, and produces concrete action items to prevent recurrence.

Blameless Principle

Systems fail, not people. The goal is to understand HOW the incident happened — not WHO caused it. Avoid language like "X forgot to", "Y should have known". Use "the system did not", "the process lacked", "the alert did not fire".

When to Use

  • Production outage or service degradation has been resolved
  • A significant near-miss occurred (would have been an incident if caught later)
  • User-facing errors, data loss, or SLA breach happened
  • Team wants to capture learnings before context fades

Not for: Minor bugs caught in staging, planned maintenance windows, or incidents with no learning value.

Input Requirements

Gather these details before writing the post-mortem. Ask for anything missing:

Incident Metadata

  • Incident title (short, descriptive)
  • Date and time of detection (with timezone)
  • Date and time of resolution
  • Severity / impact level (P1–P4 or equivalent)
  • Incident commander / on-call owner

Impact

  • Affected services and systems
  • User-facing impact (errors, slowness, full outage)
  • Estimated number of users affected
  • Data loss or corruption (yes/no, scope)
  • SLA/SLO breach (yes/no, by how much)

Timeline Events

Key moments to reconstruct:

  • First symptom occurred
  • Alert fired (or was noticed manually)
  • On-call paged / incident declared
  • Investigation started
  • Root cause identified
  • Mitigation applied
  • Full resolution confirmed
  • Customer communication sent (if any)

Contributing Factors

Ask the team: "What made this worse than it needed to be?" — not "who failed". Examples:

  • Alert threshold too high / alert didn't fire
  • Runbook was missing or outdated
  • Deploy lacked a feature flag for rollback
  • Monitoring didn't cover this failure mode
  • On-call handoff missed context

Process

Step 1 — Gather Metadata

If the user has not provided full incident details, ask for them section by section. Don't proceed to writing until you have: title, times, severity, affected services, and at least a rough timeline.

Step 2 — Reconstruct Timeline

Work with the user to build a precise chronological timeline. For each event:

  • Exact time (UTC preferred)
  • What happened (system event or human action)
  • Who observed it or took the action
  • Link to log / alert / Slack message if available

Flag gaps: "We don't know what happened between 14:32 and 14:47 — worth checking logs."

Step 3 — Root Cause Analysis

Use the 5 Whys iteratively:

Why did users see 500 errors?
→ The API pods were crash-looping.

Why were they crash-looping?
→ Memory limit was exceeded.

Why was the limit exceeded?
→ A new query was loading full result sets into memory.

Why wasn't this caught before deploy?
→ Load tests only covered the p50 case, not high-cardinality accounts.

Why did load tests only cover p50?
→ We had no test fixtures for large accounts.

Stop when you reach a system/process gap you can fix. The last "why" should point to an action item.

Distinguish:

  • Root cause — the deepest systemic gap (one or two)
  • Contributing factors — conditions that made it worse but aren't the root cause

Step 4 — Impact Quantification

Help the user be precise:

  • Duration: detection to resolution (not symptom start to resolution — separate these)
  • Error rate at peak vs. normal baseline
  • Percentage of traffic affected
  • Revenue / business impact if known

Step 5 — Action Items

For each root cause and contributing factor, generate at least one action item:

# Action Owner Due Date Priority
1 Add load test fixtures for accounts > 10k records @eng-team 2026-07-01 High
2 Lower memory alert threshold from 90% to 75% @platform 2026-06-23 High
3 Add runbook for memory OOM pods @on-call-rotation 2026-06-30 Medium

Action items must have an owner (a person, not a team) and a due date. Vague actions like "improve monitoring" are not acceptable — break them into specific deliverables.

Step 6 — Write the Document

Produce the full post-mortem using the template below. Save to docs/postmortems/YYYY-MM-DD-<slug>.md.

Output Template

# Post-Mortem: [Incident Title]


…
자주 묻는 질문

'비난 없음(blameless)'은 무슨 뜻인가요?

개인을 가리키지 않고 시스템이나 프로세스의 실패를 이해하는 데 초점을 맞춘다는 뜻입니다. 무엇이 일어났는지 배워 시스템을 개선하는 것이 목표입니다.

어떤 정보를 제공해야 하나요?

사고의 제목, 시작과 종료 시각, 사용자와 서비스에 미친 영향, 중요한 사건의 시간순 기록 등을 알려 주어야 합니다.

'조치 항목(Action Items)'이란 무엇인가요?

문제의 근본 원인을 고치고 재발을 막기 위해 해야 할 구체적이고 명확한 작업입니다. 각 항목에는 담당자와 기한이 있습니다.

상세 정보

작성자의 원본 설명

Use when an outage, production incident, or significant service degradation has occurred and the team needs to write a structured blameless post-mortem. Triggers on phrases like "write a post-mortem", "incident review", "what went wrong", "outage report", "root cause analysis", or "RCA". Covers timeline reconstruction, contributing factor analysis, impact quantification, and action item generation

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7250
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬