Audits game code against engineering rules (server authority, schema, auth, payments, queues, Redis), lore consistency, and MVP scope. Produces a severity-ranked report. Use after building a component or before committing game code.
Ships in game-dev. 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.
None: SKILL.md is the whole skill.
betterauth-integrationstripe-game-paymentsgame-state-syncredis-game-patternsbullmq-game-queuesquest-narrative-coherencepostgres-game-schemamatchmaking-systemgameplay-analyticsBefore you apply a skill listed here, check that it appears in your available skills list. If it is not, name it, give this install line, and stop: bunx skills add fcsouza/agent-skills --skill <name>.
Phase 0 picks which of these apply to the code under review.
docs/mvp-first-draft.md and docs/build-registry.md improve the scope check. Without them the command skips that check and says so.docs/world-lore.md enables the lore check. Without it the command skips that check and says so.This command only reads. It writes the report to the chat and changes no file.
Input: $ARGUMENTS. If it is empty, take it from the user's message. It holds an optional component name or path.
docs/mvp-first-draft.md and docs/build-registry.md if they exist.src/<component>/, else all of src/.betterauth-integration skillstripe-game-payments skillgame-state-sync skillredis-game-patterns skillbullmq-game-queues skillquest-narrative-coherence skillpostgres-game-schema skillmatchmaking-system skillgameplay-analytics skillRead every TypeScript file in scope. Each applied skill has a Pitfalls section (and some a Checklist). Flag code that matches a listed pitfall or breaks a numbered decision in the skill. The skill owns the rule, so do not invent a rule it does not state.
For every finding record: severity, file, approximate line, what is wrong, the fix, and the skill and section it comes from.
Severity:
Always check, in any scope. These three are this command's own baseline; no skill states them:
.env value in source, or a Stripe secret key in code the client receives. Critical: anyone can read it.eval() or new Function() on user input. Critical: it runs attacker code.Where the domain is present, check these first (each skill gives the detail):
betterauth-integration, game-state-sync). Critical.game-state-sync). Critical.stripe-game-payments). Critical.postgres-game-schema). Warning.redis-game-patterns). Warning.bullmq-game-queues). Warning.If docs/world-lore.md is missing, print Narrative check skipped: docs/world-lore.md not found (run /game-architect) and go to Phase 3. If docs/quest-registry.md is missing, run the check against the lore file only and say so.
quest-narrative-coherence. Report each failure.Lore conflict: character "Mira" is used in src/quests/main.ts but is not in docs/quest-registry.md.If docs/mvp-first-draft.md is missing, print Scope check skipped: docs/mvp-first-draft.md not found (run /game-architect) and go to Phase 4.
src/ for each deferred feature.Scope drift: <feature> in <file> is out of scope in MVP plan Section 10.docs/build-registry.md, find components marked built that are not in the Section 9 build sequence. Report them as possible extra work.Use this shape:
# Game Review Report
Scope: <path>
Generated: <timestamp>
## Summary
Critical: X | Warning: Y | Suggestion: Z
List findings by category (Engineering, Narrative, Scope), each as:
### [Critical|Warning|Suggestion] <title>
File: src/path/to/file.ts (line ~42)
Issue: <what is wrong>
Fix: <concrete change>
Skill: <skill name and the section it comes from, or "baseline" for an always-check item>
If a category has no findings, write <Category>: no issues found.
End with:
## Next Steps
- Fix every Critical finding before committing.
- Read the <most-violated skill> skill for the correct pattern.
- Rebuild a component with Critical findings: `/game-build <component> --rebuild`.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/game-dev:game-review Optional component name or path to review (defaults to entire src/)from game-dev
npx claudepluginhub fcsouza/agent-skills --plugin game-dev39 skills in this plugin
/betterauth-integrationCovers the game-specific layer of Better Auth: player, moderator and admin roles, session checks on game routes and WebSocket handshakes, and keeping the auth session apart from the game session. Use when a game needs player login, moderator or admin powers, or authenticated real-time connections, and the project uses Better Auth./bullmq-game-queuesBackground job design for game backends on BullMQ and Redis: one queue per game domain, idempotent reward fulfilment, and cron schedulers for daily rewards and season ends. Use when a game needs matchmaking requests, reward grants, match results, notifications or analytics processed off the request path, or recurring and timed jobs such as daily login rewards, leaderboard snapshots and season rollovers./character-design-narrativeCovers designing game characters: NPCs, companions, antagonists, player avatars, character bibles and branching dialogue. Use when a game needs a new character written, an NPC feels flat or interchangeable, or dialogue needs a branching format with conditions and effects./ci-cd-gameGitHub Actions pipeline rules for a Bun game backend on Neon and Fly.io: migrations before deploy, one Neon database branch per pull request, a smoke test after deploy, and a pinned Bun version. Use when a game project needs CI, a deploy workflow, preview databases for pull requests, or a safe order for schema migrations and server deploys./elevenlabs-sound-musicCovers generating game audio with ElevenLabs (voice lines, sound effects, music) and Google Lyria 2 (instrumental music clips), and playing it in the browser through an audio state machine with crossfades, per-layer volume and an unlock on the first user input. Use when a game needs sound effects, NPC voice lines or a soundtrack, when music must follow game state (menu, exploration, combat, boss) without hard cuts, when audio stays silent on a phone until the player taps, or when choosing between ElevenLabs and Lyria for music./game-anti-cheatCovers how a developer defends their own online game against cheating: server-side input validation, withholding hidden state, lag-compensation limits, dupe-proof transfers, detection from server data and reports, and enforcement with delayed bans, appeals and refunds to victims. Use when a multiplayer game has speed hacks, wallhacks, aimbots, bots, item or currency dupes, real-money trading, boosting or win trading, or when planning how to detect and ban cheaters.Other plugins' skills for the same job