# DeepSeek Harness Game Studios ![License](https://img.shields.io/badge/license-MIT-blue.svg) ![Version](https://img.shields.io/badge/version-0.3.8-orange.svg) ![Agents](https://img.shields.io/badge/agents-49-purple.svg) ![Skills](https://img.shields.io/badge/skills-83-green.svg) ![Hooks](https://img.shields.io/badge/hooks-19-orange.svg) ![Rules](https://img.shields.io/badge/rules-14-blue.svg) ![Port of CCGS](https://img.shields.io/badge/port%20of-CCGS-lightgrey.svg) [![English](https://img.shields.io/badge/lang-English-blue.svg)](README.md) [![简体中文](https://img.shields.io/badge/lang-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg)](README.zh-CN.md) [Install](#install) · [What you get](#what-you-get) · [A round of play](#a-round-of-play) · [Status](#implementation-status) · [Verification](#verification) · [License](#license) Turn a single DeepSeek Harness session into a full game development studio. **49 role cards. 83 skills. One coordinated studio.** You describe the game; the studio asks the questions a real one would, writes the documents a real one writes, keeps the project's memory between sessions, and plays the result in a browser to see what broke. It is a **port of [Claude Code Game Studios](https://github.com/Donchitos/Claude-Code-Game-Studios) (CCGS)** — the skills, agents, rules and documentation come from upstream (MIT); this repository provides the DeepSeek Harness runtime: Node hooks, skill generation, machine-level install, and the plugin bridge. ## Provenance | | | |---|---| | Upstream project | [`Donchitos/Claude-Code-Game-Studios`](https://github.com/Donchitos/Claude-Code-Game-Studios) | | Upstream baseline | **v1.1.2** (commit `b21fa0f`, 2026-09-29) | | Upstream line synced into the content source | **v1.3.0**: +4 skills (`/cut`, `/next-step`, `/project-settings`, `/write-changelog`), +1 rule (`scene-files`), +5 hook scripts | | Upstream license | **MIT** (Copyright © 2026 Donchitos) — reused here | | This repository | `deepseek-harness-game-studios` (DSGS) **v0.3.8** | | Port strategy | Dual stack, one source: `.claude/` is the content source (upstream text, kept verbatim); `.dsh/**` is generated by `tools/build-dsh.mjs` | The content source is upstream's **74** (v1.1.2 baseline) skills, plus **4** synced from the v1.3.0 line, plus **5** that only exist here; its **18 upstream hook scripts → 19 Node implementations** are what makes the DSH port runnable. Upstream targets Claude Code (`.claude/`, `.sh` hooks, `bash` one-liners, `@path` imports). None of that runs under DSH (no `bash` tool, piped child processes are denied by the sandbox, `@path` is not expanded), so DSGS generates a DSH-runnable equivalent instead of editing upstream content, and proves **no content loss**. > The plugin package bundles the framework under `payload/` — you never need to look at it while using the plugin. ## Install ### ① Web client `Plugins` → `Add plugin` → paste `https://github.com/HYClub/deepseek-harness-game-studios` → **Install** → restart `dsh web`. ```pwsh dsh plugin --profile web add https://github.com/HYClub/deepseek-harness-game-studios ``` ### ② Desktop client Open the desktop app, then `Plugins` → `Add plugin` → paste the same URL → **Install** → restart the app. On first load the plugin installs the framework at machine level (`~/.dsh/dsgs` plus user-level bootstrap skills). After that: ``` new working directory → new session → type /start ``` `/start` checks whether the workspace is initialised; if not it initialises it first, then walks you through onboarding. ## What you get The core counts below come from the framework's own checks — run them yourself in any workspace: `node tools/check-dsh.mjs` and `node tools/verify-fidelity.mjs`. | | | |---|---| | **83 skills** | the full studio workflow as slash commands, from the first idea through release. | | **49 role cards** | the studio's roles — design, art, audio, narrative, engineering, QA, release, live-ops — as prompt cards plus delegation conventions. A card is read by whoever you delegate to, not installed as an auto-loading agent. | | **14 rules** | coding and content standards, applied to the files you write through the hook bridge. | | **19 hooks** | checks for reads, writes, registries, commits, pushes, and session/subagent events. Three events are mount-only; see Limits. | | **Engines** | Godot, Unity, Unreal and Web references. The version a project pins is what every engine-specific skill reads. | | **Tooling** | config resolution, project state, the status line, the board, the update check, and the whole one-shot pipeline. | ### One command per job | You say | It does | |---|---| | `/start` | initialise this folder as a studio project, then onboard you | | `/brainstorm` `/map-systems` `/design-system` | turn an idea into a map of systems and section-by-section design docs | | `/create-architecture` `/create-epics` `/create-stories` | architecture, epics, and stories a programmer can pick up | | `/team-combat` `/team-level` `/team-narrative` … | run a whole department against one feature | | `/playtest-report` `/balance-check` `/qa-plan` | turn feedback and data into decisions | | `/cut` | propose what to cut so the game finishes — each cut is yours to pick — plus a polish list and dates | | `/today` `/statusline` `/dashboard` | what to do now, as a line, and as an offline board | | `/update` | compare the installed plugin with the newest release and update after you agree | ## A round of play The one-shot pipeline is the shortest path from "an idea" to "a game someone can play", and it is the part most worth watching work: ``` /prototype → one-shot-new prototypes// : page, config, provenance, brief [/run] → one-shot-run headless Chrome plays it from a fresh start and stops where it should, with a screenshot /check → one-shot-check keep pins vs config, brief checklist, evidence, a check record /tune → one-shot-tune a tuned number goes back into config.js with a feel-log line /share → one-shot-share dist/ without the debug panel, and it fails if any file still names it /grow → one-shot-grow guard → copy → replay: a Web project at the root, compared frame by frame with the original ``` A grow session, from installing the toolchain to the final comparison, looks like this: ``` npm ci → added 47 packages npm run build:single → dist-single/index.html 4.14 kB replay --as reference → errors 0 · exact yes replay --as copy → errors 0 · match yes replay --as story → against reference · match yes accept → accepted.tsv + accepted.png ``` `page-shot` finds Chrome, Edge, Chromium or Playwright's headless shell, gives it a profile of its own, talks to it over the DevTools protocol with the WebSocket built into Node (nothing to install), and writes the screenshot. When no browser exists it says so and exits 3 — it never invents a pass. ## Upgrade Run `/update` inside an initialised workspace (0.2.1 and later): ``` /update ``` It reads the installed version and the newest release, shows the commands it will run, and runs them only after you agree. Restart the client afterwards — the new skills appear in a new session. **Is this workspace initialised?** Yes when `.dsh/skills/start/SKILL.md` or `.dsgs-installed.json` exists in the project root. If neither is there, open the project in DSH, start a new session and type `/start`: that initialises it once, and every later session in the same project can use `/update`. **Coming from 0.2.0 or earlier?** `/update` only exists from 0.2.1 on, so the first update is manual: ```pwsh dsh plugin --profile web remove deepseek-harness-game-studios dsh plugin --profile web add https://github.com/HYClub/deepseek-harness-game-studios ``` Desktop app users do the same through `Plugins` (see below). Every update after that is one `/update`. **Desktop app** — the app owns its plugin profile, so the command line cannot change it. Open `Plugins`, uninstall `deepseek-harness-game-studios`, choose `Add plugin`, paste `https://github.com/HYClub/deepseek-harness-game-studios`, install, then restart the app. `/update` still reports the version and tells you when this is needed. ## What the plugin writes to your machine (and how to undo it) | Path | What | |---|---| | `~/.dsh/dsgs/**` | framework payload (skills, agents, rules, hooks, scripts, engines, docs, instruction files) | | `~/.dsh/skills/dsgs-init/SKILL.md`, `~/.dsh/skills/start/SKILL.md` | user-level bootstrap skills | The install never writes to a project and never overwrites project files. Separately, once the hooks are active in a workspace they leave their own logs there (`production/session-logs/`, `.verify-logs/`), and `/start` creates the project folders the studio needs. To undo the install: ```pwsh Remove-Item -Recurse -Force "$env:USERPROFILE\.dsh\dsgs" Remove-Item -Recurse -Force "$env:USERPROFILE\.dsh\skills\dsgs-init","$env:USERPROFILE\.dsh\skills\start" # then uninstall the plugin and restart dsh web ``` ## Scope and trust Two facts worth knowing before you enable this in a folder: - **Hooks are profile-level.** They are installed for the whole DSH profile, not for one workspace: every session in any directory opened under that profile runs them. The plugin resolves the owning project from the session's workspace (or from the launch directory when DSH starts inside a project), pins each hook's working directory to that project, and sends the logs and checks there — but the hook set itself is shared. - **A repository's `.dsh/hooks.json` is executable content.** The plugin runs those commands directly with your user account (the same trust model Claude Code applies to hooks) instead of through the sandboxed shell, because the sandboxed path silently turns every hook into a no-op on Windows. Enable it in repositories you trust, and read `hooks.json` before you open someone else's project. Three hook events the bridge does not map, stated rather than hidden: `Notification` stays dormant (its notice has nowhere to go), `PreCompact` runs off the `session/event` feed (`compaction/start`), and `PostCompact` is not registered by upstream either. ## Limits worth knowing - Pre-action reminders arrive **after** the action; to block before it instead, set the hook row's `advisory: deny`. - Per-agent tool boundaries are written on each role card but DSH cannot enforce a per-agent tool set. - Three hook events are mount-only: `Notification`, `PreCompact`, `PostCompact` (see above). - Playable browser checks need Chrome, Edge, Chromium or Playwright's headless shell; without one the command exits 3 instead of claiming a pass. ## Supporting this project (and upstream) DSGS is a port; the original work — 74 skills, 49 agents, 13 rules and all the documentation at the v1.1.2 baseline — was written by the **upstream author**, and their own support links live in the [upstream repository](https://github.com/Donchitos/Claude-Code-Game-Studios). If this project saves you time, please support **them** first. Issues and contributions about the DSH port itself belong in this repository. ## License MIT License — see [LICENSE](LICENSE). Upstream copyright © 2026 Donchitos; the port layer (generator, Node hooks, plugin, installers, DSGS-only skills, the one-shot tooling) is released under the same license.