From flutter-slipstream
Guides adding Dart/Flutter package dependencies using pub add or pubspec.yaml edits, including reading pub output for discontinued packages and version constraints.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flutter-slipstream:add-packageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `flutter pub add <package>` (or `dart pub add`) rather than editing
Use flutter pub add <package> (or dart pub add) rather than editing
pubspec.yaml directly. The pub command output is the primary signal for
package health; direct edits bypass it.
After running pub add, read the output carefully before proceeding. Two
classes of problem appear inline:
+ flutter_markdown 0.7.7+1 (discontinued replaced by flutter_markdown_plus)
...
1 package is discontinued.
Action:
flutter pub remove <pkg> then
flutter pub add <replacement>).+ lints 4.0.0 (6.1.0 available)
...
4 packages have newer versions incompatible with dependency constraints.
The (X.Y.Z available) annotation on a package you just added means the version
you requested is behind the current release — often by a major version.
Action:
Run flutter pub outdated to see the structured breakdown:
Package Name Current Upgradable Resolvable Latest
lints *4.0.0 *4.0.0 6.1.0 6.1.0
If a direct dependency you just added shows a major-version gap between
Current and Latest, remove the version pin or update the constraint to the
current major (flutter pub add 'lints:^6.0.0').
Transitive dependency gaps are generally not actionable — note them but don't block on them.
If you add a dependency by editing pubspec.yaml instead of using pub add,
run flutter pub get immediately after and apply the same output-reading rules.
npx claudepluginhub devoncarew/slipstream --plugin flutter-slipstreamGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.