| name | android-pro |
| description | Expert Android development covering Kotlin, Jetpack Compose, Coroutines, Flow, and modern architecture patterns (MVVM, MVI). |
| metadata | {"short-description":"Android — Kotlin, Jetpack Compose, Coroutines, Flow, MVVM, Native","content-language":"en","domain":"mobile-framework","level":"professional"} |
Android Pro
Expert-level orchestration of native Android applications. Focuses on the Kotlin ecosystem, Jetpack Compose, and modern reactive programming.
Boundary
android-pro covers Kotlin language (Coroutines, Flow, Sealed Classes), Jetpack Compose (Declarative UI), Android Architecture Components (ViewModel, Room, Navigation), and Hilt/Dagger for DI. It does NOT cover cross-platform frameworks (use react-native-pro or flutter-pro for that).
When to use
- Building modern, high-performance Android apps using Jetpack Compose.
- Implementing reactive data flows using Kotlin Flow and Coroutines.
- Designing modular Android architectures (MVVM, MVI, Clean Architecture).
- Integrating Android-specific features (Widgets, Notifications, CameraX).
Workflow
- Project Setup: Initialize with Android Studio and Gradle (Kotlin DSL).
- UI Design: Build declarative interfaces using Jetpack Compose and
remember/mutableStateOf.
- Architecture: Implement MVVM/MVI to separate UI from business logic.
- Networking/Data: Use
Retrofit and Room for persistence.
- Concurrency: Orchestrate async tasks using
Coroutines and Flow.
- Testing: Write unit tests with JUnit/MockK and UI tests with Compose Test.
Operating principles
- Compose-First: Use Jetpack Compose for all new UI development.
- Null Safety: Leverage Kotlin's null safety to prevent NullPointerExceptions.
- Reactive Streams: Use Flow for predictable, reactive data streams.
- Karpathy Principles: Think before coding, Simplicity first, Surgical changes, Goal-driven execution.
Suggested response format (STRICT)
Your response MUST follow this structure:
<Role>
Senior Android Engineer.
</Role>
<Feature>
[Android Component/Feature Description]
</Feature>
<Implementation>
[Clean, modern Kotlin/Compose code Artifact]
</Implementation>
<Verification>
[Step-by-step verification plan with Compose Test examples]
</Verification>
Resources in this skill
Quick example
Feature: A simple Composable with async state using Flow.
@Composable
func UserScreen(viewModel: UserViewModel = viewModel()) {
val username by viewModel.username.collectAsState()
Text(text = "Hello, $username")
}
val username: StateFlow<String> = flow {
emit(fetchUsername())
}.stateIn(viewModelScope, SharingStarted.WhileSubscribed(), "Loading...")
Checklist before calling the skill done