ui-designer/design-system

ui-designer/design-system is a skill for Claude Code from echoVic/boss-skill. It costs 53 tokens per session (6,012 once invoked), scanned A, original, MIT.

A shared set of rules for a product’s visual design, covering colors, fonts, spacing, corner shapes, shadows, and animations.

In plain words
What is it for?
It is for defining the basic visual language before designing pages and reusable components. Designers and developers can use the same rules across the product.
Why use it?
It prevents different pages and components from looking or behaving inconsistently. Shared rules also reduce repeated decisions and make broad design changes easier.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter.

Part of the boss plugin — 39 skills, 10 commands, 10 agents, 8 hooks shipped together

Good fit It is for defining the basic visual language before designing pages and reusable components. Designers and developers can use the same rules across the product.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echovic/boss-skill/design-system
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.

Any agent
npx skills add echoVic/boss-skill --skill design-system
Clone the repo
git clone --depth 1 https://github.com/echoVic/boss-skill

Made for: Claude Code.

Or install boss, the plugin that ships this one along with the rest of its 39 skills, 10 commands, 10 agents, 8 hooks.

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/design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/boss-skill/design-system/github.svg)](https://agentmods.dev/skills/echovic/boss-skill/design-system)
Your own site
<a href="https://agentmods.dev/skills/echovic/boss-skill/design-system"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/design-system/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/design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/echovic/boss-skill/design-system"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,012 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.06012
Opus 5.5 $0.00021 $0.02405
Sonnet 5.5 $0.00011 $0.01202
Haiku 4.5 $0.00005 $0.00601

Measured 15d ago against content hash 5d0dbdf8a6e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-designer/design-system 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 15d 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.

skill/skills/ui-designer/design-system/SKILL.md · 445 lines

How it starts

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

设计系统方法论

适用场景

在开始具体的页面和组件设计前,先建立统一的设计系统。本方法论不提供「一套固定的默认值」,而是教你如何根据产品定位做出设计决策,并将决策物化为可复用的设计令牌。

设计思维基础

核心原则(来自 Refactoring UI)

设计不是把内容塞进布局里,而是用视觉手段引导用户注意力。记住以下原则:

  1. 从功能出发,不从布局出发 — 先想清楚用户要完成什么任务,再决定界面怎么排布。不要上来就画三栏布局。
  2. 先灰阶,后上色 — 先用灰度建立层次和对比度,确认信息架构没问题后再引入颜色。颜色是锦上添花,不是救命稻草。
  3. 字号不超过 3 种 — 正文、小标题、大标题。更多字号只会造成混乱,用字重和颜色来区分层次。
  4. 颜色不超过 2-3 种 — 一种主色 + 一种强调色已足够。语义色(成功/警告/错误)不算在内。
  5. 留白是设计元素 — 空白不是「没填满」,而是呼吸感和层次感的来源。不要害怕留白。
  6. 用对比建立层次 — 重要的东西更大、更粗、更亮;不重要的东西更小、更浅、更灰。
  7. 一致性 > 完美 — 一处不完美但全产品一致,胜过每处都「最优」但风格不一。

设计方向决策

在定义令牌之前,先确定产品的设计人格。回答以下问题:

维度 选项 决策依据
调性 专业 / 亲和 / 活力 / 极简 目标用户群体 + 品牌定位
密度 紧凑(数据密集型)/ 舒适(消费级) 用户使用时长 + 信息密度
圆角 直角(严谨)/ 中圆角(友好)/ 大圆角(童趣) 品牌调性
阴影 无阴影(扁平)/ 轻阴影(层次)/ 重阴影(拟物) 设计风格
动效 克制(专业工具)/ 适度(通用)/ 丰富(娱乐) 产品类型

参考:Material Design 3 提供了「风格表达」(Expressive / Functional)的二元模型;HIG 强调「清晰、遵从、深度」三原则。


颜色系统

颜色理论基础

  • 主色(Primary):代表品牌,用于主要操作和关键元素。选择时考虑品牌联想(蓝=信任,绿=成长,橙=活力)。
  • 强调色(Accent):可选,用于次要强调。通常是主色的互补色或相邻色。
  • 中性色(Neutral):文字、背景、边框。是层次的主要载体。
  • 语义色(Semantic):成功(绿)、警告(橙)、错误(红)、信息(蓝)。必须与主色区分开。

如何选择主色

  1. 从品牌色出发,若无品牌色则根据产品调性选择
  2. 确保主色在浅色和深色背景上都有足够对比度
  3. 生成主色的色阶(50-900),用于悬停、按下等状态
  4. 参考:Material Design 3 的「Color Roles」模型将颜色分为 primary、secondary、tertiary、error 四类角色,每类都有 on-* 变体(用于文字)

色阶生成

主色阶(以 Primary 为例):

Token 用途 生成方法
primary-50 极浅背景 主色 + 95% 白
primary-100 浅背景、标签 主色 + 85% 白
primary-200 边框、禁用 主色 + 70% 白
primary-300 次强调 主色 + 50% 白
primary-400 悬停态 主色 + 25% 白
primary-500 基础主色 选定的品牌色
primary-600 按下态 主色 + 15% 黑
primary-700 深色背景上 主色 + 30% 黑
primary-800 极深 主色 + 45% 黑
primary-900 最深 主色 + 60% 黑

Read the full file on GitHub · 445 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. 15d ago Changed · -3 lines 5d0dbdf8a6e1
  2. 19d ago Changed · +6 lines 769f6efb3376
  3. 1mo ago Changed · +191 lines · +23 tokens per session 32e743982a40
  4. 2mo ago Changed · +2 lines 6d28fc29c6dc
  5. 3mo ago First seen · 249 lines · 30 tokens per session scan A 2450618e2d9d

Subscribe to this mod's changes

ui-designer/design-system is a skill published in the GitHub repository echoVic/boss-skill (631 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 6,012 once invoked, about $0.0002 per session on Opus 5.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

ui-designer/design-system compared with skills from other repositories

ui-designer/design-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-designer/design-systemechoVic/boss-skillSkill6315d agoMITA53Claude Code
color-expertmeodai/skill.color-expertSkill6871mo agoCC-BY-4.0B92Claude Code, Codex
create-chatgpt-mockupgooseworks-ai/goose-skillsSkill1.4k6d agoMITA90Claude Code, Codex
vercel-composition-patternscalesthio/OpenMontageSkill84k19d agoAGPL-3.0A58Claude Code, Codex
layout-skillcode-yeongyu/oh-my-openagentSkill71ktodaynoneA88Claude Code, Codex
dsh-client-ui-uxqufei1993/skills-hubSkill1.9k6d agoMITA41Codex
email-designfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A57Claude Code