Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI. Use when building Compose or Jetpack Compose UI, state, navigation, or theming in a KMP project.
Kotlin
Skills tagged Kotlin.
59 skills ·859k stars
Top curators
Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing. Use when writing coroutines or Flow code on Android or KMP, or debugging cancellation and concurrency.
Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.
Create Spring Boot Kotlin Project Skeleton
Generate a complete Kotlin MCP server project with proper structure, dependencies, and implementation using the official io.modelcontextprotocol:kotlin-sdk library.
Get best practices for developing applications with Spring Boot and Kotlin.
Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose. Invoke for Flow API, KMP projects, Ktor servers, DSL design, sealed classes, suspend function, Android Kotlin, Kotlin Multiplatform.
Integrate Expo and React Native into an existing native iOS or Android app. Use for brownfield, embedding a React Native screen in SwiftUI/UIKit or Kotlin, or AAR/XCFramework packaging. Covers isolated and integrated approaches. For building or distributing a purely native app with EAS, use eas-app-stores.
Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo. Not for migrating an existing Swift module from the definition DSL to the Expo Modules API 2.0 macros; use expo-migrate-module (from the expo-experiments plugin) for that.
Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API) entities, diagnosing N+1 or LazyInitializationException, placing indexes and uniqueness rules, or preventing Kotlin-specific bugs such as data class entities and broken equals/hashCode.
Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.
Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.
Load when porting, converting, or reimplementing a single Gradle plugin as a Kotlin Toolchain local plugin, or when mapping Gradle plugin concepts (Task, Extension, project.version, dependsOn, -P properties, afterEvaluate) to Toolchain analogs. Skip for migrating a whole Gradle project or authoring a plugin from scratch.
Load when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle plugins that have no native Toolchain equivalent. Skip for porting one Gradle plugin or general Toolchain work once Gradle is gone.
Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList / PersistentMap / PersistentSet / PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the version, recompile, and apply the rename each deprecation warning names. Use when the user mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, "Use adding() instead", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.
Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger/Hilt, RxJava, JUnit, Guice, Retrofit, and Mockito.
Load when building, running, testing, packaging, linting, or configuring a Kotlin/Java project with the Kotlin Toolchain (JetBrains' unified CLI, formerly Amper), when scaffolding a new or greenfield Kotlin project, or when the repo has project.yaml, module.yaml, or a ./kotlin wrapper. Skip for existing Gradle/Maven projects.
Load when authoring, writing, or designing a Kotlin Toolchain local plugin to extend the declarative build with code generation, build-time processing, custom verification, or packaging that module.yaml cannot express, or when referencing @TaskAction, @Configurable, plugin.yaml, or jvm/amper-plugin. Skip for porting an existing Gradle plugin.
Diagnoses and fixes slow Kotlin/Native compilation and linking in Kotlin Multiplatform projects that target iOS. Use when the user reports slow iOS or shared-framework builds, long linkDebug*/linkRelease* or XCFramework tasks, cold CI builds that re-download the Kotlin/Native toolchain, KSP or other generated code on the native path, transitiveExport usage, or asks for a local-development versus CI build performance plan.
Kotlin Coroutines review and remediation for Android. Use when asked to review concurrency usage, fix coroutine-related bugs, improve thread safety, or resolve lifecycle issues in Kotlin/Android code.
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
Casts a fireball at a specified target.
A simple skill that echoes provided arguments.
Description
A simple skill that prints provided arguments using Python.
A skill living directly under the assets root.
Name field does not match the directory name.
Skill that has a directory outside the allow-list.
Description 1
Description 2
Summons a magical creature to assist you.
A valid skill for testing.
Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP, (2) configuring schema download and codegen for GraphQL services, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions,
Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for prebuilt AuthView/UserButton or custom API-driven auth flows. Do not use for Expo or React Native projects.
Official integration patterns for Mapbox Maps SDK on Android. Covers installation, adding markers, user location, custom data, styles, camera control, and featureset interactions. Based on official Mapbox documentation.
Build, extend, debug, and explain Android apps with ArcGIS Maps SDK for Kotlin using official docs. Cover Gradle, SDK/Toolkit, Compose, authentication, starter maps/scenes, layers, graphics, queries, editing, location, geocoding, routing, offline workflows, and validation. Excludes Kotlin Multiplatform and other ArcGIS SDKs.
Appwrite Kotlin SDK skill. Use when building native Android apps or server-side Kotlin/JVM backends with Appwrite. Covers client-side auth (email, OAuth with Activity integration), database queries, file uploads, real-time subscriptions with coroutine support, and server-side admin via API keys for user management, database administration, storage, and functions.
Port a Gradle plugin to a Kotlin Toolchain local plugin. TRIGGER when the user asks to convert, port, migrate, or reimplement a Gradle plugin as a Kotlin Toolchain plugin; when a Gradle-to-Toolchain project conversion hits Gradle-plugin functionality with no native Toolchain equivalent; when designing a Kotlin Toolchain local plugin that replicates Gradle plugin behaviour; or when mapping Gradle plugin concepts (Tasks, Extensions, `project.version`, `dependsOn`, `-P` properties, hooks, `Project.afterEvaluate`) to their Kotlin Toolchain analogs (`@TaskAction`, `@Configurable Settings`, file-based `@Output`/`@Input` wiring, env vars, `commands:` registry). SKIP for general Kotlin Toolchain project work (use the `kotlin-toolchain` skill) and for Gradle plugin development that has no Kotlin Toolchain target.
Migrate an entire Gradle Kotlin/JVM project to Kotlin Toolchain — module.yaml + project.yaml, dependency-catalog reuse, CI rewrite, and local plugins replacing Gradle plugins with no Toolchain equivalent. TRIGGER when converting/migrating/porting a whole Gradle project (build.gradle/.kts, Gradle wrapper) to Kotlin Toolchain or Amper, not just one plugin; when replacing Gradle plugins (`application`, axion-release, jib, detekt/ktlint, custom `processResources`/codegen); when adapting CI (`./gradlew build`/`check`/`release`) to `./kotlin` commands; when translating `gradle/libs.versions.toml` incl. `[bundles]`; when `buildSrc`/`build-logic` or `allprojects`/`subprojects` must become module templates. SKIP for porting one Gradle plugin (`gradle-to-kotlin-toolchain-plugin`), authoring a new plugin (`kotlin-toolchain-plugin-authoring`), and general Toolchain work with Gradle already gone (`kotlin-toolchain`).
Use when reviewing or designing Gradle build structure for KMP projects — shared build logic, convention plugins, version catalogs, Android KMP plugin usage, source-set configuration, and module dependency hygiene.
Use when implementing or reviewing KMP data layers, including repositories, data sources, source-of-truth design, API exposure, conflict resolution, error handling, and main-safe data operations.
Use when reviewing implemented Kotlin Multiplatform / Compose Multiplatform code for architecture consistency, business-logic placement, state correctness, concurrency, Compose quality, design-system usage, security, performance, resilience, and maintainability.
Refactor discipline for existing codebases. Enforces scope control, migration safety, compatibility, observability, and tests to keep refactors reviewable and low-risk.
Use when designing, implementing, or reviewing navigation in Compose Multiplatform projects — route modeling, back stack ownership, argument passing, NavOptions, conditional flows, deep links, and adaptive navigation UI.
Use when designing, implementing, or reviewing Android deep links, web links, and App Links in KMP projects — intent-filter design, host verification, manifest scope, and assetlinks.json configuration.
Use when designing, implementing, or reviewing platform-specific integrations in KMP projects, including source-set placement, hierarchical sharing, expect/actual usage, platform API access, and shared-to-native abstraction boundaries.
Use when reviewing KMP architecture, feature proposals, PR structure, layer boundaries, state-holder design, Android entry-point discipline, source-set placement, modularization, and long-term maintainability in Kotlin Multiplatform / Compose Multiplatform projects.
Use when diagnosing and fixing bugs in a Kotlin Multiplatform project. Focus on root-cause analysis, minimal safe fixes, KMP correctness, UI/state/data/persistence/concurrency issues, and regression prevention.
Use when implementing or extending a feature in a Kotlin Multiplatform project. Provides pre-coding inspection, KMP source-set discipline, state pipeline design, architectural defaults, security/performance guardrails, and implementation rules. Forward-looking only — not a review skill.
Use when designing, reviewing, or refactoring module boundaries in KMP or Android projects — feature, data, app, and common modules, dependency direction, visibility control, and granularity.
Use when choosing, implementing, or reviewing state-holder patterns in a KMP project — ViewModel, shared presenter, MVI, or StateFlow-in-common — including effect handling, UiState modeling, and testability.
Use when designing, implementing, or reviewing tests in KMP projects — unit tests, instrumented tests, Compose Multiplatform UI tests, test doubles, test strategy, stability, performance, and screenshot testing.
Build tool for all new Kotlin projects. How to build, run, test, package, lint/check/verify, manage dependencies, and configure Kotlin/Java projects with Kotlin Toolchain — JetBrains' unified Kotlin CLI (formerly Amper, now the engine inside the Toolchain). TRIGGER when the repo contains `project.yaml`, `module.yaml`, or a `./kotlin` wrapper; when starting a new/greenfield Kotlin or Java project or picking its build tool ("create/start/scaffold/bootstrap a Kotlin project", "new Kotlin app/library/service", `kotlin init`); when the user asks to build/run/test/package a Kotlin project, add or remove dependencies, run lint/check/verification, or otherwise configure a Kotlin project that doesn't use Gradle/Maven; or when the user references Kotlin Toolchain or Amper. SKIP for existing Gradle/Maven Kotlin projects.
Author a Kotlin Toolchain local plugin to extend the declarative build with code generation, build-time processing, custom verification, custom packaging, or any behaviour that `module.yaml` cannot express. TRIGGER when the user asks to write, author, create, design, or extend a Kotlin Toolchain plugin; when a Gradle-to-Toolchain conversion hits functionality with no native Toolchain equivalent; when the user references `@TaskAction`, `@Configurable`, `@Input`/`@Output`, `pluginInfo`, `plugin.yaml`, `jvm/amper-plugin`, `${pluginSettings}`, `${module.rootDir}`, `${taskOutputDir}`, `generated.resources`/`generated.sources`, or `commands:`; when designing a build-time processing step that `module.yaml` does not support. SKIP for general Kotlin Toolchain project work (use the `kotlin-toolchain` skill) and for Gradle-plugin ports (use the `gradle-to-kotlin-toolchain-plugin` skill).
Use when designing, implementing, or reviewing adaptive Compose UI for KMP or Android projects — window-size layouts, adaptive navigation, canonical layouts, multi-window support, and resource strategy.
Use when designing, implementing, or reviewing shared UI in Compose Multiplatform projects, including state-driven architecture, composable decomposition, layout/modifier discipline, adaptive behavior, and previewable shared UI in common source sets.
Use Kotlin coroutines and Flow in Android and KMP. Covers safe scopes, parallel work, StateFlow, SharedFlow, errors, cancel rules, and tests.
Write and improve Kotlin tests with Kotest, MockK, coroutine test tools, property tests, Kover, and the red-green-refactor TDD cycle. Use for new Kotlin code, missing tests, test bugs, slow or flaky tests, and coverage setup.