返回技能列表

incident-response

rampstackco
更新于 2 days ago
3 次查看
239
27
239
在 GitHub 上查看
其他general

关于

This Claude Skill manages active production incidents from detection through resolution, providing structured guidance for triage, mitigation, and communication. It triggers on terms like outage, P0/P1, or when something is broken in production, offering tool-agnostic support for incident commanders and on-call responders. Use it for active incidents, not for postmortems or planned launches.

快速安装

Claude Code

推荐
主要方式
npx skills add rampstackco/claude-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/rampstackco/claude-skills
Git 克隆备选方式
git clone https://github.com/rampstackco/claude-skills.git ~/.claude/skills/incident-response

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Incident Response

Manage active production incidents from detection to resolution. Stack-agnostic. Tool-agnostic.

This skill is for active incidents and incident process. For after-the-fact analysis, use after-action-report. For planned launches, use launch-runbook.


When to use

  • An active incident is happening
  • Building incident response procedures
  • Defining severity levels
  • Setting up on-call rotations
  • Training a team on incident response

When NOT to use

  • Post-incident retrospective (use after-action-report)
  • Planned launches (use launch-runbook)
  • Pre-launch issue triage (use qa-testing)

Required inputs

  • Awareness of the incident (alert, customer report, internal observation)
  • Access to production systems and monitoring
  • Roles and authorities clearly defined
  • Communication channels operational

The framework: 5 phases

1. Detection

How the incident becomes known.

Detection sources:

  • Automated alerts (monitoring, SLO violations, error rate spikes)
  • Customer reports (support tickets, social media, status page subscribers)
  • Internal observation (engineer notices something off)
  • Third-party (security researchers, partners)

On detection:

  • Acknowledge within target time (typically 5 to 15 minutes for critical)
  • Assess severity (see severity rubric below)
  • Page the on-call if not already paged
  • Open the incident channel

2. Triage

Establish severity and impact.

Severity rubric:

SeverityDefinitionResponse
SEV-1 (Critical)Major customer-facing functionality broken. Data integrity at risk. Security breach.All-hands. Incident commander. Active war room. Public communication required.
SEV-2 (Major)Significant degradation. Some customers affected. Revenue impact.Incident commander assigned. Active response. Internal communication. May or may not need public communication.
SEV-3 (Minor)Limited impact. Workaround available. Affecting a small group of users.Standard on-call response. Single owner.
SEV-4 (Low)Cosmetic, edge-case, or low-frequency. No urgent action needed.Tracked as bug. Addressed in normal queue.

Severity can change. Re-evaluate as more info emerges.

3. Mitigation

Stop the bleeding before fixing the cause.

Mitigation patterns (faster than full fix):

  • Rollback (revert recent deploy)
  • Feature flag off (disable the broken feature without deploy)
  • Failover (route to healthy replica or region)
  • Scale up (more capacity to absorb the load)
  • Throttle (reject some traffic to protect the rest)
  • Graceful degradation (turn off non-essential features to keep core functional)
  • Maintenance mode (last resort, blocks all users)

Mitigation principle: Stop user impact first. Cause analysis second.

4. Communication

Three audiences during an incident:

Internal team:

  • Real-time updates in incident channel
  • Cadence: every 15 minutes minimum during active incident
  • Format: timestamped status updates with what we know, what we're doing, ETA

Internal stakeholders:

  • Higher-level updates to broader org
  • Cadence: every 30 to 60 minutes
  • Format: business-impact framing, not technical detail

External / customers:

  • Status page updates
  • Cadence: every 30 minutes minimum during active incident
  • Format: plain language, no blame, what users are experiencing, what to expect

Communication principles:

  • Acknowledge before you have answers ("We're aware and investigating")
  • Update on schedule even if no progress ("Still investigating, no new information")
  • Never speculate publicly about cause
  • Confirm resolution explicitly when restored

5. Resolution

Verified fix, customers restored, incident closed.

Resolution criteria:

  • Mitigation in place and verified
  • Root cause identified (or explicitly deferred to AAR)
  • All affected systems back to normal
  • Customers can resume normal use
  • Final status update posted (internal and external)
  • Incident channel can be closed (or archived for AAR)

After closure:

  • Schedule AAR within 1 to 2 weeks
  • Capture initial timeline while memories are fresh
  • Track follow-up action items

Roles during an incident

RoleResponsibility
Incident commander (IC)Owns the response. Calls decisions. Assigns work. Not necessarily the most technical person; needs to coordinate.
Communications leadOwns internal and external messaging. Reduces IC's communication burden.
Operations leadDrives the technical investigation and mitigation. Often the most senior on-call engineer.
ScribeCaptures the timeline as the incident unfolds. Critical for AAR.
Subject matter expertsPulled in as needed. Service owners, database experts, security experts.

For small teams or low-severity incidents, one person can hold multiple roles. Each role's responsibilities should still be explicit.


