Chuyển đến nội dung
Skillpedia
Kiểm thử33k · #8485

soak-test

Skill này làm gì

Skill này tạo một quy trình cho một phiên chơi dài để tìm các vấn đề chỉ xuất hiện theo thời gian. Skill dành cho nhóm QA muốn tìm rò rỉ chậm và sự thú vị phai nhạt trước khi phát hành.

Khi nào nên dùng

  • ✓Khi game đang ở giai đoạn đánh bóng và cần các phiên dài để bắt các vấn đề chậm.
  • ✓Khi nhóm nghi ngờ bộ nhớ hoặc tốc độ khung hình xấu đi sau nhiều lần chuyển cảnh.
  • ✓Khi nhà thiết kế muốn biết một cơ chế có trở nên lặp lại khi chơi lâu không.

Liên kết skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/soak-test/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/soak-test/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy tạo kế hoạch kiểm tra soak cho một phiên chơi ba giờ, theo dõi rò rỉ bộ nhớ và sự lặp lại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tạo danh sách quan sát và mẫu nhật ký cho phiên chơi. Một người thực sự chơi, và sau đó skill giúp phân tích các ghi chú.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

!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

Câu hỏi thường gặp

Kiểm tra soak nên chạy bao lâu?

Kiểm tra soak chạy từ khoảng ba mươi phút đến vài giờ, lâu hơn kiểm tra smoke.

Ai chơi game?

Một người thực sự chơi. Skill chỉ chuẩn bị quy trình và phân tích.

Kế hoạch được lưu ở đâu?

Nó được lưu thành một tệp QA có ghi ngày trong thư mục QA production.

Chi tiết

Mô tả gốc của tác giả

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

repo: Donchitos/Claude-Code-Game-Studios

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8485
Giấy phép
MIT
Cập nhật
18/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự