test-setup
यह क्या करती है
यह स्किल गेम प्रोजेक्ट की ऑटोमेटेड टेस्टिंग की नींव बनाती है, जिसमें फ़ोल्डर, इंजन का टेस्ट रनर और CI वर्कफ़्लो शामिल हैं। यह तकनीकी सेटअप शुरू करने वाली टीमों के लिए है जो शुरू से ही टेस्ट चाहती हैं।
कब इस्तेमाल करें
- ✓जब गेम प्रोजेक्ट तकनीकी सेटअप तक पहुँचे और कोडिंग शुरू होने से पहले टेस्ट फ़्रेमवर्क चाहिए।
- ✓जब टीम चाहे कि हर कोड push पर टेस्ट अपने-आप चलें।
- ✓जब प्रोजेक्ट में अभी टेस्ट फ़ोल्डर या CI वर्कफ़्लो न हो।
Skill का लिंक
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-setup/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“पहली स्प्रिंट शुरू होने से पहले मेरे Unity गेम के लिए टेस्ट फ़्रेमवर्क और CI सेट कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल इंजन पहचानती है, एक योजना दिखाती है, फिर मानक टेस्ट फ़ोल्डर, रनर कॉन्फ़िगरेशन और एक GitHub Actions वर्कफ़्लो बनाती है। यह इम्प्लीमेंटेशन शुरू होने से पहले एक बार चलाने के लिए बनी है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,qa.level
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).
Test Setup
This skill scaffolds the automated testing infrastructure for the project. It detects the configured engine, generates the appropriate test runner configuration, creates the standard directory layout, and wires up CI/CD so tests run on every push.
Run this once during the Technical Setup phase, before any implementation begins. A test framework installed at sprint start costs 30 minutes. A test framework installed at sprint four costs 3 sprints.
Output: tests/ directory structure + .github/workflows/tests.yml
Phase 1: Detect Engine and Existing State
Read references/1-detect.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Phase 2: Present Plan
Read references/2-plan.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Phase 3: Create Directory Structure
Read references/3-directories.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Phase 4: Create CI/CD Workflow
Read references/4-ci.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Phase 5: Create Smoke Test Seed
Read references/5-smoke-seed.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Phase 6: Post-Setup Summary
Read references/6-summary.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
Collaborative Protocol
- Never overwrite existing test files — only create files that are missing. If a test runner file exists, leave it as-is.
- Always ask before creating files — Phase 2 requires explicit approval.
- Engine detection is non-negotiable — if the engine is not configured,
stop and redirect to
/setup-engine. Do not guess. forceflag skips the "already exists" early-exit but never overwrites. It means "create any missing files even if the directory already exists."- For Unity CI, note that the
UNITY_LICENSEsecret must be configured manually. Do not attempt to automate license management.
अक्सर पूछे जाने वाले सवाल
मुझे इसे कब चलाना चाहिए?
तकनीकी सेटअप के दौरान, इम्प्लीमेंटेशन से पहले एक बार, क्योंकि बाद में सेटअप करने में ज़्यादा समय लगता है।
यह क्या बनाती है?
यह एक tests फ़ोल्डर संरचना और एक GitHub Actions वर्कफ़्लो फ़ाइल बनाती है।
क्या लिखने से पहले पूछती है?
हाँ। यह पहले एक योजना दिखाती है, और फ़ाइल लिखना प्रोजेक्ट की ऑटोमेशन सेटिंग के अनुसार होता है।
जानकारी
लेखक का मूल विवरण
Scaffold the test framework and CI — tests/ directory, engine test runner, GitHub Actions workflow. Once, before the first sprint.
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #8504
- लाइसेंस
- MIT
- अपडेट की गई
- 18/10/2026
कमेंट
- …
इस repository की और skills
adopt
33kजाँचती है कि किसी मौजूदा गेम प्रोजेक्ट के दस्तावेज़ स्टूडियो टेम्पलेट के फ़ॉर्मेट से मेल खाते हैं या नहीं, फिर कमियाँ ठीक करने के लिए क्रमांकित माइग्रेशन योजना लिखती है।
architecture-decision
33kकिसी तकनीकी चुनाव के लिए आर्किटेक्चर डिसीज़न रिकॉर्ड लिखती है, जिसमें संदर्भ, विकल्प और परिणाम शामिल हैं, और सही तकनीकी भूमिकाओं से समीक्षा करवाती है।
architecture-review
33kजाँचती है कि आपके तकनीकी फ़ैसले हर डिज़ाइन ज़रूरत को कवर करते हैं, आपस में टकराते नहीं और इंजन के वर्शन में फ़िट होते हैं, और साफ़ पास या चिंता वाला फ़ैसला देती है।
art-bible
33kआपके गेम की विज़ुअल पहचान तय करने वाली आर्ट बाइबल लिखती है, ताकि एसेट बनाने का काम एक साफ़ शैली-नियम पर चले।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।