{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kotlin",
    "name": "Kotlin",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kotlin",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "advanced.md",
      "android.md",
      "collections.md",
      "coroutines.md",
      "idioms.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "kotlin",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T19:26:08.006Z",
      "expiresAt": "2026-05-11T19:26:08.006Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
        "contentDisposition": "attachment; filename=\"kotlin-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kotlin"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kotlin"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/kotlin",
    "agentPageUrl": "https://openagent3.xyz/skills/kotlin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kotlin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kotlin/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Quick Reference",
        "body": "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"
      },
      {
        "title": "Null Safety",
        "body": "!! asserts non-null — crashes on null, use only when you've already checked\nPlatform types from Java are risky — add null checks or use @Nullable/@NonNull annotations\nElvis with return/throw for early exit — val name = user?.name ?: return"
      },
      {
        "title": "Coroutines",
        "body": "viewModelScope auto-cancels on ViewModel clear — don't use GlobalScope in Android\nStructured concurrency: child coroutine failure cancels parent — use supervisorScope to isolate\nStateFlow needs initial value and never completes — SharedFlow for one-shot events\nInject dispatchers for testability — don't hardcode Dispatchers.IO"
      },
      {
        "title": "Collections & Data Classes",
        "body": "first() throws on empty — use firstOrNull() for safe access\nOnly constructor properties in equals/hashCode — body properties ignored\nmutableStateListOf for Compose — wrapping mutableListOf in state won't track changes"
      },
      {
        "title": "Scope Functions & Extensions",
        "body": "Don't nest scope functions — readability drops fast, extract to named functions\nExtensions are resolved statically — not polymorphic, receiver type matters at compile time"
      },
      {
        "title": "Android/Compose",
        "body": "repeatOnLifecycle(STARTED) for flow collection — launchWhenStarted is deprecated\nremember survives recomposition only — use rememberSaveable for config changes\ncollectAsStateWithLifecycle is the gold standard — lifecycle-aware + Compose state"
      },
      {
        "title": "Java Interop",
        "body": "== is structural equality in Kotlin — === for reference, opposite of Java\nSAM conversion only for Java interfaces — Kotlin interfaces need explicit fun interface\n@JvmStatic, @JvmOverloads, @JvmField for Java-friendly APIs"
      }
    ],
    "body": "Quick Reference\nTopic\tFile\nNull safety operators and patterns\tnullsafety.md\nCoroutines, flows, structured concurrency\tcoroutines.md\nCollections, sequences, data classes\tcollections.md\nScope functions, extensions, sealed classes\tidioms.md\nJava interop and common Kotlin mistakes\tinterop.md\nAndroid lifecycle, Compose state\tandroid.md\nDelegation, inline, reified, multiplatform\tadvanced.md\nCritical Rules\nNull Safety\n!! asserts non-null — crashes on null, use only when you've already checked\nPlatform types from Java are risky — add null checks or use @Nullable/@NonNull annotations\nElvis with return/throw for early exit — val name = user?.name ?: return\nCoroutines\nviewModelScope auto-cancels on ViewModel clear — don't use GlobalScope in Android\nStructured concurrency: child coroutine failure cancels parent — use supervisorScope to isolate\nStateFlow needs initial value and never completes — SharedFlow for one-shot events\nInject dispatchers for testability — don't hardcode Dispatchers.IO\nCollections & Data Classes\nfirst() throws on empty — use firstOrNull() for safe access\nOnly constructor properties in equals/hashCode — body properties ignored\nmutableStateListOf for Compose — wrapping mutableListOf in state won't track changes\nScope Functions & Extensions\nDon't nest scope functions — readability drops fast, extract to named functions\nExtensions are resolved statically — not polymorphic, receiver type matters at compile time\nAndroid/Compose\nrepeatOnLifecycle(STARTED) for flow collection — launchWhenStarted is deprecated\nremember survives recomposition only — use rememberSaveable for config changes\ncollectAsStateWithLifecycle is the gold standard — lifecycle-aware + Compose state\nJava Interop\n== is structural equality in Kotlin — === for reference, opposite of Java\nSAM conversion only for Java interfaces — Kotlin interfaces need explicit fun interface\n@JvmStatic, @JvmOverloads, @JvmField for Java-friendly APIs"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "publisherUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "owner": "ivangdavila",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kotlin",
    "downloadUrl": "https://openagent3.xyz/downloads/kotlin",
    "agentUrl": "https://openagent3.xyz/skills/kotlin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kotlin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kotlin/agent.md"
  }
}