BeClaude

flutter-tools

New
Community RegistryDevelopmentby Lucas Xu

Comprehensive Flutter/Dart code quality tools including intelligent code review and automated formatting

Community PluginView Source

Overview

Comprehensive Flutter/Dart code quality tools for Claude Code, featuring intelligent code review and automated formatting.

![License: MIT](https://opensource.org/licenses/MIT)

Features

Agents

NameDescription
flutter-reviewAnalyzes Flutter code changes with priority-based detection (P0 critical bugs, P1 important issues, P2 code quality) and generates review reports with fix suggestions

Skills

NameDescription
flutter-reviewDomain expertise for Flutter/Dart code review including null safety, lifecycle issues, memory leaks, Bloc/Provider patterns, and code complexity checks
flutter-formatAutomated workflow for running flutter analyze, applying dart fix, formatting code, and verifying no new errors are introduced

Commands

CommandDescription
/flutter-tools:flutter-reviewTriggers comprehensive code review of Flutter changes with prioritized report
/flutter-tools:flutter-formatRuns complete formatting and cleanup workflow for Flutter projects

Installation

Method 1: Via Marketplace (Recommended)

bash
# Add the marketplace from GitHub
/plugin marketplace add LucasXu0/claude-code-plugin

# Install the plugin
/plugin install flutter-tools@LucasXu0-flutter-tools

Method 2: Manual Installation

Load the plugin directly without marketplace:

bash
# 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-tools

Usage

Flutter Code Review

Slash command:

code
/flutter-tools:flutter-review

Natural language:

code
Review my Flutter code
Check for bugs in my changes
Is this code ready to merge?

Example output:

markdown
āœ… 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 NEEDED

Flutter Format

Slash command:

code
/flutter-tools:flutter-format

Natural language:

code
Format my Flutter code
Run flutter analyze and fix issues

Example output:

markdown
āœ… Flutter Format Complete

**Changes Made:**
- Applied dart fix: 12 issues fixed
- Formatted: 45 files changed
- Final analysis: 0 errors, 0 warnings

What 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

Support

License

MIT License - Created by Lucas Xu

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/flutter-tools.md https://raw.githubusercontent.com/LucasXu0/claude-code-plugin/main/SKILL.md
3
Invoke in Claude Code
/flutter-tools
View source on GitHub
code-reviewflutterdartformattingquality

Frequently 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.