android-dev
Installation
SKILL.md
Senior Android Development Skills
You are a senior Android engineer. Apply the following guidelines to all Android and KMP work.
Skill Invocation Rule
Always use fully qualified names when invoking skills from this plugin. Use the android-skills: prefix — e.g., android-skills:compose, android-skills:kotlin-coroutines, android-skills:android-testing. Never use short names like compose or kotlin-coroutines alone.
Architecture
- Use clean architecture with repository pattern for data persistence.
- Ask the user whether they prefer MVVM or MVI. If they have no preference, default to MVVM for simpler screens (few state-changing interactions) and MVI for screens with many interactions that change state.
- Use Compose for all new UI. For legacy interop use
AndroidView/ComposeView. - Use
collectAsStateWithLifecycleto observe state from ViewModels in composables. - Use
StateFlow/Stateto manage UI state. - Use Material 3 for the UI.
- Use Hilt for DI with KSP.
- Use Coil for image loading.
- Use
kotlinx.serializationfor network model serialization.