Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

ui-design-workflow用户界面设计工作流程

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

267

周安装

11

GitHub Stars

3

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-design-workflow(用户界面设计工作流程)
来源仓库:https://github.com/frozenmoon/ui-design-workflow
仓库路径:skills/ui-design-workflow
安装命令:
npx skills add https://github.com/frozenmoon/ui-design-workflow --skill ui-design-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/frozenmoon/ui-design-workflow --skill ui-design-workflow

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。

  • 适合根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。
  • 使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素;涉及页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装方式:github,可通过 npx skills add 命令从指定仓库添加。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

UI Design Workflow

Manage the full UI design workflow: Demo → Spec → Implement → Check → Iterate. Supports both custom components and component libraries (shadcn/ui, Ant Design, Element Plus, etc.).

Command Reference

CommandPurposeWhen to Use
demoAnalyze project + generate UI showcaseEarly stage: establish style & component solution
specGenerate spec documentAfter Demo is confirmed
implementBuild features per specDaily development
checkAudit spec complianceBefore PR, periodic review
iterateUpdate the specWhen gaps are discovered

Command Details

demo - Generate UI Components + Showcase Page

Input: User's UI style requirements (e.g., "minimal modern", "techy")

Output:

  • Real component files in src/components/ui/ (reusable across the project)
  • Two showcase pages (separate pages, NOT tabs):

- Product Demo (/ui-showcase) - Realistic demo of the actual product, adapts to project type (see below) - Component Library (/ui-components) - All components rendered in various states, independently iterable

Flow selection (auto-detect):

  • Project has existing spec → Flow B (import existing components, generate demo)
  • User specified a library → Flow C (use specified library, still confirm style)
  • Project has significant existing UI (5+ components or 3+ pages) but no spec → Flow D (extract and document, see below)
  • Otherwise → Flow A (from scratch)

Flow D: Adopt Existing UI (for projects with existing UI code but no spec):

  1. Deep scan: Extract design tokens (colors, fonts, spacing, radius, shadows) and component inventory from existing code
  2. Present extraction results: Show findings to user via AskUserQuestion for confirmation
  3. Gap analysis: Identify missing tokens, inconsistent values, missing components
  4. User decides: Fix gaps now or defer to iterate
  5. Generate spec: doc/ui-design-spec.md based on extracted data (not invented)
  6. Optional showcase: Ask if user wants a showcase page for existing components
  7. Update agent config: Write spec reference to CLAUDE.md / AGENTS.md

Product Demo adapts to project type:

  • Website / Landing Page → Demo shows the actual website (hero, features, CTA, etc.)
  • Web App / SaaS / Dashboard → Demo shows main app screens (dashboard, list page, detail page, etc.)
  • E-commerce → Demo shows product listing, product detail, cart overview
  • Blog / Content site → Demo shows article list, article detail
  • Portfolio → Demo shows portfolio grid, project detail
  • If project type is unclear from code analysis, ask the user what they are building

Flow A (from scratch):

  1. Project Analysis + Product Understanding:

- Read package.json to identify framework and existing dependencies - Scan code directory to identify existing patterns and tech stack - Determine project type (website, web app, SaaS, e-commerce, blog, etc.) - ⛔ If project type is unclear: Ask the user what they are building (e.g., "Is this a website, a web app, a dashboard...? What are the main pages/features?"). This determines what the demo page will show. - Scan existing components: Find all components in the project, assess their consistency

  1. Present findings and auto-select component solution:

- Show existing component inventory and consistency assessment to user - Auto-select a component solution based on analysis (custom / shadcn/ui / Ant Design / other) - Auto-detect existing library dependencies and continue with them - If user already specified a library in the command, use it directly - Do NOT ask the user to choose — use the recommended solution by default. Advanced users will override if needed.

  1. ⛔ Visual Style Preview (BLOCKING) — Generate style-preview.html (standalone HTML, opens in any browser) with 3 diverse style direction previews. Each preview shows real fonts (Google Fonts), actual color palette, a mini Hero section, and atmosphere effects. User opens in browser, picks A/B/C, asks for a new batch, or describes their own direction. Then ask theme mode (light/dark/toggle). DO NOT proceed without user's confirmed choice. See assets/style-preview-template.md for the HTML template.
  2. Design Thinking (read references/frontend-aesthetics.md):

- Refine the user's chosen style direction into detailed design tokens - Define the memorable element — what makes this design unforgettable? - Finalize typography, color palette, atmospheric details — all coherent with the confirmed visual preview

  1. Create real component files (the single source of truth):

- Set up design tokens as CSS variables - Create each component as a real file in src/components/ui/ - Components support all variants, states, transitions, and accessibility - Skip components that already exist in the project

  1. Create two showcase pages (separate pages, NOT tabs):

- Product Demo (/ui-showcase): Realistic demo adapted to the project type — website shows the website, app shows main app screens, etc. Built with real components. - Component Library (/ui-components): All components in every variant/state. - Both pages share a navigation bar with links to each other. - Include existing project components in Component Library page (do not modify them) - Apply motion: Orchestrate page load animations with staggered reveals - Apply atmosphere: Add background textures, gradients, or visual depth

  1. Run anti-AI-slop checklist (see references/frontend-aesthetics.md)
  2. Iterate with user

Existing component handling:

  • Preserve existing components as-is; do not modify during demo phase
  • Only suggest fixes for severe issues (accessibility violations, broken layouts)
  • Minor inconsistencies are noted for future iterate updates

