โ† All skills
Tencent SkillHub ยท Developer Tools

Kotlin

Build robust Android and multiplatform apps with Kotlin idioms, coroutines, and null safety.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Build robust Android and multiplatform apps with Kotlin idioms, coroutines, and null safety.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, advanced.md, android.md, collections.md, coroutines.md, idioms.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Quick Reference

TopicFileNull safety operators and patternsnullsafety.mdCoroutines, flows, structured concurrencycoroutines.mdCollections, sequences, data classescollections.mdScope functions, extensions, sealed classesidioms.mdJava interop and common Kotlin mistakesinterop.mdAndroid lifecycle, Compose stateandroid.mdDelegation, inline, reified, multiplatformadvanced.md

Null Safety

!! asserts non-null โ€” crashes on null, use only when you've already checked Platform types from Java are risky โ€” add null checks or use @Nullable/@NonNull annotations Elvis with return/throw for early exit โ€” val name = user?.name ?: return

Coroutines

viewModelScope auto-cancels on ViewModel clear โ€” don't use GlobalScope in Android Structured concurrency: child coroutine failure cancels parent โ€” use supervisorScope to isolate StateFlow needs initial value and never completes โ€” SharedFlow for one-shot events Inject dispatchers for testability โ€” don't hardcode Dispatchers.IO

Collections & Data Classes

first() throws on empty โ€” use firstOrNull() for safe access Only constructor properties in equals/hashCode โ€” body properties ignored mutableStateListOf for Compose โ€” wrapping mutableListOf in state won't track changes

Scope Functions & Extensions

Don't nest scope functions โ€” readability drops fast, extract to named functions Extensions are resolved statically โ€” not polymorphic, receiver type matters at compile time

Android/Compose

repeatOnLifecycle(STARTED) for flow collection โ€” launchWhenStarted is deprecated remember survives recomposition only โ€” use rememberSaveable for config changes collectAsStateWithLifecycle is the gold standard โ€” lifecycle-aware + Compose state

Java Interop

== is structural equality in Kotlin โ€” === for reference, opposite of Java SAM conversion only for Java interfaces โ€” Kotlin interfaces need explicit fun interface @JvmStatic, @JvmOverloads, @JvmField for Java-friendly APIs

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • advanced.md Docs
  • android.md Docs
  • collections.md Docs
  • coroutines.md Docs
  • idioms.md Docs