Kotlin Android AGENTS.md
RulesAgent context for Kotlin Android projects with Jetpack Compose and Coroutines.
1703/26/2026
Version 1
PublishedInitial version
Created 3/26/2026
Initial version — no previous version to compare
AGENTS.md
# AGENTS.md
## Language & Runtime
- Kotlin 2.0+
- Android SDK 35 (min SDK 26)
- Jetpack Compose for UI
## Build
```bash
./gradlew assembleDebug # build debug
./gradlew test # unit tests
./gradlew connectedTest # instrumented tests
```
## Architecture
- MVVM with ViewModel + StateFlow
- Repository pattern for data layer
- Hilt for dependency injection
- Room for local database
## Conventions
- Kotlin coroutines for async (no RxJava)
- Compose for all new UI (no XML layouts)
- Material 3 design system
- Sealed classes for UI state
- Data classes for models
## Testing
- JUnit 5 + Turbine for Flow testing
- MockK for mocking
- Compose UI testing with ComposeTestRule