flutter_enterprise_starter_kit: Instructions file for Claude Code

CLAUDE.md

flutter_enterprise_starter_kit CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is nicolinx/flutter_enterprise_starter_kit's own configuration. It tells Claude Code how to work on flutter_enterprise_starter_kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flutter_enterprise_starter_kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nicolinx/flutter_enterprise_starter_kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nicolinx/flutter_enterprise_starter_kit/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/nicolinx/flutter_enterprise_starter_kit

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flutter_enterprise_starter_kit CLAUDE.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00568 $0.00568
Opus 5.5 $0.00227 $0.00227
Sonnet 5.5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

Measured 2mo ago against content hash 3b5874b524a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (55 stars, last pushed 1mo ago), licensed MIT. It adds 568 tokens to every session, about $0.0023 per session on Opus 5.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.

Related

flutter_enterprise_starter_kit CLAUDE.md compared with instructions from other repositories

flutter_enterprise_starter_kit CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter_enterprise_starter_kit CLAUDE.mdnicolinx/flutter_enterprise_starter_kitInstructions file551mo agoMITA568Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot