Agent skill

kotlin-patterns

Coroutine patterns, Flow operators, Jetpack Compose state management, Ktor routing, and Kotlin Multiplatform shared code.

vibeeval521★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill kotlin-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/kotlin-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Kotlin Patterns Modern Kotlin patterns for Android, server-side, and multiplatform development. ## Coroutine Patterns ```kotlin import kotlinx.coroutines.* // Structured concurrency: child failures cancel siblings suspend fun loadDashboard(): Dashboard = coroutineScope { val profile = async { api.fetchProfile() } val orders = async { api.fetchRecentOrders() } val stats = async { api.fetchStats() } // All run concurrently; if one fails, others are cancelled Dashboard( profile = profile.await(), orders = orders.await(), stats = stats.await() ) } // SupervisorScope: child failures don't cancel siblings suspend fun loadOptionalData(): HomeScreen = supervisorScope { val required = async { api.fetchRequiredData() } val optional = async { try { api.fetchRecommendations() } catch (e: Exception) { emptyList() } // Graceful fallback } HomeScreen( data = required.await(), recommendations = optional.await() ) } // Retry with exponential backoff suspend fun <T> retryWithBackoff( maxRetries: Int = 3, initialDelayMs: Long = 1000, factor: Double = 2.0, block: suspend () -> T ): T { var currentDelay = initialDelayMs repeat(maxRetries - 1) { attempt -> try { return block() } catch (e: Exception) {

What's inside
Steps it walks through
  1. Coroutine Patterns
  2. Flow Operators
  3. Jetpack Compose State
  4. Ktor Server Routing
  5. Kotlin Multiplatform Shared Code
  6. Checklist
  7. Anti-Patterns
More from vibecosystem
All skills →
About this skill
What does the kotlin-patterns skill do?

Coroutine patterns, Flow operators, Jetpack Compose state management, Ktor routing, and Kotlin Multiplatform shared code.

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill kotlin-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going