skill-test
Fungsinya
Skill ini memeriksa file skill agent untuk struktur dan perilaku yang benar. Cocok untuk orang yang menulis atau memelihara skill dan ingin menangkap masalah sebelum dipakai orang lain.
Kapan dipakai
- βSaat seseorang telah menulis skill baru dan ingin memeriksa strukturnya sebelum membagikannya.
- βSaat sebuah tim menginginkan laporan cakupan yang menunjukkan skill mana yang memiliki tes dan kapan terakhir dijalankan.
- βSaat sebuah skill perlu perilakunya diperiksa terhadap spesifikasi tes tertulis.
Link skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa semua file skill saya untuk masalah struktur dan beri tahu saya mana yang gagal.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menawarkan empat mode: linter statis, pemeriksaan spesifikasi perilaku, rubrik kategori, dan laporan audit. Setiap mode membaca file skill dan melaporkan apa yang ditemukannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah lulus berarti skill itu bekerja?
Tidak. Skill membaca file dan memeriksa strukturnya, sehingga lulus tidak membuktikan skill berperilaku benar.
Mode mana yang paling ringan?
Linter statis adalah mode paling ringan, cocok untuk memeriksa banyak skill dengan cepat.
Apa yang ditunjukkan audit?
Audit menunjukkan cakupan skill dan agent serta tanggal tes terakhir.
Detail
Deskripsi asli dari pembuat
Validate skill files for structural compliance and behavioral correctness. Four modes: static linter, spec, category rubric, audit.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8483
- Lisensi
- MIT
- Diperbarui
- 18/10/2026
Komentar
- β¦
Skill lain dari repositori ini
adopt
33kMemeriksa apakah dokumen proyek game yang sudah ada mengikuti format template studio, lalu menulis rencana migrasi bernomor untuk memperbaiki celah yang ditemukan.
architecture-decision
33kMenulis catatan keputusan arsitektur untuk pilihan teknis, mencakup konteks, alternatif, dan konsekuensi, dengan tinjauan dari peran teknis yang tepat.
architecture-review
33kMemeriksa bahwa keputusan teknis Anda mencakup setiap kebutuhan desain, tidak saling bertentangan, dan sesuai versi mesin, dengan vonis lulus atau kekhawatiran yang jelas.
art-bible
33kMenulis art bible yang mendefinisikan identitas visual game Anda, sehingga produksi aset mengikuti satu rangkaian aturan gaya yang jelas.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.