generate-test-stub

Parse GDScript files and generate gdUnit4-compliant test stubs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fuchsst/wcsaga_godot_converter --skill generate-test-stub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-test-stub
Source: https://github.com/fuchsst/wcsaga_godot_converter/tree/main/.claude/skills/generate-test-stub
Command: npx skills add https://github.com/fuchsst/wcsaga_godot_converter --skill generate-test-stub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Jinja2, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill eliminates the repetitive and time-consuming task of manually creating boilerplate test files for GDScript classes. It ensures consistent test structure and gdUnit4 compliance, freeing developers to focus on writing actual test logic.

Core Features & Use Cases

  • Automated Test Stub Generation: Parses GDScript files and generates gdUnit4-compliant test files with appropriate class and method structures.
  • Class-Type Specific Strategies: Adapts test generation based on class inheritance (e.g., Resource, Node, BehaviorTree classes).
  • Structured Output & Validation: Provides JSON-formatted results, including validation reports and error recovery suggestions.
  • Use Case: After developing a new GDScript class, use this skill to quickly generate a ready-to-use test file. This ensures your tests follow best practices and are immediately runnable within the gdUnit4 framework.

Quick Start

Use the generate-test-stub skill to create a test file for 'scripts/player_character.gd' and save it to 'tests/test_player_character.gd'.