Rust Async Patterns
diodeme/Gold-Band
Master Rust async programming with Tokio, async traits, error handling, and concurrent patterns.
Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expert --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .claude/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .claude/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expertType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .agents/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .agents/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .cursor/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .cursor/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davila7/claude-code-templates.git --path cli-tool/components/skills/development/kotlin-coroutines-expert--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .gemini/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .gemini/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expertInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .github/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .github/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .github/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davila7/claude-code-templates kotlin-coroutines-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/cli-tool/components/skills/development/kotlin-coroutines-expert .opencode/skills/kotlin-coroutines-expert && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "kotlin-coroutines-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/kotlin-coroutines-expert into .opencode/skills/kotlin-coroutines-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-coroutines-expert", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
kotlin-coroutines-expertExpert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
Kotlin Coroutines Expert is an agent skill from davila7/claude-code-templates. Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Error handling and Async programming. It works with Kotlin. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 79182c5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Kotlin Coroutines Expert loads about 763 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 201 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davila7/claude-code-templates at commit 79182c5, republished under its MIT licence (© davila7). 201 words, ~763 tokens.
.claude/skills/kotlin-coroutines-expert/SKILL.md (or your agent's skills folder).A guide to mastering asynchronous programming with Kotlin Coroutines. Covers advanced topics like structured concurrency, Flow transformations, exception handling, and testing strategies.
Flow.Always launch coroutines within a defined CoroutineScope. Use coroutineScope or supervisorScope to group concurrent tasks.
suspend fun loadDashboardData(): DashboardData = coroutineScope {
val userDeferred = async { userRepo.getUser() }
val settingsDeferred = async { settingsRepo.getSettings() }
DashboardData(
user = userDeferred.await(),
settings = settingsDeferred.await()
)
}Use CoroutineExceptionHandler for top-level scopes, but rely on try-catch within suspending functions for granular control.
val handler = CoroutineExceptionHandler { _, exception ->
println("Caught $exception")
}
viewModelScope.launch(handler) {
try {
riskyOperation()
} catch (e: IOException) {
// Handle network error specifically
}
}Use StateFlow for state that needs to be retained, and SharedFlow for events.
// Cold Flow (Lazy)
val searchResults: Flow<List<Item>> = searchQuery
.debounce(300)
.flatMapLatest { query -> searchRepo.search(query) }
.flowOn(Dispatchers.IO)
// Hot Flow (State)
val uiState: StateFlow<UiState> = _uiState.asStateFlow()suspend fun fetchDataWithErrorHandling() = supervisorScope {
val task1 = async {
try { api.fetchA() } catch (e: Exception) { null }
}
val task2 = async { api.fetchB() }
// If task2 fails, task1 is NOT cancelled because of supervisorScope
val result1 = task1.await()
val result2 = task2.await() // May throw
}Dispatchers.IO for blocking I/O operations.ViewModel.onCleared).TestScope and runTest for unit testing coroutines.GlobalScope. It breaks structured concurrency and can lead to leaks.CancellationException unless you rethrow it.Problem: Coroutine test hangs or fails unpredictably.
Solution: Ensure you are using runTest and injecting TestDispatcher into your classes so you can control virtual time.
© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in cli-tool/components/skills/development/kotlin-coroutines-expert of davila7/claude-code-templates.
Open the folder on GitHubat commit 79182c5
We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.
Kotlin Coroutines Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Kotlin Coroutines Expert this skilldavila7/claude-code-templates | 33k | 4 repos | ~763 | Automated safety check: Pass | MIT | |
| Rust Async Patternsdiodeme/Gold-Band | 143 | 10 repos | ~3.1k | Automated safety check: Pass | AGPL-3.0 | |
| Rust Engineerfarm-fe/farm | 5.6k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Ha Android Concurrencyhome-assistant/android | 4k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Windmill Rust Backend Patternswindmill-labs/windmill | 18k | — | ~869 | Automated safety check: Pass | Custom licence | |
| Akka.NET Best PracticesAaronontheweb/dotnet-skills | 1.2k | 1 repos | ~3.3k | Automated safety check: Pass | MIT |
diodeme/Gold-Band
Master Rust async programming with Tokio, async traits, error handling, and concurrent patterns.
farm-fe/farm
Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions.
home-assistant/android
Home Assistant Android coroutine and threading guidance. An agent skill from home-assistant/android.
windmill-labs/windmill
Sets Rust conventions for the Windmill backend: error types, SQLx queries, JSON handling, async rules, module layout and rust-analyzer navigation.
Aaronontheweb/dotnet-skills
Guidance for Akka.NET actor systems covering EventStream versus DistributedPubSub, supervision, Props versus DependencyResolver, work distribution and testable cluster code.
openJiuwen-ai/agent-core
Reference for idiomatic Python in the agent-core codebase: immutability, protocols, exception hierarchies, context managers and async patterns.
davila7/claude-code-templates
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
davila7/claude-code-templates
Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.
davila7/claude-code-templates
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
davila7/claude-code-templates
Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.
Works with
Categories
Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing. Kotlin Coroutines Expert is an agent skill from davila7/claude-code-templates. Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.
Kotlin Coroutines Expert fits situations like: tasks that involve Error handling; tasks that involve Async programming.
Run `npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/kotlin-coroutines-expert in davila7/claude-code-templates) into .claude/skills/kotlin-coroutines-expert in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a codex`. Or copy the skill folder (cli-tool/components/skills/development/kotlin-coroutines-expert in davila7/claude-code-templates) into .agents/skills/kotlin-coroutines-expert in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill kotlin-coroutines-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kotlin-coroutines-expert, .gemini/skills/kotlin-coroutines-expert, .github/skills/kotlin-coroutines-expert and .opencode/skills/kotlin-coroutines-expert in your project.
SKILL.md names no scripts, command-line tools or credentials: Kotlin Coroutines Expert is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Kotlin Coroutines Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 763 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Kotlin Coroutines Expert: Rust Async Patterns (diodeme/Gold-Band, 143 stars), Rust Engineer (farm-fe/farm, 5.6k stars), Ha Android Concurrency (home-assistant/android, 4k stars) and Windmill Rust Backend Patterns (windmill-labs/windmill, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,552 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 11, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.