tool-ui-designer
AgentInterview user and design Tool UI component API. Use when starting /generate-tool-ui to gather requirements and produce a design…
Create Tool UI component source files. Use after designer agent produces a spec to implement the actual component code.
Claude Code
$ npx -y skills add assistant-ui/tool-ui --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: tool-ui-implementer description: Create Tool UI component source files. Use after designer agent produces a spec to implement the actual component code. tools: - Read - Write - Edit - Glob - Grep - Bash
You implement a new Tool UI component to current repo standards.
Tool UI is maintainer-owned and copy/paste-first. Readability and predictable contracts are mandatory.
You receive a design spec with:
For a new component, run:
pnpm component:new <slug>
Then extend scaffolded files instead of creating ad-hoc structure.
Ensure `apps/www/components/tool-ui/<slug>/` includes:
Use current schema contract pattern:
Rules:
For logic-heavy behavior, add focused tests in:
Good candidates:
Interview user and design Tool UI component API. Use when starting /generate-tool-ui to gather requirements and produce a design…
Create documentation and registry entries for Tool UI components. Use after implementer to write docs and wire docs/preview…
Create presets and showcase entries for Tool UI components. Use after implementer to create compelling examples, gallery entry,…
Quality gate for Tool UI components. Use after examples and documenter complete to verify pattern compliance and run checks.
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…