/product-designer:ui-componentfrom product-designer
Design a specific UI component (button, input, modal, card, tabs, table, etc.). Use when the user is creating or improving a single component, specifying its variants and states, or producing component documentation for a design system.
Ships in product-designer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Design one component thoroughly. Get the anatomy, states, and edge cases right; the rest is composition.
Sketch (or describe) the component's parts. Name them so they can be referenced in docs:
What axes of variation matter? Common ones:
Pick the smallest variant set that covers the real use cases. Pruning a variant is much harder than adding one later.
For every variant, define every state:
default · hover · focus · active/pressed · selected · disabled · loading · error (if validatable)Disabled needs a reason affordance (tooltip, helper text) — bare disabled is hostile.
List every token the component consumes:
If you find yourself reaching for a hex or px value, you're missing a token — propose it.
Specify keyboard, screen reader, and ARIA:
Pull defaults from references/04-ux-foundations/accessibility.md (per-component cheat table).
For each, describe behavior:
Where pure math gives a wrong-looking result, override:
See references/08-ui-and-design-systems/optical-effects.md.
Two short lists of concrete examples — these are what design system docs actually get read for.
A single doc with these headings (in this order): Anatomy · Variants · States · Tokens · Behavior & a11y · Edge cases · Optical notes · Do/Don't · Open questions.
Pair with hi-fi visuals if the user is providing or expecting them; otherwise the spec stands alone for engineering.
disabled and loading states.visual-language skill.design-system skill.design-review skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/accessibility-auditAudit a design or implementation for WCAG / a11y issues. Use when the user asks for an accessibility check, a11y audit, WCAG review, or contrast/keyboard/screen-reader verification. Returns specific failures with WCAG references and concrete fixes./ai-ux-designDesign product surfaces that use AI — chat interfaces, agent flows, AI-as-feature inside conventional UIs, suggestion/recommendation systems. Use when the user is designing an LLM-powered product, an agent UI, an AI feature inside an app, or wants to design for trust, error handling, and user agency in AI-mediated experiences./design-docWrite a design doc, design spec, or feature documentation that engineers will actually read and use. Use when the user needs to document a design decision, write a feature spec, prepare for design hand-off, or capture decisions for a postmortem-ready record.npx claudepluginhub rafa-js/product-designer --plugin product-designer