galaxy-ui-and-dialogs

Automate Galaxy UI dialog and panel creation in StarCraft II maps.

3|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-ui-and-dialogs-shadowdragonsc2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-ui-and-dialogs
Source: https://github.com/ShadowDragonSC2/Base.SC2Data/tree/main/.koda/skills/galaxy-ui-and-dialogs
Command: npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-ui-and-dialogs-shadowdragonsc2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Galaxy UI and Dialogs enable map developers to create, bind, and manage UI dialogs, panels, and messages within SC2 maps using Galaxy scripting patterns. It centralizes the workflow for hooking pre-existing UI frames (SSF pattern), programmatic dialog creation, and event wiring, reducing debugging effort and promoting UI consistency.

Core Features & Use Cases

  • Hook pre-defined XML frames and layout panels using the SSF pattern.
  • Create dialogs programmatically for dynamic UI and runtime interactions.
  • Support for hero selection, scoreboards, messages, and localization integration.
  • Provide examples and references to widely-used UI patterns and event handling in Galaxy scripts.

Quick Start

Review the SKILL.md and implement a basic hooked dialog using an existing XML frame via the SSF pattern.

Frequently Asked Questions about galaxy-ui-and-dialogs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create StarCraft 2 custom UI dialogs programmatically using Galaxy scripts?

StarCraft 2 custom UI dialogs are created programmatically by applying Galaxy scripting patterns to build dynamic UI elements like buttons and labels for runtime interactions. This centralizes dialog creation and reduces debugging effort.

What is the SSF pattern for hooking pre-defined XML frames in SC2 maps?

The SSF pattern for hooking pre-defined XML frames involves binding existing UI layout components within StarCraft 2 maps to Galaxy scripts. This enables map developers to utilize pre-existing UI frames and promotes UI consistency.

How do I wire events and localization to Galaxy UI panels for hero selection and scoreboards?

Event wiring and localization integration for hero selection and scoreboards are achieved by binding Galaxy UI panels to triggers. This supports widely-used UI patterns and ensures dynamic text updates across localized map interfaces.

Does this Galaxy UI approach support both dynamic dialog creation and static XML frame hooking?

The Galaxy UI approach supports both dynamic programmatic dialog creation and static XML frame hooking via the SSF pattern. This dual capability allows developers to build runtime interactions while leveraging pre-defined layout panels.

What's the best way to reduce debugging effort when building in-game UI panels in StarCraft 2?

The best way to reduce debugging effort for in-game UI panels is to centralize the workflow for dialog creation, event wiring, and localization integration. Reviewing comprehensive documentation like SKILL.md provides necessary references for widely-used UI patterns.

Why use centralized Galaxy scripting patterns for minimap messages and dialog creation?

Centralized Galaxy scripting patterns for minimap messages and dialog creation are used to promote UI consistency across StarCraft 2 maps. This approach streamlines functional requirements for event wiring and localization integration.