用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mizchi/moon-component --skill moon-component命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | moon-component |
| description | How to use the moon-component CLI (MoonBit WIT/component workflow). |
Use this skill when you need to use the moon-component CLI to build or compose WebAssembly Components from WIT + MoonBit.
# Generate MoonBit bindings from WIT
moon-component generate wit/world.wit -o .
# Build core wasm (MoonBit)
moon build --target wasm --release impl
# Componentize core wasm
moon-component componentize _build/wasm/release/build/impl/impl.wasm \
--wit-dir wit -o impl.component.wasm
# Full workflow (generate + build + componentize)
moon-component component wit/world.wit -o impl.component.wasm --release
# Use a config file (default entry)
moon-component compose -c moon-component.toml
generate で impl/ を生成して実装し、componentize する。wac plug で合成してから実行。examples/regex (Rust guest + MoonBit host)examples/hello (最小の export)examples/host/* (他言語 host)cabi unused warnings are expected in generated codeworld and interface must not share the same name in WIT