이 페이지는 아직 한국어로 번역되지 않아 영문 원문을 표시하고 있습니다.
가이드Agent Skill
The repository publishes an Agent Skill at skills/nsgo-game so coding agents know how to scaffold, build, test, inspect and drive NSGo games using the nsgo game CLI, plain-text YAML formats and the game/mcp tool suite.
Install
Install the skill with bunx skills add:
bunx skills add nsgo-dev/game
Pair it with NSGo's own nsgo skill for core UI primitives, signals, nsgotest and go tool nsgo:
bunx skills add nsgo-dev/nsgo
To let an agent inspect and drive a running game live, also register NSGo's MCP server:
claude mcp add nsgo -- go tool nsgo mcp
What the skill covers
SKILL.md: project rules (Go only, plain-text versioned YAML formats,go tool nsgo check/test, stability tiers), quick-start CLI workflow, minimalgame.Loop+mcp.Attachwiring, and the deterministic MCP verification loop.references/packages.md: complete grouped catalog of every package ingithub.com/nsgo-dev/game, with import paths and stability status matching API Stability.references/cli-and-formats.md: allnsgo gamesubcommands (Command Reference), companion module tools, the YAML format contract (File Formats), JSON Schemas (Schemas) and native external formats (Tiled, LDtk, Aseprite, TexturePacker, BMFont, glTF, Yarn).references/mcp-tools.md:mcp.Bridgesetup (mcp) and the full tool catalog covering scene/entity inspection, fixed-step loop control, game-coordinate input, live spawning and component editing, screenshots with diagnostic overlays, debug console tunables, input recording/replay, performance telemetry and live asset hot reload.
Typical agent workflow
- Scaffold and add building blocks with
nsgo game new,nsgo game generate,nsgo game assetsandnsgo game check. - Attach
mcp.Bridgeon the game's*core.Scopeand rungo tool nsgo dev -automation(ornsgotest.Startin tests). - Drive reproducible checks through MCP: pause with
game_loop_pause, seed withgame_loop_seed, inject inputs or spawn entities, advance synchronously withgame_loop_step, inspect entities withgame_entities_list/game_entity_inspect/game_component_get, and capture overlays withgame_screenshot.