New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
0views in
the last 30 days

quick-question

The control plane for game-dev agents — close the loop with verified compile, test

Built with Claude Code

by tykisgod · Unclaimed · added Nov 3, 2026
no ratings0 comments

quick-question

quick-question

The control plane for game-dev agents.
Close the loop — compile, test, review, and ship — across Unity, Godot, Unreal, and S&box.
Claude Code-first. Open to any agent via HTTP and MCP.

Version License Platform

Unity
Unity
Godot
Godot
Unreal
Unreal
S&box
S&box

English | 中文 | 日本語 | 한국어


✅ Verified path: Claude Code + Unity 2021.3+ on macOS or Windows. Daily-driven, end-to-end battle-tested. This is the recommended setup if you want everything in this README to "just work".

🧪 Experimental — contributions welcome: Godot, Unreal, and S&box adapters ship as scaffolds. The bridge code, command surface, and CI smoke tests are in place, but no one has yet shipped a real game using any non-Unity adapter — they have not been validated in actual development use. Same caveat for non-Claude hosts (Codex CLI, Cursor, Continue, other MCP hosts): the runtime is agent-agnostic by design, but the verified loop is Claude Code-only. If you're building with one of these, your bug reports and PRs are how the adapter graduates to "verified" — see CONTRIBUTING.md.

Why qq

AI agents can write code. They cannot, by default, tell you whether the code compiles, the tests pass, the behavior is right, or whether they just produced 500 lines of plausible-looking nonsense. In a game project — where "running" means the editor opens, the scene loads, and frame N+1 looks like you wanted — that gap is the entire problem.

