What problem does it solve?
Projects often accumulate repetitive test setup, factory code, and assertion boilerplate across many test files and systems, slowing test writing and increasing inconsistency. This Skill analyzes existing test patterns, engine and language preferences, and design docs to produce a cohesive tests/helpers/ library tailored to the project's engine (Godot, Unity, Unreal) and systems. The generated helpers reduce manual setup, enforce consistent assertions, and accelerate writing reliable unit and integration tests.
Core Features & Use Cases
- Engine & language detection: Reads technical-preferences to determine engine, language, and testing framework before generation.
- Pattern-aware generation: Scans existing test files to extract setup, mocking, and assertion patterns so helpers match the project's style.
- Base and system-specific helpers: Produces core assertion, factory, and scene/runner helpers and optional per-system factories informed by GDDs.
- Safety-first writing: Never overwrites existing helper files and prompts for confirmation before creating new files.
- Use case: Add this Skill after scaffolding test framework to auto-create domain-aware helpers for combat, inventory, or UI systems.
Quick Start
Invoke /test-helpers scaffold to generate the base tests/helpers library for the project's configured engine.