From Dart Helper Utils
Audits and executes dart_helper_utils package upgrades across v2-v6, detecting current version, sequencing migration hops, and verifying with project tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dart-helper-utils:upgrade-dart-helper-utilsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Version-aware audit. Determine the CURRENT resolved version first, apply
Version-aware audit. Determine the CURRENT resolved version first, apply only the hops that cross it, and verify with the project's own tests.
grep -n "dart_helper_utils" pubspec.yaml # declared constraint
grep -A2 " dart_helper_utils:" pubspec.lock # resolved version
If the resolved version already equals the target: report "no migration needed" and stop (do not invent work).
| From | To | Size | What changes |
|---|---|---|---|
| 1.x | 2.x | small | toDateWithFormat to toDateFormatted; dateFormat became a method with optional locale; firstDayOfWeek/lastDayOfWeek became methods with startOfWeek:; flatJson to flatMap; makeEncodable/safelyEncodedJson to encodableCopy/encodedJsonString |
| 2.x | 3.x | small | removed deprecated String.toDateTime (use toDate/toDateFormatted) and DateTime.format (use formatted) |
| 3.x | 4.x | medium | paginators rebuilt on BasePaginator (lifecycle, transform caching, CancelableOperation); generic delay() replaced by unit methods (2.secondsDelay()); disposal became no-op instead of throwing |
| 4.x/5.x | 6.x | LARGE | use the dedicated migrate-dart-helper-utils-v5-to-v6 skill (conversion moved to convert_object, renames, removals, behavior changes) |
| 6.0.x | 6.0.y | none | patch releases are docs/tooling unless the CHANGELOG says otherwise - read it first |
Shortcut when crossing several majors: paginator work in the 3-to-4 hop is
WASTED if the target is 6.x (paginators were removed in v6) - go straight
to choosing a pagination replacement. The same applies to
encodableCopy/encodedJsonString (renamed again in v6 to
toJsonSafe/toJsonString).
dart pub get (or
dart pub upgrade dart_helper_utils).dart analyze and run the full test suite; compare failures against the
pre-upgrade baseline (record it first).^3.10.0 and convert_object ^1.1.0;
a direct dependency pinning convert_object <1.1 (or an old SDK) blocks
resolution.alternativeKeys, percentile range) are catalogued in the
migrate-dart-helper-utils-v5-to-v6 skill's behavior-changes section.npx claudepluginhub omar-hanafy/dart_helper_utils --plugin dart-helper-utilsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.