quick-question is the runtime layer that closes it. Four work modes — prototype, feature, fix, hardening — are first-class state, not flavor text. A prototype keeps the compile green and stays playable; a hardening pass forces tests, review, and document/code consistency before shipping. The artifact-driven controller (/qq:go) reads .qq/state/*.json and your work_mode, then recommends the concrete next skill — instead of guessing from chat history.

The runtime is engine-symmetric and agent-agnostic. Unity has the deepest integration: compile and test drive the open Editor through the official Unity CLI (unity command / unity job). Godot, Unreal, and S&box are at runtime parity through Python bridges. Claude Code gets 28 skills, auto-compile hooks, and review gates. Codex, Cursor, Continue, and any MCP-compatible host get the same underlying runtime through MCP and plain scripts. Structured state in .qq/ is plain JSON on disk — readable by any agent, across sessions.

The methodology is grounded in the document-first approach described in AI Coding in Practice: An Indie Developer's Document-First Approach.

How it works

Edit .cs/.gd/.cpp file
  → Hook auto-compiles via qq-compile.sh
    → Result + error context written to .qq/state/
      → /qq:go reads state, recommends next skill
        → Skill runs, writes new state
          → Loop

Four layers cooperate:

  • Hooks fire on every Claude Code tool call. PostToolUse compiles after Edit/Write on engine source files via qq-compile.sh (the multi-engine dispatcher). PreToolUse blocks edits during review verification, or after a red compile, until the relevant gate clears. Stop blocks session end if skills were modified without /qq:self-review. All gate files are keyed by the Claude Code session id, so concurrent sessions never block each other.
  • Controller — /qq:go reads .qq/state/*.json, recent run records, your work_mode, and the active policy_profile, then routes to the next skill. It is a controller, not an implementation engine — it only falls back to context heuristics when state is ambiguous.
  • Engine bridges — the official Unity CLI for Unity (tykit only as a fallback in projects that still have it), godot_bridge.py, unreal_bridge.py, sbox_bridge.py. Compile, test, console, find / inspect — verified execution, not blind file writes.
  • Runtime data — .qq/runs/*.json (raw run logs), .qq/state/*.json (latest compile / test state), .qq/state/session-decisions.json (cross-skill decision journal), .qq/telemetry/. Plain JSON, readable by any agent across sessions.

For code review, two symmetric modes share the same verification loop: Codex review (code-review.sh → codex exec, cross-model) and Claude review (claude-review.sh → claude -p, single-model). Each produces findings, then independent verification subagents check every finding against actual source and flag over-engineering — up to 5 rounds until clean. The unified review gate (scripts/hooks/review-gate.sh) blocks edits until all verification subagents complete (three-field format: <ts>:<completed>:<expected>). MCP exposes one-shot qq_code_review and qq_plan_review tools for non-Claude hosts.

See Architecture Overview, Hook System, Cross-Model Review, and Worktrees for layer-by-layer detail.

Engines

Engine Compile Test Editor control Bridge
Unity 2021.3+ ✅ verified official Unity CLI (unity command recompile) / tykit / refresh trigger EditMode + PlayMode official Unity CLI qq_mcp.py (qq_* tools)
Godot 4.x 🧪 preview GDScript check via headless editor GUT / GdUnit4 Editor addon godot_bridge.py
Unreal 5.x 🧪 preview UnrealBuildTool + editor commandlet Automation tests Editor command (Python) unreal_bridge.py
S&box 🧪 preview dotnet build Runtime tests Editor bridge sbox_bridge.py

Unity is the verified path — daily-driven through the official Unity CLI against an open Editor (see Unity Editor channel). Godot, Unreal, and S&box ship as experimental scaffolds: the adapter code, bridge surfaces, and CI smoke tests are in place, but no one has yet built a real game on top of any non-Unity adapter. Treat them as starting points for contributors, not as production-ready paths — see CONTRIBUTING.md.

Install

Requirements

  • macOS or Windows (Windows needs Git for Windows for bash + core utilities)
  • Engine: Unity 2021.3+ / Godot 4.x / Unreal 5.x / S&box
  • python3 (required), jq (recommended — hook scripts fall back to python3 when jq is missing)
  • Claude Code for the full skill + hook experience
  • Codex CLI (optional — enables cross-model review)

Install the runtime

All agents share the same runtime install. It auto-detects your engine and writes scripts, bridges, and config into the project.

git clone https://github.com/tykisgod/quick-question.git /tmp/qq
/tmp/qq/install.sh /path/to/your-project          # auto-detect engine
/tmp/qq/install.sh --wizard /path/to/your-project  # interactive wizard
/tmp/qq/install.sh --preset quickstart /path/to/your-project  # one-shot preset
rm -rf /tmp/qq

Available presets: quickstart (minimal), daily (recommended), stabilize (full checks for release prep). Use --profile, --modules, --without for fine-grained control.

Connect your agent

Agent Setup What you get
Claude Code /plugin marketplace add tykisgod/quick-question
/plugin install qq@quick-question-marketplace
All 28 /qq:* slash commands, auto-compile hooks, review gates, MCP — full experience
Codex CLI python3 ./scripts/qq-codex-mcp.py install --pretty Project-local MCP bridge; use qq-codex-exec.py to pin the working root
Cursor / Continue / other MCP hosts Add qq to mcpServers in your host config: command: python3, args: ["./scripts/qq_mcp.py"], cwd: /path/to/project Compile, test, policy check, project state, and review as qq_* MCP tools; Godot, Unreal, and S&box add their editor bridge tools — see docs/dev/agent-integration.md
Any shell Run ./scripts/qq-compile.sh / ./scripts/qq-test.sh from the project root The same compile and test path the hooks use; for other Unity Editor queries use the official Unity CLI — see shared/unity-cli-reference.md

For non-Unity engines, call the bridge scripts directly (e.g. python3 ./scripts/godot_bridge.py compile).

Quick start

80/20 principle. qq has 28 commands but most of the value comes from 4. This section is the fastest path to ROI — learn the 20% that matters, ignore the rest until you actually need it.

Step 1 — Set your default work mode

work_mode controls how strict the workflow is. Pick the lightest mode that fits the task; escalate later only when needed.

Mode When What it does
prototype Trying ideas, gray-box, fun check Compile-green only. Skips formal docs and review.
feature ⭐ Default for normal feature work Plan + execute + test + targeted review. Balanced.
fix Reproducing and fixing a known bug Repro first, smallest safe fix, regression test.
hardening Pre-merge, pre-release, risky refactor Tests + review + doc-drift + best-practice. The strict gate.

Set it once in .qq/local.yaml:

work_mode: feature

The most common new-user mistake is leaving the project on hardening by default, then complaining qq is "too noisy". Stay in feature and only flip to hardening at merge time.

Step 2 — Learn one loop, not 28 commands

For 90% of tasks this is all you need:

/qq:go "what you want to do"   # picks the right next step from .qq/state + work_mode
/qq:execute                     # implement (auto-compile on every .cs edit)
/qq:test                        # run tests + scrape runtime errors from Editor.log
/qq:best-practice               # quick anti-pattern + perf scan

/qq:go is the adaptive entry point — it reads .qq/state and your work_mode, then routes to the right skill. For clear tasks, jump straight to /qq:execute. For vague ones, let /qq:go route you through /qq:design → /qq:plan first.

The auto-compile hook is what makes this worth the setup: every .cs edit triggers compile, and the compile gate blocks further edits while compilation is red until you fix it. The single biggest time sink the loop kills is "I think it builds — let me find out tomorrow".

Step 3 — Three templates that cover most work

Feature development

/qq:go "add a fatigue recovery system to crew"
/qq:execute
/qq:test
/qq:best-practice

Bug fix (qq enters fix mode → repro → minimal patch → regression test)

/qq:go "fix the harbor docking bug, repro first"
/qq:execute
/qq:test

Pre-merge gate (only when you're about to push or PR)

/qq:best-practice
/qq:claude-code-review        # or /qq:codex-code-review for cross-model
/qq:doc-drift
/qq:test
/qq:commit-push

Step 4 — What to skip in your first week

Resist using these until the basic loop above is predictable:

  • /qq:bootstrap — wait until you trust the loop
  • Heavy doc ceremony (/qq:design → /qq:plan → /qq:doc-drift for every task) — only use design/plan when the task is genuinely vague. They're not a tax.
  • Cross-model review on every change — save /qq:codex-code-review for merge gates or large refactors. It's 5–10 min per round; running it after every small edit kills the rhythm.
  • /qq:go --auto — end-to-end automation works, but build trust in manual runs first
  • Custom profiles / packs / module switching — defaults are fine for week one

Step 5 — Customize CLAUDE.md as real guardrails

Install copies a CLAUDE.md template to your project. Replace the boilerplate with 5–8 hard rules that match your project, not an essay. Example rules for a Unity game project:

  • Runtime logic must not use reflection
  • Do not modify UI / prefab names / inspector fields unless asked
  • No GetComponent / FindObjectOfType in Update / FixedUpdate paths
  • After editing .cs, must verify compile-green before reporting "done"
  • Prefer existing patterns; do not invent a second framework
  • No abstraction layers for hypothetical future requirements

This is the single highest-ROI customization — it cuts the rate at which the model "gets clever" in the wrong direction.

Two warnings

  1. Don't read raw .qq/runs/*.json logs in your prompts. They're operational telemetry, not context. Use qq-project-state.py --pretty for the structured snapshot when you actually need state.
  2. Don't run cross-model review after every small edit. It makes the loop feel slow and you'll start hating qq for the wrong reason. Reserve it for merge gates and large refactors.

Success check (week 1)

After a week, ask yourself:

  1. Did manual "back to Unity to check compile" trips drop noticeably?
  2. Did "AI says done but it isn't" rework drop?
  3. Did mid-size feature wrap-up time get shorter?
  4. Did review-gate ceremony start feeling annoying?

If 1–3 improved and 4 is tolerable, scale up. If 4 dominates, drop the project to feature or prototype and only flip to hardening at merge time — that's exactly what the profile system is designed for.

→ Deeper walkthroughs: Getting Started · Configuration · Worktrees

Commands

Workflow

Command Description
/qq:go Detect workflow stage, recommend next step
/qq:bootstrap Decompose a game vision into epics, orchestrate full pipeline for each
/qq:design Write a game design document
/qq:plan Generate technical implementation plan
/qq:execute Smart implementation with auto-compile verification

Testing

Command Description
/qq:add-tests Author EditMode, PlayMode, or regression tests
/qq:test Run tests and check for runtime errors

Code review

Command Description
/qq:codex-code-review Cross-model: Codex reviews, Claude verifies (max 5 rounds)
/qq:codex-plan-review Cross-model plan / design review
/qq:claude-code-review Claude-only deep code review with auto-fix loop
/qq:claude-plan-review Claude-only plan / design review
/qq:best-practice Quick scan for anti-patterns and performance issues
/qq:self-review Review recent skill / config changes
/qq:post-design-review Review a design doc from implementer's perspective — check consistency, buildability, codebase gaps

Analysis

Command Description
/qq:brief Architecture diagram + PR review checklist vs base branch
/qq:timeline Commit history grouped into semantic phases
/qq:full-brief Run brief + timeline in parallel
/qq:deps Analyze .asmdef dependencies (Mermaid graph + matrix)
/qq:doc-drift Compare design docs against actual code
/qq:doc-sync Reconcile drifted docs — detect, draft fixes, land only what you approve

Utilities

Command Description
/qq:commit-push Batch commit and push
/qq:explain Explain module architecture in plain language
/qq:grandma Explain concepts using everyday analogies
/qq:tech-research Search open-source communities for technical solutions
/qq:record Record captioned review videos and screenshot sets of the running game, self-check them, and build a review page
/qq:design-research Search for game design references and patterns
/qq:changes Summarize all changes from the current session
/qq:doc-tidy Scan and recommend documentation cleanup

Work modes

Mode When Must do Usually skip
prototype New mechanic, greybox, fun check Keep compile green, stay playable Formal docs, full review
feature Building a retainable system Design, plan, compile, targeted tests Full regression on every change
fix Bug fix, regression repair Reproduce first, smallest safe fix Large refactors
hardening Risky refactor, release prep Tests, review, doc / code consistency Prototype shortcuts

Set the shared default in qq.yaml. Override per-worktree in .qq/local.yaml. work_mode and policy_profile are independent: the first answers "what kind of task is this?", the second answers "how much verification does this project expect?". A prototype and a hardening pass can share the same policy profile, or not. See Configuration for the full reference.

Configuration

Three files control qq's behavior in your project:

  • qq.yaml — runtime config

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#game-dev · #coding-agents · #unity