godot-gdscript-mastery — Claude Code skill: setup and features
Guides coding agents through GDScript pitfalls, enforcing static typing and safe node lifecycle patterns in Godot.
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a claude-codeWhat godot-gdscript-mastery does
The skill provides architectural decision trees and strict guardrails for Godot. It stops agents from making common runtime errors, such as pairing @onready with @export on the same variable. It also prohibits calling get_node() inside _process() and calling parent methods directly instead of signaling upward.
It outlines workflows for static typing opcodes, typed collections, and Callable.bind contexts. Instead of bloating Autoload singletons, it directs models to use static var declarations. Dedicated audit scripts like type_checker.gd and signal_architecture_validator.gd help check project boundaries.
Do not use this skill for engine version upgrades between Godot 3 and 4, because version migration requires a dedicated module. Its bundled utility tools belong in EditorScript workflows and will fail if treated as runtime gameplay code.
What it helps with
- enforce static typing and typed collections across Godot scripts
- implement signal-up call-down node communication patterns
- prevent frame drops caused by dynamic node lookups in _process()
- clean up dictionary iteration and Callable argument binding
Example prompts for the agent
- Review this enemy controller script against godot-gdscript-mastery guidelines.
- Refactor this signal handling and node lifecycle logic using static typing opcodes.
- Fix the Dictionary iteration and dynamic node calls inside my _process loop.
How to install godot-gdscript-mastery
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a claude-code2Manually: put the files in place
~/.claude/skills/godot-gdscript-mastery/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/godot-gdscript-mastery/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a codex2Manually: put the files in place
.agents/skills/godot-gdscript-mastery/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a cursor2Manually: put the files in place
.cursor/skills/godot-gdscript-mastery/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-gdscript-mastery2Manually: put the files in place
.github/skills/godot-gdscript-mastery/SKILL.md1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a gemini-cli2Platform CLI
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-gdscript-masteryManually: put the files in place
.devin/skills/godot-gdscript-mastery/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -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-gdscript-mastery
How do I install godot-gdscript-mastery in Claude Code?
Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-gdscript-mastery -a claude-code.
What does godot-gdscript-mastery do?
It provides decision trees that keep coding models from introducing GDScript anti-patterns, covering static typing and signal structures.
Can godot-gdscript-mastery handle Godot 3 to 4 migration?
No, the instructions state not to use it for engine version migrations. That upgrade path belongs to the separate godot-version-migration skill.