test-setup
하는 일
이 스킬은 게임 프로젝트의 자동 테스트 기반을 설정합니다. 폴더, 엔진의 테스트 러너, CI 워크플로를 포함합니다. 기술 설정을 시작하며 처음부터 테스트를 원하는 팀을 위한 스킬입니다.
사용하는 경우
- ✓게임 프로젝트가 기술 설정 단계에 들어가 코딩 전에 테스트 프레임워크가 필요할 때.
- ✓팀이 코드를 푸시할 때마다 테스트가 자동 실행되기를 원할 때.
- ✓프로젝트에 테스트 폴더나 CI 워크플로가 아직 없을 때.
스킬 링크
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-setup/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“첫 스프린트가 시작하기 전에 Unity 게임의 테스트 프레임워크와 CI를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 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.
자주 묻는 질문
언제 실행해야 하나요?
구현 전 기술 설정 단계에서 한 번 실행하세요. 나중에 설정하면 시간이 더 듭니다.
무엇을 만드나요?
테스트 폴더 구조와 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
- 업데이트
- 2026. 10. 18.
댓글
- …
이 저장소의 다른 스킬
adopt
33k기존 게임 프로젝트의 문서가 스튜디오 템플릿 형식을 따르는지 확인하고, 빠진 부분을 고치기 위한 번호 매긴 이전 계획을 씁니다.
architecture-decision
33k기술적 선택에 대한 아키텍처 결정 기록을 쓰고, 맥락, 대안, 결과를 담으며, 적절한 기술 역할의 검토를 거치도록 돕습니다.
architecture-review
33k기술 결정이 모든 설계 요구 사항을 다루고, 서로 충돌하지 않으며, 엔진 버전에 맞는지 점검해 통과 또는 우려 판정을 명확히 줍니다.
art-bible
33k게임의 시각적 정체성을 정의하는 아트 바이블을 써서, 자산 제작이 하나의 명확한 스타일 규칙을 따르게 합니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.