SKILL18.8K installs530

Dart Fix Runtime Errors

Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.

Type
Skill
Author
dart-lang
Category
Testing
GitHub stars
530
Installs
18.8K
Last updated
October 16, 2026

Install

npx skills add https://github.com/dart-lang/skills --skill dart-fix-runtime-errors

Use cases


Frequently Asked Questions

Which tools does it use to find the error?

It calls get_runtime_errors and lsp to fetch an active stack trace and locate the failing line.

How does it confirm the fix worked?

It verifies resolution via hot_reload after applying the fix.

Does the app need to be running?

Yes — the hot reload verification step relies on a running app.


About this skill

Fetches an active stack trace with get_runtime_errors and lsp, locates the failing line, applies a fix, and verifies it through hot_reload. Use it when a Dart app throws at runtime and you want the error traced and resolved in one loop. It relies on a running app for the hot reload verification step.

Summary written with AI assistance from the project's public description.


Categories


More from dart-lang


Similar Skills