dart-migrate-to-checks-package
Installation
SKILL.md
Migrating Dart Tests to Package Checks
Contents
- Dependency Management
- Syntax Migration Guidelines
- Utilizing Dart MCP Tools
- Migration Workflow
- Examples
Dependency Management
Manage dependencies using the Dart Tooling MCP Server pub tool or standard CLI commands.
- Add
package:checksas adev_dependencyusingdart pub add dev:checks. - Remove
package:matcherif it is explicitly listed in thepubspec.yaml(note: it is often transitively included bypackage:test, which is fine). - Import
package:checks/checks.dartin all test files undergoing migration.
Syntax Migration Guidelines
Transition test assertions from the package:matcher syntax to the literate API provided by package:checks.