skills/ui/SKILL.md
UI/UX design agent for crafting user experiences, visual designs, and game interfaces. Auto-detects the designer role (UX Designer, UI Designer, Game UI Designer) and spawns a role-scoped sub-agent with only the relevant reference files. Triggers on phrases like "user flow", "wireframe", "design system", "design tokens", "accessibility", "WCAG", "UI pattern", "HUD", "game menu", "inventory UI", "minimap". Full per-role triggers in references/roles/.
npx skillsauth add jim60105/copilot-prompt uiInstall 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.
This skill keeps design-specific knowledge out of the main context window. When a design task is requested, the relevant role is detected, only the corresponding reference file(s) are loaded, and a sub-agent is spawned with that isolated context. The main context receives only the finished design artifact.
Design tasks frequently span concerns -- a component specification may need both design system tokens and accessibility guidelines simultaneously. This skill follows the godot pattern: multiple overlapping references loaded into a single sub-agent when the task warrants it.
Detect the relevant designer role from (in priority order):
If ambiguous, ask before proceeding. Do not assume.
Declare before every task:
Role: [ROLE] | Task: [TYPE] | References: [list of reference files]
Load only the matched role manifest. Each manifest contains the full task-type routing table, instructions, and guardrails for that role.
| Role | Manifest | Detection Cue |
|------|----------|---------------|
| UX Designer | references/roles/ux-designer.md | flow / journey / research / wireframe / IA |
| UI Designer | references/roles/ui-designer.md | design system / tokens / component / WCAG / interaction |
| Game UI Designer | references/roles/game-ui-designer.md | HUD / game menu / inventory / dialog / game accessibility |
For cross-role tasks, see references/contracts/cross-role-tasks.md.
For every design task, follow these steps exactly -- do not skip:
Agent tool with the prompt template belowDo not inline design knowledge into the main context. The sub-agent is the execution boundary for all design-specific reasoning.
You are an expert [ROLE]. Apply these design principles and patterns to everything you produce:
---
[PASTE FULL CONTENTS OF EACH RELEVANT REFERENCE FILE -- separated by --- if multiple]
---
## Task
[TASK TYPE]: [DESCRIBE WHAT THE USER WANTS]
## Context
[Include any of the following that are relevant:]
- Product or application description
- Target users and their goals
- Platform constraints (web, mobile, desktop, console, VR)
- Brand guidelines or existing design system
- Accessibility requirements
- Performance or technical constraints
- Game genre and engine (for game UI tasks)
- Related design artifacts or prior decisions
- PRD or user stories (from Product-Owner skill output)
## Output Requirements
Produce:
1. Design artifacts appropriate to the task type (see output contract below)
2. Rationale for key design decisions
3. Assumptions stated clearly
4. Edge cases and error states addressed
5. Next steps / open questions
If the task requires modifying existing files, use the Read, Edit, Write, Glob, and Grep tools to work directly in the codebase.
Each role uses a distinct contract; load only the matched role's contract.
| Role | Contract |
|------|----------|
| UX Designer | references/contracts/ux-output.md |
| UI Designer | references/contracts/ui-output.md |
| Game UI Designer | references/contracts/game-ui-output.md |
| Review (any role) | references/contracts/review-output.md |
For orchestration with other delivery-team skills, the UI skill accepts and produces structured contracts.
{
"task_type": "user-flow | journey-map | information-architecture | user-research | usability-review | wireframe | design-system | component-spec | interaction-design | design-tokens | accessibility-review | ui-patterns | hud-design | menu-architecture | inventory-ui | dialog-ui | game-ui-accessibility",
"role": "ux-designer | ui-designer | game-ui-designer",
"context": {
"product": "string -- product or application name",
"target_users": "string (optional) -- who the users are",
"platform": ["array (optional) -- web, mobile, desktop, console, VR"],
"existing_design_system": "string (optional) -- current design system description",
"brand_guidelines": "string (optional) -- brand constraints",
"accessibility_requirements": "string (optional) -- specific a11y needs",
"game_genre": "string (optional) -- RPG, FPS, strategy, etc.",
"game_engine": "string (optional) -- Godot, Unity, Unreal, custom",
"target_platforms": ["array (optional) -- PC, PS5, Switch, mobile, etc."],
"prd_reference": "string (optional) -- output from Product-Owner skill",
"architecture_reference": "string (optional) -- output from Architect skill"
},
"input": "string -- the raw request or design brief"
}
{
"task_type": "string",
"role": "string",
"artifact_title": "string",
"artifact": "string (markdown)",
"design_decisions": ["array -- key design decisions with rationale"],
"assumptions": ["array"],
"accessibility_notes": ["array -- WCAG compliance notes"],
"edge_cases": ["array -- error states and edge cases addressed"],
"open_questions": ["array"],
"input_support": {
"keyboard": "boolean",
"gamepad": "boolean (game UI only)",
"touch": "boolean (optional)"
},
"downstream_ready": true,
"downstream_notes": "string -- what the developer agent needs to know"
}
| Command | Action |
|---|---|
| role <name> | Override detected role (e.g., role ux-designer, role game-ui-designer) |
| wireframe | Create a wireframe for the current design |
| flow | Create a user flow diagram |
| tokens | Define or review design tokens |
| a11y | Run accessibility review on current design |
| review | Switch to design review mode |
| hud | Design a HUD layout |
| menu | Design a menu system |
| component | Specify a UI component |
| accept | Finalize current artifact |
references/roles/ux-designer.md -- UX Designer task routing, instructions, guardrailsreferences/roles/ui-designer.md -- UI Designer task routing, instructions, guardrailsreferences/roles/game-ui-designer.md -- Game UI Designer task routing, instructions, guardrailsreferences/contracts/ux-output.md, ui-output.md, game-ui-output.md, review-output.mdreferences/contracts/cross-role-tasks.md -- Multi-role combination patternsreferences/user-flows.md -- Flow diagrams, task analysis, navigation patterns, information architecturereferences/user-research.md -- Interview guides, surveys, personas, empathy maps, Jobs-to-be-Done, research synthesisreferences/usability-heuristics.md -- Nielsen's 10 heuristics, cognitive load, Fitts's law, Hick's law, evaluation methodologyreferences/wireframing.md -- Wireframe conventions, layout grids, responsive breakpoints, page templates, annotation standardsreferences/design-systems.md -- Atomic design, design tokens, component APIs, theming, naming conventions, governancereferences/interaction-patterns.md -- Micro-interactions, animation, transitions, loading states, gestures, scroll behaviorsreferences/accessibility.md -- WCAG 2.1 AA, color contrast, ARIA, keyboard navigation, screen readers, forms accessibilityreferences/ui-patterns.md -- Navigation, forms, tables, modals, notifications, search, empty states, responsive layoutsreferences/hud-systems.md -- HUD layout, health bars, minimaps, compass, damage indicators, crosshairs, contextual HUDreferences/menu-systems.md -- Menu state machines, settings, pause menus, save/load, gamepad navigation, title screensreferences/game-ui-patterns.md -- Inventory, tooltips, crafting, quest log, dialogue, loot, shop, skill tree, map UIreferences/game-ui-accessibility.md -- Colorblind modes, subtitles, input remapping, font scaling, screen reader, motion sensitivitytesting
Create `AGENTS.md` file for a project. Use when the user wants to set up custom instructions, configure AI coding assistant behavior, or create project-specific coding guidelines for AI agents.
development
Generate images via the Stable Diffusion WebUI / Forge HTTP API (AUTOMATIC1111-compatible `/sdapi/v1/*`). Use when the user wants to (1) discover or pick a model / extra module (TE/VAE) / sampler / scheduler / style preset from a running sd-webui server, (2) generate an image with a given prompt (txt2img), (3) check generation progress, (4) cancel/interrupt an in-flight generation, (5) inspect or change a global sd-webui option (e.g. active checkpoint), or (6) test connectivity. This skill talks to a *generic* sd-webui-compatible server (AUTOMATIC1111, Forge, reForge, sd-webui-forge-classic). Do NOT trigger for requests that are purely writing the prompt itself.
testing
Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.
development
Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the user wants to revise a change's plan, fold new decisions into it, or reconcile its artifacts after an edit. Never edits code.