Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

coderabbit-incident-runbookCoderabbit 事件操作手册

Agent Skill

coderabbit-incident-runbook 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

539

周安装

22

GitHub Stars

2,139

下载量

174
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coderabbit-incident-runbook(Coderabbit 事件操作手册)
来源仓库:https://github.com/jeremylongshore/claude-code-plugins-plus-skills
仓库路径:skills/coderabbit-incident-runbook
安装命令:
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill coderabbit-incident-runbook
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill coderabbit-incident-runbook

简介

coderabbit-incident-runbook 提供 CodeRabbit 相关故障的快速响应预案。

  • 适用于 P1-P4 级别事件分级处理,包含监控检查与恢复步骤清单。
  • 集成 kubectl、Prometheus 与通信渠道联动,加速问题定位。
  • 安装前需确认拥有生产集群访问权与告警系统查看权限。
  • 建议定期演练 runbook 流程,确保团队熟悉应急操作路径。

SKILL.md

CodeRabbit Incident Runbook

Overview

Rapid incident response procedures for CodeRabbit-related outages.

Prerequisites

  • Access to CodeRabbit dashboard and status page
  • kubectl access to production cluster
  • Prometheus/Grafana access
  • Communication channels (Slack, PagerDuty)

Severity Levels

LevelDefinitionResponse TimeExamples
P1Complete outage< 15 minCodeRabbit API unreachable
P2Degraded service< 1 hourHigh latency, partial failures
P3Minor impact< 4 hoursWebhook delays, non-critical errors
P4No user impactNext business dayMonitoring gaps

Quick Triage

set -euo pipefail
# 1. Check CodeRabbit status
curl -s https://status.coderabbit.com | jq

# 2. Check our integration health
curl -s https://api.yourapp.com/health | jq '.services.coderabbit'

# 3. Check error rate (last 5 min)
curl -s localhost:9090/api/v1/query?query=rate(coderabbit_errors_total[5m])  # 9090: Prometheus port

# 4. Recent error logs
kubectl logs -l app=coderabbit-integration --since=5m | grep -i error | tail -20

Decision Tree

CodeRabbit API returning errors?
├─ YES: Is status.coderabbit.com showing incident?
│   ├─ YES → Wait for CodeRabbit to resolve. Enable fallback.
│   └─ NO → Our integration issue. Check credentials, config.
└─ NO: Is our service healthy?
    ├─ YES → Likely resolved or intermittent. Monitor.
    └─ NO → Our infrastructure issue. Check pods, memory, network.

Immediate Actions by Error Type

401/403 - Authentication

set -euo pipefail
# Verify API key is set
kubectl get secret coderabbit-secrets -o jsonpath='{.data.api-key}' | base64 -d

# Check if key was rotated
# → Verify in CodeRabbit dashboard

# Remediation: Update secret and restart pods
kubectl create secret generic coderabbit-secrets --from-literal=api-key=NEW_KEY --dry-run=client -o yaml | kubectl apply -f -
kubectl rollout restart deployment/coderabbit-integration

429 - Rate Limited

set -euo pipefail
# Check rate limit headers
curl -v https://api.coderabbit.com 2>&1 | grep -i rate

# Enable request queuing
kubectl set env deployment/coderabbit-integration RATE_LIMIT_MODE=queue

# Long-term: Contact CodeRabbit for limit increase

500/503 - CodeRabbit Errors

set -euo pipefail
# Enable graceful degradation
kubectl set env deployment/coderabbit-integration CODERABBIT_FALLBACK=true

# Notify users of degraded service
# Update status page

# Monitor CodeRabbit status for resolution

Communication Templates

Internal (Slack)

🔴 P1 INCIDENT: CodeRabbit Integration
Status: INVESTIGATING
Impact: [Describe user impact]
Current action: [What you're doing]
Next update: [Time]
Incident commander: @[name]

External (Status Page)

CodeRabbit Integration Issue

We're experiencing issues with our CodeRabbit integration.
Some users may experience [specific impact].

We're actively investigating and will provide updates.

Last updated: [timestamp]

Post-Incident

Evidence Collection

set -euo pipefail
# Generate debug bundle
./scripts/coderabbit-debug-bundle.sh

# Export relevant logs
kubectl logs -l app=coderabbit-integration --since=1h > incident-logs.txt

# Capture metrics
curl "localhost:9090/api/v1/query_range?query=coderabbit_errors_total&start=2h" > metrics.json  # 9090: Prometheus port

Postmortem Template

## Incident: CodeRabbit [Error Type]
**Date:** YYYY-MM-DD
**Duration:** X hours Y minutes
**Severity:** P[1-4]

### Summary
[1-2 sentence description]

### Timeline
- HH:MM - [Event]
- HH:MM - [Event]

### Root Cause
[Technical explanation]

### Impact
- Users affected: N
- Revenue impact: $X

### Action Items
- [ ] [Preventive measure] - Owner - Due date

Instructions

Step 1: Quick Triage

Run the triage commands to identify the issue source.

Step 2: Follow Decision Tree

Determine if the issue is CodeRabbit-side or internal.

Step 3: Execute Immediate Actions

Apply the appropriate remediation for the error type.

Step 4: Communicate Status

Update internal and external stakeholders.

Output

  • Issue identified and categorized
  • Remediation applied
  • Stakeholders notified
  • Evidence collected for postmortem

Error Handling

IssueCauseSolution
Can't reach status pageNetwork issueUse mobile or VPN
kubectl failsAuth expiredRe-authenticate
Metrics unavailablePrometheus downCheck backup metrics
Secret rotation failsPermission deniedEscalate to admin

Examples

One-Line Health Check

set -euo pipefail
curl -sf https://api.yourapp.com/health | jq '.services.coderabbit.status' || echo "UNHEALTHY"

Resources

Next Steps

For data handling, see coderabbit-data-handling.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.38%
按下载量换算63

Claude

31.65%
按下载量换算55

Cursor

18.31%
按下载量换算32

Gemini CLI

10.22%
按下载量换算18

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills