SKILL18.2K installs530

Dart Migrate To Checks Package

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

Type
Skill
Author
dart-lang
Category
Testing
GitHub stars
530
Installs
18.2K
Last updated
October 16, 2026

Install

npx skills add https://github.com/dart-lang/skills --skill dart-migrate-to-checks-package

Use cases


Frequently Asked Questions

What exactly gets replaced?

expect and similar functions from package:matcher are swapped for package:checks equivalents.

Is this a behavior change or a refactor?

It is described as a mechanical refactoring skill focused on assertion APIs.

Which language is it for?

Dart, specifically for test suites using package:matcher.


About this skill

Replaces expect and similar assertions from package:matcher with their package:checks equivalents. Use it when migrating a Dart test suite over to the checks package. It's a mechanical refactoring skill focused on assertion APIs.

Summary written with AI assistance from the project's public description.


Categories


More from dart-lang


Similar Skills