dart-fix-runtime-errors
The dart-fix-runtime-errors skill provides a structured workflow for identifying, resolving, and verifying static analysis and runtime errors in Dart projects using standard CLI tools.
Is dart-fix-runtime-errors safe to install?
Review the source first: our audit of dart-fix-runtime-errors's source files found 5 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands that modify source code files and run tests within the local environment.
How we audit skills: our security review methodology.
Who is this skill for?
Dart developers who need to resolve static analysis errors, type mismatches, and null safety issues.
What can you do with it?
- Running static analysis on a Dart project
- Applying automated fixes for linting and analysis issues
- Resolving null safety errors
- Fixing type mismatch errors
- Correcting invalid method overrides
- Verifying code fixes via static analysis and unit tests
How good is this skill?
Quality score: 5/10. The skill provides a clear, actionable, and sequential workflow for common Dart development tasks. It relies on standard, well-documented Dart CLI tools.
What does the skill file contain?
# Resolving Dart Static Analysis Errors ## Contents - [Core Concepts & Guidelines](#core-concepts--guidelines) - [Type System & Soundness](#type-system--soundness) - [Null Safety](#null-safety) - [Error Handling](#error-handling) - [Workflows](#workflows) - [Workflow: Static Analysis Resolution](#workflow-static-analysis-resolution) - [Examples](#examples) ## Core Concepts & Guidelines ### Type System & Soundness Enforce Dart's sound type system to prevent runtime invalid states. * **Method Overrides:** Maintain sound return types (covariant) and parameter types (contravariant). ...
Frequently asked questions
Does this skill automatically fix all errors?
No. It uses 'dart fix' for standard issues, but requires manual intervention for complex logic errors like null safety violations or type mismatches.
How does the skill verify that a fix is successful?
It uses the 'dart analyze' command to check for static errors and 'dart test' to ensure runtime stability.
What should I do if my tests fail after applying a fix?
The skill instructs you to locate the runtime failure, specifically checking for invalid explicit casts or uninitialized 'late' variables, and then correct the type hierarchy or initialization order.
Related skills
systematic-debugging
173.2KSoftware engineers and AI agents tasked with resolving bugs, test failures, or unexpected system behaviors
A structured methodology for debugging technical issues by prioritizing root cause identification over symptom-based patching. It mandates a four-phase process: root cause investigation, pattern analysis, hypothesis testing, and implementation, while providing specific protocols for handling persistent failures and architectural concerns.
convex-performance-audit
79.2KDevelopers working with Convex applications who need to optimize slow features, resolve high-resource usage, or address transaction contention
The convex-performance-audit skill provides a structured workflow for diagnosing and resolving performance issues in Convex applications, including read amplification, OCC conflicts, subscription costs, and function limits.
momentic-result-classification
29.5KDevelopers and QA engineers using the Momentic testing framework to triage and debug automated test failures
The momentic-result-classification skill provides tools to analyze, categorize, and explain test failures within the Momentic end-to-end testing framework. It enables users to investigate test run metadata, step-level results, and historical run data to identify root causes of failures.
flutter-fix-layout-issues
21.1KFlutter developers encountering layout exceptions during UI development
This skill provides a diagnostic and resolution workflow for common Flutter layout errors, including RenderFlex overflows and unbounded constraint violations.