/skillry-gaming-interactive-media:game-architecture-reviewfrom skillry-gaming-interactive-media
Reviews game architecture, code, tech debt, and performance across Godot, Unity, Unreal, Phaser, and PixiJS. Covers game loops, ECS, frame budgets, profiling, and polish for release.
Ships in skillry-gaming-interactive-media. 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.
Skillry 3.0.0 merged the skills below into this one. The procedure in this file stays the default. When a task, agent or document names one of these old skills, open only its reference.
| Old skill | Reference | Covers | Source |
|---|---|---|---|
web-game-architecture | references/web-game-architecture.md | Engine-agnostic web game architecture: fixed-timestep loop, ECS, state machines, asset loading, save/load | Skillry |
gamedev-code-review | references/gamedev-code-review.md | Game code review: coding standards, architecture patterns, SOLID, testability, performance | Claude Code Game Studios (MIT) |
gamedev-tech-debt | references/gamedev-tech-debt.md | Tech debt register: scan, categorize, prioritize, schedule repayment | Claude Code Game Studios (MIT) |
godot-unity-unreal-triage | references/godot-unity-unreal-triage.md | Godot, Unity, Unreal, shader, engine and asset pipeline triage | Skillry |
phaser-game-development | references/phaser-game-development.md | Phaser 3: scenes, physics, atlases, tilemaps, input, Vite + TypeScript setup | Skillry |
pixijs-2d-rendering | references/pixijs-2d-rendering.md | PixiJS 8: application setup, containers, ticker, atlases, particles, batching, WebGL/WebGPU | Skillry |
game-performance-review | references/game-performance-review.md | Frame budget, asset loading, rendering, memory, interaction performance | Skillry |
web-game-performance | references/web-game-performance.md | Browser 60 fps: rAF discipline, pooling, batching, GC spikes, Canvas vs WebGL, DevTools profiling | Skillry |
gamedev-perf-profile | references/gamedev-perf-profile.md | Structured profiling: bottlenecks against budgets, prioritized optimizations | Claude Code Game Studios (MIT) |
gamedev-team-polish | references/gamedev-team-polish.md | Polish team orchestration: performance, visual and audio polish, QA hardening for release | Claude Code Game Studios (MIT) |
Third-party references keep a provenance header and their upstream license in references/<old-skill>/LICENSE.
The Claude Code Game Studios references keep their upstream slash-command names. In Skillry they resolve as follows:
/code-review → references/gamedev-code-review.md, /tech-debt → references/gamedev-tech-debt.md, /perf-profile → references/gamedev-perf-profile.md, /team-polish → references/gamedev-team-polish.md./brainstorm, /map-systems, /design-review, /ux-review, /prototype and the other design and team commands → gameplay-systems-review; /release-checklist, /team-release, /hotfix → release-readiness-check; /estimate, /retrospective → implementation-plan; /team-qa → uat-acceptance-review./gate-check, /architecture-decision, /scope-check, /sprint-plan) belong to the upstream project and have no Skillry equivalent.Audit a game project's structural decisions: game-loop organization, the entity/component model, scene management, the asset pipeline, the save system, and the separation of update logic from render logic. Surface the architectural debt that produces bugs at scale — frame-rate-dependent gameplay, monolithic god-objects, broken save/load, asset-loading stalls, and tight coupling between gameplay and UI. Every finding carries a severity and a concrete refactor, ordered so the highest-leverage fix can land without destabilizing the rest.
references/game-performance-review.md (browser games: references/web-game-performance.md; structured profiling: references/gamedev-perf-profile.md).references/godot-unity-unreal-triage.md first._process/_physics_process in Godot, Update/FixedUpdate in Unity, Tick in Unreal). Verify physics runs in a fixed-timestep loop, not the variable frame loop, and that all movement in the variable loop is delta-scaled.DontDestroyOnLoad objects (Unity), or global subsystems (Unreal GameInstance). Confirm each has a single, clear responsibility and none holds per-frame game state._ready/Awake ordering, which breaks when the scene tree changes.# Engine + version (determines which APIs and patterns apply)
godot --version 2>/dev/null
sed -n 's/.*config\/version="\(.*\)"/\1/p' project.godot 2>/dev/null # Godot project version
rg -n "m_EditorVersion" ProjectSettings/ProjectVersion.txt 2>/dev/null # Unity
rg -n "EngineAssociation" *.uproject 2>/dev/null # Unreal
# Frame-rate-dependent movement: position changes NOT multiplied by delta
rg -n "position\s*[\+\-]?=|translate\(|velocity\s*=" --type-add 'gd:*.gd' -tgd -tcs \
| rg -v "delta|fixedDeltaTime|GetDeltaSeconds"
# God-objects: scripts over ~300 lines
find . \( -name '*.gd' -o -name '*.cs' -o -name '*.cpp' \) -not -path '*/.*' \
-exec wc -l {} + | awk '$1 > 300 {print}' | sort -rn
# Deep inheritance / monolithic class signals
rg -n "extends |class .* : .*MonoBehaviour|: public A" --type-add 'gd:*.gd' -tgd -tcs
# Singleton / global-state sprawl
rg -n "^\[autoload\]" project.godot -A 30 2>/dev/null # Godot autoloads
rg -n "DontDestroyOnLoad" -tcs # Unity persistent objects
# Hardcoded scene paths (fragile when files move)
rg -n 'load\("res://|LoadScene\("|SceneManager\.LoadScene' --type-add 'gd:*.gd' -tgd -tcs
# Gameplay reaching directly into UI (tight coupling)
rg -n "_physics_process|Update\(" -A 15 | rg -i "hud|ui\.|menu\.|update.*bar"
# Save data versioning + backward compatibility
rg -n "save_version|saveVersion|schema_version|\"version\"" --type-add 'gd:*.gd' -tgd -tcs
rg -n "ResourceSaver\.save|FileAccess\.open|JsonUtility\.ToJson|BinaryFormatter" --type-add 'gd:*.gd' -tgd -tcs
# Render/update separation: state mutated during draw/render
rg -n "_draw\(|OnRenderObject|OnGUI\(" -A 10 --type-add 'gd:*.gd' -tgd -tcs | rg "=\s*[^=]|\+\+|--"
# Event bus / signal usage (loose coupling) vs direct cross-system calls
rg -n "emit_signal|signal |EventBus|\.Invoke\(|UnityEvent|add_user_signal" --type-add 'gd:*.gd' -tgd -tcs
# Per-frame allocation inside the loop (architecture smell that becomes a perf bug)
rg -n "(_process|Update)\(" -A 15 --type-add 'gd:*.gd' -tgd -tcs | rg "new |Array\(|Dictionary\(|\.instantiate\("
# Module/scene dependency direction (who depends on whom)
rg -n "preload\(|const .* = preload|using .*;|#include" --type-add 'gd:*.gd' -tgd -tcs | head -30
# Scene unload cleanup (queue_free / Destroy paired with disconnects)
rg -n "queue_free\(|Destroy\(|free\(\)" --type-add 'gd:*.gd' -tgd -tcs
rg -n "disconnect\(|RemoveListener|-= " --type-add 'gd:*.gd' -tgd -tcs # are signals torn down?
# Platform-specific code without a compile guard
rg -n "OS\.get_name\(\)|Application\.platform|#if UNITY_|PLATFORM_" --type-add 'gd:*.gd' -tgd -tcs
# RIGHT: version the payload and migrate old saves on load
const SAVE_VERSION := 3
func load_save(data: Dictionary) -> void:
var v := int(data.get("version", 1))
if v < 2: data["currency"] = data.get("gold", 0) # v1 -> v2 field rename
if v < 3: data["unlocks"] = data.get("unlocks", []) # v2 -> v3 added field with default
apply(data) # never assume a field exists
| system | severity | issue | recommended refactor |
|---------------|----------|-----------------------------------------|--------------------------------------|
| game loop | high | movement not delta-scaled in _process | multiply by delta or move to physics |
| Player.gd | high | 640-line god-object | split movement / inventory / input |
| save system | critical | progress stored on the level scene node | move to a versioned save resource |
| HUD coupling | medium | enemy calls hud.update_health_bar() | emit a "health_changed" signal |
position += speed without * delta runs 2x faster at 120fps than at 60fps. Scale every per-frame change by delta, or move it into the fixed-timestep loop.DontDestroyOnLoad objects holding cross-cutting state make init order fragile and testing impossible. Consolidate and inject dependencies.load("res://scenes/Level3.tscn") scattered across scripts breaks when the file moves. Use a scene registry or a constants file.enemy._physics_process calling hud.update_health_bar() couples systems and blocks unit testing. Emit a signal / event-bus message instead.ResourceLoader.load_threaded_request and using the resource before checking THREAD_LOAD_LOADED causes null-reference crashes. Gate use on the completion status._draw/OnGUI causes tearing and order-dependent bugs. Compute in update, read-only in render._ready/Awake order dependence. Relying on the implicit node-ready order for cross-singleton init breaks the moment the scene tree changes. Use an explicit init sequence.if player.health != last_health each frame instead of subscribing to a "health_changed" signal — wasted work and scattered logic.Return a structured report with:
System | Severity | Issue | Recommended refactor.Done means the engine and project layout are documented, the game loop / entity model / scene / asset / save / messaging / singleton / input layers are each assessed from evidence, every finding has a severity and a concrete refactor, and a prioritized roadmap names the first safe change.
references/game-performance-review.md (opens in a new tab)references/gamedev-code-review.md (opens in a new tab)references/gamedev-code-review/LICENSE (opens in a new tab)references/gamedev-perf-profile.md (opens in a new tab)references/gamedev-perf-profile/LICENSE (opens in a new tab)references/gamedev-team-polish.md (opens in a new tab)references/gamedev-team-polish/LICENSE (opens in a new tab)references/gamedev-tech-debt.md (opens in a new tab)references/gamedev-tech-debt/LICENSE (opens in a new tab)references/godot-unity-unreal-triage.md (opens in a new tab)references/phaser-game-development.md (opens in a new tab)references/pixijs-2d-rendering.md (opens in a new tab)references/web-game-architecture.md (opens in a new tab)references/web-game-performance.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fluxonlab/skillry --plugin skillry-gaming-interactive-media3 skills in this plugin
/threejs-webgl-patterns3D in the browser with Three.js or React Three Fiber: scenes, GLTF, lighting, raycasting, instancing./gameplay-systems-reviewGame design: concept, GDD, systems, balance, levels, narrative, audio, live ops, HUD and menu UX, prototypes.Other plugins' skills for the same job