# Send JavaScript 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": "javascript",
    "name": "JavaScript",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/javascript",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/javascript",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/javascript",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=javascript",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "async.md",
      "coercion.md",
      "collections.md",
      "modern.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "javascript",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T11:56:32.824Z",
      "expiresAt": "2026-05-11T11:56:32.824Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=javascript",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=javascript",
        "contentDisposition": "attachment; filename=\"javascript-1.0.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "javascript"
      },
      "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/javascript"
    },
    "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/javascript",
    "downloadUrl": "https://openagent3.xyz/downloads/javascript",
    "agentUrl": "https://openagent3.xyz/skills/javascript/agent",
    "manifestUrl": "https://openagent3.xyz/skills/javascript/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/javascript/agent.md"
  }
}
```
## Documentation

### When to Use

User needs JavaScript expertise — from core language features to modern patterns. Agent handles async/await, closures, module systems, and ES2023+ features.

### Quick Reference

TopicFileAsync patternsasync.mdType coercion rulescoercion.mdArray and object methodscollections.mdModern ES featuresmodern.md

### Equality Traps

== coerces: "0" == false is true — use === always
NaN !== NaN — use Number.isNaN(), not === NaN
typeof null === "object" — check === null explicitly
Objects compare by reference — {} === {} is false

### this Binding

Regular functions: this depends on call site — lost in callbacks
Arrow functions: this from lexical scope — use for callbacks
setTimeout(obj.method) loses this — use arrow or .bind()
Event handlers: this is element in regular function, undefined in arrow (if no outer this)

### Closure Traps

Loop variable captured by reference — let in loop or IIFE to capture value
var hoisted to function scope — creates single binding shared across iterations
Returning function from loop: all share same variable — use let per iteration

### Array Mutation

sort(), reverse(), splice() mutate original — use toSorted(), toReversed(), toSpliced() (ES2023)
push(), pop(), shift(), unshift() mutate — spread [...arr, item] for immutable
delete arr[i] leaves hole — use splice(i, 1) to remove and reindex
Spread and Object.assign are shallow — nested objects still reference original

### Async Pitfalls

Forgetting await returns Promise, not value — easy to miss without TypeScript
forEach doesn't await — use for...of for sequential async
Promise.all fails fast — one rejection rejects all, use Promise.allSettled if need all results
Unhandled rejection crashes in Node — always .catch() or try/catch with await

### Numbers

0.1 + 0.2 !== 0.3 — floating point, use integer cents or toFixed() for display
parseInt("08") works now — but parseInt("0x10") is 16, watch prefixes
Number("") is 0, Number(null) is 0 — but Number(undefined) is NaN
Large integers lose precision over 2^53 — use BigInt for big numbers

### Iteration

for...in iterates keys (including inherited) — use for...of for values
for...of on objects fails — objects aren't iterable, use Object.entries()
Object.keys() skips non-enumerable — Reflect.ownKeys() gets all including symbols

### Implicit Coercion

[] + [] is "" — arrays coerce to strings
[] + {} is "[object Object]" — object toString
{} + [] is 0 in console — {} parsed as block, not object
"5" - 1 is 4, "5" + 1 is "51" — minus coerces, plus concatenates

### Strict Mode

"use strict" at top of file or function — catches silent errors
Implicit globals throw in strict — x = 5 without declaration fails
this is undefined in strict functions — not global object
Duplicate parameters and with forbidden
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.3
## 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-05-04T11:56:32.824Z
- Expires at: 2026-05-11T11:56:32.824Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/javascript)
- [Send to Agent page](https://openagent3.xyz/skills/javascript/agent)
- [JSON manifest](https://openagent3.xyz/skills/javascript/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/javascript/agent.md)
- [Download page](https://openagent3.xyz/downloads/javascript)