Toolverse
All skills

kotlin-expert

by vitorpamplona

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

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile
Views
20

About this skill

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.

How to use

  1. Zainstaluj skill kotlin-expert w swoim środowisku Claude/Copilot, wskazując repozytorium https://github.com/vitorpamplona/amethyst/tree/main/.claude/skills/kotlin-expert. Skill będzie dostępny jako kontekst do analizy kodu Kotlina w projektach Amethyst.

  2. Użyj skill-u gdy pracujesz nad zarządzaniem stanem aplikacji – opisz swój problem związany ze StateFlow, SharedFlow lub MutableStateFlow, a skill zasugeruje odpowiednie wzorce i implementacje na bazie kodu Amethyst.

  3. Gdy definiujesz hierarchie typów, poproś skill o porady dotyczące sealed classes vs sealed interfaces – otrzymasz konkretne przykłady z projektu, kiedy użyć którego podejścia.

  4. Jeśli optymalizujesz wydajność komponentów Compose, zapytaj o @Immutable annotations i data classes – skill pokaże, jak prawidłowo oznaczać klasy, aby uniknąć niepotrzebnych rekomputacji.

  5. Przy budowaniu DSL-ów z type-safe fluent API-ami poproś o przykłady lambda receivers i method chaining – skill dostarczy wzorce z TagArrayBuilder i podobnych konstruktorów z Amethyst.

  6. Dla zaawansowanych optymalizacji (inline functions, reified type parameters) opisz swój przypadek użycia, a skill zaproponuje rozwiązania z OptimizedJsonMapper i podobnych komponentów, wyjaśniając, kiedy inline rzeczywiście poprawia wydajność.

Related skills

react-native-architecture

by wshobson

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns. Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

Mobile
3978

mobile-design

by sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or

Mobile
6091

ios-simulator-skill

by conorluddy

21 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation, accessibility testing, and simulator lifecycle management. Optimized for AI agents with minimal token output.

Mobile
19154

senior-architect

by alirezarezvani

Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack

Mobile
184296

build-iphone-apps

by glittercowboy

Build professional native iPhone apps in Swift with SwiftUI and UIKit. Full lifecycle - build, debug, test, optimize, ship. CLI-only, no Xcode. Targets iOS 26 with iOS 18 compatibility.

Mobile
1182

swift-best-practices

by sammcj

This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6

Mobile
36140