/dart-flutter:dart-resolve-package-conflictsfrom Dart and Flutter
Diagnose and resolve Dart or Flutter pub dependency conflicts. Use when pub get fails, a package is retracted, or constraints block a needed upgrade.
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.
Read the pub get error, pubspec.yaml, SDK constraints, workspace configuration, and relevant pubspec.lock entries. Use dart pub outdated and dart pub deps when they help identify the constraint chain. In Flutter projects, use flutter pub commands where appropriate.
Prefer a targeted dart pub upgrade <package> or a justified change to the direct dependency constraint. If a transitive package is the blocker, identify its parent before changing constraints. Use dart pub add <package>:<constraint> when it accurately expresses the intended supported range. Follow the package's compatibility requirements; caret constraints are common, not mandatory.
Do not hand-edit individual pubspec.lock blocks to force resolution. Preserve the lockfile policy for the package or application. Use dependency overrides only as a temporary, explicit project decision, and remove them when proper compatible releases are available.
Run pub get, inspect the resulting dependency diff, then run relevant analysis and tests. Report any remaining incompatibility with the exact package constraints involved.
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.