godot-genre-puzzle — Claude Code skill: what it does, how to install
Architectural guidelines for Godot puzzle games. Helps set up grid mechanics, native UndoRedo actions, and soft-lock checks without dragging down frame rates.
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a claude-codeWhat godot-genre-puzzle does
This skill guides the agent through building Sokoban-style games, match-3 layouts, and spatial puzzles in Godot. It decouples board state from the SceneTree and mandates Vector2i coordinates. Floating-point coordinates are rejected to prevent precision drift across turns. Win condition and soft-lock validations are kept out of _process(), running strictly after a piece move is committed.
The logic centers around modular scripts for smooth movements, level data serialization via .tres files, and AStarGrid2D.diagonal_mode hints. Maintaining a hand-rolled command stack alongside Godot's built-in UndoRedo is treated as a critical anti-pattern. The skill requires a single undo authority managed through puzzle_undo_manager.gd.
What it helps with
- implement move history using Godot's native
UndoRedo - maintain board state in
Vector2idecoupled from theSceneTree - check win conditions and unsolvable states only on move commits
- manage tile movement while killing conflicting tweens
Example prompts for the agent
- Set up an undo and redo system for a Sokoban puzzle using Godot UndoRedo
- Create a Vector2i grid manager that stores puzzle state outside the SceneTree
- How do I run soft-lock checks after committing a tile move?
How to install godot-genre-puzzle
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a claude-code2Manually: put the files in place
~/.claude/skills/godot-genre-puzzle/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/godot-genre-puzzle/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a codex2Manually: put the files in place
.agents/skills/godot-genre-puzzle/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a cursor2Manually: put the files in place
.cursor/skills/godot-genre-puzzle/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-genre-puzzle2Manually: put the files in place
.github/skills/godot-genre-puzzle/SKILL.md1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a gemini-cli2Platform CLI
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-genre-puzzleManually: put the files in place
.devin/skills/godot-genre-puzzle/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -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-genre-puzzle
How to install godot-genre-puzzle in Claude Code?
Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-puzzle -a claude-code.
What does the godot-genre-puzzle skill do?
It enforces best-practice architecture for Godot puzzle games, focusing on Vector2i grids, turn history, and decoupled validation.
Why does the skill reject custom command stacks for undo?
Running two undo paths causes state desynchronization, so the skill mandates Godot's built-in UndoRedo via puzzle_undo_manager.gd.