Mobile — Android

At a Glance

Every do and don't from this kit, compiled onto one page.

At a Glance

Do's and don'ts, all in one place

✓ Trust the no-argument setup runinit_skeleton.sh auto-detects the package Android Studio already set — nothing to answer, nothing to guess
✓ Write constraints into a file, not just into chatCLAUDE.md and the rulebook are read every session; a chat message is forgotten tomorrow
✓ Run the generated test first when reviewing a new featureIt fails for exactly one reason — the layers aren't wired together — far cheaper than reading eleven files
✓ Keep colours in MaterialTheme.colorScheme onlyNever a literal in a Composable or an XML colour resource — it's what makes the hardcoded-colour check actually catch a typo
✗ Don't hand-copy the kit's files instead of running init_skeleton.shA manual copy skips the Gradle wiring, the git hook, and the safe-to-re-run checks
✗ Don't let a standalone rule file drift from its embedded copyinit_skeleton.sh carries its own copy of every meta-file — a stale doc is worse than a missing one
✗ Don't expect a new :feature-x module automaticallynew_feature.sh always generates inside :app — promoting a feature to its own module is a manual call for later
✗ Don't assume Android Studio's own assistant reads CLAUDE.mdUntested, not confirmed either way — verify it on your own setup before relying on it