/grey-matter:game-native-designfrom grey-matter
Build games that feel like games, not web apps. Use when designing or reviewing game code: the loop, simulation state, performance, feel, or when another skill needs the game-native vocabulary. Reach for the matching engine appendix once the engine is known.
Ships in grey-matter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A game is a continuous simulation, not a request/response app. Something advances every frame, within a hard budget, whether or not input arrived. Web habits default to the opposite (react to an event, then idle), which produces games that feel dead between inputs. This is the reference that keeps the agent reasoning game-native. It is a reference to consult, not a session to run.
Vocabulary is engine-neutral here; the engine's real names live in the appendix (read
the one for the detected engine: project.godot -> godot.md;
*.uproject -> unreal.md).
The codebase-design skill says: deep module, a lot of behaviour behind a small
interface. That holds for the deterministic sim services: a pathfinder, economy
resolver, save system, procedural generator. These are the deepest, most testable
seams in a game, and codebase-design's depth / seam / leverage vocabulary applies to
them unchanged.
It does not hold for the frame-loop systems layer, the hot, large-N update code. There, data-oriented design deliberately separates plain data from the systems that transform it, the opposite of encapsulation, for cache locality and the "multiple case." Apply it where the data access pattern justifies it (many entities, hot loops), not as a cargo cult. So: deep modules for sim services; data-oriented systems for the frame loop. Don't force either regime on the other.
Determinism decides what is testable. Test-first the deterministic core: simulation steps, state machines, save/load round-trips, economy/combat math, pathfinding, seeded-procgen golden outputs, and replay (recorded inputs reproduce identical state). Do not unit-test feel, frame-dependent behaviour, rendering, input timing, or "fun", those are validated by play, not assertion. Re-point a test's seam at a sim service (a deep module) or at the engine's unit of behaviour; the appendix names it.
For the red-green loop itself, call the Skill tool with tdd; this skill supplies only
what changes for games.
When reviewing game code, apply the web-ism smell rubric in
review-rubric.md: the nine ways a game drifts into feeling like a
web app, each with its fix. It is the game-architecture counterpart to the Fowler
smell baseline code-review already carries.
Game-native applies to the real-time simulation. Outside it, use the best web engineering you have: HUD/menu/overlay UI (genuinely retained-mode-ish), meta and backend (save data, accounts, networking plumbing, analytics, store), tooling and build pipelines, and platform-owned loops (in a browser you call the platform's frame callback rather than own the loop). The boundary is the simulation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".npx claudepluginhub smileynet/grey-matter --plugin grey-matter