affaan-m avatar

Flutter Dart Code Review

A thorough code review checklist that catches the stuff that actually breaks Flutter apps in production. It covers the usual suspects like widget decomposition and const usage, but also digs into Dart language pitfalls that slip past less strict linters: implicit dynamics, late overuse, catching Error subtypes, and ignoring Future return values. The state management section is genuinely library agnostic, with specific guidance for both immutable patterns like BLoC and Riverpod and reactive mutation approaches like MobX and Signals. Particularly useful for the async state modeling advice, which steers you away from boolean flag soup toward sealed types that make impossible states unrepresentable. Use this during PR reviews or when inheriting a codebase to spot architectural issues early.

skills.sh installs
5.8K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Frontend Development, Security, Git & Pull Requests, Code Review & Quality, Debugging, Mobile Development, Design & UI/UX
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1coralogix avatarcx-telemetry-queryingcoralogix/cx-cliUse this skill for any question involving telemetry data: "investigate an issue", "debug a problem", "find out why something is slow", "check error rates", "ana5.8Kskills.sh installs
2github avatarsecurity-reviewgithub/awesome-copilotAI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching5.8Kskills.sh installs
3affaan-m avatarvite-patternsaffaan-m/eccVite build tool patterns including config, plugins, HMR, env variables, proxy setup, SSR, library mode, dependency pre-bundling, and build optimization. Activat5.8Kskills.sh installs
4samber avatarlinkedin-ghostwritingsamber/cc-skillsB2B LinkedIn ghostwriting — strategic interview, hook engineering, and post body. Use when the user wants to write LinkedIn content, create ghostwritten posts, 5.8Kskills.sh installs
5vinvcn avatargit-guardrails-claude-codevinvcn/mattpocock-skills-zh-cn设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。5.7Kskills.sh installs
6affaan-m avatardart-flutter-patternsaffaan-m/eccProduction-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (B5.7Kskills.sh installs