一键导入
pack
Pack the built dist/ into a .webapp.zip for device installation. Use when the user asks to pack, package, or bundle the app for deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pack the built dist/ into a .webapp.zip for device installation. Use when the user asks to pack, package, or bundle the app for deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build the project with TypeScript and Vite. Use when the user asks to build, compile, or run the build step.
Install the packed .webapp.zip onto the paired Board device and launch it. Use when the user asks to deploy, install, or push to the device.
Capture a screenshot of the current screen on the paired Board device. Use when the user asks to screenshot, grab a screen capture, or see what's on the device. It may also aid in debugging when needed.
| name | pack |
| description | Pack the built dist/ into a .webapp.zip for device installation. Use when the user asks to pack, package, or bundle the app for deployment. |
Packs dist/ into a .webapp.zip using web-pack.
web-pack dist --package-id <package-id> --name "<name>"
<package-id>: reverse-domain identifier, e.g. fun.board.mygame<name>: display name, e.g. "My Game"If the user hasn't provided these, ask before running.
On first run, web-pack mints a random UUID as appId and writes it to board.config.json. Commit that file — it ties saved games to this app. If appId changes, the device treats it as a different app and old saves are lost.
If the game uses Pieces, pass --model:
web-pack dist --package-id <package-id> --name "<name>" --model ./model.tflite
web-pack records the model's sha256 in the manifest. Games using only touch omit --model.