# ui-uitk

ui-uitk — a skill for understanding, editing and generating UXML and USS in Unity UI Toolkit. Builds interfaces with flex layouts, custom elements and runtime binding.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 7700 installs · ★ 1306 repo stars
- Author: Unity-Technologies
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Unity-Technologies/skills/tree/HEAD/skills/ui-uitk/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ui-uitk

## What it does

The skill works with Unity UI Toolkit: reads existing UXML and USS, makes targeted edits, generates new interface files. Inside are reference docs for USS patterns, SVG icons, Painter2D API for procedural visuals, Manipulators for drag-and-drop, and custom element guides. The agent does not launch the editor or validate markup: it writes complete files, then the user switches to Unity and checks the console.

Generation follows the request: USS only if that is what is asked for, UXML and USS without C# for a menu screen, with a script for runtime binding if logic is needed. Colors and dimensions are used exactly as given. Before writing, the agent reads `references/common-issues.md` to avoid common mistakes that pass parsing but break rendering.

When editing, the agent changes only what is requested: does not rewrite an entire file for one button, does not refactor unrelated code, does not add comments unless asked.

## Requirements
- Works with: Unity

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill ui-uitk -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ui-uitk/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ui-uitk/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill ui-uitk -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ui-uitk/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill ui-uitk -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ui-uitk/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Unity-Technologies/skills skills/ui-uitk
```

2. **Manually: put the files in place**
- File: `.github/skills/ui-uitk/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill ui-uitk -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Unity-Technologies/skills --path skills/ui-uitk
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ui-uitk/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill ui-uitk -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Unity-Technologies/skills/tree/HEAD/skills/ui-uitk/SKILL.md

## When to use it
- read and explain UXML structure
- add an element to existing UI Toolkit markup
- generate a menu screen with USS and UXML
- build a custom element with a Manipulator for drag-and-drop
- set up runtime data binding for a list

## Example prompts
- Generate a main menu screen with Play, Settings, Quit buttons — USS and UXML
- Add a Label named `scoreLabel` to `HUD.uxml` after the `healthBar` element
- Build a custom inventory slot element with drag support — show how to wire up the Manipulator

## Similar
- [unity-ui-development](https://affpapa.org/en/nevibecode/skills/unity-ui-development.md) — skill · 107 installs
- [scenario-unity-ui](https://affpapa.org/en/nevibecode/skills/scenario-unity-ui.md) — skill · 579 installs
- [game-ui-ux](https://affpapa.org/en/nevibecode/skills/game-ui-ux.md) — skill · 17700 installs
- [layer-game-ui](https://affpapa.org/en/nevibecode/skills/layer-game-ui.md) — skill · 1100 installs
- [game-feel](https://affpapa.org/en/nevibecode/skills/game-feel.md) — skill · 17800 installs
- [flue](https://affpapa.org/en/nevibecode/skills/flue.md) — skill · 12600 installs

From the same set: [unity-technologies/skills](https://affpapa.org/en/nevibecode/by/unity-technologies/skills.md) — 38 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
