Kotlin Build Performance
Expert guidance on making Kotlin Android builds fast — configuration cache, build cache, KSP vs KAPT, module graph, Gradle daemon tuning. Use this when builds are slow or CI times blow up.
Install
npx skills add PanPanFR/oh-my-openkilo --skill kotlin-build-performancegit clone --depth 1 https://github.com/PanPanFR/oh-my-openkilo.git /tmp/oh-my-openkilo
mkdir -p ~/.claude/skills
cp -r /tmp/oh-my-openkilo/archive/skills/android/kotlin-build-performance ~/.claude/skills/kotlin-build-performancePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Kotlin Android Build Performance
## Instructions
A slow build starves the feedback loop. Target: clean build under 60 s on dev laptops, incremental builds under 5 s.
### 1. Enable Gradle Caches (`gradle.properties`)
```properties
org.gradle.jvmargs=-Xmx4g -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=true
org.gradle.configureondemand=true
# Kotlin
kotlin.incremental=true
kotlin.code.style=official
# AGP
android.useAndroidX=true
android.nonTransitiveRClass=true
android.nonFinalResIds=true
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
```
Verify with:
```
./gradlew :app:assembleDebug --configuration-cache --build-cache
```
The second run should log "Reusing configuration cache" and most tasks FROM-CACHE.
### 2. KSP Instead of KAPT
KAPT stubs Java to run annotation processors — it's the single biggest Kotlin-build tax. KSP understands Kotlin directly and is 2–4× faster.
```kotlin
plugins { alias(libs.plugins.ksp) }
dependencies {
implementation(libs.hilt.android); ksp(libs.hilt.compiler) // Hilt 2.48+
implementation(libs.room.runtime); ksp(libs.room.compiler)
implementation(libs.moshi); ksp(libs.moshi.codegen) // if on Moshi
}
```Details
- Skill name
kotlin-build-performance- Repository
- PanPanFR/oh-my-openkilo
- Path
archive/skills/android/kotlin-build-performance/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
FAQ
What does the Kotlin Build Performance skill do?
Expert guidance on making Kotlin Android builds fast — configuration cache, build cache, KSP vs KAPT, module graph, Gradle daemon tuning. Use this when builds are slow or CI times blow up.
How do I install the Kotlin Build Performance skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add PanPanFR/oh-my-openkilo --skill kotlin-build-performance. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Kotlin Build Performance popular?
It lives in PanPanFR/oh-my-openkilo, which has 9 GitHub stars and 1 forks.
Related skills
Adaptive
9PanPanFR/oh-my-openkilo
Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as button
Agentmemory
9PanPanFR/oh-my-openkilo
Index for agentmemory internals: how it is wired into a host agent, its architecture and ports, configuration flags, capture hooks, MCP tool surface, and REST fallback. Use when installing or debugging agentmemory itself, when a memory tool name or parameter is unclear, or when capture is not recording. For normal recall and save work, use agentmemory-ops instead.
Agentmemory History
9PanPanFR/oh-my-openkilo
Read past work: resume the last session, recap recent sessions, list agent-linked commits, trace a line back to the session that wrote it, or compact the current conversation for handoff. Use when the user says "where were we", "resume", "recap", "session history", "what did we do", "why is this code here", "who wrote this", or "handoff".
Kotlin Coroutines
9PanPanFR/oh-my-openkilo
Expert guidance on writing correct Kotlin coroutines — structured concurrency, scopes, dispatchers, cancellation, supervisorScope, and exception handling. Use this whenever you add suspending code.
Kotlin Android CI
9PanPanFR/oh-my-openkilo
Expert guidance on CI/CD for Kotlin Android projects — GitHub Actions, Gradle remote cache, signing, Play Publisher, and Firebase App Distribution. Use this when setting up or debugging CI pipelines.
Kotlin Data Layer
9PanPanFR/oh-my-openkilo
Build the Android data layer with Room, DataStore, Retrofit/OkHttp, serialization, offline-first sync, and coroutines/Flow.
Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.