flutter-app-builder CLAUDE.md

flutter-app-builder CLAUDE.md is an instructions file for coding agents from yendangn/flutter-app-builder. It costs 1,693 tokens per session, scanned A, original, MIT.

Repository instructions for a skill package that guides an AI agent in building Flutter applications; it is not a Flutter application itself.

In plain words
What is it for?
They guide Flutter architecture, dependency wrappers, dependency injection, project layout, implementation phases, and post-build checks.
Why use it?
They clarify that the repository contains written guidance and templates, while the skill is applied to a separate Flutter project.

Instructions file

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 instructions/yendangn/flutter-app-builder/claude-md
Clone the repo
git clone --depth 1 https://github.com/yendangn/flutter-app-builder

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-app-builder CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yendangn/flutter-app-builder/claude-md.svg)](https://agentmods.dev/instructions/yendangn/flutter-app-builder/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/yendangn/flutter-app-builder/claude-md"><img src="https://agentmods.dev/badge/instructions/yendangn/flutter-app-builder/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,693 This file is loaded in full into every session.
When invoked 1,693 The same file — it is already loaded in full.
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.01693 $0.01693
Opus 5 $0.00847 $0.00847
Sonnet 5 $0.00339 $0.00339
Haiku 4.5 $0.00169 $0.00169

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

Security

Grade A, and why

flutter-app-builder CLAUDE.md 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 4d 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.

CLAUDE.md · 79 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Repo Is

This repo is not a Flutter application — it is the flutter-app-builder skill package consumed by agents (Codex / Claude Code) to act as a pragmatic senior Flutter engineer. The "source" here is prose guidance and code templates, not runtime code.

When a task involves editing this repo, you are editing skill instructions, not application logic. When a task uses this skill, you are following SKILL.md to work on some other Flutter target the user points you at.

Core Principle

No coupling — every external dependency is wrapped behind an app-owned interface and registered in DI. This is the central invariant of the entire skill. Every template must reinforce it. If a template introduces a direct third-party import outside a wrapper file, it is a defect.

Repository Layout

  • SKILL.md — lightweight orchestrator and dispatch table. References individual skills and defines greenfield phases, non-negotiable rules, and post-implementation audit.
  • skills/36 individual skill files, one per topic. Each skill has YAML front matter (name + description), inline key rules, co-load dependencies, and a link to the full template reference. Skills are the primary dispatch layer:
    • flutter-app-shell.md — project layout, pubspec, entry points, bootstrap, opinionated stack.
    • flutter-theme.md — AppColors, AppSpacing, AppTypography (Google Fonts/Inter), AppTheme light+dark.
    • flutter-di.md — service_locator.dart, wrapper rule, composition-root rule, lifetimes.
    • flutter-network.md — Failure hierarchy, interceptors, DioClient, ApiClient, JSON patterns.
    • flutter-storage.md — SecureStorage, KeyValueStore, drift AppDatabase + DAO, pagination.
    • flutter-routing.md — GoRouter, auth guard, ShellRoute, StatefulShellRoute, deep linking.
    • flutter-logging.md — AppLogger interface, LoggerImpl wrapper, observability patterns.
    • flutter-base-classes.md — BaseEntity, BaseDto, BaseCubit, BaseState, BasePaginatedCubit, BasePage, BaseRepository.
    • flutter-architecture.md — Clean architecture: entity → DTO → data source → use case → cubit → page.
    • flutter-feature.md — Feature end-to-end: cubit, state, repository, DI module, page.
    • flutter-auth.md — AuthService, TokenManager, BiometricService, token refresh, auth guard.
    • flutter-forms.md — Multi-step wizard, validators, FormFieldState, async validation.
    • flutter-loading.md — SuperListView (shimmer→error/empty→data+refresh), AppShimmer, LoadingButton.
    • flutter-dialog.md — AppDialog wrapper: toast, confirm, notification, loading, custom dialogs.
    • flutter-common-widgets.md — App bars, buttons, fields, cards, badges, chips, avatars, empty/error states.
    • flutter-offline.md — ConnectivityService, SyncQueue, SyncManager, offline-first repository.
    • flutter-analytics.md — AnalyticsService + CrashReporter wrappers (Firebase Analytics, Sentry).
    • flutter-permissions.md — PermissionService wrapper: camera, location, notifications.
    • flutter-push.md — PushNotificationService + LocalNotificationService wrappers (FCM).
    • flutter-localization.md — LocalizationService wrapper, plurals, RTL, dynamic locale.
    • flutter-error-handling.md — ErrorHandler, zone guard, FlutterError/PlatformDispatcher, ErrorBoundary.
    • flutter-feature-flags.md — FeatureFlagService, A/B testing, kill switches, FeatureGate widget.
    • flutter-state-restoration.md — RestorationMixin, HydratedCubit, form/scroll/tab restoration.
    • flutter-platform-channels.md — MethodChannel, EventChannel, BasicMessageChannel wrappers.
    • flutter-flavors.md — Env enum, EnvConfig, AppConfig, per-flavor entry points.
    • flutter-design-system.md — Figma → JSON → Dart tokens, Widgetbook catalog, golden tests.
    • flutter-animations.md — AppAnimations constants, flutter_animate, Lottie wrapper, hero transitions.
    • flutter-performance.md — Const rules, rebuild minimization, list performance, isolates.
    • flutter-memory-leak.md — Dispose contracts, StreamSubscription cancel, leak_tracker, DevTools memory profiling.
    • flutter-security.md — Secret management, SecureStorage, certificate pinning, obfuscation, log redaction, OWASP Mobile Top 10.
    • flutter-accessibility.md — Semantics, tap targets, focus management, contrast, screen reader testing.
    • flutter-tests.md — bloc_test, widget tests, golden tests, integration tests, coverage gate.
    • flutter-ci.md — GitHub Actions: analyze, test, coverage gate, build artifacts, dependabot.
    • flutter-release.md — Signing, obfuscation, Fastlane, Firebase/TestFlight/stores, Shorebird.
    • flutter-migration.md — Existing-app adoption: audit, phased wrapping, centralize DI, feature migration.
    • flutter-dart-patterns.md — Records, sealed classes, extension methods, mixins, pattern matching, typedefs (Dart 3).
  • evals/ — automated eval suite verifying skill output compliance:
    • cases/ — 36 eval case definitions, one per skill, each named flutter-<skill>.md.
    • check-output.sh — deterministic grep-based rule checker (23 checks spanning architecture invariants, state/safety rules, security, UI quality, and toolchain).
    • run-evals.sh — runner: generate → check → score. Supports Claude Code CLI, Codex, and custom agents.
    • rubric.md — scoring model, pass thresholds (Production >= 95%, RC >= 85%, Beta >= 70%).
  • README.md — public-facing overview, installation, and usage guide.

Read the full file on GitHub · 79 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. 4d ago First seen · 79 lines · 1,693 tokens per session scan A bc90e36e566f

Subscribe to this mod's changes

flutter-app-builder CLAUDE.md is an instructions file published in the GitHub repository yendangn/flutter-app-builder (5 stars, last pushed 2mo ago), licensed MIT. It adds 1,693 tokens to every session, about $0.0085 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.