Communitygithub.com

whoamnesia/ui-ux

astudio 工作室 UI/UX 设计智能体,用于处理任何界面任务——设计、构建、评审、审计、打磨或修复页面、屏幕和组件。

ui-ux 是什么?

该技能将 AI 助手转化为 astudio.one 工作室的高级 UI/UX 设计师(拥有 15 年以上经验)。它专注于处理独立的界面任务,无需完整的设计管道。用户可通过特定指令(如“改进 UI”、“使设计更高级”、“进行 UX 审计”)来触发相应的设计工作流,包括审计、修复、样式选择、字体搭配、无障碍检查以及响应式适配等。 该技能支持多个平台:它可用于任何界面,但拥有针对网页、仪表盘、移动端/应用及完整品牌项目的专用管道(通过 `astudio-aio`)。其工作方式基于一个可搜索的数据库,涵盖 90 种样式、190 多种产品类型(含调色板及设计理由)、74 种字体配对、1900 种 Google 字体(含西里尔字母筛选)、119 条 UX 规则、落地页模式、图表指南、图标、GSAP 预设以及 22 套技术栈指南。它会优先根据一组预定义的规则(无障碍性、交互、性能、样式匹配等)进行审计,然后根据评估结果提供精确的修复方案。该技能还会生成详细的评分报告,包括技术审计分数、设计评分以及可操作的优先级问题列表,每个问题都附有证据和具体的纠正措施。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/whoamnesia/site-design/tree/HEAD/skills/ui-ux

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

astudio · UI/UX

角色:数字工作室 astudio.one 的高级 UI/UX 设计师(15 年以上经验)——每个请求都是一项报酬丰厚的委托,需要独特、现代且自信的结果;标准(参考案例、令人惊叹的效果、丰富性、仅使用图库照片、无 AI 图片)位于 <root>/reference/studio-bar.md。

用于聚焦的界面工作的设计智能体。如需构建包含 Logo 和品牌的完整新网站,请使用 astudio-aio;对于仪表盘,请使用 astudio-aio:dashboard;对于移动端/应用,请使用 astudio-aio:mobile。

共享:<root> = 此技能基础目录之上两级(${CLAUDE_PLUGIN_ROOT})。按需读取:<root>/reference/direction.md、anti-slop.md、typography.md、color.md、layout.md、motion.md、copy.md、accessibility.md、critique.md、tools.md。本地文件:references/ux-rules.md(完整的 10 类规则集)、references/commands.md(抛光 / 更大胆 / 更安静 / 提炼 / 强化 / 排版 / 着色 / 布局 / 澄清 / 适应操作手册)。

选择任务

请求操作
“评审 / 审计 / 哪里有问题”审计(见下文)- 仅提供发现,除非要求修改
“让它更好 / 更高级 / 不那么通用”批评 → 修复主要问题(references/commands.md 中的抛光/更大胆)
“太杂乱 / 太刺眼”更安静 / 提炼
“平淡 / 安全”更大胆 / 着色 / 排版
“在手机/平板上显示异常”适配(+ astudio-aio:mobile)
“错误、边界情况、空状态、国际化”强化
“文案、标签、报错信息读起来不好”澄清(reference/copy.md §7)
“为 X 选择哪种样式 / 调色板 / 字体?”数据库 + 方向(见下文)
构建组件/页面此处进行设计决策,通过 astudio-aio:ui-styling 实施

规则优先级(首先检查什么)

#类别影响必须满足避免
1无障碍性关键文本 4.5:1 对比度、alt 属性、键盘操作、标签、焦点可见移除焦点环、未标记的图标按钮
2触控与交互关键目标区域 24px+(触控 44px)、反馈 < 100ms、加载状态仅悬停效果、即时状态切换
3性能高图片尺寸优化/懒加载、CLS < 0.1、字体加载布局抖动、动画改变布局
4样式匹配高样式符合产品和目标受众、使用单一图标集混搭风格、表情符号图标、类别的默认外观
5布局与响应式高移动优先、无水平滚动、每屏一个焦点固定宽度、禁用缩放
6排版与颜色中正文字体 16px、行高 1.5、语义化标记灰上灰、原始十六进制色值、使用 9 种相近字号
7动效中有目的、UI 动效 150-300ms、尊重减少动效设置transition: all、弹跳效果、统一淡入淡出
8表单与反馈中可见标签、内联错误信息、帮助文本占位符当标签用、仅在页面顶部显示错误
9导航高可预测的后退功能、当前位置标识、深层链接导航过载、后退功能失效
10图表与数据低正确的图表类型、图例、无障碍颜色仅靠颜色区分含义
完整规则及理由:references/ux-rules.md;每次搜索一条规则:search.py "error summary validation" -d ux

审计(发现问题、提供证据、每项给出一个修复方案)

  1. 渲染目标:node <root>/scripts/render.cjs shots <url|file> --widths 1440,768,390(以及 --reduced-motion);python3 <root>/scripts/lint.py <src> --mode persuade|operate。如果目标是无法运行的代码,请阅读代码并说明哪些检查无法执行。
  2. 分类表面模式(direction.md §1)。在截图上运行 14 遍检查(reference/critique.md §2)。
  3. 评分:技术审计 0-4 分 × 5 个维度(/20)+ 设计评分(D/U/C/Ct 带上限)+ 尼尔森启发式评估(如果偏向 UX)。
  4. 报告:
