SuperAPI AI Directory

kotlin

Coding & development

View repository

Updated 11-04 18:33

About this skill

Kotlin

Target version

Target Version Notes
Kotlin 2.4.21(2026-10-08、languageVersion / apiVersion 2.4) docs/v.list confirmed with
kotlinx.coroutines 1.11.0
kotlinx.serialization 1.11.0
KSP 2.3.10
  • Retrieved: 2026-10-16
  • Primary source of the body: kotlinlang.org/docs/llms.txt Markdown twin listed by https://kotlinlang.org/docs/_llms/<slug>.txt(e.g., basic-syntax.txt). Since the URL has no version, the retrieval date is recorded
  • Originals for verification
    • Kotlin main documentation: JetBrains/kotlin-web-site commit 0b10373a150997e9fbcd730a7e00ae8444cc8606(pinned by SHA because there is no release tag)
    • kotlinx.coroutines: Kotlin/kotlinx.coroutines commit 7e0d1b3e9ca83652427ae00dda7d1673f058a743(because the site is generated from master and the docs at tag 1.11.0 have an old structure. Among the 14 saved items, there are 0 descriptions of 1.12 / EAP)
    • kotlinx.serialization: only the twin, because the Writerside source is not public. As a supplement, the GitHub guide is saved at tag v1.11.0 Save with
  • Excluded versions: Kotlin 2.5.0-Beta1, kotlinx.serialization 1.12.0-RC

Directory structure

skills/kotlin/
  SKILL.md
  references/
    basics/                 # 構文・null safety・制御フロー・例外・KDoc・可視性(14 ページ)
      README.md
      basic-syntax.md  null-safety.md  control-flow.md  exceptions.md
      idioms.md  kotlin-doc.md  annotations.md  visibility-modifiers.md ...
    types/                  # 型システム(10 ページ)
      README.md
      numbers.md  strings.md  arrays.md  generics.md  typecasts.md  type-aliases.md ...
    classes-objects/        # クラス・オブジェクト(15 ページ)
      README.md
      classes.md  data-classes.md  sealed-classes.md  interfaces.md  extensions.md
      delegated-properties.md  object-declarations.md  inline-classes.md ...
    functions/              # 関数・ラムダ・DSL(8 ページ)
      README.md
      functions.md  lambdas.md  inline-functions.md  context-parameters.md
      type-safe-builders.md  operator-overloading.md ...
    collections/            # コレクション・シーケンス・Range(18 ページ)
      README.md
      collections-overview.md  collection-operations.md  sequences.md  ranges.md ...
    stdlib/                 # 標準ライブラリ補足(7 ページ)
      README.md
      scope-functions.md  opt-in-requirements.md  reflection.md  time-measurement.md  uuids.md ...
    java-interop/           # Java 相互運用(7 ページ)
      README.md
      java-interop.md  java-to-kotlin-interop.md  jvm-records.md ...
    coroutines/             # kotlinx.coroutines(14 ページ)
      README.md
      coroutines-basics.md  coroutines-flow.md  channels.md  exception-handling.md ...
    serialization/          # kotlinx.serialization(14 ページ)
      README.md
      serialization-get-started.md  serialization-configure-json-serialization.md
      serialization-polymorphism.md  serialization-protobuf.md ...
    build-tools/            # Gradle・Maven・Kotlin daemon(14 ページ)
      README.md
      gradle-configure-project.md  gradle-compiler-options.md  maven-configure-project.md ...
    compiler/               # コンパイラ・K2・コンパイラプラグイン・KSP・kapt(23 ページ)
      README.md
      compiler-reference.md  k2-compiler-migration-guide.md  ksp-overview.md  ksp-quickstart.md  kapt.md ...
    releases/               # リリース・互換性・What's new(10 ページ)
      README.md
      whatsnew24.md  whatsnew2420.md  compatibility-guide-24.md  components-stability.md ...
  samples/                  # 動く実例 22 件
    README.md
    null-safety-patterns.md  sealed-class-when.md  scope-functions.md
    coroutines-structured-concurrency.md  flow-collect-and-cancel.md
    serialization-json-roundtrip.md  gradle-jvm-project.md ...
  scripts/                  # コマンド集 7 件
    README.md
    install.md  kotlinc.md  gradle.md  maven.md  kotlin-daemon.md  ksp.md  compiler-plugins.md

Exploration procedure

Derive the category from the task, and identify the target page in the category's README.md.

  1. Find the category corresponding to the task in the mapping table below
  2. Refer to that category's references/{category}/README.md to identify the target page
  3. Read the relevant page's .md to check the details
  4. If you need a working example, consult samples/README.md; if you need a run command, consult scripts/README.md subtract

Task → Category mapping

Task Category Reference README
Want to know basic syntax, null safety, if / when / for, exception handling, visibility, KDoc basics references/basics/README.md
Want to know numbers, String, Array, generics, type casts, typealias types references/types/README.md
Want to know class, data class, sealed class, interface, extensions, delegation, object classes-objects references/classes-objects/README.md
Functions, lambdas, inline, context parameters, DSL builders, operator overloading functions references/functions/README.md
List / Set / Map operations, transformations, filtering, Sequence, Range collections references/collections/README.md
Scope functions, opt-in, reflection, Duration, Uuid, standard input stdlib references/stdlib/README.md
Interoperability with Java, Java records, differences from Java collections java-interop references/java-interop/README.md
suspend functions, launch / async, Flow, Channel, cancellation, exceptions coroutines references/coroutines/README.md
JSON / ProtoBuf / CBOR serialization, custom serializers, polymorphism serialization references/serialization/README.md
Gradle / Maven configuration, compiler options, Kotlin daemon build-tools references/build-tools/README.md
Compiler options, K2 migration, KSP, kapt, plugins such as all-open / no-arg compiler references/compiler/README.md
Changes in new versions, compatibility guide, component stability releases references/releases/README.md
Want to know typical usage samples samples/README.md
Want to know installation and CLI commands scripts scripts/README.md