Incident response

From stbenjam/skillsaw · View interactive version

Incident response is an AI agent skill from the GitHub repository stbenjam/skillsaw. Triage and respond to production incidents. Use when handling an outage.

How to use this skill

Skill file

Incident Response

Guide the on-call engineer through incident triage, investigation,

and resolution for production issues.

When to Use This Skill

Use when a PagerDuty alert fires or a user reports a production issue

that needs immediate investigation.

Implementation Steps

Step 1: Gather Context

Collect information about the incident:

Step 2: Investigate

Run diagnostic commands:

kubectl get pods -n production | grep -v Running
kubectl logs -f deployment/$SERVICE -n production --since=10m
aws cloudwatch get-metric-statistics --namespace Custom --metric-name ErrorRate

Step 3: Identify Root Cause

Correlate findings with recent changes:

git log --oneline --since="2 hours ago"
kubectl rollout history deployment/$SERVICE -n production

Step 4: Mitigate

If a recent deployment is the cause, roll back:

kubectl rollout undo deployment/$SERVICE -n production

Step 5: Document

Create an incident report with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.