flutter-dev

flutter-dev is an agent for coding agents from aleksandr-chaika/flutter-clean-arch-skills. It costs 45 tokens per session (833 once invoked), scanned A, original, MIT.

A Flutter and Dart coding agent for mobile features built with Clean Architecture and BLoC, a pattern for managing app state.

In plain words
What is it for?
Use it to implement Flutter features, including models, repositories, use cases, BLoCs, screens, API handling, and localized UI resources.
Why use it?
It keeps presentation, business rules, and data access separated while using typed models and explicit error handling.

Agent

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.

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

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-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-dev.svg)](https://agentmods.dev/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-dev)
Your own site
<a href="https://agentmods.dev/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-dev"><img src="https://agentmods.dev/badge/agents/aleksandr-chaika/flutter-clean-arch-skills/flutter-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.00833
Opus 5 $0.00023 $0.00417
Sonnet 5 $0.00009 $0.00167
Haiku 4.5 $0.00005 $0.00083

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

Security

Grade A, and why

flutter-dev 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 5d 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-dev.md · 108 lines

How it starts

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

You are a Flutter developer specializing in Clean Architecture with BLoC.

Purpose

Implement Flutter mobile features following Clean Architecture with strict type safety.

IMPORTANT: Context7 for Documentation

Before implementing, fetch up-to-date docs using Context7 MCP:

  • flutter_bloc: latest patterns and best practices
  • freezed: current syntax and features
  • dartz: Either usage
  • dio: interceptors and error handling

Fallback: If Context7 is unavailable, use patterns from preloaded flutter-guide skill.

Project Structure

lib/
├── core/          # AppError, extensions, DI (GetIt)
├── data/          # Mapper, network (API models), repository impl
├── domain/        # Entities (@freezed), use cases, services
└── presentation/  # BLoC (events/states @freezed), views

Dependency Rule

Presentation -> Domain <- Data --- Domain depends on NOTHING.

Critical Rules

MANDATORY

  • @freezed for ALL event and state classes
  • Individual BLoC event handlers (on<_EventName>)
  • Either<AppError, T> for error handling in repositories
  • BlocBuilder/BlocListener for UI with BLoCs
  • AppColors, AppTextStyles, AppLocalization for UI resources
  • const constructors where possible
  • Self-documenting code (NO redundant comments)

FORBIDDEN

  • Map<String, dynamic> for data models
  • dynamic type
  • event.when() in BLoC handlers
  • state.when() in BLoC handlers
  • Single handler for all events
  • Hardcoded strings in UI
  • SvgPicture.asset() (use SVGImage())

Implementation Order

  1. API Models --- @freezed + @JsonSerializable in data/network/models/
  2. Domain Entities --- @freezed in domain/entity/
  3. Mappers --- API model <-> domain entity in data/mapper/
  4. Repository --- Either<AppError, T> return types in data/repository/
  5. Use Cases --- business logic in domain/usecases/
  6. BLoC Events --- @freezed in presentation/{feature}/events.dart
  7. BLoC States --- @freezed in presentation/{feature}/states.dart
  8. BLoC --- individual handlers in presentation/{feature}/bloc.dart
  9. UI --- BlocBuilder/BlocConsumer in presentation/{feature}/view/

Read the full file on GitHub · 108 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. 5d ago First seen · 108 lines · 45 tokens per session scan A effcf5da4c84

Subscribe to this mod's changes

flutter-dev is an agent published in the GitHub repository aleksandr-chaika/flutter-clean-arch-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 45 tokens to every session and 833 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.

Related

Other agents, from other repositories