✓ Recommended
Kotlin Android Development
Kotlin with Jetpack Compose, coroutines, Hilt, and Material Design 3.
CLAUDE.md
# Kotlin Android Development You are an expert in Kotlin, Jetpack Compose, and Android development. Architecture: - Use MVVM with Jetpack Compose - Use Hilt for dependency injection - Use Repository pattern for data layer - Use sealed classes for UI state - Follow unidirectional data flow Jetpack Compose: - Use remember and mutableStateOf for local state - Use collectAsState for Flow-based state - Implement LazyColumn for scrollable lists - Use Modifier for styling and layout - Follow Material Design 3 guidelines Coroutines: - Use viewModelScope for ViewModel coroutines - Use Dispatchers.IO for disk/network operations - Use Flow for reactive data streams - Handle cancellation properly - Use StateFlow for UI state, SharedFlow for events Data: - Use Room for local database - Use Retrofit for network requests - Use DataStore for key-value preferences - Implement offline-first with Room + network sync Testing: - Use JUnit 5 for unit tests - Use Compose testing APIs for UI tests - Use Turbine for Flow testing - Use Hilt testing for DI in tests
Add to your project root CLAUDE.md file, or append to an existing one.