Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pluginagentmarketplace avatar

Kotlin Di

  • 23 installs
  • 7 repo stars
  • Updated January 5, 2026
  • pluginagentmarketplace/custom-plugin-kotlin

kotlin-di is a Claude Code skill for ai & agent building.

About

kotlin-di is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • kotlin-di
  • AI & Agent Building
  • AI-coding skill

Kotlin Di by the numbers

  • 23 all-time installs (skills.sh)
  • Ranked #10,032 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-kotlin --skill kotlin-di

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs23
repo stars7
Last updatedJanuary 5, 2026
Repositorypluginagentmarketplace/custom-plugin-kotlin

How do I helps with ai & agent building tasks.?

Helps with ai & agent building tasks.

Who is it for?

Best when you're working on ai & agent building and need structured help with kotlin di.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks., or when kotlin-di is a claude code skill for ai & agent building.

What you get

Structured output aligned to kotlin-di: kotlin-di, AI & Agent Building.

Files

SKILL.mdMarkdownGitHub ↗

Kotlin DI Skill

Dependency Injection with Hilt and Koin.

Topics Covered

Hilt for Android

@HiltAndroidApp
class App : Application()

@Module
@InstallIn(SingletonComponent::class)
object AppModule {
    @Provides @Singleton
    fun provideDatabase(@ApplicationContext context: Context) =
        Room.databaseBuilder(context, AppDatabase::class.java, "app.db").build()

    @Provides
    fun provideUserDao(db: AppDatabase) = db.userDao()
}

@HiltViewModel
class UserViewModel @Inject constructor(
    private val repository: UserRepository
) : ViewModel()

Koin for Multiplatform

val appModule = module {
    single { HttpClient(getEngine()) }
    single { UserRepository(get()) }
    viewModel { UserViewModel(get()) }
}

// Start Koin
startKoin {
    modules(appModule)
}

// Inject
val repository: UserRepository by inject()

Testing with DI

@HiltAndroidTest
class UserViewModelTest {
    @get:Rule val hiltRule = HiltAndroidRule(this)

    @BindValue @JvmField
    val repository: UserRepository = mockk()

    @Inject lateinit var viewModel: UserViewModel

    @Before fun setup() { hiltRule.inject() }
}

Troubleshooting

IssueResolution
"No binding for..."Add @Provides or @Binds
ViewModel not injectedUse hiltViewModel() in Compose

Usage

Skill("kotlin-di")

Related skills

FAQ

What does kotlin-di do?

kotlin-di is a Claude Code skill for ai & agent building.

When should I use kotlin-di?

When you need to helps with ai & agent building tasks., or when kotlin-di is a claude code skill for ai & agent building.

What are the main capabilities?

kotlin-di; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.