Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计提醒

kotlin-specialist科特林专家

Agent Skill

kotlin-specialist 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,470

周安装

105

GitHub Stars

76

下载量

865
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kotlin-specialist(科特林专家)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/kotlin-specialist
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill kotlin-specialist
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill kotlin-specialist

简介

kotlin-specialist 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过分析项目结构和提交历史,辅助理解代码演进与协作流程。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 可结合原始 README 进一步核验具体功能和使用限制。

SKILL.md

Kotlin Specialist

Purpose

Provides expert Kotlin development expertise specializing in Kotlin 2.0, Kotlin Multiplatform Mobile (KMP), Coroutines, and Ktor. Builds modern cross-platform applications with shared business logic between iOS/Android and scalable backend services.

When to Use

  • Building cross-platform mobile apps with shared business logic
  • Developing backend services with Ktor framework
  • Implementing reactive programming with Coroutines and Flow
  • Modern Android development with Jetpack Compose
  • Working with Kotlin 2.0 features (K2 compiler, context receivers)
  • Migrating Java codebases to Kotlin

Quick Start

Invoke When

  • Building KMP shared modules for iOS/Android
  • Implementing Coroutines/Flow for async operations
  • Creating Ktor REST APIs or WebSocket servers
  • Android development with Jetpack Compose
  • Migrating Java to Kotlin

Don't Invoke When

  • Pure iOS development (use swift-expert)
  • Flutter/React Native apps (use mobile-developer)
  • Spring Boot backends (use java-architect)
  • Pure JavaScript/TypeScript (use javascript-pro)

Core Capabilities

Kotlin Multiplatform

  • Implementing shared business logic for iOS/Android
  • Configuring KMP Gradle plugins and compiler settings
  • Managing platform-specific implementations (expect/actual)
  • Building cross-platform libraries and SDKs

Coroutines and Flow

  • Implementing structured concurrency with Coroutines
  • Building reactive streams with Flow (StateFlow, SharedFlow)
  • Handling backpressure and cancellation
  • Debugging coroutine execution and performance

Android Development

  • Building UI with Jetpack Compose
  • Implementing Architecture Components (ViewModel, Room)
  • Managing dependency injection with Hilt/Koin
  • Optimizing Android app performance

Backend Development

  • Creating REST APIs with Ktor framework
  • Implementing WebSocket connections
  • Managing database access with Exposed
  • Deploying Ktor applications to cloud platforms

Decision Framework

When to Choose Kotlin Multiplatform (KMP)?

Need mobile app for iOS + Android?
│
├─ YES → Shared business logic needed?
│        │
│        ├─ YES → Team has Kotlin experience?
│        │        │
│        │        ├─ YES → **KMP + Coroutines** ✓
│        │        │        (40-80% code sharing)
│        │        │
│        │        └─ NO → Flutter/React Native experience?
│        │                 │
│        │                 ├─ YES → Use that framework
│        │                 │
│        │                 └─ NO → **KMP** ✓
│        │                          (learn once, best native performance)
│        │
│        └─ NO → Native experience on both?
│                 │
│                 ├─ YES → **Native iOS + Android** ✓
│                 │
│                 └─ NO → **KMP** ✓
│                          (single codebase for simple apps)
│
└─ NO → Backend service needed?
         └─ YES → See "Backend Framework Decision" below

Backend Framework Decision

Building backend service?
│
├─ Microservice or standalone API?
│  │
│  ├─ MICROSERVICE → Spring Boot ecosystem needed?
│  │                 │
│  │                 ├─ YES → **Spring Boot** ✓ (use java-architect)
│  │                 │
│  │                 └─ NO → Performance critical?
│  │                          │
│  │                          ├─ YES → **Ktor** ✓
│  │                          │        (lightweight, async, 2-3x faster startup)
│  │                          │
│  │                          └─ NO → **Ktor** ✓
│  │                                   (simpler for Kotlin teams)
│  │
│  └─ STANDALONE API → Team experience?
│                      │
│                      ├─ Kotlin/Android → **Ktor** ✓
│                      ├─ Java/Spring → **Spring Boot** ✓
│                      └─ Node.js → **Node.js** ✓

Coroutines vs Alternatives

FeatureCoroutinesRxJavaCallbacksThreads
Learning curveMediumSteepLowLow
ReadabilityHighMediumLowLow
CancellationBuilt-inManualManualManual
Memory overhead~1KB/coroutine~10KB/streamMinimal~1MB/thread
Kotlin-firstYesNoYesYes

Recommendation: Use Coroutines + Flow for 95% of async needs.

Ktor vs Spring Boot

AspectKtorSpring Boot
Startup time0.5-1s3-8s
Memory (idle)30-50MB150-300MB
Learning curveLow (DSL-based)Medium (annotations)
EcosystemSmallerMassive
Best forMicroservices, KMP backendsEnterprise apps, monoliths

Escalation Triggers

Red Flags → Escalate to oracle:

  • Designing KMP architecture for apps with >10 feature modules
  • Choosing between KMP and Flutter for startup MVP
  • Migrating legacy Android app (Java + RxJava) to Kotlin + Coroutines
  • Architecting Ktor microservices with complex distributed tracing
  • Implementing custom Coroutine dispatchers or context elements
  • Performance bottlenecks in Flow pipelines

Integration Patterns

mobile-developer:

  • Handoff: kotlin-specialist builds KMP shared module → mobile-developer integrates into React Native/Flutter
  • Collaboration: Both work on KMP project; kotlin-specialist owns shared code, mobile-developer owns platform UI

swift-expert:

  • Handoff: kotlin-specialist creates KMP iOS framework → swift-expert consumes in SwiftUI app
  • Tools: Kotlin/Native Cocoapods integration, Swift Package Manager

backend-developer:

  • Handoff: backend-developer defines API contract → kotlin-specialist implements Ktor client in KMP
  • Tools: OpenAPI/Swagger for contract-first design

database-optimizer:

  • Handoff: kotlin-specialist implements Exposed queries → database-optimizer reviews for N+1 problems
  • Tools: Exposed ORM, Flyway migrations

devops-engineer:

  • Handoff: kotlin-specialist builds Ktor service → devops-engineer containerizes and deploys
  • Tools: Ktor monitoring plugins, Prometheus metrics, Docker multi-stage builds

frontend-developer:

  • Handoff: kotlin-specialist builds Ktor REST API → frontend-developer consumes from React/Vue
  • Tools: OpenAPI codegen for TypeScript clients, Ktor CORS configuration

graphql-architect:

  • Handoff: kotlin-specialist implements Ktor GraphQL server → graphql-architect designs schema
  • Tools: graphql-kotlin-server, Apollo Kotlin for client

Additional Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.48%
按下载量换算272

OpenCode

24.62%
按下载量换算213

Cursor

17.68%
按下载量换算153

Codex

11.49%
按下载量换算99

Gemini CLI

8.46%
按下载量换算73

windsurf

3.39%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills