gdunit4-test-writer SKILL.md skillA

gdunit4-test-writer from minami110/claude-godot-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add minami110/claude-godot-tools/gdunit4-test-writer@git:20260704.c3f3c34

Pins git:20260704.c3f3c34 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
minami110/claude-godot-tools
Path
gdunit4-toolkit/skills/gdunit4-test-writer/SKILL.md
Versions recorded
5
Latest version
git:20260704.c3f3c34, committed Jul 4, 2026
First version recorded
Nov 29, 2025
Size
2,503 bytes
Repository stars
14
License
MIT

Write gdUnit4 test code with type-specific assertions, signal testing, and scene runner support. Use when creating or updating tests for GDScript files.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# gdUnit4 Test Writer

Write gdUnit4 test code for GDScript files with proper assertions and test structure.

## Workflow

1. **Analyze target file** - Read the GDScript file to understand what needs testing
2. **Check gdUnit4 docs** - Use Context7 (`/websites/godot-gdunit-labs_github_io_gdunit4`) if needed
3. **Select assertions** - Use type-specific assertions (see [references/assertions.md])
4. **Create test file** - Place in `res://tests/` directory with `test_*.gd` naming (e.g., `test_player.gd`)

## Quick Reference

### Test File Template

```gdscript
extends GdUnitTestSuite

func test_example() -> void:
    assert_int(1).is_equal(1)
```

### Common Assertions

- **int**: `assert_int(value).is_equal(10)`
- **float**: `assert_float(value).is_equal_approx(3.14, 0.01)`
- **String**: `assert_str(text).contains("hello")`
- **Array**: `assert_array(items).has_size(5)`
- **Object**: `assert_object(node).is_not_null()`
- **Signal**: `await assert_signal(emitter).is_emitted(emitter.my_signal)` (Signal reference preferred; string name also accepted)

### Memory Management

```gdscript
func test_with_node() -> void:
    var node: Node = auto_free(Node.new())  # Auto-freed after test
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add minami110/claude-godot-tools/gdunit4-test-writer@sha256:e733e1da4596a661

The line at the top of this page pins the label git:20260704.c3f3c34, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kaxlj53klw224gz7.svg)](https://markdownregistry.com/a/art_kaxlj53klw224gz7)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Nov 29, 2025 and Jul 4, 2026, about one every 54 days.

versioncommittedcommitsizeaudit
git:20260704.c3f3c34 latest2026-07-04 c3f3c34 2,503 BA view · diff
git:20260219.e0cb45d2026-02-19 e0cb45d 1,951 BA view · diff
git:20260112.29091c12026-01-12 29091c1 2,017 BA view · diff
git:20251217.9fdb7312025-12-17 9fdb731 1,939 BA view · diff
git:20251129.1243d0e2025-11-29 1243d0e 1,878 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2503 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

minami110/claude-godot-tools · 14 stars · license MIT · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kaxlj53klw224gz7
GET https://markdownregistry.com/api/v1/resolve?ref=minami110/claude-godot-tools/gdunit4-test-writer
GET https://markdownregistry.com/api/v1/blob/e733e1da4596a661726729527d86c66c408b9614b372dffd7478f872e300ae09

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from minami110/claude-godot-tools

CLAUDE.md CLAUDE.md file
minami110/claude-godot-tools · CLAUDE.md
git:20260712.4a77b45 · audit A · 14 stars
gdscript-file-manager SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/gdscript-file-manager/SKILL.md · Move, rename, or delete GDScript files with their .uid files for Godot projects. Use when reorganizing code, renaming…
git:20260816.df59bf6 · audit A · 14 stars
gdscript-format SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/gdscript-format/SKILL.md · Format and lint GDScript files using gdscript-formatter. Use after editing GDScript files to ensure code style…
git:20260725.4c963e0 · audit A · 14 stars
godot-cache-refresh SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/godot-cache-refresh/SKILL.md · Regenerate Godot caches (class_name registry and .uid files). Use after creating or renaming GDScript files with…
git:20260720.9ffc069 · audit A · 14 stars
godot-doc-search SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/godot-doc-search/SKILL.md · Search Godot Engine and GDScript documentation using Deepwiki and Context7. Use when implementing Godot features…
git:20260219.e0cb45d · audit A · 14 stars
godot-resource-owners SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/godot-resource-owners/SKILL.md · List which scenes, scripts, and resources reference a given Godot resource (reverse dependencies — the script-side…
git:20260816.df59bf6 · audit A · 14 stars
godot-resource-resave SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/godot-resource-resave/SKILL.md · Re-save Godot text resources (.tscn/.tres) through the editor pipeline to inject UIDs and validate that they load. Use…
git:20260720.9ffc069 · audit B · 14 stars
open-godot-editor SKILL.md skill
minami110/claude-godot-tools · gdscript-toolkit/skills/open-godot-editor/SKILL.md · Launch the Godot editor GUI in the background so its stdout (print / push_warning / push_error) is directly…
git:20260704.c3f3c34 · audit A · 14 stars
gdunit4-test-runner SKILL.md skill
minami110/claude-godot-tools · gdunit4-toolkit/skills/gdunit4-test-runner/SKILL.md · Run gdUnit4 tests for Godot projects and report results (read-only). Use to verify test status after code changes. USE…
git:20261001.e75312f · audit A · 14 stars
gdscript-diagnostics SKILL.md skill
minami110/claude-godot-tools · vscode-gdscript-tools/skills/gdscript-diagnostics/SKILL.md · Validate GDScript changes by refreshing Godot cache and checking diagnostics. Use after creating or editing GDScript…
git:20260219.e0cb45d · audit A · 14 stars

Every file in minami110/claude-godot-tools

Browse by kind, by grade A, or by owner.