dart-lang/dart-migrate-to-checks-package
Replace the usage of expect and similar functions from package:matcher to package:checks equivalents.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-migrate-to-checks-packageReplace the usage of expect and similar functions from package:matcher to package:checks equivalents.
This repo contains 8 individual skills — each has its own dedicated page.
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Collect coverage using the coverage packge and create an LCOV report
Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
Use switch expressions and pattern matching where appropriate
Dein KI-Agent erledigt EÜR und UStVA: euer ist die lokale, revisionssichere CLI-Buchhaltung für Freelancer und Kleinunternehmer in Deutschland.
Expert knowledge for deploying to Vercel with Next.js
Generate STAR stories, practice questions, and talking points from resume
Expression Language injection playbook. Use when Java EL, SpEL, OGNL, or MVEL expressions may evaluate attacker-controlled input in Spring, Struts2, Confluence, or similar frameworks.
Automate Dpd2 tasks via Rube MCP (Composio). Always search tools first for current schemas.
Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.