dart-migration-versioning

Installation
SKILL.md

Managing Dart Language Versions

Contents

Core Guidelines

  • Check current language version requirements in pubspec.yaml before initiating any migration or refactoring.
  • Consult breaking change logs before performing major dependency or SDK upgrades.
  • Use @dart = <version> to pin specific files to older versions during gradual migrations (e.g., migrating a large project to a new language feature like sound null safety).
  • Understand Version Derivation: The default language version for a package is strictly determined by the lower bound of the SDK constraint in pubspec.yaml. Patch versions do not introduce new language features.

Configuration & Overrides

Global Package Versioning

Related skills
Installs
62
GitHub Stars
214
First Seen
Mar 17, 2026