skill-test
Qué hace
Esta skill comprueba que los archivos de skills del agente tengan una estructura y un comportamiento correctos. Sirve para quienes escriben o mantienen skills y quieren detectar problemas antes de que los use otra persona.
Cuándo usarla
- ✓Cuando alguien ha escrito una skill nueva y quiere comprobar su estructura antes de compartirla.
- ✓Cuando un equipo quiere un informe de cobertura que muestre qué skills tienen pruebas y cuándo se ejecutaron por última vez.
- ✓Cuando una skill necesita que su comportamiento se compruebe frente a una especificación de pruebas escrita.
Link de la skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/skill-test/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Comprueba todos mis archivos de skills en busca de problemas estructurales y dime cuáles fallan.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill ofrece cuatro modos: un linter estático, una comprobación de la especificación de comportamiento, una rúbrica por categoría y un informe de auditoría. Cada modo lee los archivos de skills e informa de lo que encuentra.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Basta con pasar una comprobación para que la skill funcione?
No. La skill lee archivos y comprueba su estructura, así que superarla no demuestra que la skill se comporte correctamente.
¿Cuál es el modo más ligero?
El linter estático es el modo más ligero, adecuado para revisar muchas skills rápidamente.
¿Qué muestra la auditoría?
Muestra la cobertura de skills y agentes y las fechas de las últimas pruebas.
Detalles
Descripción original del autor
Validate skill files for structural compliance and behavioral correctness. Four modes: static linter, spec, category rubric, audit.
Popularidad
- Estrellas en GitHub
- 33 mil
- Posición en el ranking
- #8483
- Licencia
- MIT
- Actualizada
- 18/10/2026
Comentarios
- …
Más skills de este repositorio
adopt
33 milComprueba si los documentos de un juego existente siguen los formatos de la plantilla del estudio y escribe un plan de migración numerado para corregir las lagunas.
architecture-decision
33 milRedacta un registro de decisión de arquitectura para una elección técnica, con contexto, alternativas y consecuencias, revisado por los roles técnicos adecuados.
architecture-review
33 milComprueba que tus decisiones técnicas cubren todos los requisitos de diseño, no entran en conflicto y encajan con el motor, con un veredicto claro.
art-bible
33 milRedacta una biblia de arte que define la identidad visual de tu juego, para que la producción de recursos siga un único conjunto claro de reglas de estilo.
Skills parecidas
test-driven-development
311 milEnseña a tu agente a escribir primero una prueba que falle, verla fallar y después escribir el código más pequeño que la hace pasar, antes de construir cualquier función o corrección.
verification-before-completion
311 milEnseña a tu agente a ejecutar comprobaciones reales y leer su resultado antes de afirmar que una tarea, una corrección o una compilación está completa o en buen estado.
migrate-to-shoehorn
310 milSustituye los casts de tipo arriesgados de tus archivos de prueba por la librería shoehorn, para que las pruebas usen datos parciales y sigan pasando las comprobaciones de tipos.