跳到正文
cccskills
免费在 GitHub 公开

postmortem-report

How the SRE team writes a postmortem PDF. Use this whenever asked for a postmortem, an incident report, a write-up to share, or a PDF of what happened.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Postmortem report

You build the PDF yourself, in your sandbox. There is no template. Design it so a director understands the event in one minute and an engineer can check every claim.

What it must contain

  1. A headline and a summary of three or four sentences.
  2. A table of pages: page id, service, root cause. Pages that share a root cause are one incident; mark the others as symptoms.
  3. At least one chart drawn from real data. Compute it in your script from /mnt/session/uploads/app.log (for example p99 latency or error rate per minute for each paged service) and mark the deploys on it.
  4. For each root cause: a timeline in UTC, the evidence that proves it, what was ruled out, and the fix.
  5. Action items, each with an owner team and a priority.

How to build it

  • Python with matplotlib and pandas is installed. matplotlib.backends.backend_pdf.PdfPages writes multi-page PDFs. pandoc and LaTeX are there too. Use whichever you can do fastest.
  • The investigators' findings are in /workspace/findings/*.json. Start from those instead of investigating again.
  • Save the result to /mnt/session/outputs/postmortem.pdf. Only files under /mnt/session/outputs/ reach the user.
  • Be quick: write one script, run it, and fix it only if it errors. Two to four pages. Do not render the PDF to images to inspect it.
  • Keep everything inside the page margins: wrap the title and any long table cell instead of letting it run off the edge.
  • Follow any postmortem conventions you find in team memory.

When it is built, tell the user the file name in one or two sentences. Do not paste the report into the chat.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

How to pull SEC EDGAR data with the edgartools Python package — company lookup, filings, XBRL financial statements, and filing sections like Item 1A risk factors. Use whenever a task involves SEC filings, 10-K/10-Q data, or company financials.

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

How to produce a demand forecast for a SKU, and when to delegate that to a subagent vs. compute it yourself. Load this for any task involving "forecast", "how much will we sell", "next month", promos, or seasonal SKUs.

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

The SRE team's runbook for triaging production latency and error-rate incidents. Use this whenever investigating an incident, a latency spike, elevated error rates, or when asked "what caused X" about a production service.

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

mining

免费

Where diamonds spawn in Minecraft 1.20.

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

Fixed-format templates for Slack alerts, supplier emails, and escalations. Load this whenever the task is "notify", "alert", "email", or "tell ops".

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

How to decide whether and how much to reorder a SKU. Load this whenever a task involves reorder recommendations, purchase orders, or "should we restock" questions.

中文简介正在准备中。当前显示原文说明。

anthropics/cwc-workshops21932026年10月17日 更新

查看 anthropics 的全部技能

报告此技能的问题