AN

android-kotlin-development

Offers Android architectural patterns, data modeling, API integration, and reactive UI implementation methods.

Install

mkdir -p .claude/skills/android-kotlin-development && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/241" && unzip -o skill.zip -d .claude/skills/android-kotlin-development && rm skill.zip

Installs to .claude/skills/android-kotlin-development

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.
166 chars · catalog descriptionno explicit “when” trigger
Advanced

Key capabilities

  • Implements MVVM architecture patterns
  • Builds declarative UIs with Jetpack Compose
  • Integrates API services using Retrofit
  • Manages local data persistence via Room
  • Utilizes Kotlin Coroutines for async operations

How it works

Provides structural patterns and code templates for Android development following modern Jetpack/Compose standards.

Inputs & outputs

You give it
API requirements, data models, or UI screen requests
You get back
Kotlin/Compose implementation, ViewModel logic, or data repository code

When to use android-kotlin-development

  • Setting up MVVM architecture
  • Building a UI screen with Jetpack Compose
  • Integrating an API with Retrofit
  • Persisting local data with Room

About this skill

Android Kotlin Development

Table of Contents

Overview

Build robust native Android applications using Kotlin with modern architecture patterns, Jetpack libraries, and Compose for declarative UI.

When to Use

  • Creating native Android applications with best practices
  • Using Kotlin for type-safe development
  • Implementing MVVM architecture with Jetpack
  • Building modern UIs with Jetpack Compose
  • Integrating with Android platform APIs

Quick Start

Minimal working example:

// Models
data class User(
  val id: String,
  val name: String,
  val email: String,
  val avatarUrl: String? = null
)

data class Item(
  val id: String,
  val title: String,
  val description: String,
  val imageUrl: String? = null,
  val price: Double
)

// API Service with Retrofit
interface ApiService {
  @GET("/users/{id}")
  suspend fun getUser(@Path("id") userId: String): User

  @PUT("/users/{id}")
  suspend fun updateUser(
    @Path("id") userId: String,
    @Body user: User
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Models & API ServiceModels & API Service
MVVM ViewModels with JetpackMVVM ViewModels with Jetpack
Jetpack Compose UIJetpack Compose UI

Best Practices

✅ DO

  • Use Kotlin for all new Android code
  • Implement MVVM with Jetpack libraries
  • Use Jetpack Compose for UI development
  • Leverage coroutines for async operations
  • Use Room for local data persistence
  • Implement proper error handling
  • Use Hilt for dependency injection
  • Use StateFlow for reactive state
  • Test on multiple device types
  • Follow Android design guidelines

❌ DON'T

  • Store tokens in SharedPreferences
  • Make network calls on main thread
  • Ignore lifecycle management
  • Skip null safety checks
  • Hardcode strings and resources
  • Ignore configuration changes
  • Store passwords in code
  • Deploy without device testing
  • Use deprecated APIs
  • Accumulate memory leaks

When not to use it

  • Projects requiring non-Kotlin or legacy Android Java development
  • Simple apps that don't benefit from MVVM/Compose architectures

Prerequisites

Android StudiokotlinJetpack libraries

Limitations

  • Strict dependency on Jetpack and Kotlin ecosystem
  • High complexity for simple applications

How it compares

It enforces a specific modern Android stack (Compose/MVVM/Room) rather than generic Android development advice.

Compared to similar skills

android-kotlin-development side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
android-kotlin-development (this skill)2685moReviewAdvanced
kotlin-multiplatform323moReviewAdvanced
nostr-expert32moReviewAdvanced
kmp-cmp-app-builder04moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

kotlin-multiplatform

vitorpamplona

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS) with web/wasm future considerations. Integrates with gradle-expert for dependency issues. Triggers on: abstraction decisions ("should I share this?"), source set placement questions, expect/actual creation, build.gradle.kts work, incorrect placement detection, KMP dependency suggestions.

32156

nostr-expert

vitorpamplona

Nostr protocol implementation patterns in Quartz (AmethystMultiplatform's KMP Nostr library). Use when working with: (1) Nostr events (creating, parsing, signing), (2) Event kinds and tags, (3) NIP implementations (57 NIPs in quartz/), (4) Event builders and TagArrayBuilder DSL, (5) Nostr cryptography (secp256k1, NIP-44 encryption), (6) Relay communication patterns, (7) Bech32 encoding (npub, nsec, note, nevent). Complements nostr-protocol agent (NIP specs) - this skill provides Quartz codebase patterns and implementation details.

323

kmp-cmp-app-builder

firdaus1453

>

00

android-clean-architecture

farhankabir133

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns.

00

mqtt-kmp

meshtastic

MQTTastic Client KMP — Kotlin Multiplatform MQTT 5.0 client library project knowledge

00

kotlin-ktor

navikt

Ktor-applikasjoner i Kotlin — routes, plugins, Koin DI, JWT-claims som NAVident, CallLogging/MDC, StatusPages/ApiError, paginering og input-validering. Brukes via /kotlin-ktor ved Ktor-arbeid.

00

Search skills

Search the agent skills registry