godot-testing-patterns — Claude Code skill: how to install
Provides testing decision trees and GdUnit4 templates for Godot. Guides developers through unit tests, headless CI runs, frame stepping, and network mocks.
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a claude-codeWhat godot-testing-patterns does
This skill supplies decision trees and boilerplate scripts structured around GdUnit4. It separates isolated pure-logic checks from scene lifecycle interactions, multiplayer RPC simulation, and suite-wide leak detection. Instead of writing ad-hoc fixtures, you match the test problem to pre-built templates.
The catalog includes scripts such as headless_test_runner.gd for command-line CI execution, snapshot_tester.gd for visual and dictionary regressions, and step-based runners for physics verification.
Mixing GUT and GdUnit4 assertions inside the same test suite is prohibited, which means existing GUT test setups require a clean split.
What it helps with
- configure headless GdUnit4 runs in CI pipelines
- verify multiplayer RPC calls without live network peers
- prevent flaky physics tests by stepping engine frames
- detect orphan nodes and memory leaks after test suites
Example prompts for the agent
- Set up a GdUnit4 headless runner command for our CI pipeline
- Write an integration test for a Godot scene checking physics collisions
- Create a mock network peer to test RPC calls offline
How to install godot-testing-patterns
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/godot-testing-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/godot-testing-patterns/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a codex2Manually: put the files in place
.agents/skills/godot-testing-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a cursor2Manually: put the files in place
.cursor/skills/godot-testing-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-testing-patterns2Manually: put the files in place
.github/skills/godot-testing-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-testing-patternsManually: put the files in place
.devin/skills/godot-testing-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about godot-testing-patterns
How to install godot-testing-patterns in Claude Code?
Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-testing-patterns -a claude-code in your terminal.
What does godot-testing-patterns do?
It provides decision trees, test rules, and starter scripts for Godot projects using the GdUnit4 framework, guiding how to structure unit, scene, and CI tests.
Why does the skill forbid wall-clock sleep in physics tests?
Real-time clock delays cause race conditions because Godot physics updates run on fixed engine frames. The skill enforces explicit frame stepping instead.