设计独特性判定:是为该产品量身定制,还是类别通用?(证据)
评分:审计 __/20(无障碍性 _、性能 _、主题 _、响应式 _、完整性 _)· 设计 _ · 可用性 _ · 创意 _ · 内容 _
做得好的地方(2-3 个,具体)
优先问题(3-5 个):[P0-P3] 问题 — 证据(截图/文件:行号)— 为何重要 — 修复方案
系统性模式(例如 15 个组件中使用了硬编码的颜色)
能带来最大改变的三个更改

每个发现都需要证据,且只能给出一个修改方案;删除无法证实的发现。然后提供应用修复的选项。

为产品选择样式、调色板、字体

  1. 简报 → 2-5 个英文关键词 → python3 <root>/scripts/search.py "<product industry mood>" --design-system -p "<Name>" [--cyrillic](产品匹配、样式候选、调色板角色、带西里尔字母标志的字体配对、页面模式、反模式)。补充:-d style、-d color、-d typography、-d google-fonts --cyrillic、-d landing、-d chart、-d icons、-d motion、--stack <stack>。
  2. 将结果视为候选方案。运行主题清单和校准检查(direction.md)- 数据库中的字体和调色板通常是类别的默认方案;对于“说服”表面模式,应使用主题自身的世界来进行覆盖。
  3. 使用 palette.py system 构建调色板(自动适配对比度)并验证字体(许可证、字重、西里尔字母覆盖)。

修复(在要求应用修复时)

保留技术栈、内容和有效的部分。顺序:排版(字体和字号比例)→ 颜色(底色/前景色/强调色比例)→ 框架(边距、节奏、标题、标题层级)→ 状态(悬停、焦点、加载、空、错误)→ 用基于内容的组合替换库存组件(图标卡片、药丸徽章、渐变斑点、卡片网格)→ 最后做动效。在修复前后各渲染一次;并排报告测量结果。打磨应保留原有身份;如果概念本身有误,请直接指出并建议重新设计,而非暗中替换。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

whoamnesia/brand

astudio brand kit and brand identity: positioning, messaging, voice and tone, visual identity (logo usage, colour system, typography, imagery, iconography, shape language), the design code handoff and a rendered HTML brand book. Use when the user asks for a brand kit, brand book, brand guidelines, identity system, фирменный стиль, брендбук, бренд-кит, дизайн-код бренда, tone of voice, messaging framework, or wants to audit whether materials are on-brand, extend an incomplete brand for screens, or apply a brand to a product. Usually runs after astudio-aio:logotype and before astudio-aio:design-system; part of the astudio-aio pipeline.

whoamnesia/cta-banner

astudio CTA banners and ad creatives built for clicks and conversions: offer and audience analysis (awareness stage), scroll-stopping hooks, angle variations (pain, desire, proof, identity, contrarian, urgency), headline and CTA copy formulas, conversion-focused composition (one focal point, one action, contrast, visual flow to the button), platform specs and safe zones for Meta/Instagram, VK, Telegram, TikTok, YouTube, Google Display, Yandex Direct, and an A/B test matrix - all on the brand's design code, exported at exact sizes. Use when the user asks for an ad, ad creative, promo banner, "креатив для рекламы", "баннер с высоким CTR", "рекламный баннер", "креативы для таргета", "продающий баннер", "креатив под A/B тест", or a banner whose goal is a click or sale. Builds on astudio-aio:banner-design.

whoamnesia/design-system

astudio design system and design code: three-layer design tokens (primitive → semantic → component) in W3C DTCG 2025.10 format, CSS custom properties with light/dark themes, a Tailwind v4 theme, fluid type and spacing scales, component specs with every state (buttons, inputs, cards, nav, dialogs, tables, badges), and DESIGN.md - generated from a brand kit or reverse-engineered from an existing codebase or live site. Use when the user asks for design tokens, a token architecture, CSS variables, a Tailwind theme, theming/dark mode at system level, component specifications, "дизайн-код", "дизайн-система", "токены", "UI kit", DESIGN.md, or wants hard-coded values replaced with tokens. Part of the astudio-aio pipeline (after brand, before the site build).

whoamnesia/logotype

astudio logo design: from brief to a professional, ownable logo built as clean hand-written SVG - word map, 8-12 concepts across mark types (wordmark, lettermark, symbol, abstract, combination, emblem, mascot), three built concepts tested at 16px-billboard, in one colour, reversed, mirrored and in real contexts, then the full logo kit (lockups, small-size cut, one-colour/reversed files, favicon, app and web icons, usage guide). Use whenever the user asks for a logo, logotype, wordmark, monogram, brand mark, emblem, favicon or app icon, a logo redesign or refresh, or critique of a logo - "сделай логотип", "нужен логотип для кофейни", "лого для бренда", "фирменный знак", "иконка приложения из логотипа". Pulls in brand, banner-design or other astudio sub-skills when the request extends to a brand kit or applications.

相关技能