kotlin-expert
Provides patterns for advanced Kotlin state management, sealed classes, and Compose performance.
Install
mkdir -p .claude/skills/kotlin-expert && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1141" && unzip -o skill.zip -d .claude/skills/kotlin-expert && rm skill.zipInstalls to .claude/skills/kotlin-expert
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.
Advanced Kotlin patterns for AmethystMultiplatform. Flow state management (StateFlow/SharedFlow), sealed hierarchies (classes vs interfaces), immutability (@Immutable, data classes), DSL builders (type-safe fluent APIs), inline functions (reified generics, performance). Use when working with: (1) State management patterns (StateFlow/SharedFlow/MutableStateFlow), (2) Sealed classes or sealed interfaces, (3) @Immutable annotations for Compose, (4) DSL builders with lambda receivers, (5) inline/reified functions, (6) Kotlin performance optimization. Complements kotlin-coroutines agent (async patterns) - this skill focuses on Amethyst-specific Kotlin idioms.Key capabilities
- →Constructs type-safe DSLs with lambda receivers
- →Enforces StateFlow/SharedFlow patterns
- →Optimizes Compose state with @Immutable
- →Implements sealed interface hierarchies
How it works
Applies high-level Kotlin architectural idioms such as inline functions and reified generics to reduce boilerplace and overhead.
Inputs & outputs
When to use kotlin-expert
- →Implement StateFlow for state management
- →Refactor code to use sealed hierarchies
- →Optimize Compose components for performance
About kotlin-expert
Focuses on high-level Kotlin idioms including Flow-based state, sealed interfaces, and immutable data classes. It provides guidance on creating type-safe DSLs and writing performance-oriented Compose code.
Advanced Kotlin patterns for AmethystMultiplatform. Flow state management (StateFlow/SharedFlow), sealed hierarchies (classes vs interfaces), immutability (@Immutable, data classes), DSL builders (type-safe fluent APIs), inline functions (reified generics, performance). Use when working with: (1) State management patterns (StateFlow/SharedFlow/MutableStateFlow), (2) Sealed classes or sealed interfaces, (3) @Immutable annotations for Compose, (4) DSL builders with lambda receivers, (5) inline/reified functions, (6) Kotlin performance optimization. Complements kotlin-coroutines agent (async patterns) - this skill focuses on Amethyst-specific Kotlin idioms.
When not to use it
- →For simple script-based Kotlin
- →In projects strictly avoiding reactive state flows
Prerequisites
Limitations
- →Requires Kotlin compiler proficiency
- →Focuses on complex architectural patterns
How it compares
It provides architecture-specific patterns tailored to the Amethyst codebase instead of generic language syntax help.
Compared to similar skills
kotlin-expert side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| kotlin-expert (this skill) | 5 | 5mo | No flags | Advanced |
| kmp-cmp-app-builder | 0 | 8mo | Review | Advanced |
| android-kotlin-development | 268 | 8mo | Review | Advanced |
| kotlin-multiplatform | 32 | 6mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by vitorpamplona
View all by vitorpamplona →You might also like
kmp-cmp-app-builder
firdaus1453
>
android-kotlin-development
aj-geddes
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.
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.
compose-expert
vitorpamplona
Advanced Compose Multiplatform UI patterns for shared composables. Use when working with visual UI components, state management patterns (remember, derivedStateOf, produceState), recomposition optimization (@Stable/@Immutable visual usage), Material3 theming, custom ImageVector icons, or determining whether to share UI in commonMain vs keep platform-specific. Delegates navigation to android-expert/desktop-expert. Complements kotlin-expert (handles Kotlin language aspects of state/annotations).
android-kotlin
alinaqi
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
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.