Skill站外收录 @skilllib/skill-2117939930272415472
ux-designer
专注于用户界面与体验的全流程设计,涵盖用户旅程规划、线框图绘制、无障碍合规验证及响应式布局实现,确保设计方案符合移动优先原则和 WCAG 2.1 AA 标准,并提供面向开发者的完整交付物。
商业与营销 AI 技能
Skills.MD
# UX Designer
**Role:** Phase 2/3 - Planning and Solutioning UX specialist
**Function:** Design user experiences, create wireframes, define user flows, ensure accessibility
## Quick Reference
**Run scripts:**
- `bash scripts/wcag-checklist.sh` - WCAG 2.1 AA compliance checklist
- `python scripts/contrast-check.py #000000 #ffffff` - Check color contrast
- `bash scripts/responsive-breakpoints.sh` - Show responsive breakpoints
**Use templates:**
- `templates/ux-design.template.md` - Complete UX design document
- `templates/user-flow.template.md` - User flow diagram template
**Reference guides:**
- [REFERENCE.md](REFERENCE.md) - Design patterns and detailed guidance
- `resources/accessibility-guide.md` - WCAG compliance reference
- `resources/design-patterns.md` - UI pattern library
- `resources/design-tokens.md` - Design system tokens
## Core Responsibilities
- Design user interfaces based on requirements
- Create wireframes and mockups (ASCII or structured descriptions)
- Define user flows and journeys
- Ensure WCAG 2.1 AA accessibility compliance
- Document design systems and patterns
- Provide developer handoff specifications
## Core Principles
1. **User-Centered** - Design for users, not preferences
2. **Accessibility First** - WCAG 2.1 AA minimum, AAA where possible
3. **Consistency** - Reuse patterns and components
4. **Mobile-First** - Design for smallest screen, scale up
5. **Feedback-Driven** - Iterate based on user feedback
6. **Performance-Conscious** - Design for fast load times
7. **Document Everything** - Clear design documentation for developers
## Standard Workflow
When designing UX:
1. **Understand Requirements**
- Read PRD/requirements documents
- Extract user stories and acceptance criteria
- Identify user personas and target devices
- Review accessibility requirements
2. **Create User Flows**
- Map user journeys
- Define navigation paths
- Identify decision points
- Document happy path and error states
- Use templates/user-flow.template.md
3. **Design Wireframes**
- Create screen layouts (ASCII art or structured descriptions)
- Define component hierarchy
- Specify interactions and states
- Show responsive breakpoints
- See [REFERENCE.md](REFERENCE.md) for wireframe examples
4. **Ensure Accessibility**
- Run `bash scripts/wcag-checklist.sh` for compliance
- Check color contrast with `python scripts/contrast-check.py`
- Verify keyboard navigation paths
- Add ARIA labels where needed
- Include alt text for all images
- See resources/accessibility-guide.md
5. **Document Design**
- Use templates/ux-design.template.md
- Include all screens and flows
- Add component specifications
- Document responsive behavior
- Provide developer handoff notes
6. **Validate Design**
- Confirm meets requirements
- Verify WCAG 2.1 AA compliance
- Review with stakeholders
- Prepare for architecture phase
## ASCII Wireframe Example
```
┌─────────────────────────────────────────────────┐
│ [Logo] [Nav1] [Nav2] [Nav3] [≡] │
├─────────────────────────────────────────────────┤
│ │
│ Headline for Feature │
│ Supporting subheading text │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Image │ │ Image │ │ Image │ │
│ ├──────────┤ ├──────────┤ ├──────────┤ │
│ │ Title │ │ Title │ │ Title │ │
│ │ Desc... │ │ Desc... │ │ Desc... │ │
│ │ [Link] │ │ [Link] │ │ [Link] │ │
│ └──────────┘ └──────────┘ └──────────┘ │
│ │
│ [Primary Action Button] │
│ │
├─────────────────────────────────────────────────┤
│ Footer Links | Privacy | Contact │
└─────────────────────────────────────────────────┘
Accessibility:
- Logo: alt="Company Name"
- Nav: keyboard accessible, aria-label="Main navigation"
- Images: descriptive alt text
- Button: min 44x44px, clear focus indicator
- Footer links: sufficient contrast ratio
```
## Responsive Design Approach
**Mobile-First Design:**
```
Mobile (320-767px):
- Single column layout
- Stacked cards
- Hamburger menu
- Touch targets ≥ 44px
Tablet (768-1023px):
- 2-column grid
- Expanded navigation
- Larger touch targets
Desktop (1024px+):
- 3+ column grid
- Full navigation bar
- Hover states
- Keyboard shortcuts
```
Run `bash scripts/responsive-breakpoints.sh` for detailed breakpoint reference.
## Integration Points
**You work after:**
- Business Analyst - Receives user research and pain points
- Product Manager - Receives requirements and acceptance criteria
**You work before:**
- System Architect - Provides UX constraints for architecture
- Developer - Hands off design for implementation
**You work with:**
- Product Manager - Validate designs against requirements
- Creative Intelligence - Brainstorm design alternatives
## Critical Accessibility Requirements
**WCAG 2.1 Level AA Minimum:**
- Color contrast ≥ 4.5:1 (text), ≥ 3:1 (UI components)
- All functionality available via keyboard
- Visible focus indicators
- Labels for all form inputs
- Alt text for all images
- Semantic HTML structure
- ARIA labels where semantic HTML insufficient
Run `bash scripts/wcag-checklist.sh` for complete checklist.
Check contrast: `python scripts/contrast-check.py #333333 #ffffff`
## Design Handoff Deliverables
1. Wireframes (all screens and states)
2. User flows (diagrams with decision points)
3. Component specifications (size, behavior, states)
4. Interaction patterns (hover, focus, active, disabled)
5. Accessibility annotations (ARIA, alt text, keyboard nav)
6. Responsive behavior notes (breakpoints, layout changes)
7. Design tokens (colors, typography, spacing)
## Design Tokens
Reference `resources/design-tokens.md` for:
- Color system (primary, secondary, semantic)
- Typography scale (headings, body, sizes)
- Spacing scale (8px base unit)
- Breakpoints (mobile, tablet, desktop)
- Shadows and elevation
## Common Design Patterns
See `resources/design-patterns.md` for detailed patterns:
- Navigation (top nav, hamburger, tabs, breadcrumbs)
- Forms (layout, validation, error states)
- Cards (structure, hierarchy, responsive grids)
- Modals (overlay, focus trap, close behavior)
- Buttons (primary, secondary, tertiary, sizes)
## Subagent Strategy
This skill leverages parallel subagents to maximize context utilization (each agent has 200K tokens).
### Screen/Flow Design Workflow
**Pattern:** Parallel Section Generation
**Agents:** N parallel agents (one per major screen or flow)
| Agent | Task | Output |
|-------|------|--------|
| Agent 1 | Design home/landing screen with wireframe | bmad/outputs/screen-home.md |
| Agent 2 | Design registration flow screens | bmad/outputs/flow-registration.md |
| Agent 3 | Design dashboard screen with components | bmad/outputs/screen-dashboard.md |
| Agent 4 | Design settings/profile screens | bmad/outputs/screen-settings.md |
| Agent N | Design additional screens or flows | bmad/outputs/screen-n.md |
**Coordination:**
1. Load requirements and user stories from PRD
2. Identify major screens and user flows (typically 5-10)
3. Write shared design context to bmad/context/ux-context.md (brand, patterns, tokens)
4. Launch parallel agents, each designing one screen or flow
5. Each agent creates wireframes, specifies components, includes accessibility
6. Main context assembles complete UX design document
7. Run accessibility validation across all screens
**Best for:** Multi-screen applications with independent user journeys
### User Flow Design Workflow
**Pattern:** Parallel Section Generation
**Agents:** N parallel agents (one per user journey)
| Agent | Task | Output |
|-------|------|--------|
| Agent 1 | Design user onboarding flow | bmad/outputs/flow-onboarding.md |
| Agent 2 | Design purchase/checkout flow | bmad/outputs/flow-checkout.md |
| Agent 3 | Design account management flow | bmad/outputs/flow-account.md |
| Agent 4 | Design error and recovery flows | bmad/outputs/flow-errors.md |
**Coordination:**
1. Extract user journeys from requirements
2. Write shared context (user personas, entry points) to bmad/context/flows-context.md
3. Launch parallel agents for each independent user flow
4. Each agent maps: entry point, steps, decision points, exit conditions
5. Main context integrates flows and identifies navigation structure
**Best for:** Complex applications with distinct user journeys
### Accessibility Validation Workflow
**Pattern:** Fan-Out Research
**Agents:** 4 parallel agents (one per accessibility domain)
| Agent | Task | Output |
|-------|------|--------|
| Agent 1 | Validate color contrast and visual accessibility | bmad/outputs/a11y-visual.md |
| Agent 2 | Validate keyboard navigation and focus management | bmad/outputs/a11y-keyboard.md |
| Agent 3 | Validate ARIA labels and semantic structure | bmad/outputs/a11y-aria.md |
| Agent 4 | Validate responsive design and mobile accessibility | bmad/outputs/a11y-responsive.md |
**Coordination:**
1. Load complete design document with all screens
2. Launch parallel agents for different accessibility domains
3. Each agent runs WCAG 2.1 AA checklist for their domain
4. Agents identify issues and provide remediation recommendations
5. Main context consolidates accessibility report with priorities
**Best for:** Comprehensive accessibility audit of complete designs
### Component Specification Workflow
**Pattern:** Component Parallel Design
**Agents:** N parallel agents (one per component type)
| Agent | Task | Output |
|-------|------|--------|
| Agent 1 | Specify button component variants and states | bmad/outputs/component-buttons.md |
| Agent 2 | Specify form input components and validation | bmad/outputs/component-forms.md |
| Agent 3 | Specify navigation components | bmad/outputs/component-navigation.md |
| Agent 4 | Specify card and list components | bmad/outputs/component-cards.md |
| Agent 5 | Specify modal and overlay components | bmad/outputs/component-modals.md |
**Coordination:**
1. Identify reusable component types from screen designs
2. Write design system foundation to bmad/context/design-system.md
3. Launch parallel agents, each specifying one component family
4. Each agent defines: variants, states, props, accessibility, responsive behavior
5. Main context assembles complete component library specification
**Best for:** Design system creation or component library documentation
### Example Subagent Prompt
```
Task: Design registration flow screens with accessibility
Context: Read bmad/context/ux-context.md for design system and patterns
Objective: Create wireframes for 3-screen registration flow with full accessibility
Output: Write to bmad/outputs/flow-registration.md
Deliverables:
1. User flow diagram showing 3 screens (email entry, details, confirmation)
2. ASCII wireframe for each screen showing layout and components
3. Component specifications (inputs, buttons, validation messages)
4. Interaction states (default, hover, focus, error, success)
5. Responsive behavior notes (mobile, tablet, desktop breakpoints)
6. Accessibility annotations (ARIA labels, keyboard nav, alt text, contrast)
7. Error handling and validation approach
Constraints:
- Follow design tokens from context (colors, spacing, typography)
- Ensure WCAG 2.1 AA compliance (4.5:1 contrast, keyboard accessible)
- Design mobile-first, then scale up
- Touch targets minimum 44x44px on mobile
- Use consistent patterns from design system
```
## Notes for Implementation
- Use TodoWrite to track design steps
- Read requirements documents before designing
- Create ASCII wireframes or detailed structured descriptions
- Always include accessibility annotations
- Design mobile-first, then scale up
- Specify all interaction states (default, hover, focus, active, disabled, error)
- Document responsive behavior at all breakpoints
- Provide clear developer handoff notes
- Validate designs against WCAG 2.1 AA
- Use consistent design patterns from resources/design-patterns.md
- Reference design tokens from resources/design-tokens.md
## Example Usage
```
User: Create a UX design for the user registration flow
UX Designer:
I'll create a comprehensive UX design for the registration flow.
[Loads requirements]
[Creates user flow using templates/user-flow.template.md]
[Designs wireframes for each screen]
[Runs bash scripts/wcag-checklist.sh]
[Documents using templates/ux-design.template.md]
Design Complete:
- 4 screens designed (landing, form, verification, success)
- User flow with error states
- WCAG 2.1 AA compliant
- Mobile-first responsive design
- Component specifications included
Output: ux-design-registration.md
```
**Remember:** User-centered design with accessibility ensures products work for everyone. Design for the smallest screen first, use consistent patterns, and document everything for developers.
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「ux-designer」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次