Skip to content
affaan-m avatar

Flutter Dart Code Review

Library-agnostic Flutter/Dart review checklist covering widgets, state management, Dart idioms, performance, accessibility, and security.

CCM score
63 of 100
skills.sh installs
12.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project health, Dart language pitfalls, widget decomposition, and state management across BLoC, Riverpod, Provider, GetX, MobX, and Signals
  • Includes checks for implicit dynamic, overused ! and late, broad catch clauses, and unawaited Future values
  • Enforces immutable state with value equality, and sealed state types instead of boolean flag combinations
  • Designed for reviewing Flutter or Dart code regardless of which state management library the project uses

Install

$ npx -y skills add affaan-m/ecc --skill flutter-dart-code-review -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Flutter/Dart Code Review Best Practices

Comprehensive, library-agnostic checklist for reviewing Flutter/Dart applications. These principles apply regardless of which state management solution, routing library, or DI framework is used.


1. General Project Health

  • Project follows consistent folder structure (feature-first or layer-first)
  • Proper separation of concerns: UI, business logic, data layers
  • No business logic in widgets; widgets are purely presentational
  • pubspec.yaml is clean — no unused dependencies, versions pinned appropriately
  • analysis_options.yaml includes a strict lint set with strict analyzer settings enabled
  • No print() statements in production code — use dart:developer log() or a logging package
  • Generated files (.g.dart, .freezed.dart, .gr.dart) are up-to-date or in .gitignore
  • Platform-specific code isolated behind abstractions

2. Dart Language Pitfalls

Details

Repository
github.com/affaan-m/ecc
Categories
Code Review & Quality, Mobile Apps
First seen
Jul 14, 2026

Questions

What does the flutter-dart-code-review skill check?

It is a library-agnostic review checklist for Flutter and Dart code, covering widget best practices, state management patterns such as BLoC, Riverpod, Provider, GetX, MobX and Signals, Dart idioms, performance, accessibility, security and clean architecture. It applies whichever state management library the project uses.

Who should use the flutter-dart-code-review skill?

It suits developers who review Flutter or Dart code, whatever state management library their project uses. The agent applies its checklist when asked to review that code.

How do I install the flutter-dart-code-review skill?

Run npx -y skills add affaan-m/ecc --skill flutter-dart-code-review -y in your project. Once installed, the agent can review Flutter and Dart code against the checklist.

Does the flutter-dart-code-review skill work with Riverpod or BLoC projects?

Yes, the checklist covers BLoC, Riverpod, Provider, GetX, MobX and Signals, and it notes the conventions of each, such as Riverpod providers depending on other providers via ref.watch. It also covers ValueNotifier and other solutions.

More from affaan-m/ecc

All 257

Similar to Flutter Dart Code Review

More Code Review & Quality