# From incident to fix, without the scramble

Triage the page, find the root cause, open the remedial PR, and write the post-mortem.

**Connects:** github, linear, zendesk

## How to install

1. Fetch https://eluu.ai/cookbook/incident-triage/skill.md and save it into your skills folder as `incident-triage`.
2. Ask the user the first-run questions the skill lists, and store the answers in memory.
3. Offer to schedule the recurring jobs below; create only the ones the user approves.
4. Run the skill once end to end and review the output with the user.

## What this does

- Reads the alerts and error signatures the moment a service degrades
- Correlates with recent deploys to find the regression
- Opens a PR with the fix and a test, and files the bug
- Drafts the customer status note and the post-mortem

## Recurring jobs

- **Incident triage poll** (Every 5 minutes, polling the alerts channel and pager feed) — https://eluu.ai/cookbook/incident-triage/jobs-setup/incident-triage-poll.md

## Skills inside

The full method, including each of these, is in skill.md. Individually fetchable:

- **Root-cause tracing**, Correlate errors with deploys — https://eluu.ai/cookbook/incident-triage/skills/root-cause-tracing.md
- **PR + test authoring**, Guard the path, add a test — https://eluu.ai/cookbook/incident-triage/skills/pr-test-authoring.md
- **Post-mortem writing**, Draft the RCA once it ships — https://eluu.ai/cookbook/incident-triage/skills/post-mortem-writing.md

## Files

- skill.md — https://eluu.ai/cookbook/incident-triage/skill.md
- jobs-setup/incident-triage-poll.md — https://eluu.ai/cookbook/incident-triage/jobs-setup/incident-triage-poll.md
- skills/root-cause-tracing.md — https://eluu.ai/cookbook/incident-triage/skills/root-cause-tracing.md
- skills/pr-test-authoring.md — https://eluu.ai/cookbook/incident-triage/skills/pr-test-authoring.md
- skills/post-mortem-writing.md — https://eluu.ai/cookbook/incident-triage/skills/post-mortem-writing.md
- workflow.json — https://eluu.ai/cookbook/incident-triage/workflow.json
