dart-migrate-to-checks-package
dart migrate to checks package
What it does
- When to Use This Skill
- How to Use This Skill (The Workflow)
- Key Syntax Differences and Pitfalls
- Matcher-to-Checks Mapping Table
- Matchers with No Direct Replacements
- Strategies for Discovery
- When asked to "migrate tests to checks", "use package:checks", or
Requirements & configuration
- Use this skill when you need to migrate a Dart test suite from the legacy
- requires an inspection callback:
- 3. Find matches() calls (need conversion to RegExp + matchesPattern)
- 4. Find legacy TypeMatcher.having() calls (which need conversion to .has())
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
dart-migrate-to-checks-package FAQ
What does the dart-migrate-to-checks-package skill do?
|- Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents. When to Use This Skill How to Use This Skill (The Workflow)
What does dart-migrate-to-checks-package require?
Use this skill when you need to migrate a Dart test suite from the legacy requires an inspection callback: 3. Find matches() calls (need conversion to RegExp + matchesPattern) 4. Find legacy TypeMatcher.having() calls (which need conversion to .has())
How do I install dart-migrate-to-checks-package?
Run: npx -y skills add https://github.com/dart-lang/skills --skill dart-migrate-to-checks-package --agent claude-code — the source lives at github.com/dart-lang/skills.
Maintain dart-migrate-to-checks-package?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/dart-lang-skills-dart-migrate-to-checks-package?ref=badge) npx agentictools info skills/dart-lang-skills-dart-migrate-to-checks-package The second line is the CLI lookup for this page — handy in READMEs and docs.