Mobile — Android

The Rulebook

The files Claude Code reads automatically before you say anything, and the one manual step it can't do for you.

The Rulebook

Files Claude reads before you say anything

CLAUDE.md loads automatically at the start of every session and points at the rest of the rulebook. The habit this asks of you: when you explain a constraint, put the sentence in a file, not only in the chat — chat is forgotten tomorrow, the file is read every time.

FileWhere it comes fromWhat it settles
CLAUDE.mdgeneratedTech stack and pointers to the deeper rule files — read automatically every session
docs/ai/architecture.mdgeneratedMVI + feature-first Clean Architecture, plus the module layout — the only pattern that exists here
docs/ai/compose_rules.mdgeneratedNo hardcoded text or colours, mandatory @Preview, real accessibility labels, and rule 7: a Composable dispatches a UiEvent, never calls a ViewModel method directly
docs/ai/ui_synthesis_rules.mdgeneratedMap every screenshot to MaterialTheme — never invent a hex colour or raw font size
docs/PROJECT_MAP.mdgenerated, then added toWhere every file not covered by the feature convention lives, including the Gradle module table
TODO.mdseeded by new_feature.shThe two manual steps every generated feature leaves: wire the route into navigation, set the real endpoint

A stale doc is worse than a missing one. A file describing a pattern you've since moved away from doesn't announce itself — it quietly steers Claude wrong for months. scripts/check_embedded_sync.sh exists precisely because init_skeleton.sh carries its own embedded copy of every one of these files, and the two can drift — see Guardrails.