soak-test
它能做什么
这个技能为长时间游玩制定测试流程,寻找那些只有随时间推移才会出现的问题。适合希望在发布前发现缓慢泄漏和乐趣减退的 QA 团队。
适用场景
- ✓当游戏处于打磨阶段,需要长时间游玩来发现缓慢出现的问题的时候。
- ✓当团队怀疑经过多次场景切换后内存占用或帧率会变差的时候。
- ✓当设计师想知道某个机制在长时间游玩后是否变得重复的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/soak-test/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为一次三小时的游戏过程制定浸泡测试计划,重点观察内存泄漏和重复感。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能会生成观察清单和本次测试的记录模板。实际游玩由人完成,之后这个技能再帮助分析记录。
技术内容(原始 SKILL.md)
作者在 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 scene1h— standard soak; covers most common leak categories2h— extended soak; recommended for first full Polish soak4h— deep soak; required for games with long session design (RPGs, sims)
Focus (default: all):
memory— focus on heap size, object count, leak patternsstability— focus on crash/freeze/hang detectionbalance— focus on fun fatigue, content exhaustion, difficulty perceptionall— all of the above
2. Load Context
Read:
project.yaml—engine.name(for engine-specific memory monitoring guidance) andperformance.*budgets (memory ceiling, target FPS); for any key absent or empty (including whenproject.yamlhas noperformanceorengineblock), fall back to.claude/docs/technical-preferences.mddesign/gdd/game-concept.md— intended session length (for comparison against soak duration), core loop description (ordesign/game-brief.md, the one-page brief that replaces it atrigor: 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
常见问题
浸泡测试应该运行多久?
浸泡测试通常运行约三十分钟到数小时,比冒烟检查要长。
谁来玩游戏?
由人来玩,技能只负责准备流程和分析。
计划保存在哪里?
它保存为生产 QA 文件夹中带日期的 QA 文件。
详情
作者的原始描述
Soak test protocol for extended play — what to observe and log for slow leaks, fatigue, late-appearing edge cases.
热度
- GitHub 星标
- 33k
- 排名
- #8485
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …