ui-ux-design
2
总安装量
2
周安装量
#67226
全站排名
安装命令
npx skills add https://github.com/simplerick0/com.ackhax.configs --skill ui-ux-design
Agent 安装分布
cursor
2
mcpjam
1
claude-code
1
junie
1
windsurf
1
zencoder
1
Skill 文档
UI/UX Design
Design user interfaces and experiences using structured thinking and text-based artifacts.
Design Process
- User flows – Map the journey before screens
- Information architecture – Organize content and navigation
- Wireframes – Layout and hierarchy (low fidelity)
- Component inventory – Identify reusable pieces
- Interaction patterns – Define behaviors
- Visual design – Apply styling (or use existing system)
User Flow Mapping
Flow Notation
[Start] â (Action) â [Screen] â <Decision> â [End]
Example: Password Reset
[Login Page]
â (Click "Forgot Password")
â [Email Input]
â (Submit email)
â <Email exists?>
Yes â [Check Email Message] â (Click link) â [Reset Form] â [Success]
No â [Error: Email not found]
Flow Documentation
## Flow: User Registration
### Happy Path
1. Landing Page â Click "Sign Up"
2. Registration Form â Enter email, password
3. Email Verification â Click link in email
4. Profile Setup â Add name, avatar (optional)
5. Dashboard â Onboarding tour
### Error States
- Invalid email format â Inline validation
- Email already exists â Link to login
- Weak password â Requirements tooltip
- Verification expired â Resend option
Wireframing (Text-Based)
ASCII Wireframe
âââââââââââââââââââââââââââââââââââââââ
â Logo [Search...] [Login]â
âââââââââââââââââââââââââââââââââââââââ¤
â â
â âââââââââââ âââââââââââ â
â â Card â â Card â â
â â ----- â â ----- â â
â â text â â text â â
â âââââââââââ âââââââââââ â
â â
â âââââââââââ âââââââââââ â
â â Card â â Card â â
â âââââââââââ âââââââââââ â
â â
âââââââââââââââââââââââââââââââââââââââ¤
â Footer links © 2024 â
âââââââââââââââââââââââââââââââââââââââ
Component Specification
## Component: User Card
### Layout
- Avatar (48x48, left)
- Name (bold, truncate at 20 chars)
- Role (muted text, below name)
- Actions menu (right, icon button)
### States
- Default: White background
- Hover: Light gray background
- Selected: Blue border
- Loading: Skeleton placeholder
### Responsive
- Desktop: Horizontal layout
- Mobile: Stack avatar above text
Information Architecture
Navigation Structure
Primary Nav (always visible)
âââ Dashboard
âââ Projects
â âââ Active
â âââ Archived
â âââ [Create New]
âââ Team
âââ Settings
Secondary Nav (contextual)
âââ Project Detail
âââ Overview
âââ Tasks
âââ Files
âââ Settings
Content Hierarchy
Page: Project Dashboard
âââ H1: Project Name
âââ Meta: Status, Owner, Due Date
âââ Section: Quick Actions
â âââ [New Task] [Upload] [Invite]
âââ Section: Recent Activity
â âââ Activity feed (5 items)
âââ Section: Tasks Overview
â âââ Kanban or list view
âââ Section: Team
âââ Member avatars + invite
Component Design System
Core Components
## Buttons
- Primary: Main actions (1 per screen)
- Secondary: Supporting actions
- Ghost: Tertiary/cancel actions
- Destructive: Delete/remove (red)
Sizes: sm (32px), md (40px), lg (48px)
States: default, hover, active, disabled, loading
## Form Inputs
- Text input (single line)
- Textarea (multi-line)
- Select (dropdown)
- Checkbox / Radio
- Toggle switch
All inputs need: label, placeholder, error state, disabled state
## Feedback
- Toast: Temporary, auto-dismiss (success, error, info)
- Alert: Persistent, in-page (warning, error)
- Modal: Blocking, requires action
- Empty state: No data illustration + CTA
Spacing Scale
4px - xs (tight elements)
8px - sm (related items)
16px - md (default spacing)
24px - lg (section gaps)
32px - xl (major sections)
48px - 2xl (page sections)
Responsive Design
Breakpoints
Mobile: < 640px (single column)
Tablet: 640-1024px (2 columns)
Desktop: > 1024px (full layout)
Responsive Patterns
## Navigation
- Desktop: Horizontal top bar
- Mobile: Hamburger â slide-out drawer
## Data Tables
- Desktop: Full table with columns
- Mobile: Card-based list, key info only
## Forms
- Desktop: 2-column where logical
- Mobile: Single column, full width inputs
## Images/Media
- Desktop: Grid layout
- Mobile: Single column, swipeable carousel
Accessibility Essentials
Must-Have
- Color contrast 4.5:1 minimum (text)
- Focus indicators visible
- All images have alt text
- Form inputs have labels
- Error messages announced
- Keyboard navigation works
- Touch targets 44x44px minimum
Semantic Structure
<!-- Use proper hierarchy -->
<header> - Site header
<nav> - Navigation
<main> - Primary content
<aside> - Secondary content
<footer> - Site footer
<!-- Headings in order -->
<h1> â <h2> â <h3> (no skipping)
ARIA When Needed
<!-- Only when HTML semantics insufficient -->
<button aria-expanded="false">Menu</button>
<div role="alert">Error message</div>
<input aria-describedby="help-text">
Design Handoff Format
## Screen: [Name]
### Purpose
One sentence explaining what user accomplishes here.
### Layout
[ASCII wireframe or description]
### Components Used
- Header (sticky)
- Card (with hover state)
- Button (primary)
- Empty state
### Interactions
- Click card â Navigate to detail
- Hover card â Show quick actions
- Click delete â Confirm modal
### Data Requirements
- User list (paginated, 20/page)
- User object: id, name, email, avatar, role
### Edge Cases
- Empty: Show illustration + "Add first user" CTA
- Loading: Skeleton cards
- Error: Inline error with retry