android

Develops native Android apps with Kotlin, Jetpack Compose, and Gradle.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill android-lynricsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/android
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill android-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Native Android development spans Kotlin coroutines, Jetpack Compose, Gradle/AGP builds, testing, and platform runtime concerns, and mistakes in any layer cause silent bugs like missed recompositions, dropped UI events, or broken AGP 9 migrations. This Skill encodes adjudicated rules and workflows so an agent produces correct Android code on the first pass. ## Core Features & Use Cases - Opinionated core rules: 25 ordered rules covering UI state modeling, Compose stability and recomposition, lifecycle-aware flow collection, R8 keep rules, KSP over kapt, and Intent security. - Task workflows: Step-by-step checklists with verification gates for adding a feature, fixing Compose jank, upgrading to AGP 9, adding tests, migrating XML to Compose, and code review. - Deep references: Topic-routed reference files on architecture, Compose state/performance/UI, Gradle builds, testing, navigation, platform runtime, and Kotlin Multiplatform. - Use Case: Ask the agent to migrate a module to AGP 9; it reads your build files, removes the kotlin-android and kapt plugins, rewrites the variant API with androidComponents.onVariants, and verifies with a Gradle sync and dry-run build. ## Quick Start Ask the agent to review your Compose screen for scroll jank and recomposition problems using the android skill.

Frequently Asked Questions about android

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Jetpack Compose scroll jank and recomposition problems?

Measure on a release build with R8 enabled, then check for state reads in the composition phase instead of lambda modifiers, missing keys in lazy lists, and unstable parameter types. Compose compiler reports identify the unstable classes to fix.

How do I migrate an Android project to AGP 9?

Remove the org.jetbrains.kotlin.android plugin since AGP 9 enables built-in Kotlin, migrate kapt processors to KSP or com.android.legacy-kapt, and replace applicationVariants with androidComponents.onVariants. Verify with a Gradle sync, ./gradlew help, and a dry-run build.

Should I use collectAsState or collectAsStateWithLifecycle in Compose?

Use collectAsStateWithLifecycle from androidx.lifecycle:lifecycle-runtime-compose as the default. Plain collectAsState keeps collecting while the app is backgrounded, wasting CPU and battery and delivering updates into a stopped UI.

Does strong skipping in Kotlin 2.0.20 make Compose stability annotations unnecessary?

No. Strong skipping makes every restartable composable skippable, but unstable parameters are compared with referential equality, so a freshly allocated List still fails the skip. Stability work changed shape rather than becoming obsolete.

When should Android tests go in androidTest instead of the test source set?

Reserve androidTest for what genuinely needs a device: Room DAO tests because the on-device SQLite engine differs, system UI interaction, real rendering, and edge-to-edge behavior. Pure logic and Compose behavior tests run in the test source set on Robolectric.

What are the limitations of this Android skill's scope?

It covers only native Android with Kotlin, Compose, and Gradle. Flutter, React Native, native iOS and Swift, server-side Kotlin on Spring Boot, Play Store listing work, vendor SDK integrations, and game engines are explicitly out of scope.