Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

soak-test

БесплатноБез исполняемых скриптовНе проверен

Soak test protocol for extended play — what to observe and log for slow leaks, fatigue, late-appearing edge cases.

Donchitosот Donchitos★ 41 674 звезды на GitHub

Об этом скилле

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow

Automation mode: Resolve modes.automation (project.local.yaml → project.yaml → default collaborative). Every AskUserQuestion call and every file write follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

Soak Test

A soak test (also called an endurance test) is an extended play session run with specific observation goals. Unlike a smoke check (broad critical path, ~10 min) or a single-feature playtest (~30 min), a soak test runs for 30 minutes to several hours to surface:

  • Memory leaks — gradual heap growth that only appears after scene transitions
  • Performance drift — frame time degradation that worsens over time
  • State accumulation bugs — issues that only appear after N repetitions of a mechanic (inventory full, score overflow, AI state corruption)
  • Fun fatigue — mechanics that feel good in a first session but grow repetitive over extended play
  • Content exhaustion — the point where players run out of novel content

This skill generates the observation protocol and analysis harness — the human does the actual playing.

Output: production/qa/soak-test-[date]-[duration].md

When to run:

  • Polish phase — before /gate-check release
  • After fixing a memory or stability issue (regression soak)
  • When extended play has not been formally tracked

1. Parse Arguments

Duration (default: 1h):

  • 30m — short soak; suitable for testing a single mechanic or scene
  • 1h — standard soak; covers most common leak categories
  • 2h — extended soak; recommended for first full Polish soak
  • 4h — deep soak; required for games with long session design (RPGs, sims)

Focus (default: all):

  • memory — focus on heap size, object count, leak patterns
  • stability — focus on crash/freeze/hang detection
  • balance — focus on fun fatigue, content exhaustion, difficulty perception
  • all — all of the above

2. Load Context

Read:

  • project.yaml — engine.name (for engine-specific memory monitoring guidance) and performance.* budgets (memory ceiling, target FPS); for any key absent or empty (including when project.yaml has no performance or engine block), fall back to .claude/docs/technical-preferences.md
  • design/gdd/game-concept.md — intended session length (for comparison against soak duration), core loop description (or design/game-brief.md, the one-page brief that replaces it at rigor: minimal — core loop, and session length only if its "Who it's for" line states one). Read it by section: find the headings you need with the Grep tool (pattern ^#, content mode) and Read those ranges with offset and limit.
  • Most recent file in production/qa/playtests/ — prior playtest findings (to avoid re-documenting known issues)
  • Most recent file in production/qa/qa-plan-*.md — current sprint test coverage (to understand what has been formally tested vs. what the soak covers)

Note any performance budget targets (performance.* from project.yaml, else .claude/docs/technical-preferences.md):

  • Memory ceiling: [N MB, or "not set"]
  • Target FPS: [N, or "not set"]
  • Frame budget: [N ms, or "not set"]

3. Define Observation Checkpoints

Based on duration, generate timed checkpoints:

30m soak: T+0, T+10, T+20, T+30 1h soak: T+0, T+15, T+30, T+45, T+60 2h soak: T+0, T+20, T+40, T+60, T+80, T+100, T+120 4h soak: T+0, T+30, T+60, T+90, T+120, T+180, T+240

At each checkpoint, the observer records the observation items defined in Phase 4.


4. Generate the Soak Test Protocol

Memory / Stability observation items (if focus = memory or all)

Engine-specific monitoring guidance.

Record the unit the tool shows; never convert, and never assume one. A soak test looks for growth, so every threshold below is a ratio or a delta against this session's own T+0 baseline — which is unit-agnostic and stays correct however the editor reports the number. Write the unit down at T+0 exactly as displayed and use it consistently for the rest of the run.

NOT SOURCEABLE — the tool, panel and counter names below are not covered by docs/engine-reference/: Godot's Debugger → Monitors and its memory counters, Unity's Memory Profiler and its fields, Unreal's stat memory. Mark them so in the protocol: they are pointers for the tester to confirm in their own editor at T+0, not verified paths. If no memory tool can be found, nothing was measured, and the Verdict section's NOT ASSESSED applies.

Godot 4:

  • Open Debugger → Monitors tab; track Memory → Static Memory and Object Count → Objects across checkpoints
  • Record: Static Memory (unit as displayed), Object Count, Orphan Nodes count
  • Alert threshold: Memory growth > 20% from T+
Полный SKILL.md на GitHub

Установить soak-test в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Write
Bash(bash "*/.claude/skills/soak-test/../../hooks/yaml-helper.sh" resolve_config *)

FAQ

Что делает скилл soak-test?

Soak test protocol for extended play — what to observe and log for slow leaks, fatigue, late-appearing edge cases.

Как установить скилл soak-test?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл soak-test запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить soak-test с