Claude Code tools by dart-lang

11 listings: 11 skills.

github.com/dart-lang
SKILL19.3K

Dart Add Unit Test

Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code r...

by dart-lang

SKILL19.1K

Dart Run Static Analysis

Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during deve...

by dart-lang

SKILL18.8K

Dart Use Pattern Matching

Use switch expressions and pattern matching where appropriate

by dart-lang

SKILL18.8K

Dart Fix Runtime Errors

Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.

by dart-lang

SKILL18.7K

Dart Resolve Package Conflicts

Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.

by dart-lang

SKILL18.5K

Dart Collect Coverage

Collect coverage using the coverage packge and create an LCOV report

by dart-lang

SKILL18.4K

Dart Generate Test Mocks

Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on...

by dart-lang

SKILL18.2K

Dart Migrate To Checks Package

Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.

by dart-lang

SKILL18.1K

Dart Build Cli App

Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.

by dart-lang

SKILL12.2K

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 w...

by dart-lang

SKILL12.1K

Dart Setup Ffi Assets

Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart's Native Assets hook system (v...

by dart-lang