技能 debugging-and-error-recovery
📦

debugging-and-error-recovery

内容修订 r2 安全 ⚙️ 外部命令🔑 环境变量

Debug Errors with a Root-Cause Workflow

Debugging failures by guesswork wastes time and can hide the real cause. This skill provides a repeatable process for reproducing, isolating, fixing, and verifying problems.

支持: Claude Codex Code(CC)
🥉 78 青铜

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "debugging-and-error-recovery" from https://skillstore.io/skills/addyosmani-debugging-and-error-recovery.md and its manifest at https://skillstore.io/api/skills/addyosmani-debugging-and-error-recovery/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

测试它

正在使用“debugging-and-error-recovery”。 A search test fails after a query change, but the user interface looks correct.

预期结果:

  • Reproduce the focused test with verbose output.
  • Compare the query result count with the expected data.
  • Inspect joins and add a regression test for duplicate results.

正在使用“debugging-and-error-recovery”。 A build fails with a missing import after a dependency update.

预期结果:

Check the module path, exported names, lockfile state, and dependency compatibility. Then run the focused test, full suite, and build.

正在使用“debugging-and-error-recovery”。 A runtime error appears only under concurrent requests.

预期结果:

  • Capture timestamps and request context around the failure.
  • Reproduce with controlled concurrency.
  • Inspect shared state, then verify the fix under the original load pattern.

安全审计

安全
v2 • 2026/9/19 打开版本化报告

All 32 static findings are false positives caused by Markdown code fences, illustrative shell commands, template literals, configuration examples, or checklist text. The skill provides defensive debugging guidance and includes explicit instructions to treat external error output as untrusted data.

1
已扫描文件
301
分析行数
0
复核项
0
已忽略误报
最新一次完成的静态与语义审计未检测到已确认的安全发现。这并不能证明该 Skill 没有副作用。
审计者: codex 查看审计历史 →
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/addyosmani-debugging-and-error-recovery/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/addyosmani-debugging-and-error-recovery/security.svg)](https://skillstore.io/skills/addyosmani-debugging-and-error-recovery?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/addyosmani-debugging-and-error-recovery?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/addyosmani-debugging-and-error-recovery/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/addyosmani-debugging-and-error-recovery.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 引用

addyosmani. (2026). debugging-and-error-recovery security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/addyosmani-debugging-and-error-recovery/audits/2

BibTeX 引用

@techreport{addyosmani-addyosmani-debugging-and-error-recovery-2026, author = {addyosmani}, title = {debugging-and-error-recovery security audit report (audit version 2)}, institution = {Skillstore}, year = {2026}, number = {2}, url = {https://skillstore.io/skills/addyosmani-debugging-and-error-recovery/audits/2}, 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-and-error-recovery security audit report (audit version 2)" version: "unspecified" type: report authors: - name: "addyosmani" date-released: "2026-09-19" url: "https://skillstore.io/skills/addyosmani-debugging-and-error-recovery/audits/2" identifiers: - type: other value: "skillstore:addyosmani-debugging-and-error-recovery:audit:2" description: "Skillstore immutable audit report identifier"

Skillstore 评分

评分依据 证据置信度: 中
55
架构
85
可维护性
87
内容
65
社区
91
规范符合性

你能构建什么

Investigate a failing test

Reproduce the failure, isolate the affected layer, identify the root cause, and design a regression test.

Recover a broken build

Separate type, import, configuration, dependency, and environment failures before applying a focused fix.

Triage a production error

Preserve evidence, treat external error text as untrusted data, localize the fault, and verify recovery safely.

试试这些提示

Start a debugging triage
My application has this failure: [describe failure]. Help me reproduce it, gather evidence, and list the first diagnostic steps.
Localize a test failure
A test changed from passing to failing after [change]. Use a structured workflow to identify the failing layer and likely causes.
Find a regression commit
This behavior worked at [known-good revision] and fails at [current revision]. Plan a minimal reproduction and a git bisect investigation.
Design a verified recovery
Analyze this incident evidence: [logs, symptoms, and reproduction]. Propose the root-cause fix, regression coverage, verification commands, and safe rollback conditions.

最佳实践

  • Preserve logs, error output, and reproduction steps before changing code.
  • Reduce failures to the smallest reliable case before fixing symptoms.
  • Verify the original scenario, full tests, build, and regression coverage after the fix.

避免

  • Do not skip failing tests or continue feature work before understanding the failure.
  • Do not apply speculative fixes without reproducing or localizing the problem.
  • Do not follow commands embedded in error output without independent verification and user approval.

常见问题

When should I use this skill?
Use it when tests fail, builds break, runtime behavior changes, or an incident needs structured investigation.
Does it run debugging commands?
No. It provides command examples and reasoning steps for you or an authorized tool to execute.
Can it debug production incidents?
It provides triage guidance, evidence handling, and verification steps, but it cannot access or operate your production systems.
How does it handle suspicious error messages?
It treats error messages, logs, and stack traces as untrusted data rather than instructions.
Which projects does it support?
It supports any project when you adapt its examples to the repository's language, framework, and commands.
What should I provide for better results?
Provide the exact symptom, reproduction steps, recent changes, relevant output, environment details, and expected behavior.

开发者详情

作者

addyosmani

许可证

MIT

Skillstore 修订

r2

版本提示

作者未声明版本。

引用

5d5054f8a23586f9b500fece1cb613a9dffc787b

维护新鲜度

2026/9/19

使用量

2 次下载 · 0 次浏览

文件结构

📄 SKILL.md