kotlin-core
CommunityMaster advanced Kotlin patterns.
Authorfelipebrgs1
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write more robust, performant, and maintainable Kotlin code by leveraging advanced language features and patterns.
Core Features & Use Cases
- State Management: Efficiently manage UI state with StateFlow and SharedFlow.
- Type Safety: Utilize sealed hierarchies for robust state representation and error handling.
- Performance: Improve code efficiency with inline functions, reified types, and value classes.
- DSL Builders: Create expressive and type-safe Domain Specific Languages.
- Immutability: Ensure thread safety and predictable state with @Immutable and immutable collections.
- Use Case: When building a complex Android UI, use StateFlow for managing screen states, sealed classes for different screen states (Loading, Success, Error), and @Immutable for Compose data classes to optimize recomposition.
Quick Start
Use the kotlin-core skill to implement state management with StateFlow and sealed classes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kotlin-core Download link: https://github.com/felipebrgs1/skills/archive/main.zip#kotlin-core Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.