Kotlin
Advanced Kotlin programming skills for coroutines and DSL patterns
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-kotlinOverview
Advanced Kotlin programming skills for coroutines and DSL patterns
Skills
This plugin provides the following skills:
- Kotlin Coroutines
- Kotlin Dsl Patterns
- Kotlin Null Safety
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
License
Licensed under MIT - see repository for details.
Skills
Kotlin Coroutines
Use when kotlin coroutines for structured concurrency including suspend functions, coroutine builders, Flow, channels, and patterns for building efficient asynchronous code with cancellation and exception handling.
Kotlin DSL Patterns
Use when domain-specific language design in Kotlin using type-safe builders, infix functions, operator overloading, lambdas with receivers, and patterns for creating expressive, readable DSLs for configuration and domain modeling.
Kotlin Null Safety
Use when kotlin's null safety system including nullable types, safe calls, Elvis operator, smart casts, and patterns for eliminating NullPointerExceptions while maintaining code expressiveness and clarity.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with build.gradle.kts -- ./gradlew test || npx -y @thebushidocollective/han hook run --fail-fast --dirs-with pom.xml -- mvn testSubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with build.gradle.kts -- ./gradlew test || npx -y @thebushidocollective/han hook run --fail-fast --dirs-with pom.xml -- mvn test