DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to write an incident postmortem with highlighted code and status callouts with Agent Notion Template Docs

Produce an incident analysis with syntax-highlighted code and red or yellow callouts for severity.

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

  1. Install the skill in Claude Code or Codex using the plugin steps or by copying the skills/notion-doc folder.
  2. Ask the agent to write a postmortem and to include the relevant code or log snippets.
  3. Check that each code block has a language-* class so it is highlighted.
  4. Run python3 skills/notion-doc/lint.py <file>.html on the output. (inferred, check the README)
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer