# Kotlin AI skills Kotlin AI skills are reusable instructions that help AI agents perform Kotlin-specific tasks more reliably. A skill gives an AI agent the context it needs before it starts executing a task. For example, a skill can point to a relevant API, define prerequisites, or provide step-by-step workflow guidance. Kotlin AI skills help agents produce more accurate results and reduce the time you spend explaining the task yourself. For teams, skills also provide a shared framework for common tasks, so everyone gets consistent results. [Explore Kotlin AI skills](https://github.com/Kotlin/kotlin-agent-skills) Kotlin AI skills follow the [Agent Skills standard](https://agentskills.io/home), so you can use them with compatible AI agents, for example, [Junie](https://www.jetbrains.com/junie/), Claude Code, OpenAI Codex, Google Gemini, and GitHub Copilot. ## Set up AI skills Learn how to set up and use AI skills: * [With agents in the terminal](https://github.com/Kotlin/kotlin-agent-skills#installation) * In IDEs: * [IntelliJ IDEA](https://www.jetbrains.com/help/ai-assistant/agent-skills.html) * [Android Studio](https://developer.android.com/tools/agents/android-skills) ## Supported workflows You can use Kotlin AI skills for different Kotlin-specific scenarios. Explore the different tasks that AI skills can help you with. ### Convert Java source files to Kotlin Convert your Java source files to idiomatic Kotlin while preserving behavior and applying Kotlin-specific conventions. Learn more in [our tutorial](mixing-java-kotlin-intellij.html). [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-java-to-kotlin) ### Migrate multiplatform projects to AGP 9 Migrate your Kotlin Multiplatform project to AGP 9 and enable an AI agent to apply the required project and Gradle configuration changes. Learn more in [our guide](https://kotlinlang.org/docs/multiplatform/multiplatform-project-agp-9-migration.html). [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-agp9-migration) ### Design JPA entity mappings Design reliable Kotlin entities for Spring Data JPA and Hibernate, including identity, relationships, constraints, fetching, and common ORM pitfalls. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-backend-jpa-entity-mapping) ### Migrate from CocoaPods to SwiftPM Migrate Kotlin Multiplatform projects from CocoaPods dependencies to Swift Package Manager dependencies. Learn more in [our guide](https://kotlinlang.org/docs/multiplatform/multiplatform-cocoapods-spm-migration-ai.html). [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-cocoapods-spm-migration) ### Migrate to immutable collections 0.5.x Update projects to version `0.5.x` of the `kotlinx.collections.immutable` library and replace deprecated persistent collection operations. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-immutable-collections-0-5-x-migration) ### Improve Kotlin/Native build performance Diagnose slow Kotlin/Native and iOS builds and get recommendations for targeted changes to compilation, linking, caching, targets, and CI configuration. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-native-build-performance) ### Migrate a Gradle project to Kotlin Toolchain Migrate an entire Gradle-based Kotlin project to [Kotlin Toolchain](https://kotlin-toolchain.org/latest/), including its configuration, plugins, and CI workflows. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project) ### Convert a Gradle plugin to a Kotlin Toolchain plugin Reimplement an existing Gradle plugin as a local Kotlin Toolchain plugin. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-plugin) ### Build projects with Kotlin Toolchain Create, configure, build, test, and package Kotlin and Java projects using Kotlin Toolchain. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-kotlin-toolchain) ### Create a Kotlin Toolchain plugin Create a local plugin for custom build tasks, code generation, verification, or packaging. [AI skill](https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-kotlin-toolchain-plugin-authoring) ## Contribute and share feedback Kotlin AI skills are open-source. Test the available skills and share your feedback by [reporting issues](https://github.com/Kotlin/kotlin-agent-skills/issues/new). You can also contribute a new skill or improve an existing one. For more information, see the [contribution guidelines](https://github.com/Kotlin/kotlin-agent-skills/blob/main/CONTRIBUTING.md). ## Get support If you have questions or encounter problems, ask for help in ![Slack](images/slack.svg) Slack: [get an invite](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up) and share your experience in the `#ai` channel.