跳到主要内容
#1
该品类排名 #1 / 共 256 个· Ranked #1 of 256 in this category

Incident Investigate

by Evan Hsu·3 个月前

原因还没坐实之前,不急着修。

No fixes until the cause is real.

开发与工程CodexClaude Codelocal terminals低风险 · low risk开源 · open source

安装前须知Before you install

未声明特殊权限需求No special access needs declared
编辑结论· Editor's verdict

在那种「第一反应反而是错的」事故里它最有用。强制走「证据—假设—验证—再动手」的顺序:先收集日志,列出候选假设,逐个验证,最后才提修复方案。只要救下一次本该用「重启就好」掩盖掉的真实数据完整性问题,回报就够了。但纯样式回归就别用它了,等回滚比慢思考更划算。

Best for incidents where the fastest reflex would be the wrong fix. Forces an evidence-before-action loop: collect logs, list candidate hypotheses, verify each, only then propose a change. Pays for itself the moment it catches the kind of incident where "just restart it" would have masked a real data-integrity problem. Skip it for obviously cosmetic regressions — the cost of slowing down outweighs the cost of a re-deploy there.

— 编辑团队 · Editorial team

通过 Skills CLI 安装

使用 npx skills add 将该 skill 安装到选中的 Agent。Phase 0 命令均为按规则生成,尚未验证。

Codex
npx skills add https://github.com/evan-hsu/incident-investigate -g -a codex -y

去掉 -g 可改为项目级安装

适合什么场景Best for

  • 根因分析Root-cause analysis
  • 不稳定 bug 调查Flaky bug investigation
  • 事故后总结Post-incident summaries

不适合什么场景Not for

  • 快速样式修补Quick cosmetic fixes
  • 没有证据的任务Tasks with no evidence available
  • 未获用户确认的最终生产变更Final production changes without review

vs 其他选择vs alternatives

完整对比表Full compare table →
QA Loop

打开产品走一遍流程,发现问题就修,然后再验证。

4.9·15k Star
差异 · diff做需要留证据链的浏览器 QA,它是最佳选择。每次跑都会产出截图、控制台 diff 和可重放的动作日志——比一句「我在本地测过了」更难被挡回去。适合做合并前关卡,也适合带证据提 bug。别用在单元测试场景,也别在敏感的登录态生产会话里用——截图本身就是数据风险。
GStack Investigate

根因没坐实之前,不急着动手修。

4.8·123k Star
差异 · diffbug 是在代码里而不是在运行态时,它最合适。和 incident-investigate 一样有「根因没明确前不修复」的纪律,但更偏静态代码调查:读可疑模块、建假设树、要求先有失败测试或复现,才允许改代码。在 flaky test 和间歇性故障这种「浅修反而更糟」的场景里最强。运维侧事故(日志、流量、基础设施)用 incident-investigate 更合适。
Canary Watch

抢在用户之前,确认这次上线真的没问题。

4.6·8.2k Star
差异 · diff上线刚结束的 10-30 分钟最适合用它——「我们在 staging 验过了」这话在生产开始撑不住的那段时间。会按预设的关键路由清单走一遍,盯控制台错误、坏页面、和基线对比的视觉 diff。设计上很轻——不是 synthetic monitoring 平台。和 release-briefing 配合做发布沟通侧。别拿它替代合并前 QA,那是 qa-loop 或 gstack-qa 的活。

维度对比side-by-side compare

和同类的关键维度差异
当前 · this skillIncident InvestigateQA LoopGStack InvestigateCanary Watch
评分 · rating4.84.94.84.6
星标 · stars10k15k123k8.2k
风险 · risk低风险 · low risk中风险 · med risk低风险 · low risk中风险 · med risk
最适合 · best for根因分析浏览器冒烟测试结构化调试发布后验证
不适合 · not for快速样式修补纯单元测试快速文案改动合并前评审

审计备注Audit notes

2026-06-10 复查 · last reviewed
源码Source公开 GitHub · open on GitHub
作者Author社区贡献 · community!
网络访问Network只读 · read-only
文件写入Filesystem工作目录沙箱 · sandboxed
依赖Dependencies依赖少且通过审计 · audited
遥测Telemetry无 · none
Skill Market
按品类找最好用的 AI 技能·Find the best AI skills for the job
v0.4 · 收录 1306 个 skill · 上次评测 2026-06-10