Ts2moonbit Migration
Migrate a TypeScript codebase to MoonBit on the `js` target while keeping the same JavaScript API contract, using the mizchi/js split binding modules, mizchi/x (cross-target async backend: process/fs/http/ws), and mizchi/npm_typed (npm bindings). Use when porting a TS library, Node service, npm package, or Cloudflare Worker to MoonBit and the existing JS/TS consumers, `.d.ts`, and tests must keep working unchanged.
Install
npx skills add mizchi/skills --skill ts2moonbit-migrationgit clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/ts2moonbit-migration ~/.claude/skills/ts2moonbit-migrationPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# TypeScript → MoonBit Migration Port a TypeScript module, library, npm package, or Node service to MoonBit, compile it back to JavaScript with `moon build`, and ship it so existing JS/TS consumers cannot tell the implementation changed. The compiled `.js` + generated `.d.ts` must satisfy the **same API contract** the TypeScript version exposed. This skill is the playbook that *composes* three lower-level skills — it does not duplicate them: - **`moonbit-js-binding`** — the mechanics of `extern "js"`, opaque types, Promise bridging, `moon.pkg` exports. Load it when you write FFI by hand. - **`translate-programming-language`** — the general parity methodology (oracles, fixtures, shadow testing, cutover). Load it for the verification discipline. - **`moonbit-practice`** — MoonBit syntax, tests, `moon` commands. What this skill adds on top of those: the **mizchi toolkit map**, a **TypeScript-specific type-classification pass**, and the **"preserve the JS API contract" build/publish loop** that lets you swap the implementation without touching downstream code. Current external-binding baseline: `mizchi/js_core@0.13.0` and `mizchi/x@0.7.0` were checked with compiler v0.10.20 on 2026-11-16. The old `mizchi/js/core` path fails in that published facade. Read the [toolkit map](references/toolkit-map.md) and [adapter validation](references/adapter-validation.md) before copying an old import or combining the external and core async runtimes. ## When To Use
Details
- Skill name
ts2moonbit-migration- Repository
- mizchi/skills
- Path
ts2moonbit-migration/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Ts2moonbit Migration skill do?
Migrate a TypeScript codebase to MoonBit on the `js` target while keeping the same JavaScript API contract, using the mizchi/js split binding modules, mizchi/x (cross-target async backend: process/fs/http/ws), and mizchi/npm_typed (npm bindings). Use when porting a TS library, Node service, npm package, or Cloudflare Worker to MoonBit and the existing JS/TS consumers, `.d.ts`, and tests must keep working unchanged.
How do I install the Ts2moonbit Migration skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mizchi/skills --skill ts2moonbit-migration. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Ts2moonbit Migration popular?
It lives in mizchi/skills, which has 423 GitHub stars and 6 forks.
Related skills
Actions CI Tuning
423mizchi/skills
Use when auditing or improving GitHub Actions workflows for a project. Covers cache setup (npm/pnpm/yarn), job parallelism, shard-based test splitting, artifact handling pitfalls, and Playwright-specific patterns. Trigger on: slow CI, cache miss, flaky shard jobs, merge-reports failures, or an explicit 'tune CI' request.
AI Index
423mizchi/skills
Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English. Two layers — a deterministic lint for removable surface tells (scripts/slopscore.py, no API) and a judgment layer of typed probabilistic questions (Jev noul/score) for the tells that survive editing. Includes measured human/AI baselines, a gap-first calibration procedure, and labeled fixtures. Use when building or calibrating an AI-likeness score, or when a draft needs a defensible number rather than a vibe. For writing guidance use natural-writing-ja / natural-writing-en instead.
Apm Usage
423mizchi/skills
Reference for APM manifests, installation, targeted updates, deployment paths and lockfiles. Invoke when the user explicitly asks about APM or apm.yml, or an unfamiliar APM command/error needs exact CLI details. Do not automatically invoke for every project that happens to have installed skills.
Apim Policy Authoring
206thomast1906/github-copilot-agent-skills
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
Translate Programming Language
423mizchi/skills
Plan and execute language-to-language server or application migrations with behavior parity. Use when porting modules, services, APIs, or runtimes between programming languages; generating source-runtime oracles and fixtures; generating migrated parity tests; detecting runtime, standard-library, serialization, numeric, encoding, time, regex, or protocol differences; building temporary compatibility layers; accumulating migration knowledge; benchmarking; shadow testing; canarying; or planning cutover and rollback.
Architecture Design
206thomast1906/github-copilot-agent-skills
Design Azure cloud architectures from requirements and generate High-Level Design (HLD) documentation with service selection, patterns, cost estimates, and WAF alignment. Use this when asked to design or architect Azure solutions.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.