dart-migrate-to-checks-package은(는) 무엇을 하나요?
package:matcher의 expect 및 유사 함수 사용을 package:checks의 동등한 함수로 대체합니다.
`package:matcher`의 `expect` 및 유사 함수 사용을 `package:checks`의 동등한 함수로 대체합니다.
이 스킬은 Dart 개발자가 테스트 프레임워크를 `package:matcher`에서 `package:checks`로 마이그레이션할 수 있도록 안내합니다. 기존 `expect` 호출과 관련 매처 함수를 `check` 호출과 같은 `checks` 패키지의 최신 API로 변환하는 과정을 자동화합니다. 주로 Dart 및 Flutter 프로젝트에서 사용되며, CLI 명령어를 통해 실행되어 소스 코드를 안전하게 리팩터링합니다. 이 마이그레이션은 더 현대적이고 일관된 테스트 문법을 제공하며, 생산성과 유지보수성을 향상시킵니다.
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-migrate-to-checks-packageInstalled? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
package:matcher의 expect 및 유사 함수 사용을 package:checks의 동등한 함수로 대체합니다.
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
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.