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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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 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
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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
adopt
33kKiểm tra xem tài liệu của một dự án game hiện có có tuân theo định dạng của mẫu studio hay không, rồi viết một kế hoạch di chuyển có đánh số để sửa các khoảng trống.
architecture-decision
33kViết một bản ghi quyết định kiến trúc cho một lựa chọn kỹ thuật, gồm bối cảnh, các phương án thay thế và hệ quả, với xem xét từ các vai trò kỹ thuật phù hợp.
architecture-review
33kKiểm tra các quyết định kỹ thuật của bạn có bao phủ mọi yêu cầu thiết kế, không mâu thuẫn và phù hợp với phiên bản động cơ, với kết luận đạt hoặc có mối lo ngại rõ ràng.
art-bible
33kViết một art bible xác định bản sắc thị giác của game, để việc sản xuất tài nguyên tuân theo một bộ quy tắc phong cách rõ ràng.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.