.claude/skills/unity-uitoolkit/SKILL.md
Assists with Unity UI Toolkit development - UXML structure, USS styling, C# VisualElement manipulation, data binding, and custom controls. Use when implementing UI Toolkit interfaces.
npx skillsauth add zsutxz/ClaudeLearning Unity UI ToolkitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Assists with Unity UI Toolkit development including UXML markup, USS styling, C# VisualElement API, and modern UI patterns.
rootElement.Q<Button>("my-button").clicked += and .RegisterValueChangedCallback()Bind() and SerializedObjectOnDestroy()Editor Window Setup:
public void CreateGUI() {
var visualTree = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>("path/to.uxml");
visualTree.CloneTree(rootVisualElement);
var button = rootVisualElement.Q<Button>("my-button");
button.clicked += OnButtonClick;
}
USS Class Toggle:
element.AddToClassList("active");
element.RemoveFromClassList("active");
element.ToggleInClassList("active");
Data Binding:
var so = new SerializedObject(target);
rootVisualElement.Bind(so);
See ui-toolkit-reference.md for complete API documentation.
Use this Skill when: Building UI Toolkit interfaces, writing UXML/USS, or manipulating VisualElements in C#
Use unity-ui-selector skill when: Choosing between UGUI and UI Toolkit for a project
Use @unity-scripter agent when: Implementing complex UI logic or custom VisualElement controls
Use EditorScriptUIToolkit templates when: Generating new UI Toolkit editor windows with UXML/USS files
documentation
Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document
development
Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.
business
Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something
data-ai
Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations. Use when user requests party mode.