본문으로 건너뛰기
Skillpedia
테스트33k · #8483

skill-test

하는 일

이 스킬은 에이전트 스킬 파일이 올바른 구조와 동작을 갖췄는지 점검합니다. 다른 사람이 쓰기 전에 문제를 잡고 싶은 스킬 작성자와 관리자를 위한 스킬입니다.

사용하는 경우

  • ✓새 스킬을 썼고 공유하기 전에 구조를 점검하고 싶을 때.
  • ✓어떤 스킬에 테스트가 있는지, 마지막으로 언제 실행됐는지 보여 주는 커버리지 보고서가 필요할 때.
  • ✓스킬 동작을 작성된 테스트 명세와 비교해 점검해야 할 때.

스킬 링크

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 agent
  • static all → run 7 structural checks on all skills (Glob .claude/skills/*/SKILL.md), plus the observations for every agent
  • spec [name] → read the skill or agent + its test spec, evaluate assertions
  • category [name] → run category-specific rubric from studio-tests/quality-rubric.md
  • category all → run category rubric for every skill and every agent that has a category: in catalog
  • audit (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.

repo: Donchitos/Claude-Code-Game-Studios

인기도

GitHub 스타
33k
순위
#8483
라이선스
MIT
업데이트
2026. 10. 18.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