@skills · Owner
Agent skills by dart-lang
16 skills indexed from github.com/dart-lang. Reference any of them in AdaL, Claude Code, Cursor or any coding agent — nothing to install.
- dart-add-unit-test · Skill · 427 stars
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 c
- dart-build-cli-app · Skill · 427 stars
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
- dart-collect-coverage · Skill · 427 stars
Collect coverage using the coverage packge and create an LCOV report
- dart-fix-runtime-errors · Skill · 427 stars
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.
- dart-generate-test-mocks · Skill · 427 stars
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex
- dart-migrate-to-checks-package · Skill · 427 stars
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
- dart-resolve-package-conflicts · Skill · 427 stars
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
- dart-run-static-analysis · Skill · 427 stars
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development
- dart-setup-ffi-assets · Skill · 427 stars
Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart's Native Assets hook system (via hook/
- dart-use-ffigen · Skill · 427 stars
Guide agents to use `package:ffigen` to automatically generate FFI bindings instead of writing them manually. Use this skill when a task involves writing n
- dart-use-pattern-matching · Skill · 427 stars
Use switch expressions and pattern matching where appropriate
- dart-use-primary-constructors · Skill · 427 stars
Help users write syntactically and semantically correct primary constructors in Dart, and migrate/use the new constructor syntax, empty-body semicolon synt
- skills · Collection · 427 stars
- skills · Collection · 427 stars
- dart-use-doc-examples · Skill
How to inject external code examples into Dartdoc using the {@example} directive, and how to filter those files using #hide, #region, and #endregion tags.
- dart-write-documentation · Skill
Rules and formatting guidelines for writing Dart /// API documentation and doc comments. Use when documenting Dart code, writing doc comments for any Dart