agentleFS
DECRUX9812DECRUX9812/hermes-plugin-gameforge/skills/godot-dev/SKILL.md

godot-dev

Skill44 starsChanged 22 days agoMITView on GitHub

Build, debug and export Godot 4 games headlessly.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. twglhk/gamedev-agent-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

Files
SKILL.md

Godot Dev Skill

Work on Godot 4 projects without opening the editor: scaffold from GameForge assets, write GDScript, import, run headless and read the parsed errors, bot-playtest, export.

When to Use

The user wants a Godot game, or has a Godot project to fix or extend.

Prerequisites

Godot 4.x (auto-detected, or godot_path in GameForge settings). Exports need the matching export templates: forge_export target=godot_templates installs them (about 1 GB download).

How to Run

  • New: forge_engine engine=godot action=scaffold theme=forest — the game project root becomes the Godot project; main.gd builds the level from level.json at runtime; a smoke run is included.
  • Iterate: edit .gd with patch, then forge_engine engine=godot action=run seconds=10. errors holds every SCRIPT ERROR/ERROR with its at: location; ok is false while any remain.
  • Re-import after adding assets: action=import.
  • Play: forge_playtest target=godot duration=300 screenshots=true.
  • Ship: forge_export target=godot:web (or linux, windows, macos, android).

Quick Reference

  • GameForge sprites ship a <name>_frames.tres SpriteFrames: AnimatedSprite2D.sprite_frames = load(...), animations idle_<dir> / walk_<dir>.
  • Tilesets ship a .tres with a Match Corners terrain set: TileMapLayer → Terrains → paint.
  • Telemetry contract for the bot: root node gf_state() -> Dictionary (scene, x, y, score...) and events: Array.

Pitfalls

  • GDScript := cannot infer from Dictionary/Array element reads — annotate (var ok: bool = d["k"] == 0).
  • Headless runs use --fixed-fps 60: timers advance in game time, so 5 minutes of play takes seconds.
  • "resources still in use at exit" lines are shutdown noise and are reported as warnings.
  • web/, playtests/, dist/ carry .gdignore so Godot does not import build output.

Verification

action=run returns ok: true with no errors, and a Godot playtest verdict without criticals.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.