/uxcel:ux-buttonsfrom Uxcel Skills
Designs or critiques UI buttons: selects button type by action importance, applies sizing/label/state best practices, and gates stylistic choices like shape, shadows, FABs, and icon-only buttons.
Ships in Uxcel Skills. 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.
This is a generative skill. The default failure modes are opposite: flat sameness (every action gets the same generic button, no hierarchy, vague "Submit/OK" labels, missing states) and decoration overload (every button raised, shadowed, branded, icon-stuffed). A checklist is not a mandate, so this skill gates:
Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, and ux-microcopy-audit for validation.
Ask if not known; state the assumption if proceeding without an answer:
Enabled, hover, pressed (brief but crucial feedback that the tap registered), focused (a visible ring/border — vital for keyboard and assistive-tech users; don't style it so close to other states that it's ambiguous), and disabled (grayed out, clearly inert). Buttons that toggle something on/off must make the current direction explicit.
accessibility audit.Present each with its trade-off and a recommendation tied to Step 0. Applying all of these by default is the decoration-overload failure mode.
| Decision | Apply when | Avoid / adapt when | Default recommendation |
|---|---|---|---|
| Shape: sharp ↔ rounded ↔ pill | Sharp = serious, solid (finance, insurance); rounded = friendly, safe; pill = playful, informal | Sharp corners on a warm consumer brand; pills in formal/enterprise UI | Slightly rounded rectangle — the familiar, trusted middle; pill radius = ½ height + extra horizontal padding |
| Elevation / shadows | Raised buttons to lift the primary action; flat for everything else | Shadows on transparent buttons or near labels (kills legibility); big dark default-black shadows | Shadow tinted near the button's color, <40% opacity, smaller than the button — depth cue, not decoration |
| Icon-only buttons | Routine actions with universal icons (edit, delete, search, home) in tight space | Any icon users must decode; anywhere without an accessible name | Icon + label; if icon-only, universal symbol + accessible name |
| FAB | One fixed, constructive, most-used action in an app (compose, add) | Destructive actions; more than one per page; content it would cover | At most one, only if the app has a single dominant create-action |
| Branded buttons ("Sign in with Google") | Third-party auth/integration points | Restyling them to match your UI — breaks trust and brand guidelines | Use the brand's official assets verbatim, placed where the action occurs |
| Custom shapes | The shape amplifies the function (arrow-shaped "Next") | Novelty that obscures clickability | Stick to conventions; if custom, reinforce affordance with contrast/size/shadow |
| Width: hug vs. fixed | Fixed width for stacked primary/secondary on mobile — balanced, scannable | Fixed width truncating long labels (i18n) | Hug with a minimum width on web; fixed for stacked mobile pairs |
| Tactile feedback | Mobile: subtle vibration on tap confirms registration | Stacking every visual + tactile effect at once (overwhelming) | Visual state change always; haptics as a light mobile enhancement |
Hand-offs name each lens by its installable skill
name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.
After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics and microcopy are Tier A (auto-run); accessibility, aesthetics, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.
ux-heuristics-audit (Tier A) — visibility of system status (states/feedback), consistency, error prevention around destructive buttons.ux-accessibility-audit (Tier B — offer; narrow under a design system) — contrast ratios, touch-target sizes, focus visibility, accessible names for icon-only buttons.ux-aesthetics-audit (Tier B — offer; suppress under a design system) — hierarchy clarity and whether styling tipped into decoration overload (competing primaries, shadow soup).ux-microcopy-audit (Tier A) — label clarity, action-verb phrasing, consistency of command language across the product.ux-mobile-responsiveness-audit (Tier B — offer; applies only on mobile) — when the context is mobile: target sizes, spacing, and stacked-button layout.If the audits surface a conflict (e.g., brand expressiveness vs. affordance), resolve back toward the primary task: the user must instantly recognize and successfully hit the right action.
| ❌ Don't | ✅ Do |
|---|---|
| Three equally prominent buttons on one screen | One primary; secondary/tertiary visibly subordinate |
| "Yes" / "No" / "OK" labels | Action verbs stating the result: "Delete project," "Save changes" |
| Icon-only button with a clever-but-obscure symbol | Universal icon + label (or accessible name at minimum) |
| Design only the resting state | Enabled, hover, pressed, focused, disabled — all distinct |
| 32px-tall tappable area on mobile | ≥48×48px touch target with breathing room between buttons |
| FAB for "Delete account" | FAB only for the app's main constructive action — or no FAB |
| Restyle "Sign in with Google" to match your palette | Official brand assets, untouched |
| Shadow every button for "depth" | Elevation only where it signals priority; tinted, subtle, smaller than the button |
| Different styles for the same action across screens | One consistent button system product-wide |
| Ship without checking | Hand off to heuristics + accessibility + aesthetics + microcopy |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uxcel-lab/product-skills --plugin uxcel59 skills in this plugin
/ux-accessibility-auditRun a structured WCAG 2.1 AA accessibility audit on a design, screen, component, or page. Produces a prioritized issue list — each finding cites the violated WCAG criterion, a severity rating (Critical/Major/Minor), and a concrete fix. Use when auditing for a11y compliance or as a validation step after generating UI./ux-activity-feedDesign or critique an activity feed / stream — a scannable list of updates where what matters stands out and noise fades. Gates the feed-type choice (chronological vs. algorithmic/ranked) and levers like notification aggregation, follow recommendations, and per-entry controls, while applying the always-true core (curated entries, legible text, relative timestamps, no empty feed, visible refresh status). Trigger when the user asks to design or review an activity feed, news/social feed, activity stream, notifications feed, or timeline./Other plugins' skills for the same job