flutter_enterprise_starter_kit CLAUDE.md

flutter_enterprise_starter_kit CLAUDE.md is an instructions file for coding agents from nicolinx/flutter_enterprise_starter_kit. It costs 568 tokens per session, scanned A, original, MIT.

Repository instructions for Claude Code when working on a Flutter app, including required documents, coding rules, architecture guidance, commands, and example features to follow.

In plain words
What is it for?
Use it when adding or modifying Dart code, regenerating generated files, running the app, or running tests in this Flutter repository.
Why use it?
It gives the coding agent the project’s rules and structure before changes are made, reducing inconsistent code and misplaced features.

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/nicolinx/flutter_enterprise_starter_kit/claude-md
Clone the repo
git clone --depth 1 https://github.com/nicolinx/flutter_enterprise_starter_kit

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_enterprise_starter_kit CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nicolinx/flutter_enterprise_starter_kit/claude-md.svg)](https://agentmods.dev/instructions/nicolinx/flutter_enterprise_starter_kit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nicolinx/flutter_enterprise_starter_kit/claude-md"><img src="https://agentmods.dev/badge/instructions/nicolinx/flutter_enterprise_starter_kit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 568 This file is loaded in full into every session.
When invoked 568 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.00568 $0.00568
Opus 5 $0.00284 $0.00284
Sonnet 5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

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

Security

Grade A, and why

flutter_enterprise_starter_kit 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 · 46 lines

How it starts

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

CLAUDE.md

Guidance for Claude Code when working in this repository.

Start here

Before writing or modifying any Dart code, read:

  • docs/RULES.md — strict coding standards (null safety, const, naming, widget extraction, package usage). Treat these as binding, not stylistic suggestions.
  • docs/ARCHITECTURE.md — the single architecture reference: feature-first Clean Architecture, layer boundaries, state management, routing, DI, error handling, and why each decision was made, plus platform-specific gotchas (Firebase duplicate-app conflict, macOS entitlements) and CI/CD reasoning. Read this to know both where new code belongs and why the codebase is shaped this way before writing anything.

auth and features/posts are the canonical, fully-built features — mirror their shape for anything new. home is intentionally a minimal placeholder.

Commands

flutter pub get
dart run build_runner build --delete-conflicting-outputs   # regenerate *.freezed.dart / *.g.dart after editing any @freezed/@JsonSerializable class
flutter run -t lib/main_development.dart                   # or lib/main_production.dart
flutter test                                                # full suite
flutter test test/path/to/some_test.dart                    # single file
flutter analyze                                              # lint (very_good_analysis, see analysis_options.yaml)
dart format .                                                 # format

Run build_runner after touching any file with @freezed, @JsonSerializable, or their part directives — generated *.freezed.dart/*.g.dart files are checked in and must stay in sync; never hand-edit them.

Non-negotiables

  • Follow docs/RULES.md exactly: no var/dynamic, final-first, const everywhere possible, no ! bang operator, no bare try/catch in cubits or use cases (only repositories catch exceptions and convert to Either<Failure, T>).
  • Respect the dependency direction: presentation -> domain <- data. domain never imports Flutter/Firebase/Dio. A cubit depends on use cases only, never on a repository or data source.
  • Don't add a staging flavor, switch off Either/fpdart, introduce Bloc events, or swap in injectable-style DI codegen — these were deliberately rejected; see docs/ARCHITECTURE.md before reopening any of them.

Read the full file on GitHub · 46 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 · 46 lines · 568 tokens per session scan A 3b5874b524a6

Subscribe to this mod's changes

flutter_enterprise_starter_kit CLAUDE.md is an instructions file published in the GitHub repository nicolinx/flutter_enterprise_starter_kit (53 stars, last pushed 12d ago), licensed MIT. It adds 568 tokens to every session, about $0.0028 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-30.