dart-lang

14 mods across 1 repository, 462 stars between them.

dart-add-unit-test

01

dart-lang/skills

Skill Claude CodeCodex

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.

462 3d ago A 39 tokens copy · 100% BSD-3-Clause

dart-build-cli-app

02

dart-lang/skills

Skill Claude CodeCodex

Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.

462 3d ago A 29 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Collect coverage using the coverage packge and create an LCOV report.

462 3d ago A 19 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Uses getruntimeerrors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hotreload.

462 3d ago A 36 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Define and generate mock objects for external dependencies using package:mockito and buildrunner. Use when unit testing classes that depend on complex external services like APIs or databases.

462 3d ago A 43 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Replace the usage of expect and similar functions from package:matcher to package:checks equivalents.

462 3d ago A 32 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Workflow for fixing package version conflicts. Use this when pub get fails due to incompatible package versions.

462 3d ago A 28 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

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.

462 3d ago A 43 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

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/build.dart and hook/link.dart utilizing package:hooks and package:nativetoolchainc). Use when a user asks to: 'setup native assets', 'compile C/C++ source code'…

462 3d ago B 145 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

How to inject external code examples into Dartdoc using the {@example} directive, and how to filter those files using #hide, #region, and #endregion tags.

462 3d ago A 40 tokens original BSD-3-Clause

dart-use-ffigen

11

dart-lang/skills

Skill Claude CodeCodex

Guide agents to use package:ffigen to automatically generate FFI bindings instead of writing them manually. Use this skill when a task involves writing new FFI bindings, extending C/Objective-C/Swift integrations, or replacing hand-crafted dart:ffi setups.

462 3d ago A 61 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Help users write syntactically and semantically correct primary constructors in Dart, and migrate/use the new constructor syntax, empty-body semicolon syntax, in-body initializer list syntax, and abbreviated concise constructor syntax.

462 3d ago A 48 tokens copy · 100% BSD-3-Clause

dart-lang/skills

Skill Claude CodeCodex

Rules and formatting guidelines for writing Dart /// API documentation and doc comments. Use when documenting Dart code, writing doc comments for any Dart declaration (libraries, classes, methods, variables, etc.), or when instructed to follow the Effective Dart documentation guidelines.

462 3d ago A 54 tokens copy · 100% BSD-3-Clause