/dart-flutter:dart-run-static-analysisfrom Dart and Flutter
Run Dart or Flutter static analysis, interpret diagnostics, and apply focused analyzer fixes. Use for analyzer errors, warnings, lint setup, and mechanical fixes.
Ships in Dart and Flutter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inspect the project's analysis_options.yaml. Preserve its existing lint set and severity policy. For a new Dart package, package:lints/recommended.yaml is a common base; for Flutter, use package:flutter_lints/flutter.yaml when that dependency is present.
Run dart analyze <target> or flutter analyze <target>. Use an available Dart MCP analysis tool when it provides better project context. Read each diagnostic before changing code. Enable strict casts, inference, or raw-type checks only when requested or consistent with the project's policy.
Use dart fix --dry-run to preview mechanical fixes. Apply only fixes relevant to the task, then format changed Dart files and analyze again. Prefer correcting code over suppressing a diagnostic. Use a narrow ignore with a reason only when a diagnostic is demonstrably inapplicable. Avoid broad generated-file exclusions that could hide errors.
Check relevant tests if analysis fixes can change behavior. Report unresolved diagnostics and their scope.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mordechai30/flutter-dart-skills --plugin dart-flutter26 skills in this plugin
/dart-add-unit-testAdd focused unit tests for Dart code with package:test, or flutter_test in Flutter projects. Use for new logic and regressions that can be checked without a running app./dart-build-cli-appBuild Dart command-line tools with sound argument parsing, streams, exit status, packaging, and subprocess behavior. Use for console apps and installed Dart executables./dart-collect-coverageCollect and inspect LCOV test coverage for Dart or Flutter projects. Use when the user requests a coverage report or needs to find untested behavior./dart-fix-runtime-errorsDiagnose and fix observed Dart or Flutter runtime failures from a stack trace, failing test, or running app. Use for exceptions, failed casts, late initialization errors, and similar failures./dart-generate-test-mocksGenerate Mockito test doubles for Dart or Flutter dependencies when hand-written fakes are impractical. Use for controlled service responses and interaction verification./dart-migrate-to-checks-packageReplace the usage of `expect` and similar functions from `package:matcher`
to `package:checks` equivalents.