/gamedev-kit:initfrom gamedev-kit
Initializes a game repository for gamedev-kit: detects or selects an engine based on target platforms (phone, computer, browser), installs config files, GDD template, CLAUDE.md rules, balance table, and engine templates. Safe to re-run.
Ships in gamedev-kit. 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; scripts run unread.
Run at the game repo root. Existing files are not touched, so re-running is safe.
Re-running in an already-installed project overwrites nothing and does three things: creates document templates the kit has gained since (e.g. docs/DESIGN.md) if missing,
reports config sections missing from kit.config.json (copying them in is your job — it does not edit the file), and skips the engine template files (the value file and what else the engine brings).
Why it skips the engine template files: in a project that moved the value file or deliberately deleted a template, creating the same file again makes a duplicate. To really reinstall, --files.
It does not touch CLAUDE.md, and if the kit rules are an old version it says so — aligning them is "Aligning the kit rules" below.
Which engine.
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --detect
If the folder is already an engine project (or the kit is already installed), it names the engine — use it and do not ask.
Otherwise it lists the engines the kit supports, each with where its games can be played and what it needs — facts only; the kit keeps no opinion on which to pick.
Ask about the player, not the tool, in one short decision: where will people play it — a phone (Android · iPhone), a computer (Steam), a browser (shared by a link) —
more than one may be picked, and whether a store or a computer may come later even if it starts in a browser. Then name the engines that reach every place picked,
and offer in one line to recommend one ("want a recommendation? I'll look up how they compare now"). Do not recommend unasked.
On yes, look it up then — search the web for how those engines compare today for a game like the one described (2D or 3D, its size, the places picked),
and recommend only among the engines --detect listed (the kit runs no other), with why in a line or two and the sources' links. Where the web cannot be searched, say so and let the user pick from the list.
If only one engine reaches the places picked, say it is that one and go on. If the user already said where it is played or which engine ("a Godot one", "for Android"), do not ask — say in one line which engine that means and go on.
Uploading is not the kit's (the user asks Claude Code when the game is ready).
If the repo belongs to any other engine, do not install and say so.
Keep what the user said about the game — it is the first answer of the GDD interview that follows (step 9), not to be asked again.
The engine project — only if step 1 found none. Finding the editor and creating the project are not the kit's: do them with the engine's own tools
(its command line, or its MCP server if one is connected). Installing the editor, its build modules for the places picked and signing in to its hub are the user's —
a download of several GB, so say what to install and wait; do not run an install unasked. Where the editor lives on this machine goes under ## This game's rules in CLAUDE.md (step 4).
Install.
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" <engine>
Installed: kit.config.json · docs/GDD.md · docs/DESIGN.md · CLAUDE.md · the engine's template files (the value file and what else the engine brings) · .gitignore lines (the Excel lock file and what the engine generates — lines already present are not repeated; --gitignore adds only those).
Then let the engine read what was installed once (compile · import — the engine rules' "Running" says how), so the files it creates beside them (.meta, import caches) appear; fix any error before going on.
If CLAUDE.md was newly created, fill in <game name> (and the title of docs/GDD.md — a CLAUDE.md or GDD made by an older kit has <게임 이름> there), and under the existing ## This game's rules heading at its end write where the editor lives on this machine
and where the game is played — do not add a second heading. If CLAUDE.md already existed, do not touch it —
if it reports no kit rules block, ask the user whether to do "Aligning the kit rules" below.
If the project structure differs from the template, align it. To keep the value file elsewhere, move the file and edit balance-table.code in
kit.config.json. Replace the three example value lines in the value file with the game's values.
Create the table and check. Create data/balance.xlsx with the balance-table skill's export, and check with the gdd-sync skill that
a report comes out. It works if the GDD template's example row (BAL.PLAYER.HP) pairs with the value file's example value and shows as synced.
Assets are the user's. The kit makes none: the cycle runs on placeholders, and the user's files — made however they like (their own skills) — go in the slots.
The dashboard — one question, at most. The dashboard shows every game on this machine on one page (optional; it needs git and Node.js).
Run python3 "${CLAUDE_SKILL_DIR}/../board/scripts/board.py" serve --status and command -v node git, then:
serve (it joins the game and sends its board in seconds).serve
and relay its last lines (where it is, how to reach it from another device)./gamedev-kit:board, needs Node.js).
A no is final for this init; nothing else in the kit depends on it.Go on to the game. The kit is installed and the game is still empty. If the user came in with a game in mind ("I want to make a game where …"),
go straight on to the start skill — what they said is its first answer: say it back as the loop it describes and ask only what it leaves open.
If they only asked to install, say in one line that saying what game they want (or /gamedev-kit:start) takes it from here — GDD → concept → the first cycle's goal.
/gamedev-kit:init rules)In the game's CLAUDE.md, the kit's part is the single span between <!-- gamedev-kit start … --> and <!-- gamedev-kit end --> (a block written by an older kit has gamedev-kit 시작 / gamedev-kit 끝 there — it is found the same way, and gets the new markers when it is replaced) — it holds the common rules (GDD sync · balance table · cycle …) and
that engine's rules (Running · Verification · Pitfalls), and ends with two import lines — @~/.config/gamedev-kit/rules/rules.md and …/rules-<engine>.md — that bring in the user's own rules
from earlier games (the feedback skill's ledger; the files live outside the game, and init makes them when they are missing).
The first time a session opens the game, Claude Code asks the user to allow an import from outside the project — say in one line that it is their own rules file.
When the kit bumps its version, replace only that span wholesale. Outside the block is the game's and is not touched.
At session start a hook looks at the block: an old version it replaces by itself (only the block, and only if nobody edited inside it) and says so in one line; a missing or hand-edited block it only reports. So after the kit is updated there is normally nothing to run.
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" <engine> --rules
git diff CLAUDE.md and relay it in one or two lines.--force only when the user says it may be discarded."init": { "rules": false } in kit.config.json — the hook neither replaces nor reports.In engines/<name>/ put kit.config.json (code extension · value-line regex · asset formats and folders), CLAUDE.md (the engine rules appended to the game's
CLAUDE.md), files/ (files copied as-is into the game repo), project.json (how to recognise a project and when to pick the engine — read by init.py, not copied into the game;
its keys are listed at the top of init.py) and gitignore (lines appended to the game's .gitignore). init.py has no branch per engine — everything it needs is in those files.
Add a value file in that engine's syntax to CODE in tests/test_tools.py to check that the tools read and edit it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
game-development, project-setup, gamedev-kit, engine-selection
npx claudepluginhub dudwns0921/claude-gamedev-kit --plugin gamedev-kit9 skills in this plugin
/balance-tableKeeps the balance table (data/balance.xlsx) — an Excel sheet where the game's balance numbers are seen at a glance — in step with the balance value file in code, which is what the game runs on. Code → table (export; a hook does it whenever the value file changes), table → code (bake), are they equal (check). Engine-agnostic (kit.config.json sets the shape of a value line). Use when the user says "밸런스 표" ("balance table"), "엑셀" ("Excel"), "표 구워줘" ("bake the table"), "bake", "표랑 코드 맞춰" ("align the table and the code"), "표 보여줘" ("show me the table"); the user says they changed a number in the table (bake → gdd-sync to-gdd); the table does not exist yet or looks out of date (export); before making a build that goes out to players (check)./boardDraws the game's status board — HTML pages made by a script. First screen: the cycle in hand (its goal in one line, where it stands, its tasks, what waits on the user), then the stages of play in the order the player meets them, each with what is still open in it (problem · not made · placeholder · to judge), counts of what is left. A card opens that stage's page: GDD rows, art, sounds, checks, open questions, the cycle tasks that touched it. Everything is read from the GDD table, the asset folders, cycle and playtest documents. Once drawn, it redraws itself as the documents change — a hook runs the script, no model involved. Use when the user says "현황판" (status board), "보드 보여줘" (show me the board), "지금 어디까지 됐어" (how far along are we), "진행 상황 한눈에" (progress at a glance), "얼마나 만들었어" (how much is made), asks to see progress or the decisions so far as a page, or says the board looks stale or wrong. Also the review page — what waits on the user with a button per answer (decisions, the one thing per built cycle only the user can judge) — and the private claude.ai link that carries board and review to a phone: use when the user says "리뷰 페이지" (review page), "폰으로 보게 해줘" (let me see it on my phone), "링크로 올려줘" (put it on a link), "답 달았어" · "답 읽어줘" (I answered · read the answers). And the dashboard — every game on this machine on one page, run locally: "대시보드 띄워줘" (start the dashboard), "현황판 서버" (board server), "게임 다 같이 보자" (all games together). And the play route — the game's screens shot along one route at the end of every build, seen build by build in the dashboard's Play tab: "플레이 캡처" (play captures), "화면 기록" (screen history), "경로 찍어줘" (shoot the route), "캡처 어떻게 바뀌었어" (how have the screens changed)./ceoRuns a game's cycles for the user in the background — several at once, one headless Claude Code run (a worker) per step — while the user only decides and plays. This window coordinates: it proposes the next goals, starts workers for the cycles that can move, takes the dashboard's answers, and keeps the build turn and the commits in order. It decides nothing: every question stays a decision for the user, on the dashboard. Use when the user says "CEO", "알아서 돌려줘" (run it for me), "사이클 자동으로" (cycles automatically), "병렬로 돌려" (run them in parallel), "뒤에서 진행해" (go on in the background), "다음 뭐 하지" (what next) in a game where they want the cycles run for them; when the first cycle's goal is agreed (the start skill hands over here); when a session starts in a game the CEO runs (its session-start notice says so) and the user says "계속" · "이어서" (go on); or when this window was started for it and is woken by answers or by a worker ending. Not for working on one cycle by hand in this window (→ cycle)./cycleDrives one game-dev cycle — Goal → Spec → Design → Plan → Build → Play — through a single document (docs/cycle/). Systems designer, designer and developer agents work stage by stage; every decision goes back to the user. Use when the user states a bundle of goals ("이번 사이클", "다음 버전 만들자", "이번엔 ○○ 를 넣자" — "this cycle", "let's make the next version", "this time let's add ○○"); says "사이클 이어서", "다음 단계", "어디까지 했지" ("continue the cycle", "next stage", "where were we"); answers a decision ("D2 는 ①로", "D2 is ①"). Also how work crosses sessions — the document holds the state, so there is no separate handoff note: use when the user says "세션 바꾸자", "새 세션에서 이어가자", "인계 메모 남겨줘", "여기까지 정리해줘" ("let's switch sessions", "let's continue in a new session", "leave a handoff note", "wrap up where we are"), or in a new session "이어서 하자", "아까 하던 거" ("let's continue", "what we were doing"). And several cycles at once, one per session — "다른 세션에서 사이클 하나 더", "동시에 돌리자", "병렬로" ("another cycle in another session", "run them at the same time", "in parallel"). Not for one-line fixes. Not in a game the CEO runs (its session-start notice says so) — there "이어서" · "계속" go to the ceo skill, unless the user asks to work on a cycle by hand./feedbackKeeps the user's own rules — what their games taught that would trip them again (a trap, a way to verify), one line each, on this machine and loaded into every game of theirs — and sends them to the kit's repository as GitHub issues, so the kit grows from every game that uses it. Rules are written where the game trips (add), go to the kit by themselves once the user has said so (auto · push), or when the user sends them (preview · send); a script blocks anything that names a game or a date. When the kit has taken a rule in (its issue closed as completed), the user is asked whether to drop their copy. Use when a cycle · playtest step writes down a lesson (add); when the user says "내 규칙 보여줘" ("show my rules"), "이건 내 규칙으로" ("make this one of my rules"), "내 규칙에서 빼줘" ("drop it from my rules"), "피드백 보내줘" ("send the feedback"), "키트에 올려줘" ("send it up to the kit"), "배운 거 올리자" ("let's send what we learned"), "이슈로 올려줘" ("open it as an issue"); also turns the user's ways of working — how they make things, the tools · services · MCP servers they use — into their own skills on this machine, never sent: "앞으로 에셋은 이렇게 만들자" ("from now on, make assets like this"), "이 MCP 로 만들어" ("make it with this MCP"), "내 방식으로 기억해줘" ("remember this as how I do it"); when the session-start notice asks how rules go to the kit, or says some are held back. Not for a problem in the game itself./gdd-syncSyncs the game design document (docs/GDD.md) and the game code in both directions. Matches the IDs in the GDD's Appendix A sync table against `GDD: <ID>` markers in code to find mismatch, missing and orphan items, aligns values in the given direction (GDD→code or code→GDD), then updates the table's Code location and State columns. kit.config.json sets the code extensions and symbol shapes. Always use this skill when: the user says "GDD 동기화" ("sync the GDD"), "문서랑 코드 맞춰" ("align the doc and the code"), "gdd-sync", "GDD 반영" ("put it in the GDD"), "설계대로 됐는지 확인" ("check it was built as designed"), or asks to reflect a number in the GDD; a number, list or rule in the GDD was edited; an item in the GDD table (balance constant, enum, input mapping, HUD layout) was created or changed in code; a new system's implementation gave a GDD missing item matching code. Even if the user does not say "GDD", when the work changes the value of such an item, use this skill to update the table at the wrap-up step.Other plugins' skills for the same job