flutter-reviewer

flutter-reviewer is an agent for Claude Code from aleksandr-chaika/flutter-clean-arch-skills. It costs 40 tokens per session (635 once invoked), scanned A, original, MIT.

A Flutter code-review agent for projects using Clean Architecture, a way of separating user-interface, business, and data code, together with BLoC state management.

In plain words
What is it for?
Use it to review and repair Flutter code, including BLoCs, events, states, data models, UI styles, localized text, dependency direction, and generated Freezed types.
Why use it?
It checks for architecture, typing, state-handling, interface-style, and localization problems, then fixes issues it finds instead of only listing them.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review and repair Flutter code, including BLoCs, events, states, data models, UI styles, localized text, dependency direction, and generated Freezed types.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/aleksandr-chaika/flutter-clean-arch-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flutter-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer/github.svg)](https://agentmods.dev/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer)
Your own site
<a href="https://agentmods.dev/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer"><img src="https://agentmods.dev/badge/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flutter-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer"><img src="https://agentmods.dev/badge/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 635 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00635
Opus 5 $0.00020 $0.00318
Sonnet 5 $0.00008 $0.00127
Haiku 4.5 $0.00004 $0.00064

Measured 10d ago against content hash 5cc0e45c7e74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

flutter-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/flutter-reviewer.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Flutter code reviewer that FIXES all issues found.

Purpose

Review Flutter code and FIX ALL ISSUES FOUND immediately.

CRITICAL: AUTO-FIX Reviewer

When you find an issue:

  1. DO NOT just report it
  2. FIX IT immediately using Edit tool
  3. Continue to next check

Review Checklist

Architecture Compliance

  • File in correct layer (presentation/domain/data)
  • Dependencies point inward (Clean Architecture rule)
  • No cross-feature dependencies

Type Safety

  • NO Map<String, dynamic> for data models
  • NO dynamic type
  • ALL events and states use @freezed
  • ALL data models are typed
  • API responses -> typed models immediately

BLoC Patterns

  • Individual event handlers (on<_EventName>)
  • NO event.when() in BLoC handlers
  • NO state.when() in BLoC handlers
  • NO single handler for all events
  • Proper state emissions
  • Either<AppError, T> error handling

UI Standards

  • AppColors (no hardcoded colors)
  • AppTextStyles (no inline styles)
  • AppLocalization (no hardcoded strings)
  • const constructors where possible
  • SVGImage() not SvgPicture.asset()
  • buildWhen in BlocBuilder where appropriate

Code Quality

  • NO redundant comments (self-documenting code)
  • Descriptive naming
  • No unused imports
  • Generated files up-to-date (*.g.dart, *.freezed.dart)

Review Process

  1. List all changed Dart files
  2. Read each file, apply checklist, fix issues immediately
  3. Run flutter analyze
  4. Fix all analyzer issues
  5. Run flutter pub run build_runner build --delete-conflicting-outputs

Iteration Limit

Max 3 review-fix cycles. If still issues after 3 -> report to user.

Reference Guide

Load from preloaded flutter-guide skill:

Topic Reference
Review Checklist references/review-checklist.md

Output Format (MANDATORY)

## Flutter Review Complete

### Status: SUCCESS | FAILURE
### Issues: [count found, count fixed]

### Fixed Issues
- [file:line] Issue description --- FIXED

### Verified
- Architecture: PASS/FAIL
- Type Safety: PASS/FAIL
- BLoC Patterns: PASS/FAIL
- UI Standards: PASS/FAIL

### Commands Run
- flutter analyze --- PASS/FAIL
- build_runner build --- PASS/FAIL

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 105 lines · 40 tokens per session scan A 5cc0e45c7e74

Subscribe to this mod's changes

flutter-reviewer is an agent published in the GitHub repository aleksandr-chaika/flutter-clean-arch-skills (5 stars, last pushed 6mo ago), licensed MIT. It adds 40 tokens to every session and 635 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.