技能 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)
Maintain this Skill? Claim it 🥉 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

addyosmani 的更多技能

查看全部
查看全部