Openturn ships a skill that teaches AI coding agents how to author Openturn games — game state, moves, views, phases, turns, hidden info, randomness, simultaneous moves, bots, and testing. With it installed, Claude Code (or any supported agent) loads Openturn-specific guidance automatically when you work in an Openturn project or ask it to build a turn-based game.Documentation Index
Fetch the complete documentation index at: https://openturn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install
-g to install globally for all projects:
Update
Uninstall
What the skill knows
- Game definition with
@openturn/gamekit:defineGame, themovehelper, phases, turns,MoveRunContext. - Lower-level state graphs with
@openturn/core(when to drop down). - Views:
views.public,views.player, hidden-info patterns. - Replay-safe randomness via
ctx.rng. - Simultaneous moves via
activePlayersfiltering. - Bots:
defineBot,decide,simulate, thelegalActionsenumerator contract. - Testing game definitions with
createLocalSessionandbun:test.
Out of scope
The skill stays focused on game definition. For React UI, lobby, multiplayer hosting, deploying to Openturn Cloud, replays-as-product, and the inspector, follow the dedicated guides in this site.Source and feedback
The skill lives atskills/openturn/ in the openturn repo. File issues or improvements at openturn-io/openturn/issues.