flutter-dart-code-review

Inspect Flutter/Dart projects for quality, performance, and security issues via a comprehensive checklist.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill flutter-dart-code-review-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-dart-code-review
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/flutter-dart-code-review
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill flutter-dart-code-review-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive, framework‑agnostic checklist to ensure Flutter/Dart code adheres to best practices, improving quality, performance, accessibility, and security.

Core Features & Use Cases

  • Project health audit covering folder structure, dependency hygiene, and lint configuration.
  • Dart language pitfalls detection such as implicit dynamic types, misuse of null‑safety, and inefficient async patterns.
  • Widget best practices including const usage, key strategy, build method complexity, and separation of concerns.
  • State‑management guidelines applicable to BLoC, Riverpod, Provider, GetX, MobX, Signals, and others.
  • Performance, testing, accessibility, security, and CI integration checks that help teams maintain robust mobile applications.
    Use case: a development team can run this Skill during code review or CI pipelines to automatically surface violations and actionable recommendations.

Quick Start

Invoke the flutter-dart-code-review skill on your Flutter project to receive a detailed checklist of findings.

Frequently Asked Questions about flutter-dart-code-review

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

FAQPage Schema
How do I perform a comprehensive code review on a Flutter project?

Perform a comprehensive Flutter code review by applying a framework-agnostic checklist covering project health, widget best practices, state management, performance, security, and static analysis rules. It requires standard project files like pubspec.yaml and source code to identify actionable violations.

What Dart language pitfalls should I check for during a code review?

Dart language pitfalls to check during a code review include implicit dynamic types, misuse of null-safety, and inefficient async patterns. A thorough review checklist identifies these issues alongside static analysis rule violations to improve code quality.

Does this Flutter review checklist work with Riverpod and BLoC state management?

This Flutter review checklist works with Riverpod, BLoC, Provider, GetX, MobX, and Signals. It provides framework-agnostic state-management guidelines to evaluate your specific architecture without requiring external tooling.

How do I audit Flutter widget best practices and project structure?

Audit Flutter widget best practices by checking const usage, key strategy, build method complexity, and separation of concerns. The review also covers project health including folder structure, dependency hygiene, and lint configuration.

Can I run automated static analysis for Dart without external tooling?

You can run automated static analysis for Dart without external tooling by utilizing built-in lint rules and best-practice guidelines. The review leverages your analysis_options.yaml file to surface security, performance, and accessibility issues.

What files do I need to run a Dart code review checklist?

To run a Dart code review checklist, you need standard Flutter project files including pubspec.yaml, analysis_options.yaml, and your source code. These files provide the necessary project health, dependency, and lint configuration context.