kmp-networking

Community

Cross-platform networking with native engines.

Authorahmed3elshaer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a shared networking layer for Kotlin Multiplatform projects, unifying HTTP calls across platforms and reducing boilerplate by using a single Ktor-based client with platform-specific engines.

Core Features & Use Cases

  • Shared HttpClientFactory for commonMain with JSON serialization, request configuration, and logging.
  • Platform-specific engines: OkHttp for Android and Darwin for iOS, ensuring performance and native behavior.
  • API service pattern with Bearer token authentication and structured error handling across platforms.
  • Reusable patterns for retries, default requests, and consistent API wrappers across Kotlin/Native and JVM targets.

Quick Start

  • Add Kotlin Multiplatform, Ktor, and serialization dependencies in your shared module.
  • Create and configure the HttpClient via HttpClientFactory and inject it into your API services.
  • Use the provided UserApi or your own API wrappers to make network requests.

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

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 471,000+ vetted skills library on demand.