dev-flutter

A Flutter development guide for building mobile app features with separate data, business rules, and screen layers. Flutter is a framework for creating mobile apps, while BLoC is a pattern that manages screen state through events and updates.

In plain words
What is it for?
Use it to create Flutter widgets, screens, data access, business use cases, BLoCs, dependency injection, routing, unit tests, widget tests, and BLoC tests.
Why use it?
It helps keep business logic out of screen code, making features easier to test and maintain. It also provides a consistent structure for handling errors, navigation, and dependencies.

Agent for Claude Code

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/christopherlouet/claude-base/dev-flutter
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

Made for: Claude Code.

Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 306 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.00025 $0.00306
Opus 5 $0.00013 $0.00153
Sonnet 5 $0.00005 $0.00061
Haiku 4.5 $0.00003 $0.00031

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

Security

Grade A, and why

dev-flutter 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 yesterday.

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.

.claude/agents/dev-flutter.md · 37 lines

What it actually says

Agent DEV-FLUTTER

Flutter development with Clean Architecture and BLoC.

Workflow

  1. Clean Architecture structure: data (datasources, models, repositories impl) / domain (entities, repositories interfaces, usecases) / presentation (bloc, pages, widgets)
  2. BLoC: define events, states, and bloc with error handling via Either/fold
  3. Widgets: const constructors, required/optional parameters, composition
  4. Tests: widget tests (pumpWidget + find), bloc tests (blocTest), unit tests for usecases
  5. Integration: dependency injection (get_it), routing (GoRouter)

Expected output

  1. Complete feature with Clean Architecture (data/domain/presentation)
  2. BLoC with events/states
  3. Widget and bloc tests
  4. 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.

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. yesterday First seen · 37 lines · 25 tokens per session scan A edc806a947ef

Subscribe to this mod's changes

dev-flutter is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 306 once invoked, about $0.0001 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

gsd-plan-checker

Verifies plans will achieve phase goal before execution. Goal-backward analysis of plan quality. Spawned by /gsd:plan-phase orchestrator.

travisjneuman/.claude · 36 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

blockchain-developer

Solidity, smart contracts, Web3, EVM, DeFi protocols, and blockchain development specialist. Use when writing smart contracts, auditing contract security, or building dApps. Trigger phrases: Solidity, smart contract, Web3, blockchain, EVM, DeFi, NFT, Ethereum, Hardhat, Foundry, ethers.js, wagmi.

travisjneuman/.claude · 76 tokens

microservices-architect

Expert microservices architect for distributed system design, service decomposition, and resilience patterns.

travisjneuman/.claude · 20 tokens

adapter_grok

Grok is an eagerly registered stock-TUI adapter. RimZ launches grok, installs passive global hooks in ${GROKHOME:-/.grok}/hooks/rimz.json, and enriches each session from its durable updates.jsonl, summary.json, signals.json, and optional events.jsonl files. ACP and provider-private billing APIs stay outside this…

rimio-ai/rimz · 0 tokens