Mobile — Android

Guardrails & Limitations

What runs automatically at commit time, and the deliberate gaps this kit leaves — not bugs, not a to-do list.

Guardrails

What's checked for you at commit time

Some rules aren't left to memory — they run automatically at commit time and block the commit if something's wrong, because they fail quietly otherwise: a hand-typed colour looks fine until dark mode; a stale embedded copy looks fine until someone bootstraps a fresh project from it.

CheckWhat it blocks
ktlintStyle violations, across all five modules — ktlintCheck/ktlintFormat
check_hardcoded_colors.shA Color(0x...) literal in any staged Kotlin file outside ui/theme/, scanned across every module's src/
check_embedded_sync.shDrift between init_skeleton.sh's embedded copies and the real standalone files — new_feature.sh, every SKILL.md, CLAUDE.md, docs/ai/*.md
the test suiteRuns whenever a .kt/.kts file is staged — a broken build or a failing test can't be committed

One safeguard isn't a check but an arrangement: each module's own .gitignore (just /build — there's no single top-level entry that covers all five), plus a root .gitignore that already excludes local.properties and, after a real Gradle daemon crash surfaced the gap during this kit's own development, *.hprof heap dumps too.

The one place this kit deliberately departs from convention: colours never go in an XML colour resource, and never as a literal in a Composable. Every colour comes from MaterialTheme.colorScheme, sourced from Color.kt under ui/theme/. That's what makes the check above mechanically enforceable, and what keeps light/dark mode a change in one file instead of a search-and-replace across every screen.

That one file also decides light vs. dark, app-wide: ui/theme/ThemeConfig.kt holds a single value, ThemeConfig.mode — SYSTEM (default, follows the device setting), LIGHT, or DARK. It only picks which mode is active; the actual colours per mode still come from Color.kt's light/dark schemes (or dynamic colour on Android 12+, on by default), so no Composable, Theme.kt, or generated feature needs to change when you flip it. .editorconfig also turns off three of ktlint's default rules that would otherwise fight this project's own conventions — package-name (this repo's package has an underscore), function-naming (Composables are deliberately PascalCase), and annotation (Hilt's idiomatic class Foo @Inject constructor(...) puts the annotation inline).

Limitations

What it won't do

Deliberate limits and known gaps, listed honestly — not bugs, and not a to-do list about to be finished. MVI is the only pattern generated, with no built-in alternative. Navigation Compose, Room, and kotlinx.serialization are deliberately excluded — Navigation because there's no second real screen to route between yet, Room because it needs a real @Entity to even compile, Gson because it was the minimal Retrofit converter; add each when a real feature needs it. :auth and :core-utils are wired but empty scaffolds, not features — a screen built into :auth via /ui-from-image is UI only (stateless, hoisted, no ViewModel) until there's a real backend and session model to wire it to. The embedded-copy check has a real blind spot: it only catches drift in literal static copies, not the heredoc-interpolated files (build.gradle.kts per module, shared_widgets/, NetworkModule.kt, ThemeConfig.kt) — those have to be verified by hand. There's no per-skill model pinning, no launch-time guard on NetworkConfig.BASE_URL (it fails quietly at the first network call, not loudly at startup), and no product-requirements folder — this kit knows how an app here is built, nothing about what a given app is for. And there's no CI pipeline, no offline data story, no login flow, and no deep links yet — not ruled out, just not built.