Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

soak-test浸泡测试

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

451

周安装

19

GitHub Stars

16,583

下载量

158
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:soak-test(浸泡测试)
来源仓库:https://github.com/donchitos/claude-code-game-studios
仓库路径:skills/soak-test
安装命令:
npx skills add https://github.com/donchitos/claude-code-game-studios --skill soak-test
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/donchitos/claude-code-game-studios --skill soak-test

简介

soak-test 用于辅助测试设计、自动化测试和用例整理,适合处理单元测试、端到端测试和测试计划。

  • 它能帮助 Agent 编写测试用例、定位问题,提升测试效率。
  • 安装命令为 npx skills add https://github.com/donchitos/claude-code-game-studios --skill soak-test,建议结合项目测试框架使用。
  • 使用时需确认运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器时应区分模拟环境。
  • 该技能适用于研究检索类任务,需配合宿主环境使用。

SKILL.md

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:

  • .claude/docs/technical-preferences.md — engine (for engine-specific memory monitoring guidance), performance budgets (memory ceiling, target FPS)
  • design/gdd/game-concept.md — intended session length (for comparison against soak duration), core loop description
  • Most recent file in production/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 from 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:

Godot 4:

  • Open Debugger → Monitors tab; track Memory → Static Memory and Object Count → Objects across checkpoints
  • Record: Static Memory (KB), Object Count, Orphan Nodes count
  • Alert threshold: Memory growth > 20% from T+0 after the first 15 minutes (some growth on load is expected; sustained growth indicates a leak)
  • Note: Performance.get_monitor(Performance.MEMORY_STATIC) returns bytes in Godot 4.6

Unity:

  • Open Memory Profiler (Window → Analysis → Memory Profiler)
  • Record: Total Reserved Memory (MB), GC Allocated (MB), Object Count at each checkpoint
  • Alert threshold: GC Allocated growing monotonically across 3+ checkpoints

Unreal Engine:

  • Use stat memory console command at each checkpoint
  • Record: Physical Memory Used (MB), Physical Memory Available
  • Alert threshold: Physical Memory Used growth > 50MB over the full soak

Stability observation items (if focus = stability or all)

At each checkpoint, note:

  • No crash, hang, or freeze occurred since last checkpoint
  • Frame rate still within target budget ([target FPS] fps)
  • Audio still playing correctly (no desync or silence)
  • All HUD elements still rendering correctly
  • Input responding as expected (no input loss or lag spike)

Balance / fatigue observation items (if focus = balance or all)

Collect subjective observations at each checkpoint:

  • Core mechanic still feels rewarding (Y/N)
  • Perceived difficulty level: [too easy / appropriate / too hard]
  • Any "I've seen this before" moments since last checkpoint? (novel content exhaustion)
  • Any moment of frustration since last checkpoint? Note cause.
  • Any moment of peak engagement since last checkpoint? Note cause.

5. Generate the Protocol Document

# Soak Test Protocol

> **Date**: [date]
> **Duration**: [duration]
> **Focus**: [memory | stability | balance | all]
> **Engine**: [engine]
> **Generated by**: /soak-test

---

## Pre-Session Setup

Before starting the soak:

- [ ] Game is running from a **fresh launch** (not resumed from a prior session)
- [ ] All background applications closed (minimise OS memory interference)
- [ ] Performance monitoring tool open and recording:
  - **Godot**: Debugger → Monitors tab → Memory section visible
  - **Unity**: Memory Profiler window open
  - **Unreal**: `stat memory` ready in console
- [ ] Soak target confirmed: [session design intent from game concept]
- [ ] Prior known issues to watch for: [from most recent playtest / qa-plan]

---

## Baseline (T+0) — Record Before Playing

| Metric | Baseline Value |
|--------|---------------|
| Memory / Heap | [record before first frame of gameplay] |
| Object Count | [record] |
| FPS (first 30 seconds) | [record] |
| [Engine-specific metric] | [record] |

---

## Checkpoint Log

### T+[N] minutes

**Memory / Stability** *(if applicable)*:

| Metric | Value | Δ from Baseline | Alert? |
|--------|-------|-----------------|--------|
| Memory / Heap | | | |
| Object Count | | | |
| FPS | | | |
| Crashes / Hangs | | | |

**Stability checks**:
- [ ] No crash or hang since last checkpoint
- [ ] Frame rate within budget ([N] fps target)
- [ ] Audio correct
- [ ] HUD rendering correctly
- [ ] Input responding correctly

**Balance / Fatigue** *(if applicable)*:
- Core mechanic still rewarding: Y / N
- Difficulty perception: too easy / appropriate / too hard
- Notable moments: [note any peak engagement or frustration]
- Content exhaustion signs: Y / N — [describe]

**Free observations**:
*(Note anything unexpected observed since the last checkpoint)*

---

[Repeat Checkpoint Log section for each timed checkpoint]

---

## Post-Session Analysis

### Memory Trend

| Checkpoint | Memory | Δ/hr extrapolated |
|------------|--------|-------------------|
| T+0 | | |
| [T+N] | | |

**Leak detected?** Y / N
**Estimated time to OOM at current rate**: [N hours / not applicable]

### Stability Summary

Total crashes: [N]
Total hangs: [N]
Worst FPS observed: [N] fps at [checkpoint]
Performance degradation: stable / mild / severe

### Balance / Fatigue Summary

Fun curve: [engaged throughout / fatigue onset at T+N / repetitive from start]
Content exhaustion point: [never / at T+N / early]
Difficulty arc: [appropriate / too easy throughout / difficulty spike at T+N]

### Issues Found

| ID | Severity | Checkpoint | Description |
|----|----------|------------|-------------|
| SOAK-001 | S[1-4] | T+[N] | [description] |

---

## Verdict: PASS / PASS WITH CONCERNS / FAIL

**PASS**: No leaks detected, stability maintained, fun factor consistent
**PASS WITH CONCERNS**: Minor drift or fatigue noted; addressable in Polish
**FAIL**: Memory leak confirmed, stability breach, or severe fun fatigue

---

## Sign-Off

- **Tester**: [name] — [date]
- **QA Lead review**: [name] — [date]

6. Write Output

Present the protocol summary in conversation, then ask:

"May I write this soak test protocol to production/qa/soak-test-[date]-[duration].md?"

Write only after approval.

After writing:

"Protocol written. To run the soak:

  1. Open the file and follow the Pre-Session Setup checklist
  2. Record each checkpoint as you play
  3. Complete the Post-Session Analysis section when done
  4. File bugs from 'Issues Found' to production/qa/bugs/
  5. Run /bug-triage sprint after the session to integrate any S1/S2 issues

If the verdict is FAIL, run /smoke-check again after fixing the issues."


Collaborative Protocol

  • This skill generates a protocol — humans run it — never attempt to run a soak test automatically. The observations require a human observer.
  • Duration should match the game's session design — a 5-minute game doesn't need a 4h soak; a city-builder might. Use judgment and ask if unclear.
  • First soak should be all focus — narrow focus (memory-only) is for regression soaks after a specific fix, not the first pass
  • Ask before writing — always confirm before creating the protocol file

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.96%
按下载量换算54

Claude

29.41%
按下载量换算46

Cursor

18.23%
按下载量换算29

Gemini CLI

9.63%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills