native-game
БесплатноБез исполняемых скриптовНе проверенBuild or revise a playable 2D or 3D game in NodeTool's built-in engine: create and edit the document, generate and install art and audio, playtest and…
от nodetool-ai★ 674 звезды на GitHubОб этом скилле
Build a native game
Create and edit a versioned built-in game document. The engine owns simulation,
rendering, and web export. The default is a playable 2D top-down room.
Use dimension: "3d" for an exploration blockout with a capsule controller,
follow camera, ramps, a moving platform, a crate and scripted interactions.
Load game-direction before the first edit of a new game, an art overhaul, or
a game that plays but feels flat. Lock its style string, layer plan, feel
parameters, and pacing sheet, then keep later edits and asset prompts
consistent with that spec. Load native-game-reference when an edit needs
script hooks, events, lighting, effects, particles, 3D rendering, the audio mix,
animation graphs, input bindings, the HUD tree or performance fields. Load
native-game-performance before building a 3D game and before reporting any
game as done. Load api-games before calling nodetool.games from a code
action.
Build and revise
create_native_game {project_id, name, dimension?}creates a playable draft and returns its full id and current immutable revision. Resource ids may be full ids or exact 12-character prefixes.get_native_game {game_id, view: "outline"}reads the compact draft outline. Useview: "entity"withentity_idfor one entity orview: "full"for the whole document.source: "revision"reads an immutable revision.edit_native_game {game_id, base_updated_at?, ops}applies ordered ops to the draft and validates the result atomically. Use thedraft_updated_atfrom a read for compare-and-swap when an edit depends on that exact state. Invalid edits return an op index and field path. A generated level can replace the whole draft withops: [{op: "set_document", document}]. The replacement preserves the stored game id and revision and supports undo.- Prove it plays.
playtest_native_game {game_id, inputs?, assertions?, capture_ticks?}runs the draft for up to 18,000 ticks, subject to the wall time budget. An input can repeat withticks.justPressedfires on the first repeated tick.autoplay_native_game {game_id, target_prefix? | win?, player_id?, seed?, max_ticks?}steers a supported 2D player and returns an executedroute, observed win tick, target contacts, and authored level stats. It needs a player with amovementbehavior, or a script player withleftandrightactions, and takes jump from ajump,spaceorupaction. A prefix selects every matching authored collider, whose IDs must be unique across scenes. Win steering targets collectibles or an authoredwinorvictorytrigger. Other scripted goals needtarget_prefix. A failed steering search or exhausted budget does not prove the game impossible. Replayrouteas playtestinputswith the same seed, and checkroute_completebefore accepting the replay. A target contact alone does not prove completion. - Assert what the replay proves. 2D playtests accept three forms, and any
other returns
Unsupported assertion:{event: "win", before_tick?}requires an engine win or a scriptedwinorvictorytrigger.{event: "<name>"}requires that emitted event.{entity_id, near: {x, y, tolerance}, at_tick?}checks a position.{no_script_errors: true}fails on the first script error. 3D playtests addregion,groundedandreplay_matches(see 3D authoring).
- Look at it.
capture_native_game_frame {game_id, ticks?, sheet?}renders up to eight frames and returns image refs (asset_id,uri), not pixels. Callview_imageon each ref you judge, as a direct tool call, before reporting visual changes or polish. Inside a code action the pixels cannot arrive.sheet: truereturns one contact sheet. Captures reportcancelled,wall_time_limited, androute_complete. An interrupted capture returns only frames rendered before interruption. - Pass the performance gate before you report the game as done, and again at
each milestone: blockout, art pass, effects pass. With a shell, run
nodetool game bench,nodetool game capture --fail-on-budgetandnodetool game perf --fail-on-budgeton a route through the busiest part of the game, asnative-game-performancedescribes. The game passes when all three exit 0. Report the measured tick p95, frame p95, draw calls and triangles. Without a shell, apply that skill's budgets and authoring rules and give the user thenodetool game perfcommand. - Generate assets (see Assets). Confirm scope before spending.
publish_native_game {game_id, base_revision}publishes the current draft only when the user asks. For an explicitdocument, pass the paireddraft_updated_atreturned byget_native_gameasbase_updated_at. On a conflict, read the draft and reconcile edits.build_native_game {game_id, revision?, target?}writes a standalone web player for an owned revis
Установить native-game в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл native-game?
Build or revise a playable 2D or 3D game in NodeTool's built-in engine: create and edit the document, generate and install art and audio, playtest and autoplay a route, capture frames, publish, and prepare a standalone web build. Also the entry point for making a game look or feel better. For a glTF model use nodetool-3d-scene. For nodetool.games calls inside a code action use api-games.
Как установить скилл native-game?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл native-game запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic