Skip to main content
在 Manus 中运行任何 Skill
一键导入

kotlin-language-features

星标13
分支0
更新时间2026年5月22日 00:29

Authoritative guidance on modern Kotlin language features (2.2.0 through 2.3.21) — writing idiomatic code, reviewing or modernizing older code, and upgrading across the 2.2 → 2.3 line. Make sure to use this skill whenever the user mentions Kotlin 2.2, 2.2.20, 2.3, 2.3.0, 2.3.20, or 2.3.21, or any of these features: guard conditions in `when`, non-local `break`/`continue` in inline lambdas, multi-dollar string interpolation, context parameters, context-sensitive resolution, nested type aliases, the `@all` annotation use-site target, unused return value checker, explicit backing fields, name-based destructuring, data-flow exhaustiveness for `when`, or `return` in expression-body functions. Also trigger for compiler flags `-Xreturn-value-checker`, `-Xexplicit-backing-fields`, `-Xname-based-destructuring`; annotations `@MustUseReturnValues` and `@IgnorableReturnValue`; or any question framed as "what's new in Kotlin" or "latest Kotlin features."

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly