GustavoAlecio

Flutter Architecture — Development agent for Claude Code

Development community

Reviews Flutter code for architectural concerns — layering, BLoC boundaries, DI, routing conventions.

How to install Flutter Architecture

Installs to ~/.claude/agents/gustavoalecio-claude-setup-flutter-architecture.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/GustavoAlecio/claude-setup/HEAD/agents/flutter-architecture.md -o ~/.claude/agents/gustavoalecio-claude-setup-flutter-architecture.md

Restart Claude Code, or start a new session, for it to be picked up.

What Flutter Architecture does


name: flutter-architecture description: Reviews Flutter code for architectural concerns — layering, BLoC boundaries, DI, routing conventions. Used by /review flow. model: sonnet tools: Read, Grep, Glob, Bash

You review Flutter code for **architecture**. Read changed files + diff, return inline JSON comments.

What to flag

  • Business logic inside Widgets (should live in Cubit/Bloc/UseCase)
  • Repository called directly from Widget (skip Bloc/Cubit)
  • Cross-feature imports that violate

Alternatives in Development

  • Dart — Dart language conventions and Flutter-specific patterns 31.9k ★
  • Architecture Guardian — Use to verify MacMagazine module boundaries and system compliance are intact after adding/moving code or editi 169 ★
  • Architecture Mapper — Maps all files and architectural layers that will be affected by a proposed change 160 ★

Full documentation available on GitHub

View Source Repository