跳到正文
Skillpedia
通用编程117k · #755

investigate-first

它能做什么

这个技能诊断原因尚不明确的问题,例如间歇性 bug 或性能下降。适合希望在编辑任何代码之前先证明原因的开发者。

适用场景

  • ✓当故障原因不明,而你希望先取得证据的时候。
  • ✓当行为时有时无、难以复现的时候。
  • ✓当性能变慢而原因不清楚的时候。

技能链接

https://github.com/JuliusBrussee/caveman/blob/main/skills/investigate-first/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/JuliusBrussee/caveman/blob/main/skills/investigate-first/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我们的应用会随机让用户退出登录。请在修改任何代码之前,先用证据找出原因。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体把已观察到的内容与推断的内容区分开,追踪输入和状态变化,根据证据对可能的原因排序,并在找到一个可信的原因后停止。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Investigate first

Gather evidence before changing product code.

  • Separate observed symptom from inferred cause.
  • Trace inputs, state transitions, ownership boundaries, and failure output.
  • Rank hypotheses by evidence and cheap falsification value.
  • Do not edit until one credible mechanism explains evidence.
  • Stop exploration when evidence is sufficient to name cause or exact blocker.

Report cause and proof. Make no fix unless task authorizes implementation.

常见问题

它会修复问题吗?

除非任务要求实施,否则不会。它会报告原因和证据。

调查时它会编辑代码吗?

不会。在一种机制能够解释证据之前,它不做编辑。

如果找不到原因怎么办?

它会指出阻止调查继续进行的具体阻碍。

详情

作者的原始描述

Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

repo: JuliusBrussee/caveman

热度

GitHub 星标
117k
排名
#755
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能