test-helpers

Generate engine-specific test helper libraries from existing test patterns and GDDs.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/polsegu/Claude-Code-Game-Dev --skill test-helpers-polsegu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-helpers
Source: https://github.com/polsegu/Claude-Code-Game-Dev/tree/main/.claude/skills/test-helpers
Command: npx skills add https://github.com/polsegu/Claude-Code-Game-Dev --skill test-helpers-polsegu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many test suites repeat setup, teardown, factory creation, and assertion logic across multiple files, which wastes developer time and increases brittle, duplicated code; this Skill generates a consolidated, engine-aware helpers library to eliminate that boilerplate and make tests more consistent.

Core Features & Use Cases

  • Engine detection: Reads project technical preferences to determine engine, language, and test framework.
  • Pattern-aware generation: Scans representative test files and GDDs to produce base assertion utilities, factory functions, and scene/test runners that match existing styles.
  • Safe writing policy: Summarizes proposed files, asks for confirmation before creating them, and never overwrites existing helper files to preserve hand-written customizations.
  • Use Case: After scaffolding a test framework, run the Skill to create tests/helpers/ files tailored to Godot, Unity, or Unreal and to system-specific GDDs like combat or inventory.

Quick Start

Run /test-helpers scaffold to generate the base helpers or run /test-helpers all to generate helpers for all detected systems.

Frequently Asked Questions about test-helpers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce boilerplate code in Unity or Godot unit tests?

Reduce boilerplate by generating engine-specific test helpers that analyze existing test patterns and design documents to produce base assertions, factory functions, and scene utilities. This eliminates duplicated setup, teardown, and assertion logic across your files.

What is the best way to generate test helpers for Unreal Engine projects?

Generate test helpers by running a scaffold command that detects your engine and test framework, scans representative test files, and produces tailored base assertion utilities and factory functions without overwriting existing files.

How do I create game-specific test utilities from a GDD?

Create game-specific test utilities by parsing system Game Design Documents (GDDs) for types and formula bounds, then generating corresponding helper files driven by those specifications to match your combat or inventory systems.

Can I automatically detect the test framework for Godot or Unity projects?

Detect the test framework by reading project technical preferences to determine the engine, programming language, and testing framework before generating tailored helper libraries.

Will generating test helpers overwrite my existing custom factory functions?

Generating test helpers never overwrites existing files. The system summarizes proposed files, asks for confirmation before creating them, and preserves hand-written customizations to maintain your current logic.

When do I need to scaffold engine-specific test utilities?

Scaffold engine-specific test utilities after setting up your test framework to consolidate repeated setup, teardown, and assertion logic, making tests more consistent and reducing brittle, duplicated code.