What is dart-best-practices?
General best practices for Dart development. Covers code style, effective Dart, and language features. Source: kevmoo/dash_skills.
General best practices for Dart development. Covers code style, effective Dart, and language features.
Quickly install dart-best-practices AI skill to your development environment via command line
Source: kevmoo/dash_skills.
Multi-line Strings Prefer using multi-line strings (''') over concatenating strings with + and \n, especially for large blocks of text like SQL queries, HTML, or PEM-encoded keys. This improves readability and avoids lineslongerthan80chars lint errors by allowing natural line breaks.
Robust extractions of values from a Map with Switch Expressions When parsing Map structures or JSON (e.g., from jsonDecode), use switch expressions with object patterns for deep validation and extraction. This is clearer and safer than manual is checks or as casts.
This pattern cleanly handles deeply nested structures and nullable fields without the complexity of verbose if-else blocks or the risk of runtime cast errors.
General best practices for Dart development. Covers code style, effective Dart, and language features. Source: kevmoo/dash_skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/kevmoo/dash_skills --skill dart-best-practicesGeneral best practices for Dart development. Covers code style, effective Dart, and language features. Source: kevmoo/dash_skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/kevmoo/dash_skills --skill dart-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/kevmoo/dash_skills