Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add xxxryan/agent-skills --skill "incident-triage"
Install specific skill from multi-skill repository
# Description
Triage a production incident from symptoms, logs, metrics, and recent deploy info. Produces a hypothesis tree, the fastest checks, likely root cause, and safe mitigations. Use when the user reports outages, latency spikes, error rate increases, stuck jobs, or resource exhaustion.
# SKILL.md
name: incident-triage
description: Triage a production incident from symptoms, logs, metrics, and recent deploy info. Produces a hypothesis tree, the fastest checks, likely root cause, and safe mitigations. Use when the user reports outages, latency spikes, error rate increases, stuck jobs, or resource exhaustion.
compatibility: Works with pasted logs/graphs summaries; best if the agent can inspect repo history and config changes.
metadata:
short-description: Production incident triage playbook
allowed-tools: Read
Incident Triage
What you need (ask only if missing)
- What changed recently (deploy, config, dependency)
- Primary symptoms (error codes, latency, saturation, partial outage)
- Scope (one region, one service, all traffic)
- Example log lines / request IDs
Workflow
- Restate symptoms as facts
- Build a hypothesis tree
- Deploy regression
- Downstream dependency failure
- Resource saturation (CPU/mem/conn pool)
- Data issue (bad row, migration)
- Thundering herd / retry storms
- Fast checks (order by speed + confidence)
- Mitigation options (safe first)
- rollback, scale out, disable feature flag, reduce concurrency, tighten retries
- Permanent fix outline + prevention
- tests, alerts, rate limits, circuit breaker, dashboards
Output format
Situation summary
...
Hypotheses (ranked)
- ...
- ...
Fast checks
- ...
Mitigations (safe first)
- ...
Likely root cause
...
Follow-up actions
- ...
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.