一键导入
add-deeds
Generate interesting gameplay statistics (deeds) sent on game completion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate interesting gameplay statistics (deeds) sent on game completion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Create 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
Configure the Puzzmo CLI for uploading game builds
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
基于 SOC 职业分类
| name | add-deeds |
| description | Generate interesting gameplay statistics (deeds) sent on game completion |
Deeds are interesting statistics about a gameplay session. They're sent on completion and used for leaderboards, achievements, and social sharing.
Identify 3-6 interesting metrics from the game. Good deeds are things like:
Track these metrics during gameplay. Add counters/trackers to the game state.
On completion, include deeds in the gameCompleted call via the config parameter:
sdk.gameCompleted(gameplayMetrics, {
deeds: [
{ id: "moves", value: totalMoves },
{ id: "accuracy", value: Math.round((correctMoves / totalMoves) * 100) },
{ id: "streak", value: longestStreak },
{ id: "items-found", value: itemsFound },
],
})
Deed IDs should be:
The SDK automatically adds points and time deeds - you don't need to add those.
Also send deeds during checkpoints if the game has intermediate milestones:
sdk.hitCheckpoint(
"level-complete",
{
interruptible: true,
complete: false,
process: [],
},
{
deeds: [{ id: "items-found", value: itemsFound }],
},
)
build script completes without errorsgameCompleted