Automated summary
Generates structured incident postmortems by reading a dedicated Slack channel's history and creating the corresponding document in Notion.
Strengths
- Automates extraction of timeline, root cause, impact, and follow-up actions from Slack messages
- Produces a consistent structured markdown document (summary, timeline, analysis, action items, lessons learned)
- Resolves user mentions via the Slack API to correctly attribute action item assignees
- Optionally embeds telemetry and uptime links through Betterstack
Limitations
- Requires Slack and Notion MCP servers to be configured beforehand (Betterstack optional)
- Postmortem quality depends entirely on how much detail was captured in the Slack channel
- Does not publish to Notion automatically without the user confirming which channel to process
Use it after resolving a production incident to quickly draft a postmortem from the Slack discussion.
Avoid it when the Slack channel lacks usable history or when the Slack/Notion MCPs are not set up.
Security analysis
SafeThis skill is pure documentation/workflow guidance. It declares no shell tools and only references Slack and Notion MCP servers for legitimate purposes: reading an incident channel's history, resolving usernames, creating a structured postmortem page, and optionally posting a summary link back to Slack. There are no destructive commands, no credential or token exfiltration, no obfuscated payloads, and no attempts to disable safety controls. The only mild consideration is that it reads internal Slack history and writes to Notion/Slack, but all data movement stays within the organization's own configured integrations and the actions are exactly what the skill describes.
No concerns found
How this analysis is madeExamples
Read the #incident-2024-05-12-db-outage Slack channel and create a postmortem in Notion with timeline, root cause, impact, and action items.Generate a postmortem for the checkout API outage from the #inc-payments incident channel and assign the action items to the people who volunteered in the thread.Create a postmortem from the #incident-redis-failover channel and add the Betterstack uptime and error metric links to the telemetry section.name: pm description: Create incident postmortems by reading Slack incident channels and creating structured postmortem documents in Notion. Use when conducting postmortem reviews or documenting incident responses.
Incident Postmortem Generator
Create comprehensive incident postmortem documents by reading Slack incident channels and storing structured postmortems in Notion.
When to Use
- After resolving a production incident
- When conducting postmortem reviews
- When documenting incident responses for team learning
- To generate action items from incident discussions
Prerequisites
This skill requires the following MCP servers to be configured:
- Slack MCP - For reading incident channel history
- Notion MCP - For creating postmortem documents in the Notes database
Optional:
- Betterstack MCP - For including telemetry and uptime links
Process
1. Identify the Incident Channel
Ask the user for the Slack channel name or ID. The channel should be the dedicated incident channel (typically named like #incident-<name> or #inc-<date>-<description>).
2. Read Slack Channel History
Use the Slack MCP to fetch the channel's message history:
mcp__slack__slack_list_channels
Find the channel ID, then fetch history:
mcp__slack__slack_get_channel_history with channel_id
For threaded discussions, also fetch thread replies:
mcp__slack__slack_get_thread_replies with channel_id and thread_ts
Get user information to resolve mentions:
mcp__slack__slack_get_users
3. Analyze the Incident
From the Slack messages, extract:
-
Timeline: Key events in chronological order
- When was the incident first detected?
- When was it acknowledged?
- What investigation steps were taken?
- When was it mitigated/resolved?
-
Root Cause: The underlying technical issue
- What broke?
- Why did it break?
- What dependencies were involved?
-
Impact: The effect on users/systems
- What services were affected?
- How many users impacted?
- What was the duration?
-
Open Questions: Unresolved items from discussion
- Unclear technical details
- Areas needing further investigation
- Decisions that need to be made
-
Action Items: Follow-up tasks with assignees
- Preventive measures
- Monitoring improvements
- Documentation updates
- Process changes
4. Generate Postmortem Document
Create a markdown document following this structure:
# Incident Postmortem: [Brief Title]
**Date:** [Incident Date]
**Severity:** [P0/P1/P2/P3]
**Duration:** [Total incident duration]
**Author:** [Person creating postmortem]
## Summary
[2-3 sentence summary of what happened and the impact]
## Timeline
| Time (UTC) | Event |
|------------|-------|
| HH:MM | Incident detected via [source] |
| HH:MM | Team alerted |
| HH:MM | Investigation began |
| HH:MM | Root cause identified |
| HH:MM | Mitigation deployed |
| HH:MM | Incident resolved |
## Impact
- **Services Affected:** [List of affected services]
- **Users Impacted:** [Number or percentage]
- **Duration:** [How long users were affected]
- **Data Loss:** [Yes/No, details if applicable]
## Root Cause Analysis
### What Happened
[Detailed technical explanation of the failure]
### Why It Happened
[Contributing factors, systemic issues]
### Detection
[How was the incident discovered? Could we have detected it sooner?]
## Telemetry & Monitoring
[If Betterstack MCP is available, include relevant links]
- **Uptime Dashboard:** [Link]
- **Error Metrics:** [Link]
- **Relevant Alerts:** [Link]
## Open Questions
- [ ] [Unresolved question 1]
- [ ] [Unresolved question 2]
## Action Items
| Action | Assignee | Priority | Status |
|--------|----------|----------|--------|
| [Action description] | @[username] | High/Medium/Low | Open |
| [Action description] | @[username] | High/Medium/Low | Open |
## Lessons Learned
### What Went Well
- [Positive aspects of incident response]
### What Could Be Improved
- [Areas for improvement]
## References
- **Incident Channel:** #[channel-name]
- **Related PRs:** [Links to fix PRs]
- **Related Docs:** [Links to relevant documentation]
5. Create Notion Page
Use the Notion MCP to create the postmortem in the Notes database:
First, search for the Notes database:
mcp__claude_ai_Notion__notion-search with query: "Notes"
Or use the Notion skill:
Skill: notion-search with "Notes database"
Then create the page with the postmortem content:
mcp__claude_ai_Notion__notion-create-pages with:
- parent: Notes database ID
- title: "Incident Postmortem: [Brief Title]"
- content: [Generated markdown content]
Important: Add the required tags to the page:
engpostmortem
If the Notion MCP supports tags/properties, set them during creation. Otherwise, use the update page tool:
mcp__claude_ai_Notion__notion-update-page with:
- page_id: [created page ID]
- properties: { tags: ["eng", "postmortem"] }
6. Share Results
After creating the postmortem:
- Provide the Notion page link to the user
- Optionally post a summary back to the Slack channel:
mcp__slack__slack_post_message with:
- channel: [incident channel ID]
- text: "Postmortem document created: [Notion link]"
Tips for Quality Postmortems
Blameless Culture
- Focus on systems and processes, not individuals
- Use "the system failed to..." rather than "person X failed to..."
- Treat failures as learning opportunities
Be Specific
- Include exact timestamps when available
- Reference specific commits, PRs, or deployments
- Quantify impact with numbers when possible
Actionable Items
- Each action item should be specific and achievable
- Assign clear owners
- Set priorities to help with planning
Capture Context
- Include relevant Slack threads and discussions
- Link to monitoring dashboards and alerts
- Reference any related incidents
Output
Provide to the user:
- Summary of what was extracted from Slack
- Notion link to the created postmortem
- List of action items for easy reference
- Any gaps that need manual filling (if information was missing from Slack)
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/incident-postmortem-generator-mrwak8ol' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/incident-postmortem-generator-mrwak8ol/download' --output '.skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md.part' && mv '.skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md.part' '.skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Prerequisites
This skill requires the following MCP servers to be configured:
- Slack MCP - For reading incident channel history
- Notion MCP - For creating postmortem documents in the Notes database
Optional:
- Betterstack MCP - For including telemetry and uptime links
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md' && test -s '.skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pm' && cp -R '.skill-downloads/incident-postmortem-generator-mrwak8ol' '.claude/skills/pm'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/incident-postmortem-generator-mrwak8ol'openskills read 'incident-postmortem-generator-mrwak8ol'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/incident-postmortem-generator-mrwak8ol/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.