game-review
Audits game code read-only against the engineering skills' rules (server authority, schema, auth, payments, queues, Redis), lore consistency and MVP scope…
от fcsouza★ 29 звёзд на GitHub
Установить game-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Game Review
Requires
betterauth-integrationstripe-game-paymentsgame-state-syncredis-game-patternsbullmq-game-queuesquest-narrative-coherencepostgres-game-schemamatchmaking-systemgameplay-analytics
Before 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.
Prerequisites
docs/mvp-first-draft.mdanddocs/build-registry.mdimprove the scope check. Without them the command skips that check and says so.docs/world-lore.mdenables 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.
Phase 0: scope and context
Input: $ARGUMENTS. If it is empty, take it from the user's message. It holds an optional component name or path.
- Read
docs/mvp-first-draft.mdanddocs/build-registry.mdif they exist. - Set the scope: the named path or
src/<component>/, else all ofsrc/. - Scan the scope for the domains it contains, then apply only the matching skill:
- Auth: the
betterauth-integrationskill - Stripe or payments: the
stripe-game-paymentsskill - WebSocket or game state: the
game-state-syncskill - Redis: the
redis-game-patternsskill - BullMQ: the
bullmq-game-queuesskill - Quest or narrative code: the
quest-narrative-coherenceskill - Drizzle or SQL: the
postgres-game-schemaskill - Matchmaking: the
matchmaking-systemskill - Analytics events: the
gameplay-analyticsskill
- Auth: the
Phase 1: engineering review
Read 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:
- Critical: a player can cheat, take another player's identity, get currency or items without paying, or expose a secret.
- Warning: the code breaks a skill rule, but no exploit follows from it by itself.
- Suggestion: a skill's recommended pattern is missing.
Always check, in any scope. These three are this command's own baseline; no skill states them:
- A secret or
.envvalue in source, or a Stripe secret key in code the client receives. Critical: anyone can read it. eval()ornew Function()on user input. Critical: it runs attacker code.- User-controlled data accepted by an endpoint without validation. Warning.
Where the domain is present, check these first (each skill gives the detail):
- Identity comes from the server session, never from a body, query or message field (
betterauth-integration,game-state-sync). Critical. - Game state changes only after the server validates the action (
game-state-sync). Critical. - Purchases are granted only from verified webhooks, with an idempotency check (
stripe-game-payments). Critical. - Schema follows the table conventions: soft delete, JSONB for per-genre extras, owner-key indexes (
postgres-game-schema). Warning. - Redis keys expire when the state is ephemeral (
redis-game-patterns). Warning. - Queue processors are idempotent and set their retry policy as the skill describes (
bullmq-game-queues). Warning.
Phase 2: narrative coherence
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.
- Read both files.
- Collect quest IDs, character, faction and location names from the source.
- Compare each against the lore and the registry using steps 3 and 4 of
quest-narrative-coherence. Report each failure. - Format each finding as
Lore conflict: character "Mira" is used in src/quests/main.ts but is not in docs/quest-registry.md.
Phase 3: MVP scope drift
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.
- Read Section 10 (Out of Scope).
- Search
src/for each deferred feature. - Report
Scope drift: <feature> in <file> is out of scope in MVP plan Section 10. - In
docs/build-registry.md, find components marked built that are not in the Section 9 build sequence. Report them as possible extra work.
Phase 4: report
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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл game-review?
Audits game code read-only against the engineering skills' rules (server authority, schema, auth, payments, queues, Redis), lore consistency and MVP scope, and writes a severity-ranked report. Takes an optional component name or path in `$ARGUMENTS` (falls back to the user's message, then all of `src/`). Use after building a component or before committing game code.
Как установить скилл game-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл game-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…