9 skills
dart-run-static-analysis
Passed all 3 security checksExecute `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.
·0↓5.6k
dart-add-unit-test
Passed all 3 security checksWrite 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.
·0↓5.6k
dart-fix-runtime-errors
Passed all 3 security checksUses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
·0↓5.6k
dart-resolve-package-conflicts
Passed all 3 security checksWorkflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
·0↓5.6k
dart-use-pattern-matching
Passed all 3 security checksUse switch expressions and pattern matching where appropriate
·0↓5.6k
dart-collect-coverage
Passed all 3 security checksCollect coverage using the coverage packge and create an LCOV report
·0↓5.5k
dart-generate-test-mocks
Passed all 3 security checksDefine 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.
·0↓5.5k
dart-migrate-to-checks-package
Passed all 3 security checksReplace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
·0↓5.4k
dart-build-cli-app
Passed all 3 security checksEntrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
·0↓5.3k