dart-use-ffigen - Generate Dart FFI bindings using package:ffigen
Guides agents to automatically generate Dart FFI bindings using package:ffigen instead of writing manual dart:ffi code.
Tags
Updated: 2026-09-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Add ffigen to dev_dependencies
- Create ffigen generator script
- Configure FfiGenerator options
- Execute generator script
- Analyze generated Dart code
Inputs
- Native C/C++/Objective-C header files
- Dart package pubspec.yaml file
- Target package path
Outputs
- Generated Dart FFI bindings file
- Record use mapping metadata file
- FFI generator script in tool directory
- Updated pubspec.yaml file
Requirements
- Dart SDK
- package:ffigen dependency
- libclang runtime environment
