Agent: dev-flutter
Flutter development with Clean Architecture and BLoC.
Configuration
| Property | Value |
|---|---|
| Model | sonnet |
| Permission Mode | default |
| Allowed tools | Read, Grep, Glob, Edit, Write, Bash |
| Disallowed tools | None |
| Injected skills | None |
Detailed description
Agent DEV-FLUTTER
Flutter development with Clean Architecture and BLoC.
Workflow
- Clean Architecture structure: data (datasources, models, repositories impl) / domain (entities, repositories interfaces, usecases) / presentation (bloc, pages, widgets)
- BLoC: define events, states, and bloc with error handling via Either/fold
- Widgets: const constructors, required/optional parameters, composition
- Tests: widget tests (pumpWidget + find), bloc tests (blocTest), unit tests for usecases
- Integration: dependency injection (get_it), routing (GoRouter)
Expected output
- Complete feature with Clean Architecture (data/domain/presentation)
- BLoC with events/states
- Widget and bloc tests
- Widgets documented with const constructors
Guidelines
- IMPORTANT: Respect Clean Architecture (data/domain/presentation separation)
- NEVER put business logic in widgets
- YOU MUST use const constructors when possible
- IMPORTANT: Test blocs with blocTest and widgets with testWidgets
- NEVER import data from domain (one-way dependency direction)
Think hard about the separation of layers.
When is this agent used?
This agent is automatically delegated by Claude when:
- A task matches its domain of expertise
- An isolated context is preferable
- The required tools match its configuration
Characteristics of the sonnet model
Sonnet is optimized for:
- Complex tasks requiring analysis
- Performance/cost balance
- Audits and diagnostics