Who it is forAn engineer or on-call lead who has to write up an incident and wants the technical details, code snippets, and severity notes laid out clearly for the team.
The problemPostmortems mix logs, code, and warnings, and plain agent output makes the code and risk levels hard to scan.
The outcomeAn HTML postmortem with Prism-highlighted code blocks, a red warning callout, and a yellow caution callout that follows the Notion-style template.
What you need first
- Codex or Claude Code installed
- Python 3 available as python3 for the lint script
- A local clone of heyman333/agent-notion-template-docs when running lint.py directly
Steps
- Install the skill in Claude Code or Codex using the plugin steps or by copying the
skills/notion-docfolder. - Ask the agent to write a postmortem and to include the relevant code or log snippets.
- Check that each code block has a
language-*class so it is highlighted. - Run
python3 skills/notion-doc/lint.py <file>.htmlon the output. (inferred, check the README) - Open the file in a browser and confirm the red and yellow callouts show the right severity.
Prompt for your agent
Using the notion-doc skill from heyman333/agent-notion-template-docs, write a postmortem for <incident name> using the notes in <notes file> into <output>.html. Include code blocks with language classes, a red warning callout, and a yellow caution callout. Verify that lint.py reports no errors for the output file.
Caveat. The sample incident analysis in examples is in Korean, and the README does not describe a tested English postmortem workflow beyond the English campaign sample.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for heyman333/agent-notion-template-docs and "Write an incident postmortem with highlighted code and status callouts"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer