
Dart Setup Ffi Assets
dart-lang/skills/skills/dart-setup-ffi-assetsby dart-lang0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49No license515 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 10 days ago
Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart's Native Assets hook system (via hook/build.dart and hook/link.dart utilizing package:hooks and package:native_toolchain_c). Use when a user asks to: 'setup native assets', 'compile C/C++ source code', 'bundle dynamic libraries', 'build native C code', 'link native assets', 'implement build.dart or link.dart hooks', or 'integrate C/C++ interop in Dart/Flutter'. Helps agents avoid manual toolchain orchestration and configures secure hash-validated binary downloads or advanced linker tree-shaking with package:record_use mapping.
- 0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49Currentcommit 0d9f1c4Published Oct 9, 2026
Source and attribution
Source:dart-lang/skillsinskills/dart-setup-ffi-assetsat commit0d9f1c4
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from dart-lang/skills

Dart Write Documentation
dart-lang
Applies Effective Dart rules to write and format Dart /// API doc comments for public declarations.

Dart Use Primary Constructors
dart-lang
Guides writing, refactoring, and debugging Dart primary constructors and the newer constructor syntax.

Dart Use Pattern Matching
dart-lang
Guides idiomatic use of Dart 3 pattern matching, switch expressions, and destructuring in code.

Dart Use Path Package
dart-lang
Guides safe cross-platform file path manipulation in Dart using package:path and package:file.

Dart Use Ffigen
dart-lang
Guides agents to generate Dart FFI bindings with package:ffigen instead of writing them by hand.

Dart Use Doc Examples
dart-lang
Explains how to inject external Dart code examples into Dartdoc using the {@example} directive and region markers.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.