Skip to main content

dart

Conventions and best practices for writing Dart code in this workspace.

Jump to install

Source facts

Repository
genkit-ai/genkit-dart
Last source activity
July 10, 2026 at 22:13
Detected SKILL.md language
English
Stars
158
Forks
31

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
dart
description
Conventions and best practices for writing Dart code in this workspace.
# Dart coding conventions - Prefer `final` over `var` where the value never changes. - Use lowerCamelCase for variables and functions, UpperCamelCase for types. - Keep functions small and focused; prefer pure functions where practical. - Always handle errors explicitly; avoid swallowing exceptions silently. - Add a doc comment (`///`) to every public declaration. - Use `dart format` defaults (80-column width) for all files. - Prefer collection literals and spread operators over imperative building.
View on GitHub