
Skill
incident_postmortem_generator
generate incident postmortem reports
Description
Generate a blameless incident postmortem from the current or recent SRE Agent investigation. Use after an incident is resolved, when asked for a postmortem, RCA report, or lessons learned document.
SKILL.md
Incident Postmortem Generator
Purpose
Automatically generate a structured, blameless postmortem document from the context of a resolved incident investigation.
Principles
- Blameless: Focus on systems and processes, never individuals
- Evidence-based: Every claim backed by data (logs, metrics, timeline)
- Action-oriented: Every finding leads to a concrete action item
Procedure
Step 1: Gather incident context
From the current conversation and agent memory, extract:
- Incident ID, severity, duration, affected services, impacted users
- Timeline: issue start, detection, acknowledgment, mitigation, resolution
- Root cause and contributing factors
Step 2: Assess detection and response
| Metric | Description |
|---|---|
| Time to detect (TTD) | Issue start to alert firing |
| Time to acknowledge (TTA) | Alert to human engagement |
| Time to mitigate (TTM) | Engagement to mitigation |
| Time to resolve (TTR) | Total duration |
Step 3: Five Whys analysis
Apply the 5 Whys technique to the root cause to identify systemic issues.
Step 4: Generate action items
For each finding, create a SMART action item with owner, priority, and due date. Categories: prevent recurrence, improve detection, improve response, improve resilience.
Step 5: Compile postmortem
Generate the full document with: executive summary, impact, timeline, root cause, Five Whys, detection assessment, what went well, what could be improved, action items, and lessons learned.
Sample output
| Field | Value |
|---|---|
| Incident Date | 2026-07-10 |
| Severity | Sev-2 |
| Duration | 1h 23m |
Summary: payment-service returned HTTP 500 errors for 1h 23m due to OOM-killed pod. Root cause: memory leak in connection pool from release v2.14.0. Impact: ~340 failed transactions, 120 customers.
| Metric | Value | Target | Status |
|---|---|---|---|
| TTD | 6m | <5m | ⚠️ |
| TTA | 4m | <15m | ✅ |
| TTM | 28m | <30m | ✅ |
| TTR | 1h 23m | <2h | ✅ |
References
More skills from the sre-agent-plugins repository
View all 15 skillsai_foundry_posture_check
assess Azure AI Foundry deployment posture
Aug 23AIAzureCost OptimizationReliability +1atlassian_rovo
manage Atlassian Jira and Confluence tasks
Jul 12AtlassianConfluenceJiraProject Managementaws_cloud_operations
manage and troubleshoot AWS cloud operations
Jul 12AWSDebuggingInfrastructureMonitoring +1azure_managed_grafana
monitor Azure infrastructure with Grafana
Jul 12Application InsightsAzureDashboardsMonitoring +1capacity_planning
assess Azure resource capacity and scaling
Aug 23AzureCapacity PlanningOperationsPerformancecompliance_governance_audit
audit Azure compliance and governance
Aug 23AuditAzureComplianceGovernance +1
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Aug 20AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK