flutter-review

Analyze Flutter and Dart code for architecture, state management, performance, and platform integration issues.

7|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill flutter-review-camilooscargbaptista
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-review
Source: https://github.com/camilooscargbaptista/cto-toolkit/tree/main/flutter-review
Command: npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill flutter-review-camilooscargbaptista

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces the risk and effort of shipping Flutter apps by providing an expert, focused review of widget architecture, state management, Dart idioms, performance hotspots, and platform-specific integrations so teams can find regressions and technical debt early.

Core Features & Use Cases

  • Architecture & Project Structure: verifies feature-based organization, domain isolation from Flutter imports, repository/use-case separation, and proper DTO/entity boundaries.
  • Widget Composition & Performance: detects large build methods, missing const constructors, unnecessary rebuilds, inefficient list rendering, and image or shader-related jank.
  • State Management & Patterns: audits BLoC/Cubit, Riverpod, and Provider usage for immutability, proper disposal, granular state updates, and injection best practices.
  • Dart Best Practices & Safety: flags unsafe null assertions, improper use of dynamic/late, error-handling issues, and recommends idiomatic fixes.
  • Platform Channels & Platform-specific Checks: reviews MethodChannel/EventChannel usage, permission handling, lifecycle considerations, and native error handling.
  • Testing & Observability: highlights missing widget/unit/integration/golden tests and suggests areas for coverage and CI gating.

Quick Start

Ask the skill to review the Flutter project focusing on widget structure, state management, platform channels, and performance and produce a prioritized list of critical issues with concrete fixes.

Frequently Asked Questions about flutter-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find unnecessary widget rebuilds and performance hotspots in my Flutter app?

To find unnecessary widget rebuilds and performance hotspots in your Flutter app, you need a code review that audits widget composition, detects large build methods, and identifies missing const constructors. This process produces actionable findings to fix inefficient list rendering and shader-related jank.

What is the best way to audit BLoC and Riverpod state management in Dart?

The best way to audit BLoC and Riverpod state management in Dart is to perform a focused code review evaluating state immutability, proper disposal, and granular updates. This review checks injection best practices and produces prioritized remediation steps for technical debt.

How do I review MethodChannel safety and native error handling in Flutter?

To review MethodChannel safety and native error handling in Flutter, you need a platform integration audit. This audit examines MethodChannel and EventChannel usage, permission handling, lifecycle considerations, and native error-handling issues to produce concrete fixes.

Can I check my Flutter project for null-safety violations and improper late keyword usage?

Yes, you can check your Flutter project for null-safety violations and improper late keyword usage through a Dart best practices review. This review flags unsafe null assertions and improper use of dynamic or late keywords, recommending idiomatic fixes to ensure code safety.

How do I identify missing widget and unit tests in a Flutter codebase?

To identify missing widget and unit tests in a Flutter codebase, you need a testing and observability audit. This audit highlights missing widget, unit, integration, and golden tests, suggesting specific areas for coverage and CI gating.

Does a Flutter code review check pubspec dependencies and feature-based project structure?

Yes, a Flutter code review checks pubspec dependencies and feature-based project structure. It verifies domain isolation from Flutter imports, repository and use-case separation, and proper DTO and entity boundaries to find regressions early.