Skip to content
Skill

Javascriptkit

Guides Swift developers building WebAssembly web apps with JavaScriptKit

Javascriptkit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
49
Last commit
License
MIT
Listing updated

Similar skills

About Javascriptkit

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (32 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Javascriptkit 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.

More from swiftwasm/Swift-Wasm-Agent-Skill

  1. Lets an agent write Swift–JavaScript interop code with BridgeJS bindings and exports

    • Open source
    • 49 GitHub stars
    • Developer tools
  2. Helps Swift code check, port and refactor packages to compile for WebAssembly

    • Open source
    • 49 GitHub stars
    • Developer tools