dart-use-ffigen
Generate Reliable Dart FFI Bindings with FFIgen
Manual Dart FFI bindings are error-prone and difficult to maintain. This skill guides agents to configure FFIgen, generate bindings, and verify outputs.
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "dart-use-ffigen" from https://skillstore.io/skills/dart-lang-dart-use-ffigen.md and its manifest at https://skillstore.io/api/skills/dart-lang-dart-use-ffigen/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「dart-use-ffigen」を使用しています。 Generate bindings for sqlite3_libversion from third_party/sqlite/sqlite3.h.
期待される結果:
A generator plan with one symbol filter, package-relative paths, licensed generated output, recorded-use metadata, and analyzer verification.
「dart-use-ffigen」を使用しています。 Replace handwritten dynamic library lookups in a Dart package.
期待される結果:
A migration summary identifying native headers, generated targets, required filters, removed manual bindings, and remaining runtime validation.
「dart-use-ffigen」を使用しています。 Review an existing FFIgen setup for repository compliance.
期待される結果:
A concise review covering dependency setup, file locations, preamble licensing, symbol scope, generation commands, and analyzer results.
セキュリティ監査
安全All 72 static findings are false positives caused by Markdown syntax, Dart type signatures, documented CLI commands, official links, and package-relative paths. The skill contains no executable payload, prompt injection, credential access, data exfiltration, or unsafe command construction. Its instructions perform expected FFI generation and local analysis.
リスク要因
⚡ スクリプトを含む (3)
⚙️ 外部コマンド (50)
🌐 ネットワークアクセス (3)
📁 ファイルシステムへのアクセス (2)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/dart-lang-dart-use-ffigen/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/dart-lang-dart-use-ffigen?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/dart-lang-dart-use-ffigen?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dart-lang-dart-use-ffigen/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/dart-lang-dart-use-ffigen.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
dart-lang. (2026). dart-use-ffigen security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/dart-lang-dart-use-ffigen/audits/1BibTeX形式の引用
@techreport{dart-lang-dart-lang-dart-use-ffigen-2026,
author = {dart-lang},
title = {dart-use-ffigen security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/dart-lang-dart-use-ffigen/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dart-use-ffigen security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "dart-lang"
date-released: "2026-08-22"
url: "https://skillstore.io/skills/dart-lang-dart-use-ffigen/audits/1"
identifiers:
- type: other
value: "skillstore:dart-lang-dart-use-ffigen:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 中作成できるもの
Create First Bindings
Generate focused Dart bindings from an existing C header and place outputs in the package structure.
Replace Manual FFI
Convert handwritten lookups and typedefs into a repeatable FFIgen workflow with generated metadata.
Standardize Native Integration
Review generator configuration, licensing, filters, output paths, and analyzer results across a repository.
これらのプロンプトを試す
Create FFIgen bindings for [header path], include [symbols], and place generated files under [output directory].
Add tool/ffigen.dart for [package], resolve paths from Platform.script, preserve [license], and verify with dart analyze.
Inspect the existing manual Dart FFI bindings, derive precise FFIgen filters, generate replacements, and report compatibility concerns.
Design FFIgen configuration for [native API], including transitive headers, compiler options, leaf functions, recorded usage, licensing, and analyzer verification.
ベストプラクティス
- Use narrow positive filters for headers and native declarations.
- Resolve generator paths from Platform.script so execution is independent of the current directory.
- Regenerate outputs and run dart analyze before completing the task.
回避
- Do not handwrite bindings when suitable native headers are available.
- Do not edit generated files to hide compilation errors.
- Do not generate an entire native API when only selected symbols are required.