{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "heyman333-agent-notion-template-docs--incident-postmortem-with-code-blocks",
 "repo": "heyman333/agent-notion-template-docs",
 "repo_url": "https://github.com/heyman333/agent-notion-template-docs",
 "repo_slug": "heyman333-agent-notion-template-docs",
 "title": "Write an incident postmortem with highlighted code and status callouts",
 "page_title": "How to write an incident postmortem with highlighted code and status callouts with Agent Notion Template Docs",
 "summary": "Produce an incident analysis with syntax-highlighted code and red or yellow callouts for severity.",
 "who": "An 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.",
 "problem": "Postmortems mix logs, code, and warnings, and plain agent output makes the code and risk levels hard to scan.",
 "outcome": "An HTML postmortem with Prism-highlighted code blocks, a red warning callout, and a yellow caution callout that follows the Notion-style template.",
 "steps": [
  "Install the skill in Claude Code or Codex using the plugin steps or by copying the `skills/notion-doc` folder.",
  "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>.html` on the output. (inferred, check the README)",
  "Open the file in a browser and confirm the red and yellow callouts show the right severity."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/heyman333-agent-notion-template-docs/incident-postmortem-with-code-blocks/",
 "md": "https://dedupedai.com/use-cases/heyman333-agent-notion-template-docs/incident-postmortem-with-code-blocks/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/heyman333-agent-notion-template-docs--incident-postmortem-with-code-blocks.json",
 "api_version": "v1"
}
