debugging-strategies
系统化调试 Bug
当团队靠猜测原因时,Bug 往往会浪费大量时间。此技能引导 Claude、Codex 和 Claude Code 完成结构化的复现、隔离、性能分析和验证流程。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "debugging-strategies" from https://skillstore.io/skills/wshobson-debugging-strategies.md and its manifest at https://skillstore.io/api/skills/wshobson-debugging-strategies/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“debugging-strategies”。 结账页面只在午夜后对 Safari 用户失败。
预期结果:
响应会列出复现条件,比较浏览器和时间因素,并提出时区和客户端兼容性测试。
正在使用“debugging-strategies”。 某个 API 在依赖升级后变慢了。
预期结果:
响应会创建性能分析计划,检查最近变更,并建议使用 git bisect 来识别回归。
正在使用“debugging-strategies”。 重复运行测试期间内存持续增长。
预期结果:
响应会建议基线测量、堆快照、重复操作,以及在疑似泄漏修复后的验证。
安全审计
安全All static findings appear to be false positives caused by Markdown code fences, language syntax examples, localhost profiling documentation, and ordinary debugging prose. No prompt injection, data exfiltration intent, hidden command execution, or malicious network behavior was found in SKILL.md.
风险因素
⚡ 包含脚本 (2)
⚙️ 外部命令 (34)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/wshobson-debugging-strategies/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/wshobson-debugging-strategies?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/wshobson-debugging-strategies?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-debugging-strategies/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/wshobson-debugging-strategies.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 引用
wshobson. (2026). debugging-strategies security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-debugging-strategies/audits/9BibTeX 引用
@techreport{wshobson-wshobson-debugging-strategies-2026,
author = {wshobson},
title = {debugging-strategies security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/wshobson-debugging-strategies/audits/9},
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: "debugging-strategies security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/wshobson-debugging-strategies/audits/9"
identifiers:
- type: other
value: "skillstore:wshobson-debugging-strategies:audit:9"
description: "Skillstore immutable audit report identifier"
比较变体
2 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
调查回归问题
使用 git 历史记录和受控测试来缩小新引入缺陷的范围。
诊断生产环境行为
在规划安全修复之前,收集日志、用户报告和指标。
分析慢代码
选择浏览器、Python、Node 或 Go 性能分析工具来识别瓶颈。
试试这些提示
帮助我调试这个失败行为。先询问缺失的复现细节,然后一次建议一个测试。
比较这些正常和异常案例。识别有意义的差异,并按可能性对原因排序。
为这个性能问题设计一份性能分析计划。包括工具、测量项和验证步骤。
分析这些事件证据。区分症状和根因,并提出可确认每个假设的测试。
最佳实践
- 在修改代码之前,先获得可靠的复现。
- 一次只改变一个变量,并记录结果。
- 使用本应能捕获该 Bug 的测试来验证修复。
避免
- 不要在测量瓶颈之前进行优化。
- 不要通过未经测试的更改来调试生产环境。
- 不要在保留证据之前删除日志或错误。