Output locations:

  • Components: src/components/ui/*.tsx
  • Product Demo (Next.js): app/ui-showcase/page.tsx | (Vite): src/pages/UIShowcase.tsx
  • Component Library (Next.js): app/ui-components/page.tsx | (Vite): src/pages/UIComponents.tsx

Templates: See assets/components.md for component library structure Library guide: See assets/library-guide.md


spec - Generate Spec Document

Prerequisite: Confirmed Demo exists (component files + showcase page)

Output:

  1. Spec document: doc/ui-design-spec.md (includes Component Registry)
  2. Project integration: Update CLAUDE.md with spec reference

Flow:

  1. Read component files and showcase code, extract design decisions
  2. Build Component Registry: Scan all component files, record name → path → variants → states
  3. Record component solution: Document the chosen solution in the spec

- Solution type (custom / library name) - Library version (if applicable) - Theme configuration method and file path

  1. Generate structured spec document (design tokens + registry, NOT code examples)
  2. Update CLAUDE.md with spec reference

implement - Build Features Per Spec

Prerequisite: Project has a UI spec with Component Registry

Flow:

  1. Must read the project's UI spec document first
  2. Check Component Registry: Find existing components that can be reused

- If a needed component exists → read its source file, import and use it - If a needed component does NOT exist → create it following the spec's design tokens, then notify user to run iterate to register it

  1. Implement the user's requested feature per spec
  2. Ensure colors, spacing, and component styles comply with the spec

Key: Always check the Component Registry before creating any UI element. Reuse existing components — do not duplicate.


check - Audit Spec Compliance

Input: File or directory to check

Flow:

  1. Read the project's UI spec (including Component Registry)
  2. Scan the specified code
  3. Check for:

- Component reuse: Are registry components being imported and used, or duplicated inline? - Design tokens: Are CSS variables used instead of hardcoded values? - Spacing/radius: Do values conform to the spec's grid system? - Library compliance (if applicable): Are library components used correctly?

  1. Output violation report with component reuse rate

iterate - Update the Spec

Trigger: New component created during implement, missing registry entry, design token change, or switching component solution

Flow:

  1. Confirm with user what needs to be added/modified
  2. If adding a new component: verify the file exists, add to Component Registry, add to showcase
  3. If switching component solution, flag components that need migration
  4. Update spec document (registry / tokens)
  5. Update Demo showcase page (if needed)
  6. Sync related implementation code (if needed)

Design Principles (General)

Full details: assets/design-principles.md — Must read before demo phase. Aesthetics guide: references/frontend-aesthetics.md — Core creative reference for all design work.

Intentional Design (Core Principle)

  • Every design must have a clear aesthetic direction and point of view
  • Choose a bold tone: brutally minimal, luxury refined, editorial, organic, retro-futuristic, etc.
  • Define the memorable element — the ONE thing someone will remember
  • NEVER produce generic AI aesthetics: no Inter/Roboto fonts, no purple-on-white gradients, no cookie-cutter layouts

Less is More (Token Principle)

  • Default to the minimum viable set of design tokens
  • Fewer named levels: border-radius 3, spacing 4, shadows 3, font weights 2
  • Minimal tokens ≠ minimal aesthetics — a small set of well-chosen tokens creates more cohesion

Component Solution

  • Custom components: Hand-write all UI components, full control
  • Component library: Use an existing library (shadcn/ui, Ant Design, Element Plus, etc.)
  • Choice is made during demo stage, recorded in the spec document
  • All subsequent stages automatically follow this choice

Typography

  • Choose distinctive, characterful fonts — never generic defaults
  • Pair a display/heading font with a refined body font for contrast
  • Vary font choices across different projects — never converge on the same "safe" pick
  • Clear type scale hierarchy (Display → H1 → H2 → Body → Small)

Color System

  • Dominant + accent model: One dominant color for mood, sharp accents for focal points
  • Build palettes that evoke an emotion — if you can't name the feeling, it's too generic
  • Avoid: purple-blue gradients, teal/coral combos, unmodified Tailwind gray scales
  • System feedback: Success, Error, Warning, Info

Motion & Atmosphere

  • Orchestrate page load with staggered reveals (highest impact)
  • Add scroll-triggered reveals, surprising hover states
  • Create atmospheric depth: gradient meshes, noise textures, radial highlights
  • Avoid: solid white/dark backgrounds with no visual interest

Responsive

  • Mobile-first design
  • Key breakpoints: sm(640px), md(768px), lg(1024px)

File Structure

ui-design-workflow/
├── SKILL.md              # This file (overview)
├── README.md             # User documentation
├── assets/
│   ├── website.md        # Landing page reference (NOT used in demo flow — AI designs freely)
│   ├── components.md     # Component library template
│   ├── style-preview-template.md  # Visual style preview page (HTML + server)
│   ├── design-principles.md  # UI design principles (references aesthetics guide)
│   ├── spec-template.md  # Spec document template
│   └── library-guide.md  # Component library integration guide
└── references/
    ├── modes.md          # Detailed mode specifications
    └── frontend-aesthetics.md  # ⭐ Core creative aesthetics guide (anti-AI-slop)

Quick Decision Guide

User says "design UI" → Use demo (analyze project, recommend component solution) User says "use shadcn/ui" → Use demo (skip recommendation, use specified library) User says "generate spec" → Use spec User says "implement feature" → Use implement (read spec first, identify component solution) User says "check code" → Use check User says "add component spec" → Use iterate User says "switch to Ant Design" → Use iterate (switch component solution)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.46%
按下载量换算33

Claude

29.18%
按下载量换算25

Cursor

19.24%
按下载量换算17

Gemini CLI

9.93%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills