edwardzhang/sps-cli/kotlin
Claude Code and agent skill by edwardzhang/sps-cli
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Kotlin language skill — idioms, null safety, coroutines, testing. Covers JVM backend and Android. Pair with `backend` / `mobile` end skills and `coding-standards` for cross-language principles.
Install
npx vskill@latest install edwardzhang/sps-cli/kotlinSKILL.md
The same SKILL.md was published earlier as edwardzhang/sps-cli/kotlin.
Kotlin
Null safety, coroutines, expressive stdlib. Used for JVM backend (Ktor, Spring) and Android. Language-focused.
When to load
- Project primary language is Kotlin (JVM / Android / Multiplatform)
- Reviewing Kotlin code
- Coroutines / Flow / async design
- Interop with Java (calling Java APIs, exposing Kotlin to Java)
Core principles
- Nullability in the type system.
String?andStringare different types; aNullPointerExceptionin pure Kotlin code is almost always a mistake. - `val` by default, `var` only when mutation is required.
- Data classes for value objects.
copy,equals,hashCode,toStringfor free. - Prefer expressions over statements.
if,when,tryall return values. - Sealed hierarchies over type codes. Use
sealed class/sealed interface+whenwith exhaustiveness. - Coroutines for async. Never
Thread.sleepor.get()on aFuturein a coroutine. - No Java collections when Kotlin collections exist.
List<T>(Kotlin) is read-only;MutableList<T>is mutable. - `let` / `run` / `apply` / `also` / `with` — know the difference, don't chain all five.
How to use references
| Reference | When to load | |
|---|---|---|
| `references/idioms.md` | Data classes, sealed classes, scope functions, extension fns, null safety | |
| `references/coroutines.md` | suspend, CoroutineScope, structured concurrency, Flow, dispatchers | |
| `references/testing.md` | JUnit 5, Kotest, MockK, turbine for Flow |
Forbidden patterns (auto-reject)
!!(force-unwrap) without a comment justifying it's definitely non-nulllateinit varfor anything that isn't initialized by a framework (DI, test setup)runBlockingin library or backend request-path codeGlobalScope— always use a structuredCoroutineScopeThread.sleepinside asuspendfunctionprintlnfor logging in production code- Returning Kotlin
List<T>from an API that Java callers will treat as mutable (or vice versa) Objectsingletons holding mutable staterunCatching { }.getOrNull()swallowing errors silently
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/kotlin/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/edwardzhang/sps-cli/kotlin)