incident-triage
Triage a fired production alert — acknowledge, classify severity by user impact, pull the last deploy, check the four golden dashboards, then roll back or escalate. Use when a PagerDuty alert fires for a production service.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- incident-triage
- description
- Triage a fired production alert — acknowledge, classify severity by user impact, pull the last deploy, check the four golden dashboards, then roll back or escalate. Use when a PagerDuty alert fires for a production service.
02 资源文件 2
- 参考文档grading.json1.0 KB
- 参考文档meta.json200 B
03 SKILL.md 正文
Incident Triage
Live-log
Every step below ends with a live-log: post the result to #incident-<id> the moment that step finishes, before starting the next one. A step is not done until its action and its live-log post both exist. The channel's log is the incident record — if a decision isn't in it, it didn't happen as far as anyone reading the channel later can tell.
1. Acknowledge
Run pd ack <id>.
Live-log: "Acknowledged <id>."
Done when the command exits 0 and the post is in the channel.
2. Classify severity
Classify by user impact on checkout, not by the internal severity of whatever broke:
- SEV1 — checkout is down for any user.
- SEV2 — checkout is degraded: works but slower, partial, or erroring for some users.
- SEV3 — cosmetic, no functional impact on checkout.
Live-log the severity and one sentence describing the impact observed.
Done when the channel has a severity that matches exactly one of the three definitions above, with no hedge ("maybe SEV1/SEV2").
3. Pull the last deploy
Run deployctl last for the affected service.
Live-log the deploy SHA and its timestamp.
Done when you have the deploy timestamp in hand, whether or not it turns out to be implicated.
4. Check the four golden dashboards
Links: runbooks/dashboards.md.
Live-log one line per dashboard: nominal, or anomalous with what you saw.
Done when all four have a log line, not just three plus a skim of the fourth.
5. Roll back or escalate
Compare the alert's start time to the deploy timestamp from step 3.
- Alert start ≤ 30 minutes after the deploy — roll back that deploy via
deployctl. Confirm the exact rollback invocation withdeployctl --helpif unsure. Live-log that rollback is running. - Alert start > 30 minutes after the deploy, or no deploy in the lookback window — escalate to the service owner listed in
.github/CODEOWNERSfor the affected path. Live-log who was paged and when.
The 30-minute window is measured strictly: alert_start − deploy_timestamp ≤ 30min. A value on the line rounds to "within."
Done when either the rollback is confirmed running, or the paged owner has acknowledged the escalation in the channel.
Exit condition
Triage is complete when #incident-<id> reads, in order with no gaps, as: ack → severity → last deploy → four dashboard lines → rollback-or-escalation decision. If a reader could not reconstruct the triage from the channel alone, it isn't done yet.
04 同仓库更多 Skills
review-adversarial-first
Operator-invoked adversarial review: 3 refute-by-default lenses plus a deterministic judge against a PR, branch, or path, then a decision on whether /ce-code-review's topic fan-out runs. Off the default merge path since the 2026-10-17 merge-and-end ruling; run only when asked for by name.
memory-mine
Run one deterministic, budgeted directed-capture batch for an explicit Claude Code project store. Use manual workspace mode only when cross-agent cass sessions are intentionally in scope.
papers
Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.
papers
Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.
wsl-cdp
Drive the user's real, logged-in Windows browser (Chrome, Edge, or Brave) from a Claude Code session running inside WSL2, over the Chrome DevTools Protocol - read authenticated dashboards and consoles, take real screenshots, open and read pages with the user's sessions. Use when a task needs the user's existing web logins and the session runs in WSL2, where the Claude in Chrome extension cannot work. Not for native-Windows or macOS Claude Code (use the official Claude in Chrome extension), not for anonymous scraping or CI (use headless Playwright inside WSL), not for getting past login walls (those are handed to the human).
token-eater
[BETA] Spend a subscription's idle, about-to-expire credits on safe, machine-verified cleanup. You pick the service (Grok / Codex / Claude) and a token-heavy maintenance skill (de-monolithize, de-slop, simplify, dead-code); that service runs the whole skill -> gate -> self-review -> draft-PR loop on its own credits, in an isolated worktree. token-eater verifies the gate and never merges. Manual invocation only during beta.