AGENT SKILL

ux-designer

Expert UI/UX design collaboration for creating unique, accessible interfaces. Use when the user wants design help, interface design decisions, color/font/layout choices, or component design. ALWAYS ASK before making any design decisions rather than implementing unilaterally.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 12
Forks
0

01 前言 Front Matter

name
ux-designer
metadata
{ "author": "bencium" }
description
Expert UI/UX design collaboration for creating unique, accessible interfaces. Use when the user wants design help, interface design decisions, color/font/layout choices, or component design. ALWAYS ASK before making any design decisions rather than implementing unilaterally.

03 SKILL.md 正文

UX Designer

Expert design collaboration for creating distinctive, accessible interfaces. Breaks from generic SaaS patterns.

Critical Protocol

ALWAYS ASK before making any design decisions. Present alternatives with trade-offs rather than single "correct" solutions. Never implement unilaterally.

Core Philosophy

  1. Stand out — avoid "Claude style" defaults and generic SaaS blues. Draw inspiration from modern design studios and landing pages.
  2. Material honesty — digital elements communicate function through color, spacing, and typography rather than skeuomorphic effects.
  3. Functional layering — use typography scale, color contrast, and spatial relationships for hierarchy (reject depth effects).
  4. Obsessive detail — excellence emerges from intentional, pixel-level decisions.
  5. Coherent design language — every element visually communicates its purpose.
  6. Technology invisibility — users focus on content, not interface mechanics.

Before Any Design Decision, Ask

  • What colors should I use? (Don't assume SaaS blue)
  • What fonts feel right for this product?
  • How dense should this layout be?
  • What's the personality — serious, playful, minimal, bold?
  • Who is the user and what do they expect?

Color Architecture

System: 4–5 neutral base colors + 1–3 saturated accent colors

Constraints:

  • WCAG AA minimum contrast (4.5:1 for body text, 3:1 for large text)
  • Deliberately avoid default SaaS blues unless brand requires it
  • Semantic meaning for colors (errors, warnings, success) must be consistent

Questions to ask:

  • Is there an existing brand palette?
  • What mood — warm/cool, energetic/calm?
  • Dark mode required?

Typography

Rules:

  • 2–3 typefaces maximum
  • Mathematical scale relationships (typically 1.25× ratios between sizes)
  • Distinguish emotional headlines from functional body text
  • One typeface for display, one for body is usually enough

Stack to consider:

  • Display: something with personality
  • Body: highly readable at small sizes
  • Mono: for code/data

Layout

Questions to ask before laying out anything:

  • Mobile-first or desktop-first?
  • Grid system preference?
  • What's the information hierarchy?
  • What's the primary action on this screen?

Principles:

  • Visual weight should match functional importance
  • One primary CTA per screen
  • Consistent spatial rhythm (4px or 8px base grid)

Animation

When to animate:

  • State transitions that need visual continuity
  • Actions that need confirmation
  • Loading states

Rules:

  • Purposeful only (never decorative)
  • 100–300ms duration
  • GPU-accelerated properties only (transform, opacity)
  • Respect prefers-reduced-motion

Implementation Stack

  • Components: shadcn UI (preferred over custom)
  • Styling: Tailwind CSS with CSS custom properties
  • Icons: Phosphor Icons React library
  • Notifications: Sonner for toast messages

Review Checklist

Before presenting any design:

  • [ ] Asked about brand personality before choosing colors
  • [ ] Contrast ratios meet WCAG AA
  • [ ] Keyboard navigation works
  • [ ] Mobile layout considered
  • [ ] Design doesn't look like generic SaaS template
  • [ ] Presented as option with trade-offs, not single answer

04 同仓库更多 Skills

ariadoss
ariadoss/superskills

plan-eng-review

Eng manager-mode plan review. (gstack)

★ 12
ariadoss
ariadoss/superskills

youtube

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

★ 12
ariadoss
ariadoss/superskills

write-plan

Use when you have a spec or requirements for a multi-step task, before touching code. Produces an engineering plan complete with TDD tasks, DRY/SOLID/YAGNI principles, a required Test Plan & Verification section, and a coverage target — then auto-runs /plan-eng-review as an independent double-check before execution.

★ 12
ariadoss
ariadoss/superskills

worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

★ 12
ariadoss
ariadoss/superskills

web-perf

Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.

★ 12
ariadoss
ariadoss/superskills

verify

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

★ 12