Claude Code skills for Android and KMP development — covering architecture, data layer, networking, testing, debugging, Jetpack Compose, coroutines, flows, Gradle, and RxJava migration.
Senior Android engineering knowledge and best practices for Android and KMP projects. Covers architecture, code quality, and platform-specific patterns.
Inspired by awesome-android-agent-skills
Test-driven development for Android/KMP — extends TDD with Android's three-tier test model, fake-first strategy, coroutine testing, and Compose UI testing.
Inspired by awesome-android-agent-skills
Material Design 3 UX principles for Android — touch targets (48×48dp), 8dp spacing grid, navigation patterns (Bottom Bar, Rail, Drawer), safe area handling, accessibility, animation timing, and keyboard input types.
Debugging Android and KMP issues — Logcat, ADB, ANR traces, R8 stack trace decoding, memory leaks, Gradle build failures, and Compose recomposition bugs.
Jetpack Compose expert guidance — state management (@Composable, remember, mutableStateOf, derivedStateOf, state hoisting), Modifier chains, lazy lists, navigation, animation, side effects, theming, accessibility, and performance optimization.
Inspired by compose-skill and awesome-android-agent-skills. Unlike
compose-skillwhich bundles a static AndroidX snapshot, this skill fetches source live viaandroid-source-explorer-mcp(preferred) or theandroid-source-searchskill — always up to date, zero context overhead.
Fetch and verify Android source code — AOSP platform internals (@hide APIs, framework classes, system services via Gitiles) and AndroidX/Jetpack library source and samples (via GitHub). Also useful when public docs are insufficient to complete a task.
Looking for more power? android-source-explorer-mcp is a purpose-built MCP server that goes much further: local source sync, sub-10ms Tree-sitter parsing, method-level extraction, class hierarchy, and cross-file navigation via LSP. If you're doing serious framework investigation, set that up instead — this skill is the zero-setup fallback.
Dispatcher selection, scope management, structured concurrency, cancellation, exception handling, and Android/KMP async patterns. Includes the DispatcherProvider pattern for testable dispatcher injection.
Inspired by awesome-android-agent-skills
Flow type selection (Flow/StateFlow/SharedFlow), operator chains, callback bridging, lifecycle-safe collection, Channel migration, and UI state management.
Triggered only when you explicitly ask to migrate. Assesses complexity, maps RxJava types and operators to coroutines equivalents, and provides interop patterns for incremental migration.
Inspired by awesome-android-agent-skills
Migrate Android XML layouts to Jetpack Compose — layout mapping tables (RecyclerView → LazyColumn, LinearLayout → Column/Row, etc.), attribute mapping, state migration from LiveData/ViewBinding, and incremental adoption via ComposeView.
Inspired by awesome-android-agent-skills
Retrofit setup for Android — service interface patterns (@GET, @POST, @Path, @Query, @Body), coroutines integration, OkHttp configuration, Hilt module, and error handling in the repository layer.
Inspired by awesome-android-agent-skills
Data layer implementation — Repository pattern as single source of truth, Room DAOs with Flow, offline-first strategies (stale-while-revalidate, outbox pattern), and model mapping between DTO/entity/domain types.
Inspired by awesome-android-agent-skills
Image loading in Compose with Coil — AsyncImage vs SubcomposeAsyncImage vs rememberAsyncImagePainter, ImageRequest configuration, performance in lazy lists, and Hilt setup for a shared ImageLoader.
Inspired by awesome-android-agent-skills
Scalable Gradle build logic — Convention Plugins, composite builds, shared compileSdk/minSdk/Compose configuration across modules, and clean per-module build.gradle.kts files.
Inspired by awesome-android-agent-skills
Gradle build optimisation — Build Scans, configuration cache, build cache, kapt→KSP migration, parallel execution, lazy task configuration, and a recommended gradle.properties baseline.
Inspired by awesome-android-agent-skills
Copy the skill directories into your Claude Code skills folder:
git clone https://github.com/rcosteira79/android-skills.git
cp -r android-skills/skills/* ~/.claude/skills/Skills are invoked automatically based on context:
- Working on Android or KMP code →
android-devskill activates - Writing or fixing tests →
android-tddskill activates - Debugging Android issues →
android-debuggingskill activates - Designing or reviewing Android UI →
android-uxskill activates - Working with Compose →
composeskill activates - Fetching Android/AndroidX source or when public docs aren't enough →
android-source-searchskill activates - Working with coroutines →
kotlin-coroutinesskill activates - Working with Flow/StateFlow/SharedFlow →
kotlin-flowsskill activates - Migrating from RxJava → ask Claude to migrate,
rxjava-migrationskill activates - Migrating XML layouts to Compose →
xml-to-compose-migrationskill activates - Setting up networking with Retrofit →
android-retrofitskill activates - Implementing the data/repository layer →
android-data-layerskill activates - Loading images with Coil →
coil-composeskill activates - Setting up Gradle build logic →
android-gradle-logicskill activates - Optimising build performance →
gradle-build-performanceskill activates
The skills are plain markdown files. Copy the content of whichever SKILL.md files are relevant into your editor's context mechanism:
- Cursor — add to
.cursor/rules/as.mdcfiles - Windsurf — add to
.windsurf/rules/as.mdfiles - Copilot — add to
.github/copilot-instructions.md - Other editors — paste into your project's custom instructions or context file
Each skill is self-contained and can be used independently.
MIT