{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-soak-test-5014c433a3c8","title":"Soak Test Protocol for Extended Play","summary":"Create a structured protocol for testing game performance over extended sessions, focusing on memory, stability, and balance. The protocol includes defined checkpoints and observation items tailored to the game's session design and engine-specific monitoring tools.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-soak-test-5014c433a3c8","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-soak-test-5014c433a3c8","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-soak-test-5014c433a3c8.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-soak-test-5014c433a3c8\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before starting the soak test, ensure the game is launched from a fresh session, all background applications are closed, and the appropriate performance monitoring tool is open and recording. Confirm the soak target and prior known issues to watch for.","instructions":"---\nname: soak-test\ndescription: \"Soak test protocol for extended play \u2014 what to observe and log for slow leaks, fatigue, late-appearing edge cases.\"\nargument-hint: \"[duration: 30m | 1h | 2h | 4h] [focus: memory | stability | balance | all]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Bash(bash \"*\/.claude\/skills\/soak-test\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys automation,workflow`\n\n**Automation mode**: Resolve `modes.automation` (`project.local.yaml` \u2192\n`project.yaml` \u2192 default `collaborative`). Every `AskUserQuestion` call and\nevery file write follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt).\n\n# Soak Test\n\nA soak test (also called an endurance test) is an extended play session run\nwith specific observation goals. Unlike a smoke check (broad critical path,\n~10 min) or a single-feature playtest (~30 min), a soak test runs for **30\nminutes to several hours** to surface:\n\n- **Memory leaks** \u2014 gradual heap growth that only appears after scene transitions\n- **Performance drift** \u2014 frame time degradation that worsens over time\n- **State accumulation bugs** \u2014 issues that only appear after N repetitions\n  of a mechanic (inventory full, score overflow, AI state corruption)\n- **Fun fatigue** \u2014 mechanics that feel good in a first session but grow\n  repetitive over extended play\n- **Content exhaustion** \u2014 the point where players run out of novel content\n\n**This skill generates the observation protocol and analysis harness \u2014 the\nhuman does the actual playing.**\n\n**Output:** `production\/qa\/soak-test-[date]-[duration].md`\n\n**When to run:**\n- Polish phase \u2014 before `\/gate-check release`\n- After fixing a memory or stability issue (regression soak)\n- When extended play has not been formally tracked\n\n---\n\n## 1. Parse Arguments\n\n**Duration** (default: `1h`):\n- `30m` \u2014 short soak; suitable for testing a single mechanic or scene\n- `1h` \u2014 standard soak; covers most common leak categories\n- `2h` \u2014 extended soak; recommended for first full Polish soak\n- `4h` \u2014 deep soak; required for games with long session design (RPGs, sims)\n\n**Focus** (default: `all`):\n- `memory` \u2014 focus on heap size, object count, leak patterns\n- `stability` \u2014 focus on crash\/freeze\/hang detection\n- `balance` \u2014 focus on fun fatigue, content exhaustion, difficulty perception\n- `all` \u2014 all of the above\n\n---\n\n## 2. Load Context\n\nRead:\n- `project.yaml` \u2014 `engine.name` (for engine-specific memory monitoring\n  guidance) and `performance.*` budgets (memory ceiling, target FPS); for any\n  key absent or empty (including when `project.yaml` has no `performance` or\n  `engine` block), fall back to `.claude\/docs\/technical-preferences.md`\n- `design\/gdd\/game-concept.md` \u2014 intended session length (for comparison against\n  soak duration), core loop description (or `design\/game-brief.md`, the one-page\n  brief that replaces it at `rigor: minimal` \u2014 core loop, and session length only\n  if its \"Who it's for\" line states one). Read it by section: find the headings you\n  need with the Grep tool (pattern `^#`, content mode) and Read those ranges\n  with offset and limit.\n- Most recent file in `production\/qa\/playtests\/` \u2014 prior playtest findings\n  (to avoid re-documenting known issues)\n- Most recent file in `production\/qa\/qa-plan-*.md` \u2014 current sprint test coverage\n  (to understand what has been formally tested vs. what the soak covers)\n\nNote any performance budget targets (`performance.*` from `project.yaml`, else `.claude\/docs\/technical-preferences.md`):\n- Memory ceiling: [N MB, or \"not set\"]\n- Target FPS: [N, or \"not set\"]\n- Frame budget: [N ms, or \"not set\"]\n\n---\n\n## 3. Define Observation Checkpoints\n\nBased on duration, generate timed checkpoints:\n\n**30m soak**: T+0, T+10, T+20, T+30\n**1h soak**: T+0, T+15, T+30, T+45, T+60\n**2h soak**: T+0, T+20, T+40, T+60, T+80, T+100, T+120\n**4h soak**: T+0, T+30, T+60, T+90, T+120, T+180, T+240\n\nAt each checkpoint, the observer records the observation items defined in\nPhase 4.\n\n---\n\n## 4. Generate the Soak Test Protocol\n\n### Memory \/ Stability observation items (if focus = memory or all)\n\nEngine-specific monitoring guidance.\n\n> **Record the unit the tool shows; never convert, and never assume one.**\n> A soak test looks for **growth**, so every threshold below is a *ratio or a\n> delta against this session's own T+0 baseline* \u2014 which is unit-agnostic and\n> stays correct however the editor reports the number. Write the unit down at\n> T+0 exactly as displayed and use it consistently for the rest of the run.\n\n> **NOT SOURCEABLE \u2014 the tool, panel and counter names below are not covered by\n> `docs\/engine-reference\/`**: Godot's Debugger \u2192 Monitors and its memory\n> counters, Unity's Memory Profiler and its fields, Unreal's `stat memory`. Mark\n> them so in the protocol: they are pointers for the tester to confirm in their\n> own editor at T+0, not verified paths. If no memory tool can be found, nothing\n> was measured, and the Verdict section's NOT ASSESSED applies.\n\n**Godot 4:**\n- Open Debugger \u2192 Monitors tab; track `Memory \u2192 Static Memory` and\n  `Object Count \u2192 Objects` across checkpoints\n- Record: Static Memory (**unit as displayed**), Object Count, Orphan Nodes count\n- Alert threshold: Memory growth > 20% from T+0 after the first 15 minutes\n  (some growth on load is expected; sustained growth indicates a leak)\n- **Orphan Nodes is the one absolute number worth watching**: it should return to\n  its T+0 value after a scene unload. A ratio hides that; a non-zero floor that\n  keeps rising is a leak regardless of units\n\n**Unity:**\n- Open Memory Profiler (Window \u2192 Analysis \u2192 Memory Profiler)\n- Record: Total Reserved Memory, GC Allocated, Object Count at each checkpoint\n  (**units as displayed**)\n- Alert threshold: GC Allocated growing monotonically across 3+ checkpoints \u2014\n  a monotonicity check, deliberately unit-free\n\n**Unreal Engine:**\n- Use `stat memory` console command at each checkpoint\n- Record: Physical Memory Used, Physical Memory Available (**units as displayed**)\n- Alert threshold: Physical Memory Used growth **> 20% over the full soak**,\n  measured against this run's T+0. An absolute threshold such as \"> 50MB\"\n  silently assumes both the unit *and* a project scale \u2014 50MB is a rounding\n  error for one game and a catastrophe for another\n\n### Stability observation items (if focus = stability or all)\n\nAt each checkpoint, note:\n- [ ] No crash, hang, or freeze occurred since last checkpoint\n- [ ] Frame rate still within target budget ([target FPS] fps)\n- [ ] Audio still playing correctly (no desync or silence)\n- [ ] All HUD elements still rendering correctly\n- [ ] Input responding as expected (no input loss or lag spike)\n\n### Balance \/ fatigue observation items (if focus = balance or all)\n\nCollect subjective observations at each checkpoint:\n- [ ] Core mechanic still feels rewarding (Y\/N)\n- [ ] Perceived difficulty level: [too easy \/ appropriate \/ too hard]\n- [ ] Any \"I've seen this before\" moments since last checkpoint? (novel content exhaustion)\n- [ ] Any moment of frustration since last checkpoint? Note cause.\n- [ ] Any moment of peak engagement since last checkpoint? Note cause.\n\n---\n\n## 5. Generate the Protocol Document\n\n```markdown\n# Soak Test Protocol\n\n> **Date**: [date]\n> **Duration**: [duration]\n> **Focus**: [memory | stability | balance | all]\n> **Engine**: [engine]\n> **Generated by**: \/soak-test\n\n---\n\n## Pre-Session Setup\n\nBefore starting the soak:\n\n- [ ] Game is running from a **fresh launch** (not resumed from a prior session)\n- [ ] All background applications closed (minimise OS memory interference)\n- [ ] Performance monitoring tool open and recording:\n  - **Godot**: Debugger \u2192 Monitors tab \u2192 Memory section visible\n  - **Unity**: Memory Profiler window open\n  - **Unreal**: `stat memory` ready in console\n  - Tool actually used, as named in this editor: [record it \u2014 the names above\n    are NOT SOURCEABLE from `docs\/engine-reference\/`; none found \u2192 NOT ASSESSED]\n- [ ] Soak target confirmed: [session design intent from game concept]\n- [ ] Prior known issues to watch for: [from most recent playtest \/ qa-plan]\n\n---\n\n## Baseline (T+0) \u2014 Record Before Playing\n\n| Metric | Baseline Value |\n|--------|---------------|\n| Memory \/ Heap | [record before first frame of gameplay] |\n| Object Count | [record] |\n| FPS (first 30 seconds) | [record] |\n| [Engine-specific metric] | [record] |\n\n---\n\n## Checkpoint Log\n\n### T+[N] minutes\n\n**Memory \/ Stability** *(if applicable)*:\n\n| Metric | Value | \u0394 from Baseline | Alert? |\n|--------|-------|-----------------|--------|\n| Memory \/ Heap | | | |\n| Object Count | | | |\n| FPS | | | |\n| Crashes \/ Hangs | | | |\n\n**Stability checks**:\n- [ ] No crash or hang since last checkpoint\n- [ ] Frame rate within budget ([N] fps target)\n- [ ] Audio correct\n- [ ] HUD rendering correctly\n- [ ] Input responding correctly\n\n**Balance \/ Fatigue** *(if applicable)*:\n- Core mechanic still rewarding: Y \/ N\n- Difficulty perception: too easy \/ appropriate \/ too hard\n- Notable moments: [note any peak engagement or frustration]\n- Content exhaustion signs: Y \/ N \u2014 [describe]\n\n**Free observations**:\n*(Note anything unexpected observed since the last checkpoint)*\n\n---\n\n[Repeat Checkpoint Log section for each timed checkpoint]\n\n---\n\n## Post-Session Analysis\n\n### Memory Trend\n\n| Checkpoint | Memory | \u0394\/hr extrapolated |\n|------------|--------|-------------------|\n| T+0 | | |\n| [T+N] | | |\n\n**Leak detected?** Y \/ N\n**Estimated time to OOM at current rate**: [N hours \/ not applicable]\n\n### Stability Summary\n\nTotal crashes: [N]\nTotal hangs: [N]\nWorst FPS observed: [N] fps at [checkpoint]\nPerformance degradation: stable \/ mild \/ severe\n\n### Balance \/ Fatigue Summary\n\nFun curve: [engaged throughout \/ fatigue onset at T+N \/ repetitive from start]\nContent exhaustion point: [never \/ at T+N \/ early]\nDifficulty arc: [appropriate \/ too easy throughout \/ difficulty spike at T+N]\n\n### Issues Found\n\n| ID | Severity | Checkpoint | Description |\n|----|----------|------------|-------------|\n| SOAK-001 | S[1-4] | T+[N] | [description] |\n\n---\n\n## Verdict: PASS \/ PASS WITH CONCERNS \/ NOT ASSESSED \/ FAIL\n\n**PASS**: No leaks detected, stability maintained, fun factor consistent\n**PASS WITH CONCERNS**: Minor drift or fatigue noted; addressable in Polish\n**NOT ASSESSED**: The soak did not run to a length that could show what it looks\nfor \u2014 say how far it got and which checkpoints were never reached\n**FAIL**: Memory leak confirmed, stability breach, or severe fun fatigue\n\n> **A short soak cannot return PASS.** Everything this protocol exists to detect\n> \u2014 slow leaks, fatigue, late-appearing edge cases \u2014 is by definition invisible\n> early, so a session that ended before the checkpoints it was built around has\n> not shown stability; it has shown nothing yet. Record `NOT ASSESSED \u2014 reached\n> T+[N] of [duration]; checkpoints [list] not reached`. Ranks **above both pass\n> values** and **below FAIL**: a crash observed at T+20 is a real finding no\n> matter how short the run, and must not be demoted behind the run's length.\n> The same applies when the build crashed for reasons unrelated to the soak, when\n> no memory instrumentation was available (nothing was measured, so \"no leaks\n> detected\" means \"no leaks could have been detected\"), or when the protocol was\n> written but never executed \u2014 a protocol document is not a result.\n\n---\n\n## Sign-Off\n\n- **Tester**: [name] \u2014 [date]\n- **QA Lead review**: [name] \u2014 [date]\n```\n\n---\n\n## 6. Write Output\n\nPresent the protocol summary in conversation, then ask:\n\n\"May I write this soak test protocol to\n`production\/qa\/soak-test-[date]-[duration].md`?\"\n\nWrite only after approval.\n\nAfter writing:\n\n\"Protocol written. To run the soak:\n1. Open the file and follow the Pre-Session Setup checklist\n2. Record each checkpoint as you play\n3. Complete the Post-Session Analysis section when done\n4. File bugs from 'Issues Found' to `production\/qa\/bugs\/`\n5. Run `\/bug-triage sprint` after the session to integrate any S1\/S2 issues (at `workflow: minimal`, which has no sprints: `\/bug-triage full`)\n\nIf the verdict is FAIL, run `\/smoke-check` again after fixing the issues.\"\n\n---\n\n## Collaborative Protocol\n\n- **This skill generates a protocol \u2014 humans run it** \u2014 never attempt to\n  run a soak test automatically. The observations require a human observer.\n- **Duration should match the game's session design** \u2014 a 5-minute game\n  doesn't need a 4h soak; a city-builder might. Use judgment and ask if unclear.\n- **First soak should be `all` focus** \u2014 narrow focus (memory-only) is for\n  regression soaks after a specific fix, not the first pass\n- **Ask before writing** \u2014 always confirm before creating the protocol file\n","use_cases":["Testing memory leaks in a 2-hour session for an RPG game","Identifying stability issues in a 1-hour session for a simulation game","Assessing player fatigue in a 4-hour session for a strategy game"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/soak-test\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-17T19:42:52.000000Z","updated_at":"2026-11-18T12:52:01.000000Z","seo_title":"Soak Test Protocol for Extended Play","seo_description":"A structured approach to testing game performance over extended sessions, focusing on memory, stability, and balance.","seo_keywords":["soak test protocol","game performance testing","memory leak detection","stability testing","player fatigue assessment"]}}