dart-langdart-langOfficialยท11 Agent Skills Included

skills

Dart testing, analysis, FFI bindings, and CLI development

Guides Dart development workflows including unit testing, mocking, coverage reports, static analysis, and runtime error fixes. Eliminates common mistakes in package conflict resolution, FFI binding generation, and native C/C++ asset compilation. Provides step-by-step checklists for documentation, pattern matching, and CLI app structure so coding agents follow Dart best practices reliably.
npx skills add dart-lang/skills --all -g -y

All Skills in This Repository (11)

Pure Emerald Level Indicators
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-use-pattern-matching

Apply Dart pattern matching to destructure data and control flow.

Official
Advanced
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-generate-test-mocks

Generate mocks for Dart unit tests using mockito and build_runner.

Official
Intermediate
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-use-ffigen

Generate Dart FFI bindings from native C headers using package:ffigen.

Official
Intermediate
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-resolve-package-conflicts

Resolve Dart pub version conflicts using dart pub outdated and upgrade.

Official
Intermediate
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-collect-coverage

Automate Dart and Flutter test coverage collection and LCOV reporting.

Official
Advanced
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-setup-ffi-assets

Compile and package C/C++ code into Dart Code Assets via Native Assets hooks.

Official
Advanced
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-migrate-to-checks-package

Migrate Dart test suites from matcher assertions to the package:checks API.

Official
Advanced
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-fix-runtime-errors

Trace Dart runtime stack traces to failing lines and apply fixes.

Official
Advanced
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-add-unit-test

Write Dart and Flutter unit tests with package:test and Mockito.

Official
Intermediate
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-run-static-analysis

Run dart analyze and dart fix to resolve lint issues in Dart projects.

Official
Intermediate
๐Ÿ“ฆ In Repo
dart-langdart-lang

dart-build-cli-app

Scaffold Dart CLI applications with standard bin/ and lib/ directories.

Official
Advanced

Frequently Asked Questions

FAQPage Schema
How to install Dart skills?โ–ผ

Run `npx skills add dart-lang/skills --all -g -y` in your terminal to install all Dart skills globally for your coding agent.

What Dart tasks do these skills cover?โ–ผ

They cover unit testing, mock generation, test coverage, static analysis, runtime error fixing, package conflict resolution, FFI bindings, native asset compilation, documentation, and CLI app development.

Can AI agents write Dart tests correctly?โ–ผ

Yes. The testing skills teach agents to structure test files, generate mocks with mockito, collect LCOV coverage, and migrate assertions to package:checks following official Dart conventions.

Do these skills work with Flutter projects?โ–ผ

Yes. Most skills apply to both Dart and Flutter projects, and the Dart team also maintains a separate Flutter-specific skills repository.

Which AI coding tools support these skills?โ–ผ

They follow the universal SKILL.md standard and work with Claude Code, Cursor, Codex, Gemini, and other agents that read the standard .agents/skills folder.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’