soak-test
ما الذي تفعله
تنشئ هذه المهارة بروتوكولاً لجلسة لعب طويلة تبحث عن مشكلات لا تظهر إلا مع الوقت. وهي موجهة لفرق ضمان الجودة التي تريد اكتشاف التسربات البطيئة وتراجع المتعة قبل الإصدار.
متى تستخدمها
- ✓عندما تكون اللعبة في مرحلة التلميع وتحتاج إلى جلسات طويلة لاكتشاف المشكلات البطيئة.
- ✓عندما يشتبه الفريق في أن استهلاك الذاكرة أو معدل الإطارات يسوء بعد تغييرات كثيرة في المشاهد.
- ✓عندما يريد المصممون معرفة ما إذا أصبحت آلية ما مكررة مع اللعب الممتد.
رابط المهارة
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/soak-test/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ خطة اختبار تحمّل لجلسة لعب مدتها ثلاث ساعات، تراقب تسرب الذاكرة والتكرار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تولّد المهارة قائمة المراقبة ونموذج سجل للجلسة. يقوم شخص باللعب فعلياً، ثم تساعد المهارة في تحليل الملاحظات.
المحتوى التقني (ملف 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
الأسئلة الشائعة
كم يستمر اختبار التحمّل؟
يستمر من نحو ثلاثين دقيقة إلى عدة ساعات، وهو أطول من فحص سريع.
من يلعب اللعبة؟
شخص يلعب فعلياً، والمهارة تُعد البروتوكول والتحليل فقط.
أين تُحفظ الخطة؟
تُحفظ كملف جودة مؤرخ في مجلد ضمان جودة الإنتاج.
التفاصيل
الوصف الأصلي من المؤلف
Soak test protocol for extended play — what to observe and log for slow leaks, fatigue, late-appearing edge cases.
الشعبية
- نجوم GitHub
- 33k
- الترتيب
- #8485
- الترخيص
- MIT
- آخر تحديث
- 18/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
adopt
33kيتحقق من أن وثائق مشروع لعبة قائم تتبع صيغ قالب الاستوديو، ثم يكتب خطة ترحيل مرقمة لسد أي فجوات.
architecture-decision
33kيكتب سجل قرار معماري لاختيار تقني، يغطي السياق والبدائل والعواقب، ويراجعه الأدوار التقنية المناسبة.
architecture-review
33kيتحقق من أن قراراتك التقنية تغطي كل متطلبات التصميم، ولا تتعارض، وتناسب إصدار المحرك، مع حكم واضح بالنجاح أو الملاحظة.
art-bible
33kيكتب كتاب الفن الذي يحدد الهوية البصرية للعبة، حتى تتبع إنتاج الأصول قواعد أسلوب واحدة واضحة.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.