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.
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.
Skill Claude CodeCodex
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Skill Claude CodeCodex
Collect coverage using the coverage packge and create an LCOV report.
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.
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.
Skill Claude CodeCodex
Replace the usage of expect and similar functions from package:matcher to package:checks equivalents.
Skill Claude CodeCodex
Workflow for fixing package version conflicts. Use this when pub get fails due to incompatible package versions.
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.
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'…
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.
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.
Skill Claude CodeCodex
Use switch expressions and pattern matching where appropriate.
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.
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.