Zum Inhalt springen
Skillpedia
Tests33k · #8504

test-setup

Was er macht

Dieser Skill richtet das Fundament für automatisierte Tests eines Spielprojekts ein, einschließlich Ordnern, dem Test-Runner der Engine und einem CI-Workflow. Er ist für Teams gedacht, die mit dem technischen Setup beginnen und von Anfang an Tests wollen.

Wann du ihn nutzt

  • ✓Wenn ein Spielprojekt das technische Setup erreicht und vor dem ersten Code ein Test-Framework braucht.
  • ✓Wenn ein Team will, dass Tests bei jedem Code-Push automatisch laufen.
  • ✓Wenn ein Projekt noch keine Testordner oder keinen CI-Workflow hat.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-setup/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Richte das Test-Framework und CI für mein Unity-Spiel ein, bevor unser erster Sprint beginnt.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill erkennt die Engine, legt einen Plan vor und erstellt dann die Standard-Testordner, die Runner-Konfiguration und einen GitHub-Actions-Workflow. Er ist dafür gedacht, einmal vor Beginn der Umsetzung zu laufen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Wann sollte ich ihn ausführen?

Einmal während des technischen Setups, vor der Umsetzung, denn ein späteres Einrichten kostet mehr Zeit.

Was erstellt er?

Er erstellt eine Testordnerstruktur und eine GitHub-Actions-Workflow-Datei.

Fragt er vor dem Schreiben?

Ja. Er legt zuerst einen Plan vor, und Schreibvorgänge richten sich nach der Automatisierungseinstellung des Projekts.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
33k
Platz im Ranking
#8504
Lizenz
MIT
Aktualisiert
18.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills