Dart Correctness — Development agent for Claude Code
Reviews Dart code for language-level correctness — null safety, async, types, errors.
How to install Dart Correctness
Installs to ~/.claude/agents/gustavoalecio-claude-setup-dart-correctness.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/GustavoAlecio/claude-setup/HEAD/agents/dart-correctness.md -o ~/.claude/agents/gustavoalecio-claude-setup-dart-correctness.md Restart Claude Code, or start a new session, for it to be picked up.
What Dart Correctness does
name: dart-correctness description: Reviews Dart code for language-level correctness — null safety, async, types, errors. Used by /review flow. model: sonnet tools: Read, Grep, Glob, Bash
You review Dart code for **correctness** at the language level (independent of Flutter). Return inline JSON comments.
What to flag
- Force unwrap
!where the value could legitimately be null (no preceding null-check) latedeclared but never assigned in all code paths before first read- `asy
Alternatives in Development
- Dart — Dart language conventions and Flutter-specific patterns 31.9k ★
- Civitai Correctness Review — Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, mone 7.2k ★
- Swift Code Reviewer — Use to review Swift/SwiftUI changes in MacMagazine with a very high bar — after implementing a feature, editin 169 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dart Specialist
Owns Dart language usage: sound null safety, records, patterns and exhaustiveness, sealed classes, mixins, asy
Dart Reviewer
Expert Dart/Flutter review: null safety, async, widget/rebuild performance. Use for Dart/Flutter changes.
Dart Performance
Reviews Dart code for performance — allocations, async patterns, collections. Used by /review flow.
Dart Architecture
Reviews Dart code for architectural patterns — sealed types, freezed, enums, package layering. Used by /review
Review Correctness
Reviews a Rust diff for correctness and runtime safety — logic errors, missing edge cases, error handling and
Correctness
Detects logic errors, off-by-one bugs, null handling issues, and race conditions
Related Skills
Dart Audit Code
Audit Dart/Flutter code for anti-patterns, null/late usage, magic map keys, names that should be enums, comple
FastAPI Review
Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu
Async
Rust Intel — Async (correctness, runtime, tracing, cost)