fix-errors
✓從 VS Code 錯誤遙測儀表板修復未處理錯誤的指南。在調查帶有堆疊追蹤、錯誤訊息和點擊/用戶計數的錯誤遙測問題時使用。涵蓋透過呼叫堆疊追蹤資料流、識別無效資料的生產者與崩潰的消費者、豐富遙測診斷的錯誤訊息,以及避免常見的反模式(例如默默吞下錯誤)。
SKILL.md
When fixing an unhandled error from the telemetry dashboard, the issue typically contains an error message, a stack trace, hit count, and affected user count.
The error manifests at a specific line in the stack trace, but the fix almost never belongs there. Fixing at the crash site (e.g., adding a typeof guard in a revive() function, swallowing the error with a try/catch, or returning a fallback value) only masks the real problem. The invalid data still flows through the system and will cause failures elsewhere.
Read each frame in the stack trace from bottom to top. For each frame, understand:
從 VS Code 錯誤遙測儀表板修復未處理錯誤的指南。在調查帶有堆疊追蹤、錯誤訊息和點擊/用戶計數的錯誤遙測問題時使用。涵蓋透過呼叫堆疊追蹤資料流、識別無效資料的生產者與崩潰的消費者、豐富遙測診斷的錯誤訊息,以及避免常見的反模式(例如默默吞下錯誤)。 來源:microsoft/vscode。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/microsoft/vscode --skill fix-errors- 分類
- {}資料分析
- 認證
- ✓
- 收錄時間
- 2026-02-15
- 更新時間
- 2026-02-18
快速解答
什麼是 fix-errors?
從 VS Code 錯誤遙測儀表板修復未處理錯誤的指南。在調查帶有堆疊追蹤、錯誤訊息和點擊/用戶計數的錯誤遙測問題時使用。涵蓋透過呼叫堆疊追蹤資料流、識別無效資料的生產者與崩潰的消費者、豐富遙測診斷的錯誤訊息,以及避免常見的反模式(例如默默吞下錯誤)。 來源:microsoft/vscode。
如何安裝 fix-errors?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/microsoft/vscode --skill fix-errors 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/microsoft/vscode