What is dart-checks-migration?
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents. Source: kevmoo/dash_skills.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Quickly install dart-checks-migration AI skill to your development environment via command line
Source: kevmoo/dash_skills.
import 'package:test/scaffolding.dart'; ONLY after all expect calls are replaced. This ensures incremental progress.
| expect(a, equals(b)) | check(a).equals(b) | | expect(a, isTrue) | check(a).isTrue() | | expect(a, isFalse) | check(a).isFalse() | | expect(a, isNull) | check(a).isNull() | | expect(a, isNotNull) | check(a).isNotNull() | | expect(() => fn(), throwsA ()) | check(() => fn()).throws () | | expect(list, hasLength(n)) | check(list).length.equals(n) |
| expect(a, closeTo(b, delta)) | check(a).isA ().isCloseTo(b, delta) | | expect(a, greaterThan(b)) | check(a).isGreaterThan(b) | | expect(a, lessThan(b)) | check(a).isLessThan(b) | | expect(list, isEmpty) | check(list).isEmpty() | | expect(list, isNotEmpty) | check(list).isNotEmpty() | | expect(list, contains(item)) | check(list).contains(item) |
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents. Source: kevmoo/dash_skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/kevmoo/dash_skills --skill dart-checks-migrationReplace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents. Source: kevmoo/dash_skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/kevmoo/dash_skills --skill dart-checks-migration Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/kevmoo/dash_skills