Repository iconcurepo.dev
Blog
Claude-Code-Game-Studios preview

Donchitos / Claude-Code-Game-Studios

ai-agentsai-assisted-developmentanthropicclaude

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

40.7k Stars
visibility273 Watchers
fork_right5.3k Forks
Shell
historyUpdated recently

description README.md

Claude Code Game Studios

Describe a game. Claude Code asks a few questions, writes a one-page brief, and builds a playable browser game from it.
Then you change it, grow it and finish it, one step at a time.

MIT License Built for Claude Code Buy Me a Coffee GitHub Sponsors


Make me a game

Open Claude Code in a copy of this repository and say what you want:

/prototype a fishing game where the rare fish only bite at dusk
  1. A few questions. One round, picked from the genre: the choices that shape the game, how it should feel, how it looks, how hard it is, the goal. Each has a usual answer, so "you pick" works. A vague idea ("a racing game") gets two or three one-line pitches to choose from first.
  2. A one-page brief. design/game-brief.md: your words kept as you typed them, the look, the first minute, the challenge, the features and what is left for later. You read it and say Build it, or change something first.
  3. A first build. A browser game in prototypes/<name>/ that opens with a double-click: every figure drawn, no emoji art, no copy of another game, and not trivially easy. Your session builds it at its own effort ("build it at medium" is cheaper and thinner).
  4. Checked before you get it. A few scripted key presses in a headless browser show it opens with no errors and responds; text that is too small, overlapping or off screen and screens that freeze are fixed in one round; and every line of the brief is marked built, missing or broken from the screenshots and the code, or not assessed when it could not be checked. Your play is the real test: the handover card says what passed, what is still broken and what was guessed, and ends "Not yet played by a person".

Then it is yours to play. After that:

  • Change it by asking. Each change is checked against what you said to keep and to avoid, and each one you accept is a checkpoint you can go back to. Ask to tune it and it gains a tweak panel with a slider for every value.
  • Share it. A clean copy without the panel and the working files, ready for itch.io or a link.
  • Grow it. When you like it, it becomes a real web project (Vite and TypeScript, its values in data files, tests and a build), and you add to it one feature a sitting: say the next feature, and it is built, checked and committed. After every feature the same seeded run is played again and any change is shown to you. Stories (/create-stories, /dev-story, /story-done) only when you ask for them.
  • Finish it. /cut proposes what to cut and a polish list, and a date when the game is to sell.

Already have a browser game? /prototype --from <path> brings a copy in as it is, so it can be changed and grown the same way.

What it has been shown to do

  • The first build. In a blind comparison on three game ideas, the brief made from its questions was picked over a hand-written brief all three times. All six games built from the two kinds of brief were ones the tester said they would build on, so on the games themselves the two kinds of brief tied.
  • Growing. One game was grown from its first build through six stories into a game the tester would keep building. That is one game, not yet a pattern.
  • Not yet shown: the engine route (Godot, Unity, Unreal) and deepening one system with a design document. Both are built and pass the framework's own checks, but neither has had a test like the two above.

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.


Table of Contents


Getting Started

Prerequisites

  • Git
  • Claude Code — the native installer is recommended (npm install -g @anthropic-ai/claude-code also works, on Node.js 22+)
  • Python 3 — reads project.yaml for every skill and hook; without it every setting silently falls back to its default
  • Bash — runs every hook; built into macOS and Linux, and on Windows it comes with Git for Windows. Without it on Windows the hooks skip themselves, and session start says their checks are off
  • Chrome, Edge or Chromium — /prototype plays and screenshots each game in it; without one, those checks say they were not assessed
  • Recommended: Node.js (to grow a game into a web project, for a 3D game's three.js, and for the web engine's build and tests) and jq (for hook validation)

Hooks fail gracefully if optional tools are missing — you just lose validation — with one deliberate exception: a commit that stages data JSON is blocked when there is no Python to validate it.

Setup

  1. Clone or use as template:

    git clone https://github.com/Donchitos/Claude-Code-Game-Studios.git my-game
    cd my-game
    
  2. Open Claude Code in the project's root folder (the one holding CLAUDE.md and project.yaml) and start a session:

    claude
    

    Starting it in a subfolder such as src/ skips the project's hooks, deny rules and ask-first permission mode.

  3. Type /prototype and your idea, or run /start, which asks where you are (make me a game, an idea or none yet, clear design, existing work) and guides you to the right workflow. No assumptions.

    Other ways in:

    • /next-step — names the one next step wherever you are
    • /brainstorm — explore game ideas from scratch
    • /setup-engine godot 4.7 — configure an engine if you already know you want one
    • /project-stage-detect — analyze an existing project

Engines

Engineengine.nameCode rootNotes
WebWebsrc/The default for a new project. A one-shot needs no engine at all; a grown game is a web project. /setup-engine web offers a starter: nothing extra, three.js, Phaser or PixiJS
Godot 4Godotsrc/GDScript, C# or GDExtension
UnityUnityAssets/Unity compiles only Assets/ and Packages/
Unreal Engine 5UnrealSource/<Module>/C++ and Blueprints

/setup-engine pins the engine version and writes its reference docs (docs/engine-reference/<engine>/). With no engine set, /prototype builds in the browser first; you pick an engine after you have played the game. Each engine's folders and default commands come from one table, .claude/engines/engines.tsv. If your code or tests live somewhere else, set engine.code_root or engine.test_root in project.yaml.

Configuration

`