Dart 3.x language feature standards: null safety, records, sealed classes, switch pattern matching, extensions, and async/await. Use when using !, ?., ??, late, sealed classes, record types, switch expressions, or async patterns — and before introducing any new Dart 3.x construct to confirm the modern idiomatic approach.
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill dart-language
!. Use ?., ??, or short-circuiting. Use late only if necessary.final for all variables. Use @freezed for data classes.switch (value) with patterns and destructuring.(String, int)) for multiple values; use named fields when meaning matters. Destructure at call sites: final (error, data) = fetchUser();.sealed class for exhaustive state handling in domain logic.extension to add utility methods to third-party types._ for unused variables in declarations and patterns.list.forEach(print)) over anonymous lambdas (e.g., list.forEach((e) => print(e))).async/await over raw Future.then. Use unawaited for fire-and-forget logic if necessary._ prefix for library-private members. Prefer final properties.collection-if, collection-for, and spread operators .....firstOrNull, .lastOrNull, or .elementAtOrNull(i).Object or generics instead of dynamic.typedef for complex IDs or callbacks.! unless you can prove value non-null via if or assert.var for class members; use final or explicit types.int get invoiceType => not int toInvoiceType().get apiFilterType not get invoiceType.// Sealed class and Switch expression
sealed class Result {}
class Success extends Result { final String data; Success(this.data); }
class Failure extends Result {}
String message(Result r) => switch (r) {
Success(data: var d) => "Got $d",
Failure() => "Error",
};
! with ?-aware access, explicit narrowing, or a guard clause; do not silence nullability with a force unwrap.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take hoangnguyen0403/dart-language from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.