一键导入
setup-deploy
Configure the Puzzmo CLI for uploading game builds
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure the Puzzmo CLI for uploading game builds
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup-deploy |
| description | Configure the Puzzmo CLI for uploading game builds |
Configure the project to deploy game builds to Puzzmo using the CLI.
Install the Puzzmo CLI as a dev dependency:
Install @puzzmo/cli as a dev dependency using the project's package manager (e.g. npm, yarn, pnpm).
Add deploy scripts to package.json:
{
"scripts": {
"deploy": "npm run build && puzzmo games upload",
"deploy:only": "puzzmo games upload"
}
}
The CLI discovers the game slug from puzzmo.json automatically.
Create a .gitignore if it doesn't exist, including:
node_modules/
dist/
.env
Initialize a git repository if not already initialized:
git init
Add a README.md with basic instructions:
# Game Name
## Development
Run the `dev` script to start development.
## Build
Run the `build` script to create a production build.
## Deploy
puzzmo login <your-token>
Run the `deploy` script to upload to Puzzmo.
build script completes without errorspuzzmo games upload command is configured in package.json.gitignore excludes node_modules and distCreate app metadata, thumbnail, and offline configuration for the Puzzmo platform
Wire up game completion signaling to the Puzzmo host
Integrate the Puzzmo SDK into a Vite game project for host communication
Edit the `integrations` block in puzzmo.json (leaderboards, notables, etc.) using live game context from the dev.puzzmo.com MCP
Add integrations to puzzmo.json with leaderboard configuration using deeds
Convert hardcoded colors to use Puzzmo theme tokens for light/dark mode support