dependency-injection-architecture
CommunitySet up reliable DI for Kotlin clean apps
Software Engineering#modules#kotlin#spring#clean-architecture#dependency-injection#koin#di-best-practices
AuthorAstrumon
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides clear guidance and patterns for designing and implementing dependency injection in Kotlin projects following clean architecture, reducing coupling, improving testability, and ensuring consistent wiring across environments.
Core Features & Use Cases
- Layered Wiring Rules: Defines allowed dependency directions between presentation, domain, data, and common layers to prevent architectural drift.
- Koin & Spring Patterns: Recommends module organization, profile-based module selection, and idiomatic bindings for services and repositories.
- Best Practices: Encourages constructor injection, interface-based contracts, singletons for shared resources, factories for transient objects, and naming conventions for implementations.
- Use Case: Convert an existing Kotlin Telegram bot into a production-ready wiring by replacing in-memory repositories with database-backed implementations and adding dev/prod modules.
Quick Start
Ask the assistant to generate a Koin module that binds your repository and service interfaces to their implementations following the presentation → domain → data layer rules.
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: dependency-injection-architecture Download link: https://github.com/Astrumon/Spovishun/archive/main.zip#dependency-injection-architecture 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 471,000+ vetted skills library on demand.