boardgame-io
Installation
SKILL.md
boardgame.io Game Development
Create turn-based games (board games, card games, dice games) with the boardgame.io framework, targeting the v0.50.x API. This skill guides the full workflow: designing game state, defining rules, building the UI, wiring multiplayer, and testing.
When to use
Use for any request to create, extend, or debug a game built on boardgame.io — including tic-tac-toe / chess / card / dice / strategy games, 棋牌 / 桌游 / 回合制游戏 — in JavaScript or TypeScript, with or without a UI.
Golden rules (read first — these prevent 90% of bugs)
The framework runs your move/hook functions identically on client (optimistic) and server, serializes all state over the network, and replays state for undo and bots. Everything below follows from that: