# Javascriptkit

> Javascriptkit is an open-source agent skill for developer tools. Guides Swift developers building WebAssembly web apps with JavaScriptKit. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/swiftwasm/Swift-Wasm-Agent-Skill/tree/main/javascriptkit
- **Repository:** https://github.com/swiftwasm/swift-wasm-agent-skill
- **GitHub stars:** 49
- **License:** MIT
- **Skill name:** javascriptkit
- **Collection:** https://github.com/swiftwasm/Swift-Wasm-Agent-Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill sets the agent up as an assistant for Swift developers who use JavaScriptKit to write browser-facing WebAssembly code. It bundles reference notes on starting a new project, a cheat sheet of JavaScript interop APIs, and common patterns and best practices for bridging Swift and JavaScript.

The skill includes two Python scripts. One checks the local environment for a Swift toolchain and WebAssembly SDK, and the other finds and installs the Swift SDK for WebAssembly that matches the current toolchain.

It expects a Swift toolchain on the machine and a project that targets WebAssembly with JavaScriptKit. It is part of the swiftwasm agent skills collection and is distributed as a Claude Code plugin marketplace entry.

## When your agent uses it

> Assist Swift developers who consume JavaScriptKit for WebAssembly development

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/swiftwasm/Swift-Wasm-Agent-Skill/tree/HEAD/javascriptkit)
- [Network calls found in its scripts](https://github.com/swiftwasm/Swift-Wasm-Agent-Skill/tree/HEAD/javascriptkit)
- [License: MIT](https://github.com/swiftwasm/Swift-Wasm-Agent-Skill/tree/HEAD/javascriptkit)

## Features

- **Project setup guide:** Reference notes for initializing a new Swift WebAssembly project that uses JavaScriptKit.
- **JavaScript interop cheat sheet:** Quick reference for the APIs used to call between Swift and JavaScript.
- **Common patterns:** Recommended patterns and practices for structuring JavaScriptKit code.
- **Environment check script:** A Python script that checks the local setup for Swift and the Wasm SDK.
- **SDK installer script:** A Python script that finds and installs the Swift SDK for WebAssembly matching the current toolchain.

## Good for

- Start a new Swift project that runs in the browser via WebAssembly
- Call JavaScript APIs from Swift code compiled to Wasm
- Check whether my machine has the right Swift and Wasm SDK setup
- Install the Swift SDK for WebAssembly matching my toolchain
- Review JavaScriptKit code against recommended patterns

## Install

### Claude Code

This skill ships in the `javascriptkit` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add swiftwasm/Swift-Wasm-Agent-Skill
/plugin install javascriptkit@swiftwasm-skills
```

Or copy only this skill to `~/.claude/skills/javascriptkit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/javascriptkit &&
cp -R "$tmp/javascriptkit" ~/.claude/skills/javascriptkit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/javascriptkit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/javascriptkit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/javascriptkit &&
cp -R "$tmp/javascriptkit" ~/.agents/skills/javascriptkit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/javascriptkit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/javascriptkit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/javascriptkit &&
cp -R "$tmp/javascriptkit" ~/.cursor/skills/javascriptkit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/javascriptkit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git --path javascriptkit
```

Or copy the folder to `~/.gemini/skills/javascriptkit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/javascriptkit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/javascriptkit &&
cp -R "$tmp/javascriptkit" ~/.copilot/skills/javascriptkit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/javascriptkit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-Skill.git
```

Then copy `Swift-Wasm-Agent-Skill/javascriptkit` into your agent's skills folder as `javascriptkit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Javascriptkit need to run?

It runs Python scripts, so Python is needed, and it expects a Swift toolchain plus a Swift SDK for WebAssembly, which the scripts check for and install.

### Which scripts does Javascriptkit include?

A doctor script that checks the environment for Swift and the Wasm SDK, and an install-sdk script that finds and installs the matching Swift SDK for WebAssembly based on the current toolchain.

### Is Javascriptkit available as a Claude Code plugin?

It is listed in the swiftwasm-skills Claude Code plugin marketplace.

### How do I install Javascriptkit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/javascriptkit to use it in all your projects, or to .claude/skills/javascriptkit in one project. Or install the javascriptkit plugin, which includes it: /plugin marketplace add swiftwasm/Swift-Wasm-Agent-Skill, then /plugin install javascriptkit@swiftwasm-skills.

### Does Javascriptkit run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Javascriptkit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Javascriptkit?

The closest alternatives to Javascriptkit are Swift wasm porting, Bridge js, Developing genkit js, Programming swift and Axiom uikit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Swift wasm porting](https://ai-powered.com/skills/swift-wasm-porting): Swift wasm porting is an open-source agent skill for developer tools.
- [Bridge js](https://ai-powered.com/skills/bridge-js): Bridge js is an open-source agent skill for developer tools.
- [Developing genkit js](https://ai-powered.com/skills/developing-genkit-js): Developing genkit js is an open-source agent skill for developer tools.
- [Programming swift](https://ai-powered.com/skills/programming-swift): Programming swift is an open-source agent skill for developer tools.
- [Axiom uikit](https://ai-powered.com/skills/axiom-uikit-charleswiltgen-2): Axiom uikit is an open-source agent skill for developer tools.
- [Capabilities](https://ai-powered.com/skills/capabilities-tansuasici): Capabilities is an open-source agent skill for developer tools.
- [Swift modern architecture](https://ai-powered.com/skills/swift-modern-architecture): Swift modern architecture is an open-source agent skill for developer tools.
- [JavaScript TypeScript jest](https://ai-powered.com/skills/javascript-typescript-jest): JavaScript TypeScript jest is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/javascriptkit
