test-helpers

Generate engine-specific test helper libraries and assertion utilities for Godot, Unity, or Unreal.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/CarlosQ96/robot-crawler --skill test-helpers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-helpers
Source: https://github.com/CarlosQ96/robot-crawler/tree/main/.agents/skills/test-helpers
Command: npx skills add https://github.com/CarlosQ96/robot-crawler --skill test-helpers

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about test-helpers

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

FAQPage Schema
How do I reduce repetitive test setup and factory boilerplate in Unity or Godot?

Auto-generate tailored test helper libraries by scanning existing test patterns and engine preferences. This produces cohesive base helpers and system-specific factories to reduce manual setup and enforce consistent assertions across your test suite.

Can I generate engine-specific assertion utilities for Unreal workflows?

Yes, engine and language detection reads technical preferences to target Unreal, Godot, or Unity. It produces core assertion, factory, and scene runner helpers designed specifically for the configured engine's testing framework.

How do test helper libraries match my project's existing mocking and assertion patterns?

Pattern-aware generation scans existing test files to extract setup, mocking, and assertion patterns. The generated helpers mirror your project's testing style to ensure consistency and accelerate writing reliable unit and integration tests.

Does generating new test helpers overwrite my existing factory code?

No, safety-first writing ensures it never overwrites existing helper files. It prompts for confirmation before creating new files, preserving your current tests/helpers directory while scaffolding base and system-specific additions.

Can I use game design documents to create domain-aware test factories?

Yes, the tool consults GDD system docs to produce optional per-system factories informed by design requirements. This generates domain-aware helpers for combat, inventory, or UI systems tailored to your game's architecture.