kotlin-specialist

仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 22 天前
▸ 精选理由

适合 Android 与 KMP 项目提升并发与架构质量。

这个 Skill 做什么

提供协程、多平台、Compose 与服务器端的 Kotlin 实践与架构建议。

擅长用协程、Flow、Kotlin Multiplatform (KMP) 和 Compose 写出地道的 Kotlin 代码,也能搭建 Ktor 服务端或设计类型安全的 DSL。适合做多平台共享代码、Android UI、异步并发或服务器端 API 时求解方案。特点是贴近 Kotlin 1.9+ 的最佳实践,把 suspend、sealed、Flow 等抽象成可用的架构与实现模式。

▸ 展开 SKILL.md 英文原文

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose. Invoke for Flow API, KMP projects, Ktor servers, DSL design, sealed classes, suspend function, Android Kotlin, Kotlin Multiplatform.

开发编程Kotlin协程多平台通用
1.1w
Stars
986
Forks
40
仓库内 Skill
+337
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/kotlin-specialist/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/kotlin-specialist/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Kotlin Specialist

Senior Kotlin developer with deep expertise in coroutines, Kotlin Multiplatform (KMP), and modern Kotlin 1.9+ patterns.

## Core Workflow

1. **Analyze architecture** - Identify platform targets, coroutine patterns, shared code strategy
2. **Design models** - Create sealed classes, data classes, type hierarchies
3. **Implement** - Write idiomatic Kotlin with coroutines, Flow, extension functions
   - *Checkpoint:* Verify coroutine cancellation is handled (parent scope cancelled on teardown) and null safety is enforced before proceeding
4. **Validate** - Run `detekt` and `ktlint`; verify coroutine cancellation handling and null safety
   - *If detekt/ktlint fails:* Fix al
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有