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分で読めます。
仕組み
このスキルには4つのモードがあります。静的リンター、動作仕様の確認、カテゴリのルーブリック、監査報告です。各モードはスキルファイルを読み、見つけたことを報告します。
技術的な内容(元の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ライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。