koin-patterns
CommunityPragmatic Koin DI patterns for Android apps.
Authorahmed3elshaer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Android apps often require clean, scalable DI to manage dependencies across features without tight coupling. This Skill provides pragmatic Koin patterns to wire modules, scopes, and ViewModels in a maintainable way.
Core Features & Use Cases
- Module-based DI: Define AppModule, NetworkModule, and feature modules to organize dependencies.
- Scopes & ViewModel injection: Support scoped singletons and viewModel injections for Android components.
- Use Case composition: Compose repositories, use cases, and ViewModels within Koin modules for clean architecture.
- Use Case example: Example shows Home feature wiring HomeRepository, GetItemsUseCase, and HomeViewModel with get() dependencies.
Quick Start
- Add Koin dependencies to your Gradle files.
- Create modules like AppModule, NetworkModule, and HomeModule as shown.
- Start Koin in Application and inject ViewModels using koinViewModel() in Compose or by activity/fragment injection.
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: koin-patterns Download link: https://github.com/ahmed3elshaer/everything-claude-code-mobile/archive/main.zip#koin-patterns 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.