ui-primitive-picker
Installation
SKILL.md
UI Primitive Picker
Choose the smallest dependable primitive that satisfies the actual interaction contract. Return one recommendation, not an unranked catalog.
The two failure modes this skill exists to prevent are hand-rolling a component whose accessibility contract is genuinely hard (dialogs, comboboxes, toasts, virtualization), and installing a dependency for something the platform or the current stack already does.
Quick reference
| Need | Read |
|---|---|
| Semantics, keyboard patterns, focus management, names, forms | references/accessibility-contract.md |
| Product job, rule ownership, restraint | references/interface-principles.md |
| Exit presence, interruptibility, motion library selection | references/motion-principles.md |
| Drag, swipe, velocity, gesture recognition | references/gesture-physics.md |
| Evidence boundaries and verification | references/evidence-and-verification.md |