All skills
thedivergentai avatar

/godot-ui-containers

@9d6e91e

Expert blueprint for responsive UI layouts using Container nodes (HBoxContainer, VBoxContainer, GridContainer, MarginContainer, ScrollContainer, HFlowContainer, SubViewportContainer). Covers size flags, anchors, split containers, virtual_list pooling, stretch_shrink previews, and dynamic layouts. Use when building adaptive interfaces OR implementing responsive menus. Keywords: Container, HBoxContainer, VBoxContainer, GridContainer, HFlowContainer, SubViewportContainer, virtual_list, stretch_shrink, size_flags, EXPAND_FILL, anchors, responsive.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-ui-containers

This session only. Nothing lands on disk.

referencescontainer-layout-recipes.md

≈191 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Container layout recipes

VBox separation

$VBoxContainer.add_theme_constant_override("separation", 10)

Responsive anchors

$MarginContainer.set_anchors_preset(Control.PRESET_FULL_RECT)
$MarginContainer.add_theme_constant_override("margin_left", 20)

Size flags

button.size_flags_horizontal = Control.SIZE_EXPAND_FILL
button.size_flags_vertical = Control.SIZE_SHRINK_CENTER

Weighted layouts: container_size_flags_pro.gd.

Split screen

See Expert Layout Patterns in SKILL.md — HSplitContainer + SubViewportContainer.stretch = true.

Virtual list

MANDATORY virtual_list.gd — do not paste one-off pool recyclers.

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides a set of Godot GDScript templates and technical documentation for creating responsive UI layouts using container nodes. It contains no malicious code, network exfiltration, or obfuscation, and all external references target official documentation or the author's own development resources.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    3 files scanned · No issues

Signed by skilld at 9d6e91e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-ui-containers