dart
Skill by sickn33
Provides Dart idiomatic guidelines covering null safety, collections, classes, async code, error handling and Flutter patterns. Each topic shows before and after code examples.
Install dart
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/super-code/dart ~/.claude/skills/dartRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/super-code/dart ~/.gemini/antigravity-cli/skills/dartAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The Dart skill is a reference of idiomatic Dart guidance. It groups examples into seven sections: null safety, collections and iteration, classes and records, async and streams, error handling, Flutter-specific patterns, and anti-patterns specific to Dart. Each section shows a before and after pattern, marked with a cross and a check.
The source says to apply the guidance only within the requested scope and current project conventions. It asks the assistant to preserve behavior, ownership, error handling, accessibility and security, and to verify language and library versions. It also says not to install dependencies or delete files just to follow the examples. It covers Dart code, including Flutter-specific patterns, and does not cover overall architecture.
Written from the project's SKILL.md and checked against it.
What it can do
- Null safetyShows null-aware operators, promotion through null checks, and when to avoid late and bang operators.
- Collections and iterationShows replacing imperative loops with where, map, collection-if and spread patterns.
- Classes and recordsShows final fields, initializing formals, Dart 3 records and pattern-based switch expressions.
- Async and streamsShows replacing then chains with async and await and running independent futures with Future.wait.
- Error handlingShows catching specific exception types and using a sealed Result type instead of returning null.
- Flutter patternsShows ValueListenableBuilder, const widgets, and routing with GoRouter instead of MaterialPageRoute.
- Dart anti-patternsLists common mistakes such as dynamic types, print logging and setState for complex state, with preferred fixes.
What you need
- Dart 3.0 or later for some examples
- Flutter for the Flutter-specific patterns
- package:collection for groupBy
Try asking
- Refactor this Dart loop to use where and map collection methods
- Review my Dart code for null safety anti-patterns
- Convert these then chains in my Dart code to async and await
Good to know
- Examples are independent fragments, not equivalent rewrites in every context.
- Covers language-specific guidelines only, not architectural decisions.
- Over-compression might reduce readability, so apply judgement.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/super-code/dart/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to dart
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dart: common questions
What does the Dart skill cover?
It covers null safety, collections, classes and records, async and streams, error handling, Flutter-specific patterns and Dart anti-patterns. Each topic has before and after examples.
Does the skill change my project files?
The source says not to install dependencies or delete files merely to follow the examples. It asks the assistant to preserve behavior and existing conventions.
Does it cover app architecture?
No. The source states that these are language-specific guidelines and do not cover overall architectural decisions.
How do I install dart?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dart free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is dart safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dart?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
