sickn33/agentic-awesome-skills/kotlin
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Language-specific super-code guidelines for kotlin.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/kotlinSKILL.md
Kotlin + Compose: Idiomatic Efficiency Reference
Apply only within the requested scope and current project conventions. Preserve behavior, ownership, error handling, accessibility and security; examples are independent fragments, not equivalent rewrites in every context. Verify language/library versions and run relevant checks. Required tests and user-facing progress/results take precedence over brevity rules. Do not install dependencies or delete files merely to follow these examples.
When to Use
- Use this skill when the task matches this description: Language-specific super-code guidelines for kotlin.
Table of Contents
- Collections & Data Transformation
- Null Safety
- Functions & Lambdas
- Classes & Objects
- Coroutines & Flow
- Compose UI
- Anti-patterns specific to Kotlin
1. Collections & Data Transformation {#collections}
Prefer scope functions and stdlib transforms over imperative loops.
Use `associate`, `associateBy`, `partition`, `flatMap`, `zip` instead of manual equivalents.
2. Null Safety {#null-safety}
3. Functions & Lambdas {#functions}
Prefer `let`, `run`, `apply`, `also`, `with` over repeated receiver references — but don't nest more than 2 levels deep.
4. Classes & Objects {#classes}
Sealed classes/interfaces over enum when variants carry different data.
5. Coroutines & Flow {#coroutines}
Don't launch coroutines in constructors or init blocks. Don't use GlobalScope.
6. Compose UI {#compose}
Use `LazyColumn`/`LazyRow` for lists of unknown or large size. Never put a `LazyColumn` inside a `Column` with unbounded height.
7. Anti-patterns specific to Kotlin {#antipatterns}
| Anti-pattern | Preferred | |
|---|---|---|
if (x == true) | if (x) | |
if (x == null) return else x!! | val x = x ?: return | |
listOf().toMutableList() for a known-size list | mutableListOf() | |
when with a single branch and else | if/else | |
.toString() on a string | remove it | |
Explicit Unit return type on functions | omit (inferred) | |
object : Runnable { override fun run() { ... } } | Runnable { ... } (SAM) | |
@JvmStatic in pure Kotlin code | only needed for Java interop | |
| Wrapping every function in try/catch to log | handle at the boundary, not inside |
Limitations
- These are language-specific guidelines and do not cover overall architectural decisions.
- Over-compression might reduce readability; apply judgement.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/super-code/kotlin/SKILL.md
Popularity
- Repository stars
- 48,533
- Repository forks
- 7,054
- 7-day trend score
- 54
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/sickn33/agentic-awesome-skills/kotlin)