Saltar al contenido
Skillpedia
Pruebas33 mil · #8504

test-setup

Qué hace

Esta skill prepara la base automatizada de pruebas de un proyecto de juego, con carpetas, el ejecutor de pruebas del motor y un flujo de CI. Sirve para equipos que empiezan la configuración técnica y quieren pruebas desde el principio.

Cuándo usarla

  • ✓Cuando un proyecto de juego llega a la configuración técnica y necesita un framework de pruebas antes de programar.
  • ✓Cuando un equipo quiere que las pruebas se ejecuten automáticamente en cada envío de código.
  • ✓Cuando un proyecto no tiene carpetas de pruebas ni flujo de CI todavía.

Link de la skill

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

Có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

Usa esta skill para ayudarme: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-setup/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Configura el framework de pruebas y el CI para mi juego de Unity antes de que empiece nuestro primer sprint.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill detecta el motor, presenta un plan y después crea las carpetas de pruebas estándar, la configuración del ejecutor y un archivo de flujo de GitHub Actions. Está pensada para ejecutarse una vez, antes de que empiece la implementación.

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,workflow,qa.level

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).

Test Setup

This skill scaffolds the automated testing infrastructure for the project. It detects the configured engine, generates the appropriate test runner configuration, creates the standard directory layout, and wires up CI/CD so tests run on every push.

Run this once during the Technical Setup phase, before any implementation begins. A test framework installed at sprint start costs 30 minutes. A test framework installed at sprint four costs 3 sprints.

Output: tests/ directory structure + .github/workflows/tests.yml


Phase 1: Detect Engine and Existing State

Read references/1-detect.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 2: Present Plan

Read references/2-plan.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 3: Create Directory Structure

Read references/3-directories.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 4: Create CI/CD Workflow

Read references/4-ci.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 5: Create Smoke Test Seed

Read references/5-smoke-seed.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 6: Post-Setup Summary

Read references/6-summary.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Collaborative Protocol

  • Never overwrite existing test files — only create files that are missing. If a test runner file exists, leave it as-is.
  • Always ask before creating files — Phase 2 requires explicit approval.
  • Engine detection is non-negotiable — if the engine is not configured, stop and redirect to /setup-engine. Do not guess.
  • force flag skips the "already exists" early-exit but never overwrites. It means "create any missing files even if the directory already exists."
  • For Unity CI, note that the UNITY_LICENSE secret must be configured manually. Do not attempt to automate license management.
Preguntas frecuentes

¿Cuándo debo ejecutarla?

Ejecútala una vez durante la configuración técnica, antes de implementar, porque hacerlo más tarde cuesta más tiempo.

¿Qué crea?

Crea una estructura de carpetas de pruebas y un archivo de flujo de GitHub Actions.

¿Pregunta antes de escribir?

Sí. Primero presenta un plan, y las escrituras siguen el ajuste de automatización del proyecto.

Detalles

Descripción original del autor

Scaffold the test framework and CI — tests/ directory, engine test runner, GitHub Actions workflow. Once, before the first sprint.

repo: Donchitos/Claude-Code-Game-Studios

Popularidad

Estrellas en GitHub
33 mil
Posición en el ranking
#8504
Licencia
MIT
Actualizada
18/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas