dart-lang

dart-lang/skills

28 resources in this repository

GitHub
🎯28

🎯Skills28

🎯dart-add-unit-test🎯Skill

An official Dart agent skill for writing and organizing unit tests for functions, methods, and classes using package:test, ensuring code correctness and preventing regressions.

dart-add-unit-test
🎯dart-run-static-analysis🎯Skill

An official Dart agent skill for running dart analyze to identify warnings and errors, and using dart fix --apply to automatically resolve lint issues during development.

dart-run-static-analysis
🎯dart-fix-runtime-errors🎯Skill

An official Dart agent skill that fetches active stack traces via LSP, locates failing lines, applies fixes, and verifies resolution through hot reload.

dart-fix-runtime-errors
🎯dart-resolve-package-conflicts🎯Skill

An official Dart agent skill with a workflow for resolving package version conflicts when pub get fails due to incompatible dependencies.

dart-resolve-package-conflicts
🎯dart-use-pattern-matching🎯Skill

An official Dart agent skill that guides AI agents to use switch expressions and pattern matching in Dart code where appropriate.

dart-use-pattern-matching
🎯dart-collect-coverage🎯Skill

An official Dart agent skill for collecting code coverage data using the coverage package and generating LCOV reports for Dart projects.

dart-collect-coverage
🎯dart-generate-test-mocks🎯Skill

An official Dart agent skill for defining and generating mock objects using package:mockito and build_runner, for unit testing classes with complex external dependencies.

dart-generate-test-mocks
🎯dart-migrate-to-checks-package🎯Skill

An official Dart agent skill for migrating test assertions from package:matcher's expect to package:checks equivalents in Dart projects.

dart-migrate-to-checks-package
🎯dart-build-cli-app🎯Skill

An official Dart agent skill covering entrypoint structure, exit codes, and cross-platform scripts for building command line utilities and applications in Dart.

dart-build-cli-app
🎯dart-use-ffigen🎯Skill

Guides agents to use package:ffigen to automatically generate FFI bindings instead of writing them manually, for tasks involving new FFI bindings, C/Objective-C/Swift integrations, or replacing hand-crafted dart:ffi setups.

dart-use-ffigen
🎯dart-setup-ffi-assets🎯Skill

Guides agents in compiling and packaging C/C++ source code into dynamic/static libraries using Dart's Native Assets hook system, covering local toolchain setup, secure download orchestration with cryptographic validation, and advanced tree-shaking linkage.

dart-setup-ffi-assets
🎯dart-use-primary-constructors🎯Skill

Skill

dart-use-primary-constructors
🎯dart-fix-static-analysis-errors🎯Skill

An official Dart agent skill that provides a workflow for identifying and fixing static analysis errors, used after code modifications or when dart analyze fails.

dart-fix-static-analysis-errors
🎯dart-effective-style🎯Skill

Official agent skill from the Dart language team providing development guidance for writing idiomatic Dart code following language conventions and best practices.

dart-effective-style
🎯dart-language-syntax🎯Skill

An agent skill for the Dart programming language, part of the official dart-lang skills repository. Provides Dart language syntax guidance for AI coding agents.

dart-language-syntax
🎯dart-static-analysis🎯Skill

An agent skill from the official Dart team that provides guidance on Dart static analysis, including linting rules, analyzer configuration, and code quality enforcement for Dart projects.

dart-static-analysis
🎯dart-code-generation🎯Skill

Official agent skills for Dart maintained by the Dart team, providing tailored instructions for common Dart development workflows. Includes skills for unit testing, CLI app development, code coverage collection, and code generation, complementing MCP by teaching agents domain-specific best practices.

dart-code-generation
🎯dart-async-programming🎯Skill

An agent skill from the official Dart team that provides guidance on Dart async programming, including Futures, Streams, async/await patterns, and concurrency best practices for Dart applications.

dart-async-programming
🎯dart-testing🎯Skill

Official Dart agent skills collection covering API design, async programming, and testing patterns for building robust Dart applications with AI coding assistants.

dart-testing
🎯dart-idiomatic-usage🎯Skill

An agent skill for writing idiomatic Dart code, part of the official Dart agent skills repository maintained by the Dart language team.

dart-idiomatic-usage
🎯dart-documentation🎯Skill

Official agent skills for Dart covering API design, async programming, code generation, compilation/deployment, concurrency with isolates, documentation, style conventions, language syntax, FFI, and package management.

dart-documentation
🎯dart-api-design🎯Skill

An official Dart language agent skill that teaches how to apply design principles to create intuitive and robust library interfaces in Dart, part of a comprehensive collection covering async programming, code generation, FFI, static analysis, and more.

dart-api-design
🎯dart-native-interop-ffi🎯Skill

Official agent skills for Dart maintained by the Dart team, providing tailored instructions for common Dart development workflows. Includes skills for unit testing, CLI apps, coverage collection, and other repeatable tasks following best practices.

dart-native-interop-ffi
🎯dart-package-management🎯Skill

An agent skill for Dart that teaches AI assistants to structure packages and manage dependencies using the pub ecosystem, part of a broader collection covering Dart language skills including async programming, code generation, testing, and FFI.

dart-package-management
🎯dart-concurrency-isolates🎯Skill

An official Dart team skill that provides tailored instructions for working with Dart concurrency and isolates, helping AI agents follow best practices for parallel and asynchronous programming workflows.

dart-concurrency-isolates
🎯dart-migration-versioning🎯Skill

Part of the official Dart agent skills collection maintained by the Dart team, providing tailored instructions for common Dart development workflows including unit testing, CLI app construction, and coverage collection to reduce agent mistakes and ensure best practices.

dart-migration-versioning
🎯dart-web-development🎯Skill

An official Dart team skill providing tailored instructions for common Dart development workflows, helping AI agents follow best practices for tasks like unit testing, CLI app building, and coverage collection.

dart-web-development
🎯dart-compilation-deployment🎯Skill

An official Dart team skill for compilation and deployment workflows, providing best-practice instructions for building and deploying Dart applications. Part of the dart-lang/skills collection that gives AI agents domain expertise for common Dart development tasks.

dart-compilation-deployment