/godot-agent-skills:godot-uifrom godot-agent-skills
Builds Godot 4.7 UIs for PC, mobile, and console: containers, responsive stretch, safe areas, themes, gamepad/keyboard focus, offset_transform animation, RichTextLabel, localization, accessibility, drag-and-drop, and HUD over 3D.
Ships in godot-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build UI as scenes (ui/hud/hud.tscn) made in the editor, or with ../godot-core/scripts/scene_edit.py. Scripts only fill in data and react. Input actions and gamepads are in godot-input.
VBoxContainer/HBoxContainer, GridContainer, MarginContainer (padding), PanelContainer (background), CenterContainer, ScrollContainer, FlowContainer (wrapping tags/items), AspectRatioContainer, TabContainer, FoldableContainer (4.5+) and SplitContainer. Children of containers ignore their own anchors and position.size_flags_horizontal = SIZE_EXPAND_FILL (+ size_flags_stretch_ratio), SIZE_SHRINK_CENTER, and so on. custom_minimum_size sets a floor.Control with set_anchors_and_offsets_preset(PRESET_FULL_RECT). HUD corners use anchor presets (PRESET_TOP_LEFT …) plus a MarginContainer.offset_transform_* properties (offset_transform_enabled, _position, _rotation, _scale, _pivot_ratio, _visual_only). Containers don't overwrite them, unlike position/scale. pivot_offset_ratio (4.6+) sets a pivot as a fraction of size, so (0.5, 0.5) is the center.mouse_filter: STOP (default for most), PASS, or IGNORE for decorative overlays that would otherwise block clicks to the game. Use mouse_behavior_recursive/focus_behavior_recursive (4.5+) to disable a whole subtree.canvas_items + aspect expand. Design at 1920×1080 (or 1280×720) and anchor to edges so wider and taller screens just reveal more space. Pixel-art games use viewport + integer scaling (see godot-2d).DisplayServer.get_display_safe_area() and pad the root MarginContainer (see the reference).Window.content_scale_factor gives a user-facing "UI scale" option.Theme resource (ui/theme/main_theme.tres) and set it on the root Control, or project-wide in gui/theme/custom. Define default fonts, sizes and StyleBoxes there.theme_type_variation = &"DangerButton" on a node, and define DangerButton (base type Button) in the theme. This is better than scattered add_theme_*_override calls.FontFile with FontVariation for weight and spacing. For crisp text at any scale, enable MSDF on the font import (great for world-space labels).focus_mode = FOCUS_ALL. Call grab_focus() on the first button when a menu opens. 4.6+ separates mouse and keyboard focus: grab_focus(true) focuses without showing the outline.focus_neighbor_*/focus_next in grids and odd layouts.ui_accept, ui_cancel, ui_up/down/left/right, ui_focus_next already map to arrows, Enter, Escape and gamepad. Add your own bindings to them, never replace them.get_viewport().gui_focus_changed, for example for sounds or scrolling into view. Make sure no menu is ever left with nothing focused.Label (autowrap_mode, text_overrun_behavior, LabelSettings for outline and shadow, stacked effects in 4.5+), RichTextLabel (bbcode_enabled, append_text, [url] + meta_clicked, [img height=1em] in 4.7, custom effects).tr("KEY") / tr_n(). Nodes auto-translate their text (auto_translate_mode). Add .po or .csv files in Project Settings → Localization, and switch with TranslationServer.set_locale("de"). C# Tr() strings are extracted to POT too (4.6+).Standard controls are announced automatically. Give icon-only buttons accessibility_name, use accessibility_description for extra context and accessibility_live for changing status text. Keep focus order logical, because screen readers follow it.
CanvasLayer with your Control tree, so it ignores the camera.Label3D/Sprite3D (billboard), or a SubViewport holding Controls rendered to a ViewportTexture on a quad. Projecting a 3D point with camera.unproject_position() onto a 2D control is also cheap.position/size on children of containers (it gets overwritten). Use size flags, minimum size or offset transforms instead.mouse_filter = STOP that block game input.tr().Responsive layout, menu focus, tweened buttons, inventory drag and drop, safe area (compiled by the tests): references/patterns.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub el4cteo/godot-skills --plugin godot-agent-skills27 skills in this plugin
/godot-2d2D games in Godot 4.7 - pixel-art and HD setup, TileMapLayer (cells, terrains, custom data, runtime tiles, physics chunking), Parallax2D, Camera2D (limits, smoothing, shake), y-sort and z-index, 2D lights and normal maps, AnimatedSprite2D, one-way platforms, custom drawing, many-sprite performance. Use for platformers, top-down, tile-based or any 2D scene./godot-3d-gameplayBuilding 3D games in Godot 4.7 - third-person and orbit cameras (SpringArm3D), camera-relative movement, lock-on, top-down/RTS/isometric cameras, GridMap + MeshLibrary levels, CSG blockout and baking, modular kit import hints, Path3D rails, interactables, spawners, world-space UI, large worlds and LOD. Use for 3D player controllers, cameras or level building./godot-Other plugins' skills for the same job