ASD

Postmortem Writing

Escribe postmortems blameless efectivos con análisis de causa raíz, timelines y action items para incident reviews y procesos de respuesta.

Estrellas
38.8k

en todo el repo

Actividad
47

0–100, la ruta de este skill

Actualizado
hace 2 meses

último commit aquí

Commits
1

últimos 90 días

Contexto
1.7k tok

51 tok en reposo

Paquete
2 archivos

12 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add wshobson/agents --skill postmortem-writing --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Guía para escribir postmortems blameless con timeline, análisis de causa raíz y action items
  • Aporta plantillas para 5 Whys, postmortems rápidos y guía de facilitación de reuniones
  • Distingue prácticas blame-focused de blameless y define anti-patrones a evitar

Úsalo cuando

  • Conducir revisiones post-incidente
  • Escribir documentos de postmortem
  • Facilitar reuniones de postmortem blameless
  • Identificar causas raíz y crear action items de seguimiento

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Ayúdame a escribir el postmortem del incidente de ayer
    • Necesito hacer un análisis de 5 Whys para esta caída
    • Cómo facilito una reunión de postmortem sin culpar a nadie

    SKILL.md

    En inglés

    Postmortem Writing

    Comprehensive guide to writing effective, blameless postmortems that drive organizational learning and prevent incident recurrence.

    When to Use This Skill

    • Conducting post-incident reviews
    • Writing postmortem documents
    • Facilitating blameless postmortem meetings
    • Identifying root causes and contributing factors
    • Creating actionable follow-up items
    • Building organizational learning culture

    Core Concepts

    1. Blameless Culture

    Blame-Focused Blameless
    "Who caused this?" "What conditions allowed this?"
    "Someone made a mistake" "The system allowed this mistake"
    Punish individuals Improve systems
    Hide information Share learnings
    Fear of speaking up Psychological safety

    2. Postmortem Triggers

    • SEV1 or SEV2 incidents
    • Customer-facing outages > 15 minutes
    • Data loss or security incidents
    • Near-misses that could have been severe
    • Novel failure modes
    • Incidents requiring unusual intervention

    Quick Start

    Postmortem Timeline

    Day 0: Incident occurs
    Day 1-2: Draft postmortem document
    Day 3-5: Postmortem meeting
    Day 5-7: Finalize document, create tickets
    Week 2+: Action item completion
    Quarterly: Review patterns across incidents
    

    Templates and detailed worked examples

    Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

    References

    
    ### Template 2: 5 Whys Analysis
    
    ```markdown
    # 5 Whys Analysis: [Incident]
    
    ## Problem Statement
    
    Payment service experienced 47-minute outage due to database connection exhaustion.
    
    ## Analysis
    
    ### Why #1: Why did the service fail?
    
    **Answer**: Database connections were exhausted, causing all new requests to fail.
    
    **Evidence**: Metrics showed connection count at 100/100 (max), with 500+ pending requests.
    
    ---
    
    ### Why #2: Why were database connections exhausted?
    
    **Answer**: Each incoming request opened a new database connection instead of using the connection pool.
    
    **Evidence**: Code diff shows direct `DriverManager.getConnection()` instead of pooled `DataSource`.
    
    ---
    
    ### Why #3: Why did the code bypass the connection pool?
    
    **Answer**: A developer refactored the repository class and inadvertently changed the connection acquisition method.
    
    **Evidence**: PR #1234 shows the change, made while fixing a different bug.
    
    ---
    
    ### Why #4: Why wasn't this caught in code review?
    
    **Answer**: The reviewer focused on the functional change (the bug fix) and didn't notice the infrastructure change.
    
    **Evidence**: Review comments only discuss business logic.
    
    ---
    
    ### Why #5: Why isn't there a safety net for this type of change?
    
    **Answer**: We lack automated tests that verify connection pool behavior and lack documentation about our connection patterns.
    
    **Evidence**: Test suite has no tests for connection handling; wiki has no article on database connections.
    
    ## Root Causes Identified
    
    1. **Primary**: Missing automated tests for infrastructure behavior
    2. **Secondary**: Insufficient documentation of architectural patterns
    3. **Tertiary**: Code review checklist doesn't include infrastructure considerations
    
    ## Systemic Improvements
    
    | Root Cause    | Improvement                       | Type       |
    | ------------- | --------------------------------- | ---------- |
    | Missing tests | Add infrastructure behavior tests | Prevention |
    | Missing docs  | Document connection patterns      | Prevention |
    | Review gaps   | Update review checklist           | Detection  |
    | No canary     | Implement canary deployments      | Mitigation |
    

    Template 3: Quick Postmortem (Minor Incidents)

    # Quick Postmortem: [Brief Title]
    
    **Date**: 2024-01-15 | **Duration**: 12 min | **Severity**: SEV3
    
    ## What Happened
    
    API latency spiked to 5s due to cache miss storm after cache flush.
    
    ## Timeline
    
    - 10:00 - Cache flush initiated for config update
    - 10:02 - Latency alerts fire
    - 10:05 - Identified as cache miss storm
    - 10:08 - Enabled cache warming
    - 10:12 - Latency normalized
    
    ## Root Cause
    
    Full cache flush for minor config update caused thundering herd.
    
    ## Fix
    
    - Immediate: Enabled cache warming
    - Long-term: Implement partial cache invalidation (ENG-999)
    
    ## Lessons
    
    Don't full-flush cache in production; use targeted invalidation.
    

    Facilitation Guide

    Running a Postmortem Meeting

    ## Meeting Structure (60 minutes)
    
    ### 1. Opening (5 min)
    
    - Remind everyone of blameless culture
    - "We're here to learn, not to blame"
    - Review meeting norms
    
    ### 2. Timeline Review (15 min)
    
    - Walk through events chronologically
    - Ask clarifying questions
    - Identify gaps in timeline
    
    ### 3. Analysis Discussion (20 min)
    
    - What failed?
    - Why did it fail?
    - What conditions allowed this?
    - What would have prevented it?
    
    ### 4. Action Items (15 min)
    
    - Brainstorm improvements
    - Prioritize by impact and effort
    - Assign owners and due dates
    
    ### 5. Closing (5 min)
    
    - Summarize key learnings
    - Confirm action item owners
    - Schedule follow-up if needed
    
    ## Facilitation Tips
    
    - Keep discussion on track
    - Redirect blame to systems
    - Encourage quiet participants
    - Document dissenting views
    - Time-box tangents
    

    Anti-Patterns to Avoid

    Anti-Pattern Problem Better Approach
    Blame game Shuts down learning Focus on systems
    Shallow analysis Doesn't prevent recurrence Ask "why" 5 times
    No action items Waste of time Always have concrete next steps
    Unrealistic actions Never completed Scope to achievable tasks
    No follow-up Actions forgotten Track in ticketing system

    Best Practices

    Do's

    • Start immediately - Memory fades fast
    • Be specific - Exact times, exact errors
    • Include graphs - Visual evidence
    • Assign owners - No orphan action items
    • Share widely - Organizational learning

    Don'ts

    • Don't name and shame - Ever
    • Don't skip small incidents - They reveal patterns
    • Don't make it a blame doc - That kills learning
    • Don't create busywork - Actions should be meaningful
    • Don't skip follow-up - Verify actions completed

    Reproducido de wshobson/agents bajo licencia MIT. Leer esta página en markdown.

    Archivos

    2 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Detalles

    Creador
    wshobson
    Categoría
    Productividad
    Licencia
    MIT
    Recursos incluidos
    referencias
    Repositorio
    wshobson/agents
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de wshobson/agents

    Este repo incluye 180 skills. Si instalas uno, normalmente ya tienes los demás.

    Úsalo al seleccionar y colocar iconos, imágenes, SVGs, diagramas o infografías de apoyo aprobados en un PPTX editable.

    Costo de contexto al activarse
    344 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 26 días
    documentos

    Úsalo cuando pidan optimizar un prompt, mejorar su rendimiento, diseñar una plantilla, aplicar chain-of-thought, few-shot prompting o técnicas avanzadas de prompt engineering para producción.

    Costo de contexto al activarse
    1.3k tok
    Tamaño del paquete
    10 archivos
    Última actualización
    el mes pasado
    herramientas desarrollo

    Úsalo al redactar o reparar una especificación JSON con coordenadas explícitas para un PPTX editable.

    Costo de contexto al activarse
    489 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 26 días
    documentos

    Úsalo para validar o reparar un PPTX editable en cuanto a geometría, accesibilidad, editabilidad nativa, linaje de fuente e integridad del paquete OOXML.

    Costo de contexto al activarse
    409 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 26 días
    documentos

    Úsalo para analizar un PPTX de referencia en modo solo lectura: estructura, tema, tipografía, ritmo de layout, diagnósticos, catálogos de plantillas derivados o inspección segura del paquete OOXML.

    Costo de contexto al activarse
    689 tok
    Tamaño del paquete
    8 archivos
    Última actualización
    hace 26 días
    documentos

    Úsalo al preparar la narrativa, las fuentes y el contexto de diseño para un nuevo deck PPTX editable.

    Costo de contexto al activarse
    415 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 26 días
    documentos

    Skills relacionados

    Descompón tareas complejas, diseña grafos de dependencias y coordina trabajo multi-agente con descripciones de tareas y balanceo de carga adecuados.

    Costo de contexto al activarse
    1.2k tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 6 meses
    productividad

    Crea y mantiene artefactos de contexto del proyecto (product.md, tech-stack.md, workflow.md, tracks.md) en un directorio conductor/, scaffolding, extracción y validación incluidos.

    Costo de contexto al activarse
    533 tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 2 meses
    productividad

    Revisión de riesgo de producto y feature antes de construir, para founders, product managers y builders asistidos por IA, cubriendo demanda, posicionamiento, monetización, retención, confianza y distribución.

    Costo de contexto al activarse
    699 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 2 meses
    productividad