agent-instructions
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
Use during and after a production incident. Covers triage, mitigation before diagnosis, communication, and blameless postmortems that produce action items someone actually does. Trigger on "prod is down", "we're in the middle of an outage", "write the postmortem for yesterday's
Claude Code
$ npx -y skills add nimadorostkar/Claude-Skills-collection --skill incident-response --agent claude-code
Codex
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a codex -y
Cursor
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a cursor -y
Gemini CLI
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a gemini-cli -y
GitHub Copilot
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a github-copilot -y
OpenCode
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a opencode -y
Windsurf
$ npx skills add nimadorostkar/Claude-Skills-collection --skill incident-response -a windsurf -y
name: incident-response description: Use during and after a production incident. Covers triage, mitigation before diagnosis, communication, and blameless postmortems that produce action items someone actually does. Trigger on "prod is down", "we're in the middle of an outage", "write the postmortem for yesterday's incident", "set up an on-call rotation". Do not use for root-causing a bug outside an incident — see the debugging skill; for SLOs and error budgets, see the site-reliability skill. metadata: category: devops version: 1.0.0 tags: [incident, oncall, postmortem, mitigation, runbook]
Restore service quickly, then learn from what happened. The two mistakes that define bad incident response are debugging before mitigating, and a postmortem whose action items are never done.
1. **Establish impact** — Who is affected, how badly, and is it growing? This determines severity and whether to wake more people. 2. **Mitigate before diagnosing** — If a deploy went out in the last hour, roll it back. Understanding *why* it broke can wait; users cannot. This is the single most important rule and the one most often violated by engineers who want to know the answer. 3. **Assign roles** — For anything beyond a small incident: an incident commander (decides), a communications lead (updates stakeholders), and operators (execute). The commander does not type. 4. **Communicate on a cadence** — Status updates at fixed intervals, even when the update is "still investigating". Silence is interpreted as chaos. 5. **Record the timeline as you go** — Timestamped actions and observations, in the incident channel. Reconstructing it afterwards produces a fiction. 6. **Postmortem within a week** — Blameless, focused on contributing factors, with action items that have an owner and a date.
**Triage order — mitigation precedes understanding:**
09:41 Alert: checkout 5xx rate 14% (SLO burn 30x)
09:42 Confirm impact: ~1,400 users/min failing checkout. SEV-1 declared.
09:43 Check recent changes: deploy 4c9a1f at 09:38 (3 min before onset).
09:44 MITIGATE: roll back to 8b2d0e. No diagnosis attempted yet.
09:47 Error rate returns to baseline. Impact ended. Incident downgraded.
09:50 NOW diagnose: 4c9a1f added an unbounded query to the pricing path;
under production cardinality it exceeded the 3s DB timeout.Nine minutes of impact. The alternative — debugging first — would have been forty.
**A postmortem action item that will actually be done:**
| Action | Owner | Due | Type | |-----------------------------------------------------------|-------|------------|------------| | Add a query-cost regression test to the pricing suite | @maya | 2026-03-18 | Prevent | | Alert on p99 DB query duration > 1s, per query fingerprint | @sam | 2026-03-21 | Detect | | Add a `--dry-run` explain check to the migration CI step | @maya | 2026-03-25 | Prevent |
Not: "Team to be more careful with database queries." That is not an action item; it is a wish.
A curated library of 137 production-grade skills for Claude and other AI coding agents. Every skill follows one structure, speaks with one voice, and earns its place by changing what the agent does.
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
Use when an agent needs state that survives a session or a context compaction. Covers what to persist, file-based memory,…
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should…
Use when packaging skills, commands, hooks, and MCP servers into a distributable plugin. Covers manifest structure, bundling,…
Use when writing a new skill for an AI agent. Covers scoping, description writing for reliable triggering, progressive…
Use when reviewing or improving an existing agent skill. Covers triggering accuracy, content quality, redundancy with the base…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.