zinc-ui-async-separation

Community

Enforce War3 UI async separation for safe logic.

AuthorCrainax
Version1.0.0
Installs0

System Documentation

What problem does it solve?

War3UI logic often intertwines local UI updates with global game state mutations. This skill defines strict separation rules to ensure UI layers remain non-blocking and deterministic, while synchronization with the game state happens through a dedicated bus.

Core Features & Use Cases

  • Enforces a clear boundary between "presentation" and "data/game state" layers in War3Lib UI components.
  • Distinguishes between onClick/onEnter/onLeave (no data binding) and spClick/spEnter/spLeave (binding via eventdata) to manage asynchronous payloads.
  • Provides a safe pattern for bridging local UI events to asynchronous-synchronous transitions using a central sync bus and a mock payload contract.

Quick Start

Implement UI components following the separation rules to ensure local UI changes do not mutate the game state directly.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zinc-ui-async-separation
Download link: https://github.com/Crainax/War3Lib/archive/main.zip#zinc-ui-async-separation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.