AgentSkillsCN

ux-ui-design

运用线框图、原型设计、用户流程、无障碍设计,以及可投入生产的 HTML 原型,打造优质的用户体验。在绘制线框图、构建交互式原型、设计用户流程、落实无障碍标准,或产出 HTML/CSS 设计交付物时,可使用此技能。

SKILL.md
--- frontmatter
name: "ux-ui-design"
description: 'Design user experiences with wireframing, prototyping, user flows, accessibility, and production-ready HTML prototypes. Use when creating wireframes, building interactive prototypes, designing user flows, implementing accessibility standards, or producing HTML/CSS design deliverables.'
metadata:
  author: "AgentX"
  version: "2.0.0"
  created: "2025-01-15"
  updated: "2025-01-15"
compatibility:
  agents: ["ux-designer", "agent-x"]
  frameworks: ["html-css", "figma", "tailwind", "bootstrap"]
  output-formats: ["html", "css", "markdown", "mermaid"]

UX/UI Design & Prototyping

Purpose: Create user-centered designs, wireframes, prototypes, and production-ready HTML/CSS interfaces.


When to Use This Skill

  • Creating wireframes or high-fidelity mockups
  • Building interactive HTML/CSS prototypes
  • Designing user flows and information architecture
  • Implementing accessibility (WCAG) standards
  • Setting up design systems or component libraries

Prerequisites

  • Basic HTML/CSS knowledge for prototyping
  • Design tool access

Decision Tree

Use this to pick the right UX approach for your task:

code
Start: What is the deliverable?
│
├─ New feature / epic?
│  └─ 1. User Research → 2. IA → 3. Wireframes → 4. User Flows
│     → 5. Hi-Fi Mockups → 6. HTML Prototype → 7. Usability Test
│
├─ Bug fix / small change?
│  └─ Skip to step 5 (Hi-Fi) or 6 (HTML Prototype)
│
├─ Design system update?
│  └─ Jump to § Design Systems — update tokens + components
│
├─ Accessibility audit?
│  └─ Jump to § Accessibility — run checklist + fix
│
└─ Responsive issue?
   └─ Jump to § Responsive Design — breakpoint check + fix

Table of Contents

  1. User Research & Analysis
  2. Information Architecture
  3. Wireframing
  4. User Flows
  5. High-Fidelity Mockups
  6. Interactive Prototypes
  7. HTML/CSS Prototypes
  8. Design Systems
  9. Accessibility (A11y)
  10. Responsive Design
  11. Usability Testing
  12. Best Practices
  13. Tools & Resources

Best Practices

✅ DO

Research & Wireframing:

  • Start with lo-fi sketches; iterate on paper first
  • Use real content, never lorem ipsum in final designs
  • Annotate interactions on every wireframe
  • Test with diverse user demographics

Design & Prototyping:

  • Follow the 8px spacing grid
  • Design for ALL states: empty, loading, error, success
  • Build production-ready HTML/CSS prototypes (mandatory)
  • Use semantic HTML5 + ARIA attributes from the start
  • Use CSS custom properties for all design tokens
  • Validate HTML & CSS

Collaboration:

  • Document every design decision
  • Share prototypes early and gather developer feedback
  • Version-control design files
  • Hand off with detailed specifications

❌ DON'T

  • Skip user research or design in isolation
  • Leave placeholder content in final deliverables
  • Ignore edge cases and error states
  • Forget mobile/tablet breakpoints
  • Neglect accessibility until the end
  • Hardcode values instead of using design tokens
  • Use large unoptimized images
  • Inline all styles (use external stylesheets)
  • Block rendering with synchronous scripts

Tools & Resources

Design & Wireframing

ToolUse CaseLink
FigmaCollaborative designfigma.com
SketchMac designsketch.com
PenpotOpen-source designpenpot.app
BalsamiqQuick wireframesbalsamiq.com
WhimsicalFlowcharts + wireframeswhimsical.com
ExcalidrawHand-drawn diagramsexcalidraw.com

Prototyping

ToolUse CaseLink
CodePenQuick HTML/CSS/JScodepen.io
Tailwind CSSUtility-first CSStailwindcss.com
BootstrapComponent frameworkgetbootstrap.com

Accessibility

ToolUse CaseLink
WAVEAccessibility checkerwave.webaim.org
axe DevToolsBrowser extensiondeque.com/axe
WCAG Quick RefGuidelinesw3.org/WAI

Inspiration

Dribbble · Behance · awwwards


Reference Files

Detailed code blocks and templates are extracted into dedicated reference files:

ReferenceContents
html-prototype-code.mdFull HTML/CSS/JS prototype code (dashboard, modals, forms, tokens)
research-templates.mdPersona template, user journey map template
accessibility-patterns.mdScreen reader markup, keyboard navigation JS, ARIA patterns
responsive-patterns.mdBreakpoint CSS, responsive grid, mobile-first examples
usability-testing-template.mdFull usability test plan, script, and results template

Related Skills:


Version: 2.0.0 · Last Updated: February 10, 2026

Troubleshooting

IssueSolution
Prototype not accessibleRun WAVE or axe-core audit, ensure ARIA labels and keyboard navigation
Inconsistent design across pagesCreate a design token system with shared colors, spacing, typography
User flow too complexReduce steps to 3-5 maximum, add progress indicators

References