Pular para o conteúdo
Skillpedia
Testes33 mil · #8504

test-setup

O que ela faz

Esta skill monta a base de testes automatizados de um projeto de jogo, incluindo pastas, o executor de testes da engine e um fluxo de CI. É para equipes que começam a configuração técnica e querem testes desde o início.

Quando usar

  • ✓Quando um projeto de jogo chega à configuração técnica e precisa de um framework de testes antes de qualquer código.
  • ✓Quando uma equipe quer que os testes rodem automaticamente a cada envio de código.
  • ✓Quando um projeto ainda não tem pastas de teste nem fluxo de CI.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-setup/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Configure o framework de testes e o CI do meu jogo em Unity antes de começar nossa primeira sprint.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill detecta a engine, apresenta um plano e depois cria as pastas padrão de teste, a configuração do executor e um fluxo de trabalho do GitHub Actions. Ela foi feita para rodar uma vez, antes de a implementação começar.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.
Perguntas frequentes

Quando devo rodá-la?

Rode uma vez durante a configuração técnica, antes da implementação, porque configurar depois custa mais tempo.

O que ela cria?

Ela cria uma estrutura de pastas de teste e um arquivo de fluxo de trabalho do GitHub Actions.

Ela pede confirmação antes de gravar?

Sim. Ela apresenta um plano primeiro, e as gravações seguem a configuração de automação do projeto.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
33 mil
Posição no ranking
#8504
Licença
MIT
Atualizada em
18/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas