dart-checks-migration

Installation
SKILL.md

Dart Checks Migration

When to use this skill

Use this skill when:

  • Migrating existing test files from package:matcher to package:checks.
  • A user specifically asks for "modern checks" or similar.

The Workflow

  1. Analysis:
    • Use grep to identify files using expect or package:matcher.
    • Review custom matchers; these may require manual migration.
  2. Tools & Dependencies:
    • Ensure dev_dependencies includes checks.
    • Run dart pub add --dev checks if missing.
  3. Discovery:
    • Use the Strategies for Discovery below to find candidates.
  4. Replacement:
    • Add import 'package:checks/checks.dart';.
Related skills
Installs
1
Repository
flutter/skills
GitHub Stars
1.9K
First Seen
5 days ago