Skill / SKILL.md

Kotlin Tooling Immutable Collections 5 X Migration

Kotlin/kotlin-agent-skills

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.
2 views 1,148 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Kotlin/kotlin-agent-skills' skill-source

Use the complete skill-source/skills/kotlin-tooling-immutable-collections-0-5-x-migration directory with your client’s skill installer.

  • skills/kotlin-tooling-immutable-collections-0-5-x-migration

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/kotlin-tooling-immutable-collections-0-5-x-migration

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
1f0729530f76e4bfb147938b5ba0e273e4bad49353a8e6a58d48df0ee2f6e6be
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills