LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

dart-migrate-to-checks-package - Migrate Dart tests to package:checks

Replace package:matcher expect assertions with type-safe package:checks equivalents and verify the migrated tests.

Tags

Updated: 2026-10-05

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Add checks dependency
  • Find legacy assertions
  • Translate matcher assertions
  • Update test imports
  • Handle migration pitfalls
  • Run static analysis
  • Run Dart tests

Inputs

  • Dart test suite
  • pubspec.yaml
  • Legacy expect calls

Outputs

  • Updated Dart test files
  • Updated pubspec.yaml
  • Static analysis results
  • Test results

Requirements

  • Dart SDK
  • Dart package manager
  • package:test dependency
  • package:checks availability

Source

  • Spec: SKILL.md
Dart
testing
test migration
package:checks
package:matcher
assertions
Add checks dependency
Find legacy assertions
Translate matcher assertions
Update test imports
Dart test suite
pubspec.yaml
Legacy expect calls
Updated Dart test files
Updated pubspec.yaml
Static analysis results