metro-di-mobile

Community

Compile-time DI for multiplatform Kotlin apps.

AuthorAndVl1
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Metro DI for Kotlin Multiplatform provides a compile-time dependency injection framework, enabling type-safe graphs and modular, multiplatform architectures without runtime reflection.

Core Features & Use Cases

  • Compile-time dependency graphs using @DependencyGraph to wire cross-platform components.
  • Platform-specific bindings with @BindingContainer and @Provides to compose modular features (network, data, UI).
  • Assisted injection and ComponentContext-based factories to handle runtime parameters in multiplatform apps.

Quick Start

  1. Add the Metro Kotlin Multiplatform plugin to your Gradle build and apply it to your KMP modules.
  2. Declare a dependency graph with @DependencyGraph and use @Provides and @Inject to wire services across common and platform-specific code.
  3. Create platform bindings in Android/iOS sources and integrate your component graph into your app startup sequence.

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: metro-di-mobile
Download link: https://github.com/AndVl1/claude-plugin/archive/main.zip#metro-di-mobile

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.