Skill: Dart Native Assets & C Interop
by Dart team
Compile C/C++ into Dart Code Assets with build and link hooks — local toolchain builds with linker tree-shaking, or hash-validated downloads of prebuilt libraries.
The Dart team's skill for structuring real command-line apps — thin entrypoints, honest exit codes, stream routing, signal teardown and AOT-safe subprocess spawning.
Add this skill to your favorite AI agent in a few steps.
Learn how to use this skill with different AI agents.
Create a production CLI app structure with CommandRunner and clean exit codes.
Maintained by the Dart team, this skill teaches an agent how a Dart command-line application should be put together, which is the knowledge that separates a script that works on the author's machine from a tool that behaves correctly in a pipeline.
Destructive exits. The skill argues against scattering exit(N) through the codebase and shows the patterns that let a CLI unwind cleanly — the difference between a tool that flushes its output and one that truncates it.
The thin entrypoint. Logic belongs in lib/src/, with bin/ reduced to a shim. That is what makes a CLI testable at all, and the skill has a section on testing CLI applications that depends on it.
Streams and diagnostics. Guidance on what belongs on stdout versus stderr, and how to format diagnostics — the distinction that decides whether your tool can be piped into another.
Argument parsing and command routing with package:args, using either ArgParser or CommandRunner; mapping executables in pubspec.yaml under executables:; single-source versioning via package:build_version; caching conventions; modern async and stack traces; signal handling and terminal teardown; and compilation and distribution of native binaries.
Two sections are worth calling out because they are where agents most often produce subtly broken code. Subprocess spawning and AOT resilience covers what changes when a Dart program is compiled ahead of time and spawns another Dart process — the assumptions that hold in JIT and quietly stop holding in an AOT binary. And the workflows and audit checklist at the end gives the agent a concrete pass to run over an existing CLI rather than only a recipe for new ones.
It is explicitly not for Flutter UI widgets, web applications or standalone HTTP servers. Install the whole Dart collection with npx skills add dart-lang/skills --skill '*' --agent universal --yes, which places it in the standard .agents/skills folder that most agents read.
by Dart team
Compile C/C++ into Dart Code Assets with build and link hooks — local toolchain builds with linker tree-shaking, or hash-validated downloads of prebuilt libraries.
macOS CLI plus agent skill that lets Claude Code or Codex draw a big click-through arrow and sign on your screen to show you exactly what to click.
Open source pre-push AI code review for Claude Code and Codex: scanners plus a separate reviewer that verifies every finding.
Alibaba's open-source AI code review CLI as an agent skill: line-level comments on diffs, branches and commits, with optional auto-fix.