Decision-making during an incident

The IC's authority:

  • Call rollback or other mitigations
  • Pull additional people in
  • Escalate severity
  • Make the call when unclear options exist

Non-decisions to avoid:

  • "Let's wait and see" when mitigations are available and impact is occurring
  • Discussing root cause while users are actively impacted (mitigate first)
  • Premature resolution announcements before verification
  • Death-by-committee (pull in lots of people, no one decides)

When in doubt: act. A wrong action that can be rolled back beats inaction while users suffer.


Status page communication patterns

Initial:

"We are investigating reports of [issue]. Updates to follow."

Identified:

"We have identified the issue affecting [scope]. Engineers are working on a fix. Next update by [time]."

Monitoring:

"A fix has been applied. We are monitoring to confirm resolution. Next update by [time]."

Resolved:

"This incident has been resolved. Service has been restored. A full incident report will be posted within [timeframe]."

Patterns to avoid:

  • Vague language ("experiencing some issues" - what kind?)
  • Missing affected scope ("login is down" - everywhere or just one region?)
  • Missing time commitments
  • "Should be resolved soon" without verification
  • Using "back up" before verification

Workflow

  1. Acknowledge. First responder acknowledges within target time.
  2. Assess severity. Use the rubric. Open the appropriate response channel.
  3. Assign roles. IC, comms, ops at minimum.
  4. Communicate. Initial status update. Internal channel active.
  5. Investigate. Logs, metrics, recent changes. The four most common causes: a recent deploy, a configuration change, a third-party dependency change, a load spike.
  6. Mitigate. Stop the bleeding. Don't wait for full root cause.
  7. Verify mitigation. Don't trust dashboards alone; test the user flow.
  8. Communicate resolution. Internal and external.
  9. Close incident. Final timeline noted. Action items tracked.
  10. Schedule AAR. Within 1 to 2 weeks.

Failure patterns

  • No clear IC. Multiple people debugging in parallel, no coordination. Slower to mitigate, easier to make conflicting changes.
  • Skipping mitigation, going straight to root cause. Users keep suffering while engineers debug.
  • Premature "all clear." Announcing resolution before verification.
  • Communication silence. Users don't know if anyone is working on it.
  • Status updates too vague. "We're working on it" with no detail.
  • Speculating publicly about cause. Often wrong, always damaging trust.
  • Pulling in too many people. Coordination overhead exceeds value.
  • No scribe. The timeline gets lost. AAR has to reconstruct from chat logs.
  • Skipping AAR for "minor" incidents. Patterns get missed. Lessons get re-learned.
  • Blame culture. People hide mistakes, incidents take longer.

Output format

During an active incident: incident channel updates and status page updates as per the framework above.

After incident close: a brief incident summary feeding into the AAR.

# Incident: [Brief title]

**Date:** [YYYY-MM-DD]
**Severity:** [SEV-1 / 2 / 3 / 4]
**Duration:** [Detection to resolution]
**Customer impact:** [Who, how many, how]

## Summary
[1 to 2 paragraphs]

## Timeline
[Timestamped events]

## Mitigation
[What was done]

## Action items
[Follow-ups, with owners]

## AAR scheduled for
[Date]

Reference files

GitHub 仓库

rampstackco/claude-skills
路径: skills/incident-response
0
agent-skillsai-agentsanthropicclaudeclaude-aiclaude-code

相关推荐技能

security-baseline

其他

该Skill为网站和Web应用建立安全基线,适用于上线前安全审查、定期审计或新环境配置。它能指导HTTPS/TLS配置、安全头设置、密钥管理、CSP策略评估等基础安全加固工作。通过触发关键词(如OWASP、漏洞扫描)提供栈无关的标准化安全实践,帮助开发者满足合规要求并筑牢安全防线。

查看技能

monitoring-and-alerting

其他

该Skill帮助开发者设计和运行网站或应用的监控告警系统。它适用于设置可用性检查、定义SLO、配置错误跟踪、设计告警策略和值班轮换等场景。关键能力包括指导如何选择监控指标、避免告警疲劳,并在发生事件时识别监控缺口。

查看技能

media-asset-management

其他

该Skill用于规划和实施图像、视频及可下载资产的媒体处理管线。它帮助开发者设计存储与交付方案,选择现代格式(如WebP/AVIF)、设置响应式图像、选择视频托管服务,并优化缓慢或分散的资产工作流。适用于从构建品牌资产库到审计图像管道性能等多种媒体管理场景。

查看技能

email-deliverability

其他

该Skill帮助开发者确保邮件成功送达收件箱而非垃圾文件夹。它专门用于设置SPF、DKIM、DMARC等邮件认证协议,诊断邮件进入垃圾箱的原因,并监控发件人声誉和投递率。当营销或事务性邮件未到达用户,或需要制定域名信誉策略时,即可触发此Skill进行投递能力审计和问题排查。

查看技能