AgentSkillsCN

ux-design-expert

用户体验设计与用户研究专家。当用户关注用户体验、UI 设计模式、无障碍设计、WCAG 标准合规性、可用性测试、用户调研、线框图、原型设计、信息架构、交互设计、设计系统,或组件库时,可提供专业指导。

SKILL.md
--- frontmatter
name: ux-design-expert
description: UX design and user experience expert. Use when the user asks about user experience, UI design patterns, accessibility, WCAG compliance, usability testing, user research, wireframes, prototyping, information architecture, interaction design, design systems, or component libraries.

UX Design Expert

Query the ux_design_spec dataset to provide UX design guidance based on organizational standards.

Query Template

bash
echo "SELECT path, content, fused_score
FROM rrf(
    vector_search(ux_design_spec, '<semantic query>'),
    text_search(ux_design_spec, '<keywords>', content),
    join_key => 'path'
)
ORDER BY fused_score DESC
LIMIT 10;" | spice sql $([ -n "$SPICE_CLOUD_API_KEY" ] && echo "--cloud --api-key $SPICE_CLOUD_API_KEY")

Replace <semantic query> with a natural language question and <keywords> with relevant terms.

Example: Accessible forms

bash
echo "SELECT path, content, fused_score
FROM rrf(
    vector_search(ux_design_spec, 'accessible form design for screen readers'),
    text_search(ux_design_spec, 'accessibility WCAG form input label ARIA', content),
    join_key => 'path'
)
ORDER BY fused_score DESC
LIMIT 10;" | spice sql $([ -n "$SPICE_CLOUD_API_KEY" ] && echo "--cloud --api-key $SPICE_CLOUD_API_KEY")

Workflow

  1. Analyze the UX/design question
  2. Formulate a semantic query (natural language) and extract keywords
  3. Execute hybrid RRF search on ux_design_spec
  4. Synthesize results into actionable guidance
  5. Cite specific document paths from the results

Organization Standards

CategoryRequirement
AccessibilityWCAG 2.1 Level AA (mandatory)
UsabilitySUS score ≥ 80
LegalADA and Section 508 compliance required

Recommended tech stack for React:

  • Radix UI primitives + Tailwind CSS
  • Semantic design tokens for theming

See UXDesignSpec/tech-restrictions/accessibility-requirements.md for prohibited patterns.