android-kotlin-patterns
Jetpack Compose, MVVM, Room, Coroutines, DI with Dagger/Hilt, and Play Store submission
npx skills add cosmicstack-labs/mercury-agent-skills --skill android-kotlin-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Android Kotlin Patterns Production Android development with Kotlin and Jetpack. ## Architecture (Modern Android Dev) ### Recommended Stack - **UI**: Jetpack Compose with Material 3 - **State**: ViewModel + StateFlow - **DI**: Hilt/Dagger - **DB**: Room - **Network**: Retrofit + OkHttp - **Async**: Coroutines + Flow - **Navigation**: Compose Navigation ### Project Structure ``` app/ ├── data/ │ ├── local/ (Room DAOs, entities) │ ├── remote/ (Retrofit APIs, DTOs) │ └── repository/ ├── domain/ │ ├── model/ │ └── usecase/ ├── ui/ │ ├── components/ │ ├── screens/ │ └── theme/ └── di/ (Hilt modules) ``` ## Jetpack Compose Patterns ### State Hoisting ```kotlin // State flows down, events flow up @Composable fun CounterScreen(viewModel: CounterViewModel = hiltViewModel()) { val state by viewModel.state.collectAsStateWithLifecycle() CounterContent( count = state.count, onIncrement = viewModel::increment ) } ``` ### Performance - Use `remember` and `derivedStateOf` for computations - `LazyColumn` for lists, not `Column` with scrolling - Stable types via `@Immutable`/`@Stable` annotations ## Play Store Submission - [ ] Privacy Policy URL set - [ ] App signing key backed up - [ ] In-app revi
- Architecture (Modern Android Dev)
- Recommended Stack
- Project Structure
- Jetpack Compose Patterns
- State Hoisting
- Performance
- Play Store Submission
What does the android-kotlin-patterns skill do?
Jetpack Compose, MVVM, Room, Coroutines, DI with Dagger/Hilt, and Play Store submission
How do I install it?
Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill android-kotlin-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.