Skip to the content.

Agent Guidelines — init-android-apps

Mandatory First Step: Read ARCHITECTURE.md before creating, moving, or refactoring any source file.

Layer Dependency & Import Guardrails

Layer Allowed Dependencies Forbidden Dependencies
domain/ Kotlin stdlib, kotlinx.coroutines, javax.inject, core/common/Resource android.*, androidx.*, retrofit2.*, com.google.gson.*, okhttp3.*, data/, feature/, core/game/
data/ domain/, core/common/, core/di/ qualifiers (@IoDispatcher), Room, Retrofit, Gson, OkHttp, Hilt feature/, Compose UI
feature/ domain/, core/ui/, core/game/, core/common/, Compose M3, Lifecycle, Hilt data/ (no DAO, Entity, DTO, API service, or *RepositoryImpl)
core/game/ Kotlin stdlib, kotlinx.coroutines, core/di/ (@IoDispatcher), Compose, Lifecycle, DataStore, Google Mobile Ads, Android media/window APIs, Hilt data/, feature/
core/di/ Wires data/ & core/game/ implementations to domain/ & core/game/ interfaces via Hilt feature/
core/ui/ Compose M3, Coil 3, domain/model/ (shared display components such as MealCard) data/, feature ViewModels

Dual-Purpose Starter (Standard App + Opt-In 2D Game Core)

Both tracks are strictly decoupled and share only ProjectApplication.kt, core/common/, core/di/DispatcherModule.kt, core/ui/theme/, and build-logic/convention/. Choose one of three modes when cloning this template:

Non-Negotiable Coding Rules

Verification Commands

Run all three verification tasks before completing any code change:

./gradlew assembleDebug testDebugUnitTest lintDebug

Static checks to confirm on every change:

Relevant Android Skills

Consult the matching Android skill (SKILL.md) before working in its domain: