CtrlK
BlogDocsLog inGet started
Tessl Logo

dart-use-ffigen

Guide agents to use `package:ffigen` to automatically generate FFI bindings instead of writing them manually. Use this skill when a task involves writing new FFI bindings, extending C/Objective-C/Swift integrations, or replacing hand-crafted `dart:ffi` setups.

67

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced skill with executable code and explicit validation feedback loops. The main weakness is redundancy between the workflow and concrete example, and a single-file structure that could benefit from splitting the API reference into a separate file.

Suggestions

De-duplicate the Platform.script path-resolution snippet: keep it in the Concrete Example and reference it from Step 2 instead of repeating it.

Move the FFIgen Overview API reference (FfiGenerator/Headers/Functions/Output) into a reference file (e.g. references/api.md) and link to it from the body to improve progressive disclosure.

Tighten the Constraints section so it states rules once and lets the Verification Checklist serve as the operational recap, reducing overlap.

DimensionReasoningScore

Conciseness

Mostly efficient with no generic-concept padding, but the Concrete Example duplicates the path-resolution snippet from Step 2 and the Constraints section overlaps with the Verification Checklist.

3 / 5

Actionability

Fully executable, copy-paste-ready generator script plus concrete commands ('dart pub add dev:ffigen', 'dart run tool/ffigen.dart', 'dart analyze') covering the common case.

5 / 5

Workflow Clarity

Clearly sequenced Steps 1-5 with an explicit static-analysis validation checkpoint and a Verification Checklist plus feedback loops (warnings suppressed via ignore_for_file, errors reported to the user).

5 / 5

Progressive Disclosure

Well-organized single file with a TOC and clear section headers, but the long inline Concrete Example and FFIgen Overview could plausibly live in reference files; no external references are used.

4 / 5

Total

17

/

20

Passed

Description

82%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that explicitly answers both what the skill does and when to trigger it, with a well-scoped niche that minimizes conflict risk. Slightly more action breadth would lift specificity from good to comprehensive.

DimensionReasoningScore

Specificity

Names the domain (FFI bindings) and one to two concrete actions ('automatically generate FFI bindings instead of writing them manually'), but does not enumerate a comprehensive action list.

3 / 5

Completeness

Explicitly states what it does ('use package:ffigen to automatically generate FFI bindings') and when to use it via a concrete 'Use this skill when...' clause with multiple triggers.

5 / 5

Trigger Term Quality

Natural trigger phrases like 'writing new FFI bindings', 'extending C/Objective-C/Swift integrations', and 'replacing hand-crafted dart:ffi setups' give good coverage with language synonyms, though a few common variations are absent.

4 / 5

Distinctiveness Conflict Risk

A clear, narrow niche (Dart package:ffigen) with distinct triggers and minimal overlap risk with other skills.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
flutter/agent-plugins
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.