Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

ui-revamp用户界面改造

Agent Skill

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

总安装

162

周安装

17

GitHub Stars

公开资料未说明

下载量

140
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yonkoo11/frontend-design-skills --skill ui-revamp

简介

用于辅助界面改造与视觉规范升级。ui-revamp 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合对现有界面进行结构重组、样式优化和布局调整。
  • 使用时需参考项目现有设计系统和用户任务流程。
  • 应避免仅添加装饰性内容,注重功能与美学的平衡。
  • 适用于需要系统性提升界面表现力的重构场景。

SKILL.md

UI Revamp Skill

Transform amateur interfaces into production-quality experiences by systematically applying principles from the industry's best design engineers.

Quick Start: 5-Minute Vibecode Detector

Run these checks first. If 3+ fail, the UI needs a full revamp:

[ ] Search CSS for "linear" in transitions → If found: FAIL
[ ] Search for "scale(0)" → If found: FAIL
[ ] Search for "transition: all" → If found: FAIL
[ ] Check button :active states → No feedback? FAIL
[ ] Count border-radius values → More than 2 unique? FAIL
[ ] Check icon set → Mixed filled/outlined? FAIL
[ ] Input font-size < 16px? → FAIL (iOS zoom bug)
[ ] Missing focus states on buttons? → FAIL

Run automated audit: node ~/.claude/skills/ui-revamp/scripts/audit.js [path]


Four-Phase Process

CRITICAL: Execute phases sequentially. Never skip Phase 2 approval.

Phase 1: Deep Audit

Understand before changing.

  1. Run Automated Audit node ~/.claude/skills/ui-revamp/scripts/audit.js./src
  2. Heuristic Evaluation

- See reference/06-audit-phases.md for Nielsen's 10 heuristics - Rate each 0-4 (0=fine, 4=catastrophe) - Priority = Severity × Frequency × Impact

  1. Visual Inventory

- Document all unique border-radius values - Document all unique spacing values - List all font sizes in use - Note icon style consistency

  1. Document Findings

- Use templates/audit-report.md

Phase 2: Plan & Approve

STOP. Present findings before proceeding.

  1. Summarize top 10 issues by severity
  2. Identify quick wins (high impact, low effort)
  3. Propose implementation order

Ask user: "Should I proceed with this plan? Any adjustments needed?"

Do NOT proceed to Phase 3 without explicit user approval.

Phase 3: Systematic Implementation

Execute in this order:

  1. Foundation - Apply CSS reset, establish design tokens

- See reference/08-code-snippets.md - See reference/04-visual-system.md

  1. Fix Hard Rule Violations - Non-negotiable rules

- See reference/01-hard-rules.md

  1. Apply Conditional Rules - Context-dependent rules

- See reference/02-conditional-rules.md

  1. Implement Animation System

- See reference/03-animation-system.md

  1. Accessibility Pass

- See reference/05-accessibility.md

Phase 4: Quality Validation

  1. Run Automated Check node ~/.claude/skills/ui-revamp/scripts/audit.js./src All violations should be resolved.
  2. Visual Tests

- Blur Test: Apply 5-10px blur. Can you identify primary action, hierarchy, sections? - Squint Test: Clear focal point? Logical grouping? Balanced composition?

  1. Document Changes

- Use templates/before-after.md


Progress Tracker

Copy this checklist and update as you work:

## UI Revamp Progress

### Phase 1: Audit
- [ ] Run automated audit script
- [ ] Complete heuristic evaluation (Nielsen's 10)
- [ ] Create visual inventory (radius, spacing, fonts, icons)
- [ ] Document top 10 issues with severity

### Phase 2: Plan (STOP - GET APPROVAL)
- [ ] Present findings summary to user
- [ ] Propose implementation order
- [ ] Get explicit user approval to proceed

### Phase 3: Implement
- [ ] Apply foundation (CSS reset, design tokens)
- [ ] Fix all hard rule violations
- [ ] Apply conditional rules where appropriate
- [ ] Implement animation system
- [ ] Complete accessibility pass
- [ ] Fix Tailwind/shadcn specifics (if applicable)

### Phase 4: Validate
- [ ] Run automated audit (should pass)
- [ ] Pass blur test
- [ ] Pass squint test
- [ ] Document before/after for significant changes

Reference Files

Rules & Requirements:

Systems & Patterns:

Checklists & Frameworks:

Tech-Specific:


Decision Quick Reference

Should I Animate This?

Keyboard-triggered? → NO animation
Used 100+ times/day? → NO animation
Used hourly? → MINIMAL (100-150ms)
Used daily? → PURPOSEFUL (150-200ms)
Used rarely? → DELIGHTFUL (300ms+)

Animation Durations

ElementDurationEasing
Button press150msease-out
Modal open200msease-out or spring
Modal close150msease-in or instant
Dropdown180msease-out
Tooltip150msease-out
Page transition250msease-out

Never Do

  1. Linear easing on UI elements
  2. Scale from 0 (use 0.93+ minimum)
  3. Animate keyboard actions
  4. Animate theme toggles
  5. Duration >300ms for functional UI
  6. Bounce on serious UI
  7. Multiple primary button styles per view

Success Criteria

The revamp is complete when:

  • Automated audit passes with 0 violations
  • Blur test passes (hierarchy visible)
  • No linear easing anywhere
  • No scale(0) animations
  • Max 2 border-radius values
  • Spacing uses consistent scale
  • Touch targets ≥44px
  • Focus states visible on all interactive elements
  • Loading, empty, and error states exist

Knowledge Base (Optional)

If the user has a design knowledge base (e.g. ~/System/guides/DESIGN_MASTERY.md or similar), read targeted sections:

PhaseTopics to Load
Phase 1: AuditQuick Reference (use as audit checklist)
Phase 3: ImplementationShadows & Depth, Motion & Animation, Dark Mode (if applicable)
Phase 4: ValidationQuick Reference (final check)

Don't read an entire guide. Load only the sections relevant to the current phase. The skill works without external guides but produces better results with them.


Personal Style (style.config.md)

Before auditing, check for a style config:

  1. Project-level: ai/style.config.md (takes priority)
  2. User-level: ~/.claude/style.config.md

If found, respect the user's intentional choices during audit:

  • Signature elements are intentional, not bugs. Don't "fix" personality.
  • Brand words tell you the intended tone. Don't push toward generic.
  • Anti-patterns flag things the user hates. Treat as hard rules.
  • If something looks like a violation but matches the style config, leave it alone.

Relationship to /design Orchestrator

This skill is Phase 4 (Production Polish) of the /design workflow.

  • When called via /design, the orchestrator handles knowledge loading and style config
  • When called standalone, this skill loads them itself
  • This is the full 4-phase audit. For a lighter pass, use /frontend-design polish

Attribution

Principles from:

  • Emil Kowalski (Linear) - Animation & Motion
  • Rauno Freiberg (Vercel) - Interaction Design & Craft
  • Steve Schoger (Refactoring UI) - Visual Design Tactics
  • Sara Soueidan - Accessibility
  • Dan Saffer - Microinteractions

*"The details are not the details. They make the design." -- Charles Eames*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.92%
按下载量换算52

Claude

29.39%
按下载量换算41

Cursor

19.83%
按下载量换算28

Gemini CLI

9.9%
按下载量换算14

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills