scaffolding-godot-mini-games
Installation
SKILL.md
The bundled assets/godot-base/ is infrastructure, not gameplay or visual/audio
identity. After copying it, keep main.gd as orchestration and implement
game-specific responsibilities in focused scripts.
Set SKILL_DIR to the absolute directory containing the loaded SKILL.md
(including plugin installs). Inspect a nonempty destination first; never overwrite
unrelated work without explicit fresh-scaffold authorization. Then run:
PROJECT_DIR=tmp/games/<slug>
mkdir -p "$PROJECT_DIR"
cp -R "${SKILL_DIR:?Set SKILL_DIR to this skill directory}/assets/godot-base/." "$PROJECT_DIR"/
mkdir -p "$PROJECT_DIR/logs" "$PROJECT_DIR/build/web"
Use project-local XDG directories for this and every later headless Godot command: