Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Skill Test Spec: /soak-test
Skill Summary
/soak-test [duration] [focus] generates an observation protocol for an
extended play session — the human plays, the skill writes the plan. Duration is
30m, 1h, 2h or 4h (default 1h); focus is memory, stability,
balance or all (default all). It reads engine.name and performance.*
from project.yaml (falling back to technical-preferences.md), the game
concept or brief, the latest playtest and QA plan, then builds timed
checkpoints for the duration and engine-specific memory guidance whose alert
thresholds are relative to the session's own T+0 baseline, in units recorded as
displayed. The engine tool and counter names it gives are not covered by
docs/engine-reference/, so they are marked NOT SOURCEABLE — pointers the
tester confirms at T+0, recording the tool actually used.
The protocol document carries a Verdict section with PASS / PASS WITH CONCERNS /
NOT ASSESSED / FAIL for the tester to fill in after the session; a short soak
cannot return PASS. The skill asks "May I write this soak test protocol to
production/qa/soak-test-[date]-[duration].md?" before writing, and never runs
the soak itself. Its run steps end with /bug-triage sprint, or /bug-triage full
at workflow: minimal, which has no sprints. No director gates apply.
Static Assertions (Structural)
Checked against the SKILL.md by /skill-test spec — no fixture needed.
- Has required frontmatter fields:
name,description,argument-hint,user-invocable,allowed-tools - Has ≥2 phase headings
- Contains verdict keywords: PASS, PASS WITH CONCERNS, NOT ASSESSED, FAIL
- Contains "May I write" collaborative protocol language before writing the protocol
- Has a next-step handoff (
/bug-triage sprintafter the session,/bug-triage fullatworkflow: minimal;/smoke-checkafter fixing a FAIL)
Director Gate Checks
None. /soak-test is a QA planning utility. No director gates apply.
Fixture Defaults
Every case's project.yaml sets modes.rigor: minimal and
modes.automation: collaborative, with no project.local.yaml, unless its own
Fixture says otherwise. Rules: studio-tests/CLAUDE.md §
Fixture defaults.
Test Cases
Case 1: Happy Path — 2-hour, all-focus soak on Godot
Fixture:
project.yamlhasengine.name: Godot,performance.target_framerate: 60andmodes.workflow: standard(pinned: unset resolves to minimal, which ends the run steps with/bug-triage full, Case 6)design/gdd/game-concept.mdstates the intended session length- The user approves the write
Input: /soak-test 2h all
Expected behavior:
- Skill loads context: engine, performance budgets, concept, latest playtest and QA plan
- Checkpoints for
2h: T+0, T+20, T+40, T+60, T+80, T+100, T+120 - Godot memory items: the Debugger's memory monitors, Static Memory (unit as
displayed), Object Count, Orphan Nodes — names marked NOT SOURCEABLE, since
docs/engine-reference/godot/does not cover them, for the tester to confirm at T+0; alert when memory grows > 20% from T+0 after the first 15 minutes; Orphan Nodes must return to its T+0 value after a scene unload - Stability items (60 fps target) and balance/fatigue items are both included
- Protocol document has Pre-Session Setup, Baseline (T+0), a Checkpoint Log per checkpoint, Post-Session Analysis, and a Verdict section left for the tester
- Skill asks "May I write this soak test protocol to
production/qa/soak-test-[date]-2h.md?" - After writing, prints the run steps ending with
/bug-triage sprint
Assertions:
- Checkpoints are exactly T+0, T+20, T+40, T+60, T+80, T+100, T+120
- Memory thresholds are relative to T+0, and the unit is recorded as displayed (no unit assumed)
- The Godot tool and counter names are marked NOT SOURCEABLE, not presented as verified, and Pre-Session Setup asks for the tool actually used
- Memory, stability and balance observation items are all present (focus
all) - "May I write" is asked with
production/qa/soak-test-[date]-2h.md - The skill issues no verdict itself — the protocol's Verdict section is left for the tester
Case 2: No Arguments — Defaults applied
Fixture:
- No arguments provided; engine configured
Input: /soak-test
Expected behavior:
- Duration defaults to
1h, focus toall— no questions are needed to start - Checkpoints: T+0, T+15, T+30, T+45, T+60
- Protocol header records
Duration: 1handFocus: all - Skill asks "May I write this soak test protocol to
production/qa/soak-test-[date]-1h.md?"
Assertions:
- Duration
1hand focusallare used when no argument is given - Checkpoints are exactly T+0, T+15, T+30, T+45, T+60
- The output path ends
-1h.md - Nothing is written before the "May I write" approval
Case 3: Narrow Focus on Unreal — 4-hour memory soak
Fixture:
project.yamlhasengine.name: Unreal
Input: /soak-test 4h memory
Expected behavior:
- Checkpoints for
4h: T+0, T+30, T+60, T+90, T+120, T+180, T+240 - Unreal memory items: a memory readout at each checkpoint —
stat memory, marked NOT SOURCEABLE sincedocs/engine-reference/unreal/does not cover it; record Physical Memory Used and Available (units as displayed) - Alert threshold: Physical Memory Used growth > 20% over the full soak, against this run's T+0 — no absolute MB threshold
- Balance/fatigue observation items are not generated (focus is
memory) - Output path
production/qa/soak-test-[date]-4h.md
Assertions:
- Checkpoints are exactly T+0, T+30, T+60, T+90, T+120, T+180, T+240
- The Unreal threshold is a relative > 20% growth, not an absolute size
-
stat memoryis marked NOT SOURCEABLE, a pointer to confirm rather than a verified command - Balance/fatigue items are omitted for focus
memory - "May I write" names the
-4h.mdpath
Case 4: No Performance Budgets — "not set", never invented
Fixture:
project.yamlhasengine.name: Unityand noperformanceblocktechnical-preferences.mdPerformance Budgets are[TO BE CONFIGURED]
Input: /soak-test 30m memory
Expected behavior:
- Skill falls back from
project.yamltotechnical-preferences.mdfor budgets - Budget notes read
Memory ceiling: not set,Target FPS: not set,Frame budget: not set— no number is supplied in their place - Checkpoints: T+0, T+10, T+20, T+30
- Unity memory items: a memory profiler, marked NOT SOURCEABLE (not covered by
docs/engine-reference/unity/); record Total Reserved Memory, GC Allocated, Object Count (units as displayed); alert when GC Allocated grows monotonically across 3+ checkpoints - Skill asks "May I write" before writing
production/qa/soak-test-[date]-30m.md
Assertions:
- Missing budgets are recorded as "not set", not filled with defaults
- Checkpoints are exactly T+0, T+10, T+20, T+30
- The Unity threshold is the unit-free monotonic-growth check
- "May I write" is asked before the file is written
Case 5: Director Gate Check — No gate; soak-test is a planning utility
Fixture:
- Engine configured; valid duration and focus provided
Input: /soak-test 1h stability
Expected behavior:
- Skill generates and writes the soak test protocol
- No director agents are spawned
- No gate IDs appear in output
Assertions:
- No director gate is invoked
- No gate skip messages appear
- The run ends at "Protocol written." with the run steps — no gate verdict, and no soak verdict issued by the skill
Case 6: Minimal workflow — the run steps end with /bug-triage full
Fixture:
project.yaml:engine.name: Godot,modes.workflow: minimal(pinned: Case 1 pinsstandard; this case tests the opposite)- No
production/sprints/directory; the user approves the write
Input: /soak-test 1h all
Expected behavior:
- The protocol is built and written as in Case 2
- After writing, "Protocol written." lists the run steps; step 5 reads
/bug-triage full, sinceworkflow: minimalhas no sprints - The closing line still says to run
/smoke-checkagain after fixing a FAIL
Assertions:
- The post-session step is
/bug-triage full, not/bug-triage sprint - Steps 1–4 and the
/smoke-checkline are unchanged from thestandardrun - The workflow is resolved from
project.yamland changes only that step
Protocol Compliance
- Parses
[duration] [focus], defaulting to1handall - Uses the Phase 3 checkpoint table for the chosen duration
- Memory alert thresholds are ratios or deltas against T+0; units are recorded as displayed
- Engine tool names not covered by
docs/engine-reference/are marked NOT SOURCEABLE; a memory tool the tester cannot find leaves the verdict NOT ASSESSED - The protocol's Verdict section offers PASS / PASS WITH CONCERNS / NOT ASSESSED / FAIL and states a short soak cannot return PASS
- Asks "May I write" before creating
production/qa/soak-test-[date]-[duration].md - Never attempts to run the soak itself
Coverage Notes
- The
stabilityandbalancefocus values follow Case 3's pattern with the other observation groups; not separately tested. - At
rigor: minimalthe skill readsdesign/game-brief.mdinstead of the game concept; not separately tested. - Executing the protocol is outside this skill's scope — it generates the plan, a human runs it.