godot-composition-apps
Installation
SKILL.md
Godot Composition & Architecture (Apps & UI)
Decision Gate — App vs Gameplay Entity
| Root node / task | Route |
|---|---|
| Control, EditorPlugin, tool window, settings dock, form UI | Stay here — Orchestrator + components |
| Player, Enemy, Weapon, Hitbox, gameplay CharacterBody | godot-composition — not this skill |
App-only gate: If the node is a gameplay actor (Player/Enemy/Weapon/Hitbox), use godot-composition. This skill owns Control / EditorPlugin / tool composition.
The Core Philosophy
The Litmus Test (Rock Test)
Before writing a script, ask: "If I attached this script to a literal rock, would it still function?"
- Pass: An
AuthComponenton a rock allows the rock to log in. (Context Agnostic) - Fail: A
LoginFormscript on a rock tries to grab text fields the rock doesn't have. (Coupled)
MANDATORY: Validate new components with comp_rock_test_boilerplate.gd.