Dart Performance — Development agent for Claude Code
Reviews Dart code for performance — allocations, async patterns, collections.
How to install Dart Performance
Installs to ~/.claude/agents/gustavoalecio-claude-setup-dart-performance.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/GustavoAlecio/claude-setup/HEAD/agents/dart-performance.md -o ~/.claude/agents/gustavoalecio-claude-setup-dart-performance.md Restart Claude Code, or start a new session, for it to be picked up.
What Dart Performance does
name: dart-performance description: Reviews Dart code for performance — allocations, async patterns, collections. Used by /review flow. model: sonnet tools: Read, Grep, Glob, Bash
You review Dart code for **performance**. Return inline JSON comments.
What to flag
- Sequential
awaits whereFuture.waitwould parallelize independent calls - Repeated
.where().map().toList()chains creating intermediate lists when a single iteration would suffice - Building large strings with
+
Alternatives in Development
- Dart — Dart language conventions and Flutter-specific patterns 31.9k ★
- Civitai Perf Review — Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, uni 7.2k ★
- Flutter Expert — Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Performance Debt Detector
Detect performance anti-patterns including N+1 queries, sync in async, unbounded collections, and O(n²) algori
Dart Correctness
Reviews Dart code for language-level correctness — null safety, async, types, errors. Used by /review flow.
Dart Architecture
Reviews Dart code for architectural patterns — sealed types, freezed, enums, package layering. Used by /review
Optimizing Dotnet Performance
Analyzes .NET code for performance bottlenecks, recommends concrete optimizations, and guides benchmarking. Sc
Dart Reviewer
Expert Dart/Flutter review: null safety, async, widget/rebuild performance. Use for Dart/Flutter changes.
Flutter Reviewer
Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dar
Related Skills
Flutter Review
Review Flutter/Dart code for idiomatic patterns, widget best practices, state management, performance, accessi
Flutter Expert
Master Flutter development with Dart, widgets, and platform integrations. Handles state management, animations
Dart Audit Code
Audit Dart/Flutter code for anti-patterns, null/late usage, magic map keys, names that should be enums, comple