skill-test
하는 일
이 스킬은 에이전트 스킬 파일이 올바른 구조와 동작을 갖췄는지 점검합니다. 다른 사람이 쓰기 전에 문제를 잡고 싶은 스킬 작성자와 관리자를 위한 스킬입니다.
사용하는 경우
- ✓새 스킬을 썼고 공유하기 전에 구조를 점검하고 싶을 때.
- ✓어떤 스킬에 테스트가 있는지, 마지막으로 언제 실행됐는지 보여 주는 커버리지 보고서가 필요할 때.
- ✓스킬 동작을 작성된 테스트 명세와 비교해 점검해야 할 때.
스킬 링크
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 모든 스킬 파일의 구조 문제를 점검하고, 어느 것이 실패하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 네 가지 모드를 제공합니다. 정적 린터, 동작 명세 점검, 범주 루브릭, 감사 보고서입니다. 각 모드는 스킬 파일을 읽고 발견한 내용을 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation
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).
Skill Test
Validates skills (.claude/skills/*/SKILL.md) and agents (.claude/agents/*.md)
for structural compliance and behavioral correctness. No external dependencies —
runs entirely within the existing skill/hook/template architecture.
Four modes:
| Mode | Command | Purpose | Token Cost |
|---|---|---|---|
static |
/skill-test static [name|all] |
Structural linter — 7 compliance checks per skill, plus agent, delegation and compatibility observations | Low (~1k/skill) |
spec |
/skill-test spec [name] |
Behavioral verifier — evaluates assertions in a skill's or agent's test spec | Medium (~5k each) |
category |
/skill-test category [name|all] |
Category rubric — checks a skill or agent against its category-specific metrics | Low (~2k each) |
audit |
/skill-test audit |
Coverage report — skills, agent specs, last test dates | Low (~3k total) |
What a pass proves. Every mode reads files; none runs the skill. static:
the file has the structure a skill needs, not that it behaves. spec: read
closely, the instructions cover each case, not that Claude follows them when it
runs. category: the skill meets its category's rubric as written. audit:
which skills and agents have specs, and when each was last checked. What a skill
does shows only when it runs: a real request in a throwaway copy of the project,
on each model you use, with and without the skill (Anthropic's Agent Skills best
practices, "Build evaluations first").
Phase 1: Parse Arguments
Determine mode from the first argument:
static [name]→ run 7 structural checks on one skill, or the agent observations on one agentstatic all→ run 7 structural checks on all skills (Glob.claude/skills/*/SKILL.md), plus the observations for every agentspec [name]→ read the skill or agent + its test spec, evaluate assertionscategory [name]→ run category-specific rubric fromstudio-tests/quality-rubric.mdcategory all→ run category rubric for every skill and every agent that has acategory:in catalogaudit(or no argument) → read catalog, list all skills and agents, show coverage
If the argument is unrecognized, output usage and stop.
The old spec folder. Glob CCGS Skill Testing Framework/catalog.yaml. When
it exists, say so first: "CCGS Skill Testing Framework/ was renamed
studio-tests/ in 1.2.0, and this skill reads only studio-tests/. Move any
specs you wrote there; UPGRADING.md (v1.1.3 → v1.2.0, studio-tests/) says how."
Then go on with studio-tests/.
Resolve the name before spec or category. Look it up in
studio-tests/catalog.yaml: an entry under skills: is a skill
(.claude/skills/[name]/SKILL.md); an entry under agents: is an agent
(.claude/agents/[name].md). With no catalog entry, use whichever of those two
files exists. Only when neither exists, report "'[name]' is neither a skill in
.claude/skills/ nor an agent in .claude/agents/." and stop. A name that is
also an ordinary word is still a name: /skill-test spec help tests the /help
skill, never a request for this skill's usage.
The 7 checks lint SKILL.md structure, so they are skills-only. Given an agent
name, static runs only the observations below: an agent file has no
phases or verdict keywords to lint. Never report the agent as missing.
Phase 2A: Static Mode — Structural Linter
For each skill being tested, read its SKILL.md and every file in its references/ folder
fully, and run all 7 checks on them as one skill — the longest skills keep each
phase in references/. The frontmatter checks (1, 6 and 7) read SKILL.md.
Check 1 — Required Frontmatter Fields
The file must contain all of these in the YAML frontmatter block:
name:description:argument-hint:user-invocable:allowed-tools:
FAIL if any are absent. A file whose frontmatter does not parse fails Check 1 too — malformed YAML is a structural defect this check exists to catch, not an unassessable file; see the per-skill result rule b
자주 묻는 질문
통과하면 스킬이 작동한다는 뜻인가요?
아닙니다. 스킬은 파일을 읽고 구조를 확인하므로, 통과해도 스킬이 올바르게 동작한다는 증명은 아닙니다.
가장 가벼운 모드는 무엇인가요?
정적 린터가 가장 가벼운 모드이며, 많은 스킬을 빠르게 점검하기에 적합합니다.
감사는 무엇을 보여 주나요?
스킬과 에이전트의 커버리지, 마지막 테스트 날짜를 보여 줍니다.
상세 정보
작성자의 원본 설명
Validate skill files for structural compliance and behavioral correctness. Four modes: static linter, spec, category rubric, audit.
인기도
- GitHub 스타
- 33k
- 순위
- #8483
- 라이선스
- 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 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.