Skip to content
D

dart-migrate-to-checks-package

Replace the usage of `expect` and similar functions from `package:matcher`

by dart-langFree

#4238in AI Skills
0In stores

Description

dart-migrate-to-checks-package is an agent skill from the Dart team's skills collection, listed on skills.sh. It helps an AI agent migrate a…

Highlights

  • Converts expect calls from package:matcher to package:checks
  • Matcher-to-checks mapping table
  • Lists matchers with no direct replacement
  • Strategies for finding code to migrate

Ratings & Reviews

No ratings yet

Be the first to rate dart-migrate-to-checks-package.

People also visit

D

dart-add-unit-test

Write and organize unit tests for functions, methods, and classes

AI Skills
Get
S

swift-testing

Writes and migrates Swift Testing framework tests

AI Skills
Get
D

dart-run-static-analysis

Execute `dart analyze` to identify warnings and errors

AI Skills
Get
M

migrate-vstest-to-mtp

Use this skill before answering, planning

AI Skills
Get
D

dart-use-pattern-matching

Applies Dart 3 pattern matching, switch expressions

AI Skills
Get
M

migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn

AI Skills
Get

dart-migrate-to-checks-package FAQ

What does the dart-migrate-to-checks-package skill do?

It helps an AI agent replace expect and similar matcher calls with the equivalent package:checks assertions.

How do I install it?

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

Is it free?

Yes. The skill is listed as free on skills.sh.

Why migrate?

The skill describes package:checks as modern, type-safe and more literate than package:matcher.

Are there matchers that cannot be converted?

Yes. The skill has a section on matchers with no direct replacement.

What are the best dart-migrate-to-checks-package alternatives?

Popular alternatives to dart-migrate-to-checks-package include dart-add-unit-test, swift-testing and dart-run-static-analysis. See all dart-migrate-to-checks-package alternatives

Developer Stuff

Badges