Skill / SKILL.md

Dart Setup Ffi Assets

flutter/skills

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.
3 views 3,219 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/flutter/skills' skill-source

Use the complete skill-source/skills/dart-setup-ffi-assets directory with your client’s skill installer.

  • skills/dart-setup-ffi-assets

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/dart-setup-ffi-assets

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7ddca16641e4fcde25307db17172e4c016e6f9b55b4816541c997ef5c1b88c1f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills