investigate
它能做什么
这项技能指导对所报告的软件问题进行细致的调查。它确认问题能否复现,沿着代码追踪,并把事实与猜测区分开来。适合希望在改动任何内容之前获得清晰诊断的开发者。
适用场景
- ✓当用户或同事报告了一个缺陷,而原因尚不清楚时。
- ✓当问题可能真实存在却尚无法复现,因此必须先加以确认时。
- ✓当你需要知道同一原因还影响了哪些其他用户或系统的时候。
技能链接
https://github.com/vercel/eve/blob/main/packages/eve-code/extension/skills/investigate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“用户反映结账时有时会重复扣款。请调查这份报告,并在我们改动任何东西之前告诉我实际发生了什么。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会从可见的影响出发,沿着相关的代码路径和服务回溯问题,并用证据检验每一个猜测,直到某个解释能够解释所有观察到的现象。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Investigate
Determine unambiguously what the report means from the system's perspective. First establish whether it is real and reproducible. If not, pause and report that result.
Start at the observed effect and identify the code paths directly responsible. Climb one layer at a time across call frames, processes, network hops, and persistence boundaries. Go only as wide and deep as the evidence requires.
Keep an explicit hypothesis at every branch and try to disprove it. Prefer the simplest explanation that accounts for all observed evidence. Do not jump to solutions before diagnosis.
Standards
- Resolve every cited call frame and reference.
- Distinguish observations, inferences, and unknowns.
- Map relevant dependencies and identify other reports or users affected by the same mechanism.
- Question assumptions about timing, state, identity, retries, and execution boundaries.
- Stop when required evidence is unavailable rather than filling gaps with guesses.
Questions for every hypothesis
- How can this be disproved?
- Is there a simpler or more likely explanation?
- Which source references remain unresolved?
- Do the surrounding code and runtime state support the conclusion?
- Does this explain both why the behavior occurs and why it began now?
Return compact but complete evidence, the diagnosed mechanism, a decision tree when useful, and the smallest prognosis justified by the evidence.
常见问题
它会立即修复缺陷吗?
不会。它首先专注于诊断,不会直接跳到解决方案。
如果无法复现问题怎么办?
它会报告这一结果,而不会用猜测来填补空白。
它如何避免错误的结论?
它在每一步都保留明确的假设,尝试推翻它,并优先选择能解释所有证据的最简单解释。
详情
热度
- GitHub 星标
- 5.8k
- 排名
- #14658
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …