Community程式設計與開發github.com

dart-lang/dart-fix-runtime-errors

使用 get_runtime_errors 和 LSP 擷取執行中的堆疊追蹤,定位錯誤行,套用修正,並透過 hot reload 驗證解決。

dart-fix-runtime-errors 是什麼?

此技能名為 dart-fix-runtime-errors,專為 Dart 開發者設計,能自動化修正執行時期錯誤的流程。它整合了 `get_runtime_errors`(用於取得執行時期堆疊追蹤的 Dart 工具)與 LSP(Language Server Protocol)協定,以非侵入式方式擷取當前應用程式的異常資訊。技能會解析堆疊追蹤,精確定位錯誤發生的程式碼行,然後建議或直接套用修補程式。修正完成後,它會自動觸發 hot reload,即時驗證問題是否已被解決。此技能通常整合於支援 LSP 的編輯器(如 VS Code)或 AI 代理工具(如 Codex),能大幅縮短開發者除錯與迭代的循環時間。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-fix-runtime-errors

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

dart-fix-runtime-errors 是做什麼的?

使用 get_runtime_errors 和 LSP 擷取執行中的堆疊追蹤,定位錯誤行,套用修正,並透過 hot reload 驗證解決。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

相關技能