/dart-flutter:dart-setup-ffi-assetsfrom Dart and Flutter
Package native libraries as Dart Code Assets with build or link hooks. Use when a Dart or Flutter package needs to compile or bundle C, C++, Rust, or prebuilt native code.
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.
Inspect the package's SDK constraint, target platforms, native sources, license, and current hook setup. Follow the installed versions of package:hooks, package:code_assets, and the chosen native toolchain package; their APIs can change. Preserve an existing working build system where it meets the task.
Use hook/build.dart to produce target-specific Code Assets. Use hook/link.dart only when link-time work is needed. For C or C++ sources, package:native_toolchain_c can manage compilation. For prebuilt binaries, validate platform and architecture, checksum, provenance, license, and offline behavior before using a download. Do not download or execute a binary from an unverified URL.
Dart 3.13 supports native library tree shaking through @RecordUse and package:record_use. Add record-use mapping and link-time stripping only when binary size matters and the selected binding generator and toolchain support it. Generated-file names and locations should follow the package's conventions; no fixed lib/src/third_party/ path is required.
Run the package's native build and focused test on each available target. Check that the asset is bundled and loadable. For a tree-shaking change, compare symbols or binary size with a representative build. Report targets that could not be tested.
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.