AgentSkillsCN

ui-ux-pro-max

当您需要为用户提供UX流程、信息架构、设计批评,或设计系统令牌时使用此功能。若需要构建完整的静态网站(使用frontend-design-ultimate),或重新设计现有应用(使用human-optimized-frontend),则不必使用此功能。路由树如下:“从零开始构建新网站?”→frontend-design-ultimate;“需要UX批评或设计令牌?”→ui-ux-pro-max;“以量化评估重新设计现有前端?”→human-optimized-frontend;“需要设计工作流(线框→主题→代码)?”→frontend-design(superdesign);“从现有代码库中提取设计?”→frontend-design-extractor。

SKILL.md
--- frontmatter
name: ui-ux-pro-max
description: |-
  Use when: user needs UX flows, information architecture, design critique, or design-system tokens. Don't use when: building a full static site (use frontend-design-ultimate) or redesigning an existing app (use human-optimized-frontend). Routing tree: "Building new site from scratch?" → frontend-design-ultimate; "Need UX critique or design tokens?" → ui-ux-pro-max; "Redesigning existing frontend with quantified eval?" → human-optimized-frontend; "Need design workflow (wireframe → theme → code)?" → frontend-design (superdesign); "Extracting design from existing codebase?" → frontend-design-extractor

Follow these steps to deliver high-quality UI/UX output with minimal back-and-forth.

1) Triage

Ask only what you must to avoid wrong work:

  • Target platform: web / iOS / Android / desktop
  • Stack (if code changes): React/Next/Vue/Svelte, CSS/Tailwind, component library
  • Goal and constraints: conversion, speed, brand vibe, accessibility level (WCAG AA?)
  • What you have: screenshot, Figma, repo, URL, user journey

If the user says "全部都要" (design + UX + code + design system), treat it as four deliverables and ship in that order.

2) Produce Deliverables (pick what fits)

Always be concrete: name components, states, spacing, typography, and interactions.

  • UI concept + layout: Provide a clear visual direction, grid, typography, color system, key screens/sections.
  • UX flow: Map the user journey, critical paths, error/empty/loading states, edge cases.
  • Design system: Tokens (color/typography/spacing/radius/shadow), component rules, accessibility notes.
  • Implementation plan: Exact file-level edits, component breakdown, and acceptance criteria.

3) Use Bundled Assets

This skill bundles data you can cite for inspiration/standards.

  • Design intelligence data: Read from skills/ui-ux-pro-max/assets/data/ when you need palettes, patterns, or UI/UX heuristics.
  • Upstream reference: If you need more phrasing/examples, consult skills/ui-ux-pro-max/references/upstream-skill-content.md.

4) Optional Script (Design System Generator)

If you need to quickly generate tokens and page-specific overrides, use the bundled script:

bash
python3 skills/ui-ux-pro-max/scripts/design_system.py --help

Prefer running it when the user wants a structured token output (ASCII-friendly).

Output Standards

  • Default to ASCII-only tokens/variables unless the project already uses Unicode.
  • Include: spacing scale, type scale, 2-3 font pair options, color tokens, component states.
  • Always cover: empty/loading/error, keyboard navigation, focus states, contrast.