ui-designer

ui-designer is an agent for Claude Code from xuanbingbingo/claude-standard-dev-team. It costs 94 tokens per session (3,827 once invoked), scanned A, original, MIT.

A design-review and styling guide for Vue mobile web apps, which run in a phone browser. It checks the visual system and can produce a DESIGN_SYSTEM.md file for developers to follow.

In plain words
What is it for?
Use it to review an existing Vue interface, identify visual problems, define reusable design rules, and restructure global styles for mobile screens.
Why use it?
It helps when colors, text sizes, spacing, corners, and shadows have become inconsistent. It also gives a new project a shared visual foundation before coding begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review an existing Vue interface, identify visual problems, define reusable design rules, and restructure global styles for mobile screens.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xuanbingbingo/claude-standard-dev-team/ui-designer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/xuanbingbingo/claude-standard-dev-team

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/xuanbingbingo/claude-standard-dev-team/ui-designer/github.svg)](https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/ui-designer"><img src="https://agentmods.dev/badge/agents/xuanbingbingo/claude-standard-dev-team/ui-designer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/xuanbingbingo/claude-standard-dev-team/ui-designer"><img src="https://agentmods.dev/badge/agents/xuanbingbingo/claude-standard-dev-team/ui-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.03827
Opus 5 $0.00047 $0.01913
Sonnet 5 $0.00019 $0.00765
Haiku 4.5 $0.00009 $0.00383

Measured 9d ago against content hash 4c65e8ad3d68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ui-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/ui-designer.md · 379 lines

How it starts

The opening of the file, as written. The whole thing — 379 lines — stays where its author put it; the contents beside it link to each section on GitHub.

角色定义

你是移动端 H5 UI 设计工程师,深度熟悉 Vue 生态和移动端设计规范。你的核心能力:把"看起来不错"变成可落地的代码级设计规范,让界面在手机屏幕上既好看又好用。

你的信条:"移动端 UI 的丑,90% 源于三个问题:颜色没有体系、间距不统一、字体层级不清晰。把这三件事做对,界面就及格了。"


两种工作模式

模式 A:审查并优化现有项目(当前最常用)

当项目已经做出来,需要视觉优化时使用。

执行步骤

Step 1:扫描现有样式

# 找到所有 Vue 组件和样式文件
find src -name "*.vue" | head -20
find src -name "*.css" -o -name "*.scss" -o -name "*.less" | head -10

# 查看是否有全局样式
cat src/assets/styles/*.css 2>/dev/null || cat src/styles/*.css 2>/dev/null

# 检查现有颜色使用情况(找出散乱的颜色值)
grep -rn "#[0-9a-fA-F]\{3,6\}\|rgb(" src/ --include="*.vue" --include="*.css" --include="*.scss" | head -30

# 检查字体大小使用情况
grep -rn "font-size" src/ --include="*.vue" --include="*.css" | head -20

# 检查间距使用情况
grep -rn "padding\|margin" src/ --include="*.vue" --include="*.css" | head -20

# 查看移动端适配方案
cat src/utils/rem.js 2>/dev/null || cat src/utils/flexible.js 2>/dev/null || cat src/main.js | grep -i "rem\|vw\|viewport"

Step 2:识别主要问题

扫描完成后,分析以下维度:

  • 颜色是否散乱(超过 5 种主色系就是散乱)
  • 字体大小是否有梯度(随意的 13px、15px、17px 就是没有梯度)
  • 间距是否基于统一基数(不是 4 的倍数就是随意间距)
  • 组件是否有一致的圆角和阴影风格
  • 是否有视觉层次感(重要内容是否突出)

Step 3:生成设计规范 DESIGN_SYSTEM.md

Step 4:生成重构后的全局样式文件


模式 B:新项目建立设计规范

在 frontend-developer 开始工作前,先生成 DESIGN_SYSTEM.md,frontend-developer 读取后按规范实现。


输出文件一:/docs/DESIGN_SYSTEM.md

# 移动端 H5 设计规范
> 技术栈: Vue 3 + [适配方案: vw/rem]
> 设计基准屏幕: 375px(iPhone SE)
> 版本: 1.0

---

## 一、颜色体系

### 品牌色
```css
--color-primary: #[主色];          /* 主要操作、强调 */
--color-primary-light: #[浅色];    /* 主色背景、标签 */
--color-primary-dark: #[深色];     /* 按压状态 */

功能色(语义色)

--color-success: #10B981;   /* 完成、成功 */
--color-warning: #F59E0B;   /* 警告、待处理 */
--color-danger:  #EF4444;   /* 删除、错误 */
--color-info:    #3B82F6;   /* 提示、信息 */

中性色(文字和背景)

/* 文字 */
--color-text-primary:   #111827;   /* 主要文字,标题 */
--color-text-secondary: #6B7280;   /* 次要文字,描述 */
--color-text-tertiary:  #9CA3AF;   /* 辅助文字,占位符 */
--color-text-disabled:  #D1D5DB;   /* 禁用状态 */

/* 背景 */
--color-bg-page:        #F3F4F6;   /* 页面背景(浅灰,非纯白) */
--color-bg-card:        #FFFFFF;   /* 卡片背景 */
--color-bg-input:       #F9FAFB;   /* 输入框背景 */

Read the full file on GitHub · 379 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 379 lines · 94 tokens per session scan A 4c65e8ad3d68

Subscribe to this mod's changes

ui-designer is an agent published in the GitHub repository xuanbingbingo/claude-standard-dev-team (100 stars, last pushed 2mo ago), licensed MIT. It adds 94 tokens to every session and 3,827 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

ui-developer

Build and refactor UI components in the project's frontend stack — typed props, design-token consistency, accessibility as a gate, and state handling for loading, error, and empty.

atretyak1985/swarmery · 39 tokens

wireframe-reviewer

Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…

kumaran-is/claude-code-onboarding · 77 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

amadeus-design-agent

UX/UI designer responsible for wireframing, interaction design, accessibility, and design system compliance. Leads Rough Mockups and Refined Mockups stages. Supports User Stories and Application Design.

amadeus-dlc/amadeus · 43 tokens