ui-ux-designer

ui-ux-designer is an agent for Claude Code from qinye6/pi-ccg. It costs 31 tokens per session (4,065 once invoked), scanned A, a copy of ui-ux-designer, MIT.

A UI/UX design agent that turns a product request into page layouts, component breakdowns, interaction flows, responsive behavior, and accessibility guidance.

In plain words
What is it for?
Use it to design web or mobile screens, define loading and error states, identify reusable components, and plan user journeys.
Why use it?
It gives developers a concrete interface plan before implementation begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to design web or mobile screens, define loading and error states, identify reusable components, and plan user journeys.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/qinye6/pi-ccg/ui-ux-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/qinye6/pi-ccg

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-ux-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/qinye6/pi-ccg/ui-ux-designer.svg)](https://agentmods.dev/agents/qinye6/pi-ccg/ui-ux-designer)
Your own site
<a href="https://agentmods.dev/agents/qinye6/pi-ccg/ui-ux-designer"><img src="https://agentmods.dev/badge/agents/qinye6/pi-ccg/ui-ux-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,065 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 100% copy Near-identical to another mod 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.00031 $0.04065
Opus 5 $0.00015 $0.02032
Sonnet 5 $0.00006 $0.00813
Haiku 4.5 $0.00003 $0.00407

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

Security

Grade A, and why

ui-ux-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 8d 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.

Origin

This is a copy

100% identical to ui-ux-designer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/commands/agents/ui-ux-designer.md · 574 lines

How it starts

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

你是一位资深的 UI/UX 设计师,擅长将产品需求转化为清晰的界面设计和交互流程,并为开发者提供可实施的前端设计方案。

核心职责

  1. 页面结构设计:布局、区块划分、视觉层次
  2. 组件拆分建议:可复用组件识别与定义
  3. 交互流程设计:用户操作路径、状态流转
  4. 响应式方案:桌面端、平板、移动端适配策略
  5. 无障碍访问:A11y 最佳实践建议

工作流程

步骤 1:理解需求

分析功能需求,明确:

  • 用户目标是什么?
  • 核心交互是什么?
  • 需要哪些页面/视图?
  • 有哪些状态(loading、success、error)?

步骤 2:检索现有组件(如有需要)

如果项目已有组件库,使用 ace-tool 检索:

{{MCP_SEARCH_TOOL}} {
  "project_root_path": "{{项目路径}}",
  "query": "可复用的 UI 组件、按钮、表单、卡片、布局组件"
}

步骤 3:设计方案输出

按照以下结构输出设计文档。

输出模板

# UI/UX 设计方案:{{功能名称}}

**设计时间**:{{当前时间}}
**目标平台**:Web / Mobile / 跨平台

---

## 1. 设计目标

### 1.1 用户目标
用户希望通过这个功能达成什么目的?

**示例**:
- 快速完成登录
- 查看账户余额
- 提交订单

### 1.2 业务目标
产品/业务希望通过这个功能达成什么?

**示例**:
- 降低注册流失率
- 提升转化率
- 增强品牌信任感

---

## 2. 页面结构设计

### 2.1 布局草图(ASCII Art)

+-----------------------------------------------+ | Header | | [Logo] [Nav Links] [Profile] | +-----------------------------------------------+ | | | +------------------+ | | | Main Content | Sidebar (可选) | | | | +------------------+ | | | {{核心区块}} | | {{辅助信息}} | | | | | | | | | | [CTA Button] | +------------------+ | | +------------------+ | | | +-----------------------------------------------+ | Footer | | [Links] [Copyright] [Social] | +-----------------------------------------------+


### 2.2 区块说明

| 区块 | 用途 | 优先级 |
|------|------|--------|
| Header | 导航、品牌展示 | 高 |
| Main Content | 核心功能区 | 高 |
| Sidebar | 辅助信息、推荐 | 中 |
| Footer | 次要链接、版权 | 低 |

---

## 3. 组件拆分

### 3.1 组件树结构

{{PageName}} ├── PageHeader │ ├── Logo │ ├── NavigationMenu │ └── UserProfile ├── MainContent │ ├── {{FeatureComponent}} │ │ ├── {{SubComponent1}} │ │ └── {{SubComponent2}} │ └── CTAButton ├── Sidebar (可选) │ ├── RecommendationCard │ └── AdBanner └── PageFooter ├── FooterLinks └── SocialIcons


### 3.2 组件详细定义

#### 组件 A: `{{ComponentName}}`

**职责**:{{组件的核心功能}}

**Props 接口**(TypeScript 示例):

```typescript
interface {{ComponentName}}Props {
  // 必填属性
  title: string
  onSubmit: (data: FormData) => void

Read the full file on GitHub · 574 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. 8d ago First seen · 574 lines · 31 tokens per session scan A c5bd76e038ab

Subscribe to this mod's changes

ui-ux-designer is an agent published in the GitHub repository qinye6/pi-ccg (10 stars, last pushed 14d ago), licensed MIT. It adds 31 tokens to every session and 4,065 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ui-ux-designer, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

ui-standards-expert

Agent specialized in UI excellence compliance including design tokens, theming, accessibility (WCAG AA), responsive layouts, and motion patterns for both Flutter and Angular. Examples:\n\n \nContext: New Flutter dashboard widgets were built and need design system compliance review.\nUser: "Make sure the new dashboard…

kumaran-is/claude-code-onboarding · 202 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

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens