unity-ui-toolkit
Unity UI Toolkit skill for runtime UI development, USS styling, UXML templates, and custom visual elements.
Best use case
unity-ui-toolkit is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Unity UI Toolkit skill for runtime UI development, USS styling, UXML templates, and custom visual elements.
Teams using unity-ui-toolkit should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/unity-ui-toolkit/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How unity-ui-toolkit Compares
| Feature / Agent | unity-ui-toolkit | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Unity UI Toolkit skill for runtime UI development, USS styling, UXML templates, and custom visual elements.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Unity UI Toolkit Skill
UI Toolkit development for Unity runtime and editor interfaces.
## Overview
This skill provides capabilities for building user interfaces using Unity's UI Toolkit, including UXML templates, USS styling, and custom visual elements.
## Capabilities
### UXML Templates
- Create UXML document structure
- Define reusable templates
- Implement data binding
- Handle template inheritance
### USS Styling
- Write USS stylesheets
- Implement responsive layouts
- Create theme variants
- Handle hover/focus states
### Visual Elements
- Build custom visual elements
- Implement manipulators
- Handle input events
- Create animations
### Data Binding
- Bind to data sources
- Implement MVVM patterns
- Handle list views and collections
- Create reactive UI
## Prerequisites
- Unity 2021.3+
- UI Toolkit package (built-in)
## Usage Patterns
### UXML Template
```xml
<ui:UXML xmlns:ui="UnityEngine.UIElements">
<ui:VisualElement class="container">
<ui:Label name="health-label" text="Health: 100" />
<ui:ProgressBar name="health-bar" value="100" />
<ui:Button name="heal-button" text="Heal" />
</ui:VisualElement>
</ui:UXML>
```
### USS Stylesheet
```css
.container {
flex-direction: column;
padding: 10px;
background-color: rgba(0, 0, 0, 0.8);
}
#health-bar {
height: 20px;
margin: 5px 0;
}
#heal-button:hover {
background-color: #4CAF50;
}
```
### C# Binding
```csharp
public class HealthUI : MonoBehaviour
{
[SerializeField] private UIDocument uiDocument;
private ProgressBar healthBar;
void Start()
{
var root = uiDocument.rootVisualElement;
healthBar = root.Q<ProgressBar>("health-bar");
root.Q<Button>("heal-button").clicked += OnHealClicked;
}
void OnHealClicked() { /* Handle heal */ }
}
```
## Best Practices
1. Use USS for styling over inline styles
2. Create reusable UXML templates
3. Implement proper event handling
4. Test across resolutions
5. Use UI Builder for visual editing
## References
- [UI Toolkit Documentation](https://docs.unity3d.com/Manual/UIElements.html)Related Skills
redux-toolkit
Redux Toolkit patterns including slice creation, async thunks, RTK Query, state normalization, and DevTools integration.
cuda-toolkit
Deep integration with NVIDIA CUDA toolkit for kernel development, compilation, and debugging. Execute nvcc compilation with optimization flags analysis, generate and validate CUDA kernel code, analyze PTX/SASS assembly output, and configure execution parameters.
unity-vfx-graph
Unity Visual Effect Graph skill for GPU particle systems, procedural effects, and high-performance visual effects.
unity-urp
Universal Render Pipeline configuration skill for Unity, including custom shaders, lighting setup, post-processing effects, and render feature development.
unity-shader-graph
Unity Shader Graph skill for visual shader authoring, custom nodes, and material effects.
unity-profiler
Unity Profiler skill for performance analysis, frame debugging, memory profiling, and optimization workflows.
unity-physics
Unity Physics skill for collision detection, rigidbody dynamics, raycasting, and physics configuration.
unity-netcode
Unity Netcode for GameObjects skill for multiplayer networking, RPCs, state synchronization, and server-authoritative gameplay.
unity-input-system
Unity New Input System configuration skill for action maps, device bindings, control schemes, and cross-platform input handling.
unity-hdrp
High Definition Render Pipeline configuration for Unity, including ray tracing, volumetric effects, and high-fidelity graphics setup.
unity-ecs
Unity DOTS/ECS skill for data-oriented design, jobs system, burst compiler optimization, and high-performance gameplay systems.
unity-development
Unity Engine integration skill for project setup, C# scripting, scene management, prefab creation, and editor automation. Enables LLMs to interact with Unity Editor through MCP servers for asset manipulation, script generation, and automated workflows.