generate-test-stub

Community

Instantly create gdUnit4 test files for GDScript.

Authorfuchsst
Version1.0.0
Installs0

System Documentation

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'.

Dependency Matrix

Required Modules

Jinja2

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-test-stub
Download link: https://github.com/fuchsst/wcsaga_godot_converter/archive/main.zip#generate-test-stub

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.