Skip to content

htdt/godogen / skills/engine-guide

engine-guide

Verified

Building on Godot 4 (C# or GDScript), Bevy, Babylon.js, three.js or HTML: which to choose, installing its toolchain, the project sketch, build commands, headless capture to screenshots and video, and the traps that fail silently. Use when starting or working on a game, a video made in an engine (presentation, explainer, trailer, product showcase), an interactive 3D or 2D page, or anything else built on one of these engines.

FileKindSize
SKILL.mdskill md5.0 KB
babylon.mdmarkdown2.8 KB
bevy.mdmarkdown4.0 KB
godot-gdscript.mdmarkdown6.5 KB
godot.mdmarkdown5.7 KB
html.mdmarkdown3.0 KB
setup.mdmarkdown3.0 KB
threejs.mdmarkdown3.7 KB
# Setup

Install what the chosen engine needs, at the current stable release. Every toolchain here has moved past what training data knows, so resolve "latest" at install time (the release page or API, the package manager), never from memory. On an existing project, keep the versions it pins. System packages need root; when you don't have it, give the user the one command to run.

## All engines

- `ffmpeg` (encoding captures), ImageMagick (`magick`), and on headless Linux `xvfb` (a virtual display) and `vulkan-tools` (`vulkaninfo`).
- Video capture wants a hardware GPU path; software rendering (`llvmpipe`, `lavapipe`, SwiftShader) is good for stills only. On Linux, `vulkaninfo --summary` names the device; with an NVIDIA GPU, `VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json` selects it.
- macOS has no `timeout`, which the Godot guide wraps every call in: `brew install coreutils` provides it as `gtimeout`.

## Godot

The current stable is the newest release on GitHub: `curl -s https://api.github.com/repos/godotengine/godot/releases/latest` gives the tag (`X.Y.Z-stable`) and its asset names.

- **C# needs the .NET build** (`..._mono_linux_x86_64.zip`). The standard build (`..._linux.x86_64.zip`) runs only GDScript; the .NET build runs both. `godot --version` ends in `.mono` for the .NET build.
- **`GodotSharp/` must sit next to the binary** that runs. The .NET zip holds both: move them together, e.g. the binary to `/usr/local/bin/godot` and `GodotSharp/` to `/usr/local/bin/GodotSharp/` (or both into `~/.local/bin/` without root).
- **macOS:** `brew install --cask godot-mono` for C#; the plain `godot` cask's command runs without C#. Make `godot` on `PATH` a wrapper script, not a symlink — `exec /Applications/Godot_mono.app/Contents/MacOS/Godot "$@"` — since Godot looks for `GodotSharp/` beside the path it was invoked as, and through a symlink it hangs on a fatal-error modal that `--headless` can't dismiss.
- **.NET SDK for C#:** the newest one (`dotnet-install.sh` from dot.net into `~/.dotnet`, with `DOTNET_ROOT` set and it on `PATH`; `brew install dotnet` on macOS). A newer SDK builds an older target framework, and Godot raises the one it writes into new projects over releases.
- **Check:** `timeout 60 godot --headless --quit` (RID-leak warnings are harmless). Assembly errors on Linux, or a timeout with output ending at `.NET: Initializing module...` on macOS, mean `godot` can't find `GodotSharp/`.

## Bevy

Rust through rustup on current stable (`rustup update stable`). Linux builds link system libraries (ALSA, udev, X11 or Wayland): Bevy's `docs/linux_dependencies.md` lists the packages per distro.

## Babylon.js, three.js, HTML

- Node.js at the current LTS, from nodejs.org or a version manager. Vite's minimum rises with its releases, and `npm create vite@latest` says when the installed Node is too old.
- Chrome or Chromium for headless runs; set `CHROME_BIN` when it isn't on a common path. Babylon.js and three.js capture, and HTML games that use three.js, need hardware WebGL2 (their guides, Capture).
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall