shared-models

Community

Unified Kotlin Multiplatform data models

Authorahmed3elshaer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies building reusable, cross-platform data models for Kotlin Multiplatform projects by standardizing domain models and serialization across Android, iOS, and desktop modules.

Core Features & Use Cases

  • Immutable data classes annotated with @Serializable to ensure consistent cross-platform serialization.
  • Sealed hierarchies for UI states and results, enabling predictable state modeling across platforms.
  • Validation utilities and shared configuration to enforce consistent data integrity across all targets.

Quick Start

Define your models in shared/commonMain using @Serializable and sealed classes; enable kotlinx.serialization and the Kotlin Multiplatform plugin in the shared module; then reuse the same models from Android, iOS, and desktop targets.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: shared-models
Download link: https://github.com/ahmed3elshaer/everything-claude-code-mobile/archive/main.zip#shared-models

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.