kmp-repositories
CommunityCross-platform Kotlin repository pattern guide.
Authorahmed3elshaer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes cross-platform data access by implementing a Kotlin Multiplatform repository pattern with shared interfaces and platform-specific implementations.
Core Features & Use Cases
- Common interface layer: Define repository contracts in commonMain to be implemented per platform.
- Platform-specific data sources: Provide remote/local implementations that coordinate data fetching, caching, and mapping between layers.
- Testable architecture: Enables unit and integration tests through clear separations of concerns and dependency injection.
- Use Case alignment: Integrates with domain/use case modules to coordinate data flows across presentation, domain, and data layers.
Quick Start
Define shared interfaces in commonMain, implement platform-specific repositories for Android and iOS, and wire them with DI to enable cross-platform data access.
Dependency Matrix
Required Modules
None requiredComponents
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-repositories Download link: https://github.com/ahmed3elshaer/everything-claude-code-mobile/archive/main.zip#kmp-repositories 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.