flutter-tools
NewComprehensive Flutter/Dart code quality tools including intelligent code review and automated formatting
Overview
Comprehensive Flutter/Dart code quality tools for Claude Code, featuring intelligent code review and automated formatting.

Features
Agents
| Name | Description |
|---|---|
| flutter-review | Analyzes Flutter code changes with priority-based detection (P0 critical bugs, P1 important issues, P2 code quality) and generates review reports with fix suggestions |
Skills
| Name | Description |
|---|---|
| flutter-review | Domain expertise for Flutter/Dart code review including null safety, lifecycle issues, memory leaks, Bloc/Provider patterns, and code complexity checks |
| flutter-format | Automated workflow for running flutter analyze, applying dart fix, formatting code, and verifying no new errors are introduced |
Commands
| Command | Description |
|---|---|
| /flutter-tools:flutter-review | Triggers comprehensive code review of Flutter changes with prioritized report |
| /flutter-tools:flutter-format | Runs complete formatting and cleanup workflow for Flutter projects |
Installation
Method 1: Via Marketplace (Recommended)
# Add the marketplace from GitHub
/plugin marketplace add LucasXu0/claude-code-plugin
# Install the plugin
/plugin install flutter-tools@LucasXu0-flutter-toolsMethod 2: Manual Installation
Load the plugin directly without marketplace:
# Clone the repository
git clone https://github.com/LucasXu0/claude-code-plugin.git
cd claude-code-plugin
# Start Claude Code with plugin directory
claude --plugin-dir ./plugins/flutter-toolsUsage
Flutter Code Review
Slash command:
/flutter-tools:flutter-reviewNatural language:
Review my Flutter code
Check for bugs in my changes
Is this code ready to merge?Example output:
ā
Review complete! Results saved to:
/tmp/flutter_review/20260104_1430-my_app-feature_login-a3f9d2.md
## Summary
| Priority | Count | Status |
|----------|-------|--------|
| šØ P0 | 2 | ā Must Fix |
| ā ļø P1 | 3 | ā” Recommended |
| š” P2 | 5 | š¬ Optional |
**Recommendation**: š” REVIEW NEEDEDFlutter Format
Slash command:
/flutter-tools:flutter-formatNatural language:
Format my Flutter code
Run flutter analyze and fix issuesExample output:
ā
Flutter Format Complete
**Changes Made:**
- Applied dart fix: 12 issues fixed
- Formatted: 45 files changed
- Final analysis: 0 errors, 0 warningsWhat Gets Checked
P0 - Critical
- ā¢Null safety violations (force unwraps, unsafe casts)
- ā¢Lifecycle issues (setState without mounted checks)
- ā¢Memory leaks (undisposed controllers, subscriptions, listeners)
- ā¢Logic errors (incorrect conditions, missing error handling)
P1 - Important
- ā¢Collection equality bugs (== on List/Map/Set)
- ā¢Bloc anti-patterns (public fields/methods, mutable events)
- ā¢Provider anti-patterns (context.read in build, missing disposal)
- ā¢Code complexity (deep nesting, long methods/classes)
P2 - Code Quality
- ā¢Magic numbers without constants
- ā¢TODO/FIXME comments
- ā¢Long classes (>500 lines)
Resources
- ā¢Claude Code Plugins
- ā¢Flutter Best Practices
- ā¢Dart Style Guide
- ā¢Detailed Examples
- ā¢Check Reference
Support
- ā¢Issues: GitHub Issues
- ā¢Changelog: CHANGELOG
License
MIT License - Created by Lucas Xu
Install & Usage
mkdir -p .claude/skillsmkdir -p .claude/skills && curl -o .claude/skills/flutter-tools.md https://raw.githubusercontent.com/LucasXu0/claude-code-plugin/main/SKILL.md/flutter-toolsFrequently Asked Questions
What is flutter-tools?
Comprehensive Flutter/Dart code quality tools including intelligent code review and automated formatting
How to install flutter-tools?
To install flutter-tools, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /flutter-tools.
What is flutter-tools best for?
flutter-tools is a community categorized under Development. It is designed for: code-review, flutter, dart, formatting, quality. Created by Lucas Xu.