skills/game-completion/SKILL.md
Wire up game completion signaling to the Puzzmo host
npx skillsauth add puzzmo-com/oss game-completionInstall 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.
Add proper game completion signaling so Puzzmo knows when the player has finished.
Find the game's win condition / completion check.
When the game is won, call sdk.gameCompleted() with gameplay metrics:
sdk.gameCompleted({
pointsAwarded: calculateScore(),
elapsedTimeSecs: sdk.timer.timeSecs(),
additionalTimeAddedSecs: sdk.timer.addedTimeSecs(),
hintsUsed: hintsUsed,
resetsUsed: 0,
metric1: 0,
metric2: 0,
metric3: 0,
metric4: 0,
metricStrings: [],
cheatsUsed: 0,
})
After any victory animation completes, call sdk.showCompletionScreen():
sdk.showCompletionScreen(
[{ type: "md", text: "**Congratulations!** You solved the puzzle!" }],
gameplayData,
true, // showRetry
)
Make sure gameCompleted is called BEFORE showCompletionScreen. The host processes the completion data first, then displays the completion UI.
The timer automatically stops when gameCompleted is called - you don't need to stop it manually.
build script completes without errorsgameCompleted fires with score datashowCompletionScreen firestools
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