Back to Skills

flutter-dart-code-review

Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.

184,214stars28,424forksUpdated 5/16/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About flutter-dart-code-review

The flutter-dart-code-review skill provides a comprehensive, library-agnostic checklist for reviewing Flutter and Dart applications with a focus on maintainability, correctness, performance, and clean architecture. It helps development teams identify common issues across project structure, widget design, Dart language usage, and production-readiness practices. The skill emphasizes consistent folder organization, separation of concerns, strict analyzer configurations, safe null handling, proper asynchronous programming, and maintainable state management patterns. By standardizing review criteria, it reduces code quality inconsistencies and encourages scalable Flutter application development.

The skill includes detailed guidance for reviewing widget decomposition, rebuild boundaries, const usage, key management, and general Flutter UI best practices. It also highlights critical Dart pitfalls such as implicit dynamic typing, overuse of late variables, misuse of null safety operators, improper exception handling, mutable collection exposure, and ignored Future return values. In addition, it supports review processes across multiple state management approaches including BLoC, Riverpod, Provider, GetX, MobX, and Signals without being tied to a single ecosystem or framework. The checklist promotes modern Dart 3 features such as pattern matching, records, and stricter analyzer rules to improve code readability and reliability.

This skill is designed for Flutter developers, technical leads, code reviewers, engineering managers, and QA-focused development teams who want to establish consistent review standards for Flutter/Dart projects. It is useful for pull request reviews, architecture audits, onboarding processes, coding guideline enforcement, and large-scale application maintenance. Teams building cross-platform mobile applications can use it to improve long-term code quality while remaining flexible about architectural and library choices.

FAQ

What types of Flutter projects can this skill be used with?

This skill is designed to work with any Flutter/Dart project regardless of architecture style, state management library, routing solution, or dependency injection framework.

Does this skill require a specific state management approach?

No. The checklist is library-agnostic and supports reviewing applications using BLoC, Riverpod, Provider, GetX, MobX, Signals, and similar patterns.

Can this skill help enforce Dart best practices?

Yes. It includes guidance for strict typing, null safety, asynchronous programming, exception handling, immutable patterns, and modern Dart 3 language features.

Is this skill intended for automated linting or manual review?

The content is primarily structured as a manual code review checklist, though many recommendations align with analyzer and lint rule configurations.

Are Flutter-specific UI concerns covered in the checklist?

Yes. The checklist includes widget decomposition, rebuild optimization, const usage, key management, state handling, and separation of presentation from business logic.

Install flutter-dart-code-review

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill