Source

dart-lang/skills

30 skills · 155.6K combined installs

Skills from this source

#
Skill
Source
8W Activity
Installs
1141
dart-add-unit-test Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic o…
dart-lang/skills
14.9K
1146
dart-run-static-analysis Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanica…
dart-lang/skills
14.8K
1156
dart-fix-runtime-errors Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify reso…
dart-lang/skills
14.6K
1165
dart-resolve-package-conflicts Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
dart-lang/skills
14.5K
1166
dart-use-pattern-matching Use switch expressions and pattern matching where appropriate
dart-lang/skills
14.4K
1173
dart-collect-coverage Collect coverage using the coverage packge and create an LCOV report
dart-lang/skills
14.3K
1179
dart-generate-test-mocks Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit …
dart-lang/skills
14.2K
1185
dart-migrate-to-checks-package |- Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
dart-lang/skills
14.1K
1200
dart-build-cli-app Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or appli…
dart-lang/skills
13.9K
1928
dart-use-ffigen Guide agents to use `package:ffigen` to automatically generate FFI bindings instead of writing them manually. Use thi…
dart-lang/skills
8.2K
1931
dart-setup-ffi-assets Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart'…
dart-lang/skills
8.1K
2783
dart-use-primary-constructors Help users write syntactically and semantically correct primary constructors in Dart, and migrate/use the new constru…
dart-lang/skills
5K
6561
dart-write-documentation Rules and formatting guidelines for writing Dart /// API documentation and doc comments.
dart-lang/skills
1.8K
7880
dart-use-doc-examples How to inject external code examples into Dartdoc using the {@example} directive, and how to filter those files using…
dart-lang/skills
1.4K
15
dart-fix-static-analysis-errors Workflow for identifying and fixing static analysis errors. Use this after modifying code or if `dart analyze` fails.
dart-lang/skills
256
16
dart-effective-style Maintain code consistency by following official Dart style and naming conventions.
dart-lang/skills
76
17
dart-language-syntax Master core and advanced language syntax for expressive and type-safe code.
dart-lang/skills
73
18
dart-static-analysis Configure and resolve static analysis warnings to maintain project health.
dart-lang/skills
72
19
dart-code-generation Automate repetitive code tasks using the build_runner system.
dart-lang/skills
71
20
dart-async-programming Handle asynchronous operations safely using Futures and Streams.
dart-lang/skills
70
21
dart-testing Ensure code correctness with comprehensive unit and integration tests.
dart-lang/skills
67
22
dart-api-design Apply design principles to create intuitive and robust library interfaces.
dart-lang/skills
66
23
dart-documentation Use idiomatic doc comments to provide a professional API surface.
dart-lang/skills
66
24
dart-idiomatic-usage Apply Effective Dart usage patterns for cleaner and more efficient code.
dart-lang/skills
66
25
dart-native-interop-ffi Bridge Dart with native C/C++ libraries using FFI.
dart-lang/skills
65
26
dart-package-management Structure packages and manage dependencies using the pub ecosystem.
dart-lang/skills
65
27
dart-concurrency-isolates Offload heavy computation to isolates to keep the main thread responsive.
dart-lang/skills
64
28
dart-migration-versioning Manage language versioning and perform large-scale codebase upgrades.
dart-lang/skills
62
29
dart-web-development Build high-performance web apps using modern interop and browser APIs.
dart-lang/skills
61
30
dart-compilation-deployment Compile and deploy Dart apps for various native and web target platforms.
dart-lang/skills
60