What it does
A Cursor rules file with best practices for Android apps built with Jetpack Compose. It covers Material Design 3, clean architecture layers, Kotlin coroutines and Flow, Hilt, ViewModel state and Compose navigation, and asks the AI to adapt to the structure you already have.
Use cases
- 01Generate a new screen with a ViewModel and UI state
- 02Keep data, domain and presentation layers separate
- 03Add dependency injection with Hilt to a feature