If you use AI coding assistants—whether it is Claude Code, Google Antigravity, OpenAI Codex, GitHub Copilot, Cursor, or Cline—you have likely experienced the Training Cutoff Frustration in Dart and Flutter.
Dart moves fast. Over the last few years, we have seen:
?
, late
, !
, required
).super.key
) and enhanced enums.class Point(var int x, var int y);
).Because pre-training datasets naturally lag behind the bleeding edge, vanilla LLMs frequently:
environment.sdk
lower bound (minSdk
) in pubspec.yaml
.To solve this once and for all, I extracted and open-sourced .
dart-sdk-skills
dart-sdk-skills
?
dart-sdk-skills
is an authoritative, version-by-version skill package designed specifically for AI coding agents.
Rather than dumping thousands of lines into your prompt on every turn, it uses progressive disclosure:
Instead of fighting the LLM over modern language ergonomics, your agent immediately knows:
this : assert(...)
bodies._
) and digit separators (1_000_000
).minSdk
verification so your pubspec.yaml
never breaks CI.Because Dart 3 completely disallows running without sound null safety, rescuing older codebases requires a strict 4-stage pipeline:
new
keywords and enforce sound static typing.@required
annotations, uninitialized nullable fields, and defensive runtime assertions.^3.5.0
or ^3.13.0
and replace deprecated packages (pedantic
, tuple
).You can install dart-sdk-skills
globally across all your projects in seconds using any skill package manager:
npx skills
(Universal / Node):
npx skills add RandalSchwartz/dart-sdk-skills -g
skills
CLI:
skills add https://github.com/RandalSchwartz/dart-sdk-skills --global --all
Once installed, your agent is automatically equipped with the entire Dart SDK knowledge base.
Check out the full repository on GitHub:
👉 https://github.com/RandalSchwartz/dart-sdk-skills