# Send Svelte to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/svelte",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=svelte",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "svelte",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T18:36:27.190Z",
      "expiresAt": "2026-05-07T18:36:27.190Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=svelte",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=svelte",
        "contentDisposition": "attachment; filename=\"svelte-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "svelte"
      },
      "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/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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Reactivity Triggers

Assignment triggers reactivity — arr = arr after push, or use arr = [...arr, item]
Array methods don't trigger — arr.push() needs reassignment: arr = arr
Object mutation same issue — obj.key = val; obj = obj or spread: obj = {...obj, key: val}
$: reactive statements run on dependency change — but only top-level assignments tracked

### Reactive Statements

$: runs when dependencies change — list all dependencies used
$: { } block for multiple statements — all run together
$: order matters — later statements can depend on earlier
Avoid side effects in $: — prefer derived values, use onMount for effects

### Stores

$store auto-subscribes in component — automatic unsubscribe on destroy
Manual subscribe needs unsubscribe — const unsub = store.subscribe(v => ...); onDestroy(unsub)
writable for read/write — readable for external data sources
derived for computed values — derived(store, $s => $s * 2)

### Component Lifecycle

onMount runs after first render — return cleanup function
No access to DOM before onMount — document etc. not available in SSR
beforeUpdate / afterUpdate for DOM sync — rarely needed
tick() to wait for DOM update — await tick() after state change

### Props

export let propName to declare — required by default
export let propName = default for optional — default value if not passed
Props are reactive — component re-renders on change
$$props and $$restProps for pass-through — but explicit props preferred

### Events

createEventDispatcher for custom events — dispatch('eventName', data)
on:eventName to listen — on:click, on:customEvent
on:click|preventDefault modifiers — |stopPropagation, |once
Event forwarding: on:click without handler — forwards to parent

### SvelteKit

+page.svelte for pages — +page.server.ts for server-only load
load function for data fetching — runs on server and client navigation
$app/stores for page, navigating, etc. — $page.params, $page.url
form actions for mutations — progressive enhancement, works without JS

### SSR Gotchas

browser from $app/environment — check before using window/document
onMount only runs client-side — safe for browser APIs
Stores initialized on server shared between requests — use context for request-specific
fetch in load is special — relative URLs work, credentials handled

### Svelte 5 Runes

$state() replaces let for reactivity — let count = $state(0)
$derived replaces $: for computed — let doubled = $derived(count * 2)
$effect for side effects — replaces $: with side effects
Runes are opt-in per file — can mix with Svelte 4 syntax

### Common Mistakes

Destructuring props loses reactivity — let { prop } = $props() in Svelte 5, or don't destructure in 4
Store value vs store — $store for value, store for subscribe/set
Transition on conditional — {#if show}<div transition:fade> not on wrapper
Key block for re-render — {#key value}...{/key} destroys and recreates
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T18:36:27.190Z
- Expires at: 2026-05-07T18:36:27.190Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/svelte)
- [Send to Agent page](https://openagent3.xyz/skills/svelte/agent)
- [JSON manifest](https://openagent3.xyz/skills/svelte/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/svelte/agent.md)
- [Download page](https://openagent3.xyz/downloads/svelte)