/game:game-code-reviewerfrom Game Design and Build
Use when reviewing, refactoring, or critiquing GAME CODE / architecture — C#/Unity scripts, systems wiring, class design, patterns, decoupling, state machines, event systems, ECS/data-oriented structure, or "is this codebase well-architected / maintainable". Scores code against a 9-quality rubric and proposes concrete refactors. Backed by ~340 cited rules from 8 software-design and game-architecture books. Trigger on: "review this code", "is this architecture any good", "refactor this", "is this too coupled / over-engineered", "what design pattern fits", "clean up this script", and game-code-quality or maintainability questions.
Ships in Game Design and Build. 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.
You are a staff game engineer reviewing code and architecture. Given scripts or a codebase, you judge how well-built it is and propose concrete refactors — decoupling, the right (or fewer) patterns, composition, data-driving, and Unity/C# idiom fixes. You are constructive: every smell comes with a fix and the rule behind it.
Knowledge base: ~340 cited rules in refs/ (each rule cites its source book; refs/BOOK_CODES.md is the legend). Load only the ref the code needs; the rubric and principles below are always on.
Not for: runtime performance/frame-budget (use game-performance-auditor), game-design/balance (use game-balance-auditor or game-studio-cpo).
| Code under review… | Read |
|---|---|
| SOLID, coupling, composition vs inheritance, design patterns & misuse, state machines, events/observer, command/undo | refs/01-principles-patterns.md |
| ECS/data-oriented structure, data-driven config/ScriptableObjects, Unity/C# idioms & anti-patterns, naming, maintainability, refactoring, testability | refs/02-ecs-idioms-maintainability.md |
| (Source legend) | refs/BOOK_CODES.md |
Strong / Adequate / Weak / Missing + one-line reason.file:line where possible, each citing the rule (and book) it breaks.Be specific and buildable; cite a rule for every recommendation, and respect any When it flips: caveat (e.g. abstraction on volatile vs stable code) against the project's context.
imperative — reason (Sources). (Sources) are book codes; many books on one rule = high confidence.In ~/games/books/verified/reviewers/code/: GAME_CODE_REVIEWER_GUIDE.md (all cited rules in one doc) and the per-book extractions; refs/BOOK_CODES.md maps codes to books.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mattmakes/skill-marketplace --plugin game30 skills in this plugin
/art-directionUse when a game concept needs its visual direction set: a style sheet (palette, shape language, lighting, texture), a shot list tied to the target fun, and image-generation prompts for a key art, hero and gameplay-mock placeholder. Trigger on: "art direction", "style sheet", "what should this look like", "shot list", or when `game-brief` needs its art section. Every image prompt carries fixed content-boundary negatives and never names a living artist./balance-model-dataKeep a game's numbers in a scripted balance model (for example Python modules) that checks design targets and exports the JSON the Godot game loads, and change that data without drift. It covers the edit-export-diff loop, FAIL-key baselines, deterministic exports, parity fixtures between the model and GDScript, what-if and lever searches inside the model, and design docs whose tables must match the model. Use it whenever someone wants to change a price, a yield, a pacing curve, a content table or an upgrade row that a script exports; asks why the model and the game disagree, why a parity test fails, or why a chapter runs too long; wants to tune or fit levers before touching game data; or writes a design doc full of numbers, even if nobody says "balance model" or "source of truth"./bot-balance-loopTune bosses, encounters and game rules with scripted bots that play the real Godot game headless, then compare the measured tables against written target bands. The loop writes the bands first, builds a fight tool with several bot steerings (coached, tight, wide, wait, ram), runs fixed seeds with repeatable flags, builds a table of first-try wins, mean tries, resource left and fight length, names each odd result BOT or GAME, and changes 1 lever at a time. It also covers model start states, rule probes, a shared pipeline, wall triage by snapshot replay, a full-playthrough bot, coach text from winning fights and telegraph-to-hit tests. Use it whenever someone wants to balance or retune a boss, check a kill rate or a difficulty band, find out why players or bots stall at an encounter, measure a rule change with encounter bots or a full-playthrough bot, or run a bot playthrough of the whole game, even if nobody says "bot table" or "target band"./core-loopUse when designing or diagramming a game's core loop — applies Stone Librande's "flowchart first" to draw the moment-to-moment, session and long-term loops, each as player action → system response → feedback → next decision, as Mermaid flowcharts, with every feedback edge labeled by the kind of fun it serves (LeBlanc's eight kinds), and checks that the inner loops (not the long-term loop) produce every target kind. Trigger on: "core loop", "gameplay loop", "draw the loop", "moment-to-moment", "session loop", "long-term loop", "retention loop", or the loop step of the game-design pipeline. Runs headless: never asks, infers and states assumptions./design-diagramsUse when a game design needs the right diagram, not more prose: an engine loop, a whole-game storyboard, a time-and-space map, a faction relationship chart, an axes-first matrix, or a module map. Trigger on: "what diagram should I use", "map out the loop", "chart the factions", "storyboard the game", or when `core-loop` or `game-brief` needs a diagram picked and drawn. Picks the diagram from Librande's vocabulary, applies the "wrong metaphor" check, and emits a Mermaid or JSON/SVG recipe./feature-seams-and-savesAdd new content, variants and whole modes to a Godot game through data seams and off-by-default flags, and keep player saves and settings safe across versions. It covers a new playable variant (vehicle, class, character) or encounter batch on a shared base class, an optional row key whose default keeps old rows exact, a prototype branch plus a flagged landing for a big mode, mode fields on content rows, atomic signed saves with backups, save-version migration tested with a real old save, graphics presets with a first-launch Auto pick, and setup tools that give the same project file on a second run. Use it whenever someone wants to add a character, enemy, boss, level type, game mode or data field, bump the save format, rename a settings key, harden saves against corruption or edits, or asks "will old saves still load?" or "how do I add this without breaking the base game?", even if nobody says "seam" or "migration".