android-di-koin
CommunitySimplify Koin DI setup for Android and KMP apps.
Software Engineering#android#compose#dependency-injection#koin#kotlin-multiplatform#di-modules#viewmodel-injection
Authorkvithayathil
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manually configuring Koin dependency injection for Android and Kotlin Multiplatform projects leads to inconsistent module setups, improper ViewModel injection, runtime crashes, and unnecessary boilerplate code.
Core Features & Use Cases
- Per-layer Koin module definitions: Create separate, properly named modules for data, presentation, and core layers to organize dependency bindings.
- Correct module assembly: Register all DI modules in the :app module to avoid circular dependencies and ensure proper Koin initialization.
- Compose ViewModel injection: Use koinViewModel() in root composables to eliminate manual dependency passing and follow Android Compose best practices.
- Use Case: For a notes feature, use this skill to define data and presentation Koin modules, register them in the Application class, and inject NoteListViewModel into the root composable with minimal boilerplate.
Quick Start
Use the android-di-koin skill to set up complete Koin dependency injection for your new notes feature, including defining data and presentation modules, registering them in the Application class, and injecting the NoteListViewModel into the root composable.
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: android-di-koin Download link: https://github.com/kvithayathil/agent-resources/archive/main.zip#android-di-koin 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 536,000+ vetted skills library on demand.