dart-fix-runtime-errors 是做什麼的?
使用 get_runtime_errors 和 LSP 擷取執行中的堆疊追蹤,定位錯誤行,套用修正,並透過 hot reload 驗證解決。
使用 get_runtime_errors 和 LSP 擷取執行中的堆疊追蹤,定位錯誤行,套用修正,並透過 hot reload 驗證解決。
此技能名為 dart-fix-runtime-errors,專為 Dart 開發者設計,能自動化修正執行時期錯誤的流程。它整合了 `get_runtime_errors`(用於取得執行時期堆疊追蹤的 Dart 工具)與 LSP(Language Server Protocol)協定,以非侵入式方式擷取當前應用程式的異常資訊。技能會解析堆疊追蹤,精確定位錯誤發生的程式碼行,然後建議或直接套用修補程式。修正完成後,它會自動觸發 hot reload,即時驗證問題是否已被解決。此技能通常整合於支援 LSP 的編輯器(如 VS Code)或 AI 代理工具(如 Codex),能大幅縮短開發者除錯與迭代的循環時間。
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-fix-runtime-errorsInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
使用 get_runtime_errors 和 LSP 擷取執行中的堆疊追蹤,定位錯誤行,套用修正,並透過 hot reload 驗證解決。
This repo contains 8 individual skills — each has its own dedicated page.
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Collect coverage using the coverage packge and create an LCOV report
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
Use switch expressions and pattern matching where appropriate
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.