正在加载项目…
正在加载项目…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Turn a single Claude Code session into a full game development studio.
49 agents. 74 skills. One coordinated AI team.
Building a game solo with AI is powerful — but a single chat session has no structure. No one stops you from hardcoding magic numbers, skipping design docs, or writing spaghetti code. There's no QA pass, no design review, no one asking "does this actually fit the game's vision?"
Claude Code Game Studios solves this by giving your AI session the structure of a real studio. Instead of one general-purpose assistant, you get 49 specialized agents organized into a studio hierarchy — directors who guard the vision, department leads who own their domains, and specialists who do the hands-on work. Each agent has defined responsibilities, escalation paths, and quality gates.
The result: you still make every decision, but now you have a team that asks the right questions, catches mistakes early, and keeps your project organized from first brainstorm to launch.
| Category | Count | Description |
|---|---|---|
| Agents | 49 | Specialized subagents across design, programming, art, audio, narrative, QA, and production |
| Skills | 74 | Slash commands for every workflow phase (/start, /design-system, /create-epics, /create-stories, /dev-story, /story-done, etc.) |
| Hooks | 12 | Automated validation on commits, pushes, asset changes, session lifecycle, agent audit trail, and gap detection |
| Rules | 13 | Path-scoped coding standards enforced when editing gameplay, engine, AI, UI, network code, and more |
| Templates | 39 | Document templates for GDDs, UX specs, ADRs, sprint plans, HUD design, accessibility, and more |
Agents are organized into three tiers, matching how real studios operate:
Tier 1 — Directors
creative-director technical-director producer
Tier 2 — Department Leads
game-designer lead-programmer art-director
audio-director narrative-director qa-lead
release-manager localization-lead
Tier 3 — Specialists
gameplay-programmer engine-programmer ai-programmer
network-programmer tools-programmer ui-programmer
systems-designer level-designer economy-designer
technical-artist sound-designer writer
world-builder ux-designer prototyper
performance-analyst devops-engineer analytics-engineer
security-engineer qa-tester accessibility-specialist
live-ops-designer community-manager
Each agent declares a model in its frontmatter: the three directors ask for Opus, sixteen specialists name Sonnet or Haiku, and the remaining thirty inherit your session's model. Treat the tiers as seniority of role, not as a billing plan — most of the studio runs on whatever model you are already using.
The template includes agent sets for all three major engines. Use the set that matches your project:
| Engine | Lead Agent | Sub-Specialists |
|---|---|---|
| Godot 4 | godot-specialist | GDScript, Shaders, GDExtension |
| Unity | unity-specialist | DOTS/ECS, Shaders/VFX, Addressables, UI Toolkit |
| Unreal Engine 5 | unreal-specialist | GAS, Blueprints, Replication, UMG/CommonUI |
Type / in Claude Code to access all 74 skills:
Onboarding & Navigation
/start /help /project-stage-detect /setup-engine /adopt /settings
Game Design
/brainstorm /map-systems /design-system /quick-design /review-all-gdds /propagate-design-change
Art & Assets
/art-bible /asset-spec /asset-audit
UX & Interface Design
/ux-design /ux-review
Architecture
/create-architecture /architecture-decision /architecture-review /create-control-manifest
Stories & Sprints
/create-epics /create-stories /dev-story /sprint-plan /sprint-status /story-readiness /story-done /estimate
Reviews & Analysis
/design-review /code-review /balance-check /content-audit /scope-check /perf-profile /tech-debt /gate-check /consistency-check /security-audit
QA & Testing
/qa-plan /smoke-check /soak-test /regression-suite /test-setup /test-helpers /test-evidence-review /test-flakiness /skill-test /skill-improve
Production
/milestone-review /retrospective /bug-report /bug-triage /reverse-document /playtest-report
Release
/release-checklist /launch-checklist /changelog /patch-notes /hotfix /day-one-patch
Creative & Content
/prototype /vertical-slice /onboard /localize
Team Orchestration (coordinate multiple agents on a single feature)
/team-combat /team-narrative /team-ui /team-release /team-polish /team-audio /team-level /team-live-ops /team-qa
A fair question, and the answer is a measurement rather than a sample project.
Four games were built from one brief at different modes.rigor levels and the
documents each wrote before its first line of game code were counted:
modes.rigor | Docs before first line of game code | Time |
|---|---|---|
minimal | 1 (the one-page brief) | 0 min |
standard | 30 | 58 min |
All of them produced a running, tested game. Two blind reviewers and a human
playtest then ranked the standard build last — the extra 29 documents
bought traceability, not a better game.
The measurement above is about cost. The other half is whether the thing works,
and for a game that means someone has to look at it — a passing test says
nothing about a menu drawn off-screen. So a story that changes anything the
player sees is not closed until the game has been launched, observed, and a
screenshot retained in production/qa/evidence/. A parse check is not a run.
This holds at every rigor level, including minimal, where automated tests are
waived but the look is not.
The games themselves are deliberately not shipped here: this is a template you clone to start your own project, and somebody else's game in your repo is clutter, not evidence.
npm install -g @anthropic-ai/claude-code)All hooks fail gracefully if optional tools are missing — nothing breaks, you just lose validation.
Clone or use as template:
git clone https://github.com/Donchitos/Claude-Code-Game-Studios.git my-game
cd my-game
Open Claude Code and start a session:
claude
Run /start — the system asks where you are (no idea, vague concept,
clear design, existing work) and guides you to the right workflow. No assumptions.
Or jump directly to a specific skill if you already know what you need:
/brainstorm — explore game ideas from scratch/setup-engine godot 4.6 — configure your engine if you already know/project-stage-detect — analyze an existing projectproject.yaml at the repo root is the single source of truth for how the
studio behaves on your project — engine, naming conventions, and a modes
block that controls how much process every skill enforces. /start writes it
for you; you rarely need to hand-edit it.
The one question that matters most is modes.rigor — minimal, standard,
or full. It's a single front door over six separate knobs (workflow —
which GDD sections are required, docs.density, qa.level,
story_granularity, review_mode — how many director agents review your work,
and team.size), so /start asks it once instead of six times:
minimal (default) — jam-game speed. No GDDs required, terse docs, minimal QA evidence, solo review. /start → /setup-engine → /dev-story in a handful of steps.standard — 5 required GDD sections, balanced doc depth, standard QA evidence, lean review.full — all 8 GDD sections, thorough docs, full QA evidence on every story type, full director review.minimal is the default because it was measured against the alternatives: the
heavier tier cost several times more to reach working code, was ranked last on
play quality, and returned nothing measurable when a fresh developer inherited
the project. Raise it in one /settings call when your project grows — /help
and /gate-check will suggest it when they see the signs.
Two escape hatches keep one setting from being a blunt instrument.
system_overrides holds a single system to a higher standard than the rest
of the project — your combat system gets the full treatment while everything
else stays light. testing.strict sets, per test type (logic, integration,
visual, UI, config), whether missing evidence blocks a story or merely warns.
Any of the six underlying knobs can still be set individually if you want a mix
(e.g. workflow: full with docs.density: terse — comprehensive but compact).
Two of them — review_mode (full / lean / solo) and team.size — are
also personal: rigor sets the team-wide default, but you can override them
per-developer in a gitignored project.local.yaml without touching the shared
config. modes.automation (how often the AI pauses to ask before it acts) sits
outside rigor and is likewise personally overridable.
View or change any setting with the /settings skill:
/settings # view effective config
/settings modes.review_mode # view one setting
/settings modes.rigor=full # write to project.yaml (team-wide)
/settings --local modes.review_mode=solo # write to project.local.yaml (just you)
Full schema and per-setting behavior: .claude/docs/effects-map.md.
Already using an older version of this template? See UPGRADING.md for step-by-step migration instructions, a breakdown of what changed between versions, and which files are safe to overwrite vs. which need a manual merge.
CLAUDE.md # Master configuration
.claude/
settings.json # Hooks, permissions, safety rules
agents/ # 49 agent definitions (markdown + YAML frontmatter)
skills/ # 74 slash commands (subdirectory per skill)
hooks/ # 14 scripts (bash) — 12 event hooks, yaml-helper.sh,
# and one opt-in diagnostic you wire yourself
rules/ # 13 path-scoped coding standards
statusline.sh # Status line script (context%, model, stage, epic breadcrumb)
docs/
workflow-catalog.yaml # 7-phase pipeline definition (read by /help)
templates/ # 39 document templates (+ per-section guidance)
src/ # Game source code (Godot). The code root is
# ENGINE-SPECIFIC: Unity compiles only
# Assets/, Unreal builds from Source/<Module>/
assets/ # Art, audio, VFX, shaders, data files
design/ # GDDs, narrative docs, level designs
docs/ # Technical documentation and ADRs
tests/ # Test suites (unit, integration, performance, playtest)
tools/ # Build and pipeline tools
prototypes/ # Throwaway prototypes (isolated from src/)
production/ # Sprint plans, milestones, release tracking
CCGS Skill Testing Framework/ # QA for the skills and agents themselves — see below
CCGS is a template you are meant to edit. CCGS Skill Testing Framework/ is how
you check that an edited or newly written skill still holds up — a catalog of all
74 skills and 49 agents, per-category quality rubrics, behavioral specs, and
templates for writing specs of your own.
/skill-test static [name] # structural linter — 7 compliance checks
/skill-test category [name] # category-specific quality rubric
/skill-test spec [name] # behavioral spec assertions
/skill-test audit # coverage report across skills and agents
/skill-improve [name] # test-fix-retest loop; keeps or reverts on score change
It tests the framework, never your game — game tests live in tests/.
Agents follow a structured delegation model:
creative-director for design, technical-director for technical)producerThis is not an auto-pilot system. Every agent follows a strict collaboration protocol:
You stay in control. The agents provide structure and expertise, not autonomy.
Hooks run automatically on every session:
| Hook | Trigger | What It Does |
|---|---|---|
validate-commit.sh | PreToolUse (Bash) | Checks for hardcoded values, TODO format, JSON validity, design doc sections — exits early if the command is not git commit |
validate-push.sh | PreToolUse (Bash) | Warns on pushes to protected branches — exits early if the command is not git push |
validate-assets.sh | PostToolUse (Write/Edit) | Validates naming conventions and JSON structure — exits early if the file is not in assets/ |
session-start.sh | Session open | Shows current branch and recent commits for orientation |
detect-gaps.sh | Session open | Detects fresh projects (suggests /start) and missing design docs when code or prototypes exist |
pre-compact.sh | Before compaction | Preserves session progress notes |
post-compact.sh | After compaction | Reminds Claude to restore session state from active.md |
notify.sh | Notification event | Shows Windows toast notification via PowerShell |
session-stop.sh | Session close | Archives active.md to session log and records git activity |
log-agent.sh | Agent spawned | Audit trail start — logs subagent invocation |
log-agent-stop.sh | Agent stops | Audit trail stop — completes subagent record |
validate-skill-change.sh | PostToolUse (Write/Edit) | Advises running /skill-test after any .claude/skills/ change |
Note:
validate-commit.sh,validate-assets.sh, andvalidate-skill-change.shfire on every Bash/Write tool call and exit immediately (exit 0) when the command or file path is not relevant. This is normal hook behavior — not a performance concern.
Permission rules in settings.json auto-allow safe operations (git status, test runs) and block dangerous ones (force push, rm -rf, reading .env files).
Coding standards are automatically enforced based on file location. The paths
below show the Godot code root; on Unity read src/ as Assets/, and on
Unreal as Source/<Module>/ — the engine's toolchain fixes that choice, and
/setup-engine resolves it for you.
| Path | Enforces |
|---|---|
src/gameplay/** | Data-driven values, delta time usage, no UI references |
src/core/** | Zero allocations in hot paths, thread safety, API stability |
src/ai/** | Performance budgets, debuggability, data-driven parameters |
src/networking/** | Server-authoritative, versioned messages, security |
src/ui/** | No game state ownership, localization-ready, accessibility |
design/gdd/** | Required sections per modes.workflow, formula format, edge cases |
design/narrative/** | Lore consistency, character voice, canon levels |
assets/data/** | JSON validity, naming conventions, schema rules |
assets/shaders/** | Naming conventions, performance targets, cross-platform rules |
tests/** | Test naming, coverage requirements, fixture patterns |
prototypes/** | Relaxed standards, README required, hypothesis documented |
This template is grounded in professional game development practices:
This is a template, not a locked framework. Everything is meant to be customized:
modes.rigor and its underlying knobs in project.yaml (see Configuration). Override per-run with --review solo on any skill.Primary development and testing on Windows 10 with Git Bash. All hooks use POSIX-compatible patterns (grep -E, not grep -P) and include fallbacks for missing tools, so they should run on macOS and Linux. The notify.sh hook uses PowerShell for Windows toast notifications and is a no-op elsewhere — desktop notifications on macOS/Linux are not yet wired. Cross-platform testing is ongoing; please file issues for any platform-specific breakage.
Claude Code Game Studios is free and open source. If it saves you time or helps you ship your game, consider supporting continued development:
Sponsorships help fund time spent maintaining skills, adding new agents, keeping up with Claude Code and engine API changes, and responding to community issues.
Built for Claude Code. Maintained and extended — contributions welcome via GitHub Discussions.
MIT License. See LICENSE for details.