kotlin-agent-skills
v1.0.0AI agent skills for Kotlin projects.
by KotlinApache-2.0992updated 2 weeks ago
Source
git clone https://github.com/Kotlin/kotlin-agent-skillsClone the source, then follow the repository's marketplace instructions for your runtime. The repository root is the plugin root.
Layout
├── .codex-plugin/plugin.json├── skills/kotlin-backend-jpa-entity-mapping/SKILL.md├── skills/kotlin-tooling-agp9-migration/SKILL.md├── skills/kotlin-tooling-cocoapods-spm-migration/SKILL.md├── skills/kotlin-tooling-immutable-collections-0-5-x-migration/SKILL.md├── skills/kotlin-tooling-java-to-kotlin/SKILL.md└── skills/kotlin-tooling-native-build-performance/SKILL.md
Skills6
Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API) entities, diagnosing N+1 or LazyInitializationException, placing indexes and uniqueness rules, or preventing Kotlin-specific bugs such as data class entities and broken equals/hashCode.
Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.
Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.
Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList / PersistentMap / PersistentSet / PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the version, recompile, and apply the rename each deprecation warning names. Use when the user mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, "Use adding() instead", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.
Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger/Hilt, RxJava, JUnit, Guice, Retrofit, and Mockito.
Diagnoses and fixes slow Kotlin/Native compilation and linking in Kotlin Multiplatform projects that target iOS. Use when the user reports slow iOS or shared-framework builds, long linkDebug*/linkRelease* or XCFramework tasks, cold CI builds that re-download the Kotlin/Native toolchain, KSP or other generated code on the native path, transitiveExport usage, or asks for a local-development versus CI build performance plan.
Manifests1
{
"name": "kotlin-agent-skills",
"version": "1.0.0",
"description": "AI agent skills for Kotlin projects.",
"author": {
"name": "Kotlin",
"url": "https://kotlinlang.org/"
},
"homepage": "https://github.com/Kotlin/kotlin-agent-skills",
"repository": "https://github.com/Kotlin/kotlin-agent-skills",
"license": "Apache-2.0",
"keywords": [
"kotlin"
],
"interface": {
"displayName": "Kotlin skills for agents",
"shortDescription": "Reusable skills for software development using Kotlin.",
"longDescription": "Reusable skills for software development using Kotlin.",
"developerName": "JetBrains",
"category": "Productivity",
"capabilities": [
"Read",
"Write"
],
"websiteURL": "https://kotlinlang.org/"
},
"skills": "./skills"
}