skill-test
What it does
This skill checks agent skill files for correct structure and behavior. It is for people who write or maintain skills and want to catch problems before others use them.
When to use it
- βWhen someone has written a new skill and wants to check its structure before sharing it.
- βWhen a team wants a coverage report showing which skills have tests and when they were last run.
- βWhen a skill needs its behavior checked against a written test specification.
Skill link
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCheck all my skill files for structural problems and tell me which ones fail.β
5 new skills a week. 1 minute to read.
How it works
The skill offers four modes: a static linter, a behavior spec check, a category rubric, and an audit report. Each mode reads the skill files and reports what it found.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does a pass prove a skill works?
No. The skill reads files and checks their structure, so a pass does not prove the skill behaves correctly.
Which mode is the lightest?
The static linter is the lightest mode, which suits checking many skills quickly.
What does the audit show?
It shows skill and agent coverage and the dates of the last tests.
Details
Original description by the author
Validate skill files for structural compliance and behavioral correctness. Four modes: static linter, spec, category rubric, audit.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8483
- License
- MIT
- Updated
- 10/18/2026
Comments
- β¦
More skills from this repository
adopt
33kChecks whether an existing game project's documents follow the studio template's formats, then writes a numbered migration plan to fix any gaps.
architecture-decision
33kWrites an architecture decision record for a technical choice, covering context, alternatives, and consequences, with review by the right technical roles.
architecture-review
33kChecks that your technical decisions cover every design requirement, do not conflict, and fit the engine version, with a clear pass or concern verdict.
art-bible
33kWrites an art bible that defines your game's visual identity, so asset production follows one clear set of style rules.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.