skills/add-deeds/SKILL.md
Generate interesting gameplay statistics (deeds) sent on game completion
npx skillsauth add puzzmo-com/oss add-deedsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 errorsgameCompletedtools
Configure the Puzzmo CLI for uploading game builds
tools
Edit the `integrations` block in puzzmo.json (leaderboards, notables, etc.) using live game context from the dev.puzzmo.com MCP
tools
Add integrations to puzzmo.json with leaderboard configuration using deeds
development
Set up Puzzmo platform fonts in a game using the SDK font utilities