diagnosing-bugs
通过结构化循环诊断 Bug
如果团队在复现故障之前就开始猜测,棘手的 Bug 会浪费大量时间。此技能会引导 Claude、Codex 和 Claude Code 完成一套严谨的调试循环。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "diagnosing-bugs" from https://skillstore.io/skills/mattpocock-diagnosing-bugs.md and its manifest at https://skillstore.io/api/skills/mattpocock-diagnosing-bugs/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“diagnosing-bugs”。 用户报告称,只有在按日期筛选后导出报表才会失败。
预期结果:
代理首先创建可重复的导出循环,确认准确故障,最小化筛选条件案例,然后对可能原因进行排序。
正在使用“diagnosing-bugs”。 某个页面在发布后变慢了,但没有出现错误。
预期结果:
代理会测量基线,比较旧路径和新路径,避免宽泛日志,并一次只测试一个性能假设。
正在使用“diagnosing-bugs”。 一个不稳定的集成测试在持续集成中失败,但在本地不会失败。
预期结果:
代理会提高复现率,记录观察到的失败模式,并且只在循环足够有用后继续。
安全审计
安全All ten static findings are false positives. The URL is a localhost example, shell-like tokens are Markdown code spans, and the Bash template only prompts for human input. No prompt injection, exfiltration intent, or other semantic security issue was found.
风险因素
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/mattpocock-diagnosing-bugs/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/mattpocock-diagnosing-bugs?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/mattpocock-diagnosing-bugs?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/mattpocock-diagnosing-bugs/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/mattpocock-diagnosing-bugs.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
mattpocock. (2026). diagnosing-bugs security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/mattpocock-diagnosing-bugs/audits/5BibTeX 引用
@techreport{mattpocock-mattpocock-diagnosing-bugs-2026,
author = {mattpocock},
title = {diagnosing-bugs security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/mattpocock-diagnosing-bugs/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "diagnosing-bugs security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "mattpocock"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/mattpocock-diagnosing-bugs/audits/5"
identifiers:
- type: other
value: "skillstore:mattpocock-diagnosing-bugs:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
修复可复现的产品 Bug
使用紧凑的失败循环确认症状、隔离原因并验证修复。
调查性能回归
建立基线,测量慢路径,并比较不同版本或配置下的行为。
创建清晰的 Bug 交接
记录复现步骤、最小化场景、假设和测试覆盖,交给另一位维护者。
试试这些提示
使用 diagnosing-bugs 技能。在提出修复方案之前,先为这个 Bug 构建紧凑的复现循环:[describe the symptom]。
使用 diagnosing-bugs 技能,将这个失败复现缩减到仍能展示报告症状的最小场景。
使用 diagnosing-bugs 技能。在添加检测手段之前,生成 3 到 5 个按优先级排序且带有可证伪预测的假设。
使用 diagnosing-bugs 技能来建立基线、比较回归路径、测试假设,并在有效时添加回归覆盖。
最佳实践
- 在修改代码之前,创建能捕获确切用户症状的命令或脚本。
- 测试假设时一次只改变一个变量。
- 在声明修复完成之前,移除临时调试检测代码。
避免
- 在 Bug 可复现之前就猜测修复方案。
- 添加与可证伪预测无关的宽泛日志。
- 在无法触发真实故障的测试切入点编写回归测试。
常见问题
我什么时候应该使用这个技能?
这个技能会自动修复 Bug 吗?
它能帮助处理性能问题吗?
它需要测试套件吗?
它如何处理不稳定 Bug?
在使用它之前我应该提供什么?
开发者详情
作者
mattpocock许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006
维护新鲜度
2026/7/25
使用量
7 次下载 · 0 次浏览
文件结构