Creates or migrates a Wasdon interface-2 language pack to compile a new language to WebAssembly and VRChat Udon. Covers scaffolding, tool pinning, ABI conformance, and catalog bindings.
Ships in wasdon. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The deliverable is a directory containing wasdon-language.toml, Mustache templates and code in the pack's language. The CLI supplies the catalog, renderer, installer, emulator and test expectations. Write any generator or build helper the templates cannot express in the pack's own language. All reference paths below are relative to this skill.
Use scripts/wasdon --where to find the CLI or scripts/wasdon --install to install it. On Windows, use scripts/wasdon.ps1 -Where or -Install. Run the printed executable wherever the examples say wasdon. Choose an unused lowercase id in place of mylang. Start in an empty author workspace.
wasdon language context --help
wasdon language new mylang --output mylang
cd mylang
wasdon language schema --output .
wasdon language info . # interfaceVersion = 2
Set displayName and version. Keep the two local JSON Schemas as the header files for the manifest and the template data. The native scaffold marks substitutions with TODO(lang) and supplies metadata for three projects. It needs real source files and a compiler before it can pass validation. The manifest reference covers all tables, paths and defaults. The worked C example contains a finished manifest, all six templates and the public header.
Replace the scaffold's compiler entry. Declare each compiler, SDK manager or separately distributed linker/optimizer in resolution order. Record its exact version, upstream publication date (released), version check, and verified download per supported host or pinned install steps. Choose a release at least seven days old. Only a release fixing a vulnerability may waive the wait with security set to the advisory URL. Use the language recipes for target flags and version checks.
wasdon language conformance . --case release-age
wasdon language setup .
wasdon language doctor . --json # ready = true, paths to the selected tools
Write conformance/abi/ first. Port abi.zig to the new language using direct imports. It shows every symbol, WASM type and field import for the 14 expected log lines. Keep the scaffold's conformance/abi/wasdon.meta.json. Export _start, _interact, Ping and Pong as parameterless void functions. Import externs from wasdon.v1, UTF-8 string creation from udon.static and field accessors from wasdon.field. ABI reference
Replace the placeholder [build].steps with the shortest compiler command that builds this one project from {{project}} into {{out}}/program.wasm. Select freestanding wasm32 and keep the event exports. For now the compiler only needs the hand-written source. The runner stages the project with the scaffold's placeholder bindings and runs the events through the emulator.
wasdon language conformance . --case abi --json
A pass proves the calling convention, metadata and linker flags before generating thousands of declarations. On a compiler or translator error, run the same compiler invocation directly in conformance/abi/ and inspect the output with wasdon inspect program.wasm --meta wasdon.meta.json.
Set [names] to the language's member/type styles, keyword escapes and overloading policy. Use function for module-wide wrappers. Fill all twelve scalar entries in [types] and the four raw native spellings in [wasm]. In [convert], spell the raw call and conversions for numbers, booleans, handles and cells. Match these to the handle representation you will generate.
wasdon nodes names __GetComponent__ --owner UnityEngineGameObject --limit 3 --markdown
wasdon language context . --owner SystemMath --node __DivRem__SystemInt32 --limit 1 --pretty
wasdon language context . --owner UnityEngineComponent --node __GetComponent__T --pretty
The naming table shows the catalog's snake-case names by default. In the context, compare the raw externs signature with the typed member's params, call and value. DivRem has an array handle for its out parameter. GetComponent has a SystemType handle for its generic argument. Context fields · Catalog guide
Rename templates/bindings/raw.mustache and typed.mustache to real output filenames plus .mustache. Emit one raw import per externs row, a nominal handle per handles row, and a wrapper per owners[].members row. Share a signature partial with [bindings].describe so node search shows the declaration users can call. See binding layers and the C templates.
wasdon language bindings . --output ../mylang-bindings
wasdon language conformance . --case bindings
Inspect the generated files. Check a void method, a scalar result and an overloaded instance method against the context. Include the generated package in the compiler command when the project first uses it.
Create library/. Its contents are copied directly into each project's bindings/. Build the public string, log, field, event, ownership, memory-copy and cell helpers on the typed wrappers. Use the native language's macros, metadata-sidecar templates or a helper in that language to eliminate repeated declarations. Layer 3 checklist
Move the ABI program onto this API and rerun its original test. Port the starter and Julia kernel into template/ and conformance/julia/ with the same fields, events and outputs. The conformance reference specifies their behavior. A project using embedded metadata should remove its scaffold sidecar once it supplies the equivalent declarations.
wasdon language conformance . --case abi --case template --case switch --case julia
Replace templates/probe/main.mustache with an entry-source template. Use [probe].remove to clear conflicting starter files in the staged project. Loop over probe_chunks to export one function per chunk, calling each raw symbol with zero_args. Export an empty _start. The CLI translates these calls and checks the assembly. Worked probe
wasdon language conformance . --case coverage --coverage 128
Complete [build] for a normal project with multiple source files, release/debug flags, metadata and dependency tracking. Keep intermediate outputs under {{out}} or {{project}}/.wasdon. Put any native helper under tools/ and invoke it as a step. Leave metadata unset for projects that may use embedded metadata or a sidecar. From the pack directory, create a sibling consumer workspace.
mkdir ../consumer
cd ../consumer
wasdon language add ../mylang
wasdon init MyWorld --lang mylang
wasdon nodes search GetComponent --lang mylang --limit 2
wasdon build MyWorld --profile debug --json
wasdon build MyWorld --profile release --json
cd ../mylang
Check that the JSON names the WASM, checked assembly and dependencies, including imported sources outside the project. Read pitfalls for compiler, template and staging failures.
wasdon language validate .
wasdon language conformance . --coverage all --json
Require passed: true, all seven case results, and coverage.externs == coverage.of in the coverage case. Keep test.switch enabled for languages that support the second event. Record the Julia case's stats.SelfTest.instructions, stats.SelfTest.externs and check numbers.
Write README.md with supported hosts, pinned tools and release sources, installation, project layout, a working library example, fields/events/sync, profiles, limitations and the full conformance command. Test its quick start in a fresh consumer directory with wasdon language add <pack-path>, wasdon init MyWorld --lang mylang and wasdon build MyWorld. Bump the manifest's pack version when publishing changed behavior. Local registrations track edits. A distributed ZIP contains the pack at its root or in one enclosing directory and is pinned by digest in the consumer's wasdon.lock.json.
The companion wasdon-worlds skill covers building a VRChat world using the finished pack.
assets/reference/abi.meta.json (opens in a new tab)assets/reference/abi.zig (opens in a new tab)assets/reference/c-pack/library/udon.h (opens in a new tab)assets/reference/c-pack/templates/bindings/udon_sys.h.mustache (opens in a new tab)assets/reference/c-pack/templates/bindings/udon_typed.h.mustache (opens in a new tab)assets/reference/c-pack/templates/bindings/udon_types.h.mustache (opens in a new tab)assets/reference/c-pack/templates/partials/header.mustache (opens in a new tab)assets/reference/c-pack/templates/partials/signature.mustache (opens in a new tab)assets/reference/c-pack/templates/probe/main.c.mustache (opens in a new tab)assets/reference/c-pack/wasdon-language.toml (opens in a new tab)assets/reference/expected.json (opens in a new tab)assets/reference/julia.meta.json (opens in a new tab)assets/reference/julia.zig (opens in a new tab)assets/reference/starter.meta.json (opens in a new tab)assets/reference/starter.zig (opens in a new tab)references/abi.md (opens in a new tab)references/binding-layers.md (opens in a new tab)references/catalog.md (opens in a new tab)references/conformance.md (opens in a new tab)references/languages.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
/wasdon:wasdon-add-new-wasm-languagefrom wasdon
npx claudepluginhub anosatsuk124/wasdon-zig --plugin wasdon