{
  "schemaVersion": "1.0",
  "item": {
    "slug": "svelte",
    "name": "Svelte",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/ivangdavila/svelte",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/svelte",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/svelte",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=svelte",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/svelte"
    },
    "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/svelte",
    "agentPageUrl": "https://openagent3.xyz/skills/svelte/agent",
    "manifestUrl": "https://openagent3.xyz/skills/svelte/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/svelte/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": "Reactivity Triggers",
        "body": "Assignment triggers reactivity — arr = arr after push, or use arr = [...arr, item]\nArray methods don't trigger — arr.push() needs reassignment: arr = arr\nObject mutation same issue — obj.key = val; obj = obj or spread: obj = {...obj, key: val}\n$: reactive statements run on dependency change — but only top-level assignments tracked"
      },
      {
        "title": "Reactive Statements",
        "body": "$: runs when dependencies change — list all dependencies used\n$: { } block for multiple statements — all run together\n$: order matters — later statements can depend on earlier\nAvoid side effects in $: — prefer derived values, use onMount for effects"
      },
      {
        "title": "Stores",
        "body": "$store auto-subscribes in component — automatic unsubscribe on destroy\nManual subscribe needs unsubscribe — const unsub = store.subscribe(v => ...); onDestroy(unsub)\nwritable for read/write — readable for external data sources\nderived for computed values — derived(store, $s => $s * 2)"
      },
      {
        "title": "Component Lifecycle",
        "body": "onMount runs after first render — return cleanup function\nNo access to DOM before onMount — document etc. not available in SSR\nbeforeUpdate / afterUpdate for DOM sync — rarely needed\ntick() to wait for DOM update — await tick() after state change"
      },
      {
        "title": "Props",
        "body": "export let propName to declare — required by default\nexport let propName = default for optional — default value if not passed\nProps are reactive — component re-renders on change\n$$props and $$restProps for pass-through — but explicit props preferred"
      },
      {
        "title": "Events",
        "body": "createEventDispatcher for custom events — dispatch('eventName', data)\non:eventName to listen — on:click, on:customEvent\non:click|preventDefault modifiers — |stopPropagation, |once\nEvent forwarding: on:click without handler — forwards to parent"
      },
      {
        "title": "SvelteKit",
        "body": "+page.svelte for pages — +page.server.ts for server-only load\nload function for data fetching — runs on server and client navigation\n$app/stores for page, navigating, etc. — $page.params, $page.url\nform actions for mutations — progressive enhancement, works without JS"
      },
      {
        "title": "SSR Gotchas",
        "body": "browser from $app/environment — check before using window/document\nonMount only runs client-side — safe for browser APIs\nStores initialized on server shared between requests — use context for request-specific\nfetch in load is special — relative URLs work, credentials handled"
      },
      {
        "title": "Svelte 5 Runes",
        "body": "$state() replaces let for reactivity — let count = $state(0)\n$derived replaces $: for computed — let doubled = $derived(count * 2)\n$effect for side effects — replaces $: with side effects\nRunes are opt-in per file — can mix with Svelte 4 syntax"
      },
      {
        "title": "Common Mistakes",
        "body": "Destructuring props loses reactivity — let { prop } = $props() in Svelte 5, or don't destructure in 4\nStore value vs store — $store for value, store for subscribe/set\nTransition on conditional — {#if show}<div transition:fade> not on wrapper\nKey block for re-render — {#key value}...{/key} destroys and recreates"
      }
    ],
    "body": "Reactivity Triggers\nAssignment triggers reactivity — arr = arr after push, or use arr = [...arr, item]\nArray methods don't trigger — arr.push() needs reassignment: arr = arr\nObject mutation same issue — obj.key = val; obj = obj or spread: obj = {...obj, key: val}\n$: reactive statements run on dependency change — but only top-level assignments tracked\nReactive Statements\n$: runs when dependencies change — list all dependencies used\n$: { } block for multiple statements — all run together\n$: order matters — later statements can depend on earlier\nAvoid side effects in $: — prefer derived values, use onMount for effects\nStores\n$store auto-subscribes in component — automatic unsubscribe on destroy\nManual subscribe needs unsubscribe — const unsub = store.subscribe(v => ...); onDestroy(unsub)\nwritable for read/write — readable for external data sources\nderived for computed values — derived(store, $s => $s * 2)\nComponent Lifecycle\nonMount runs after first render — return cleanup function\nNo access to DOM before onMount — document etc. not available in SSR\nbeforeUpdate / afterUpdate for DOM sync — rarely needed\ntick() to wait for DOM update — await tick() after state change\nProps\nexport let propName to declare — required by default\nexport let propName = default for optional — default value if not passed\nProps are reactive — component re-renders on change\n$$props and $$restProps for pass-through — but explicit props preferred\nEvents\ncreateEventDispatcher for custom events — dispatch('eventName', data)\non:eventName to listen — on:click, on:customEvent\non:click|preventDefault modifiers — |stopPropagation, |once\nEvent forwarding: on:click without handler — forwards to parent\nSvelteKit\n+page.svelte for pages — +page.server.ts for server-only load\nload function for data fetching — runs on server and client navigation\n$app/stores for page, navigating, etc. — $page.params, $page.url\nform actions for mutations — progressive enhancement, works without JS\nSSR Gotchas\nbrowser from $app/environment — check before using window/document\nonMount only runs client-side — safe for browser APIs\nStores initialized on server shared between requests — use context for request-specific\nfetch in load is special — relative URLs work, credentials handled\nSvelte 5 Runes\n$state() replaces let for reactivity — let count = $state(0)\n$derived replaces $: for computed — let doubled = $derived(count * 2)\n$effect for side effects — replaces $: with side effects\nRunes are opt-in per file — can mix with Svelte 4 syntax\nCommon Mistakes\nDestructuring props loses reactivity — let { prop } = $props() in Svelte 5, or don't destructure in 4\nStore value vs store — $store for value, store for subscribe/set\nTransition on conditional — {#if show}<div transition:fade> not on wrapper\nKey block for re-render — {#key value}...{/key} destroys and recreates"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/svelte",
    "publisherUrl": "https://clawhub.ai/ivangdavila/svelte",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/svelte",
    "downloadUrl": "https://openagent3.xyz/downloads/svelte",
    "agentUrl": "https://openagent3.xyz/skills/svelte/agent",
    "manifestUrl": "https://openagent3.xyz/skills/svelte/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/svelte/agent.md"
  }
}