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.
npx skills add echoVic/boss-skill --skill design-systemgit clone --depth 1 https://github.com/echoVic/boss-skillWrote 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.
[](https://agentmods.dev/skills/echovic/boss-skill/design-system)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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)
设计不是把内容塞进布局里,而是用视觉手段引导用户注意力。记住以下原则:
- 从功能出发,不从布局出发 — 先想清楚用户要完成什么任务,再决定界面怎么排布。不要上来就画三栏布局。
- 先灰阶,后上色 — 先用灰度建立层次和对比度,确认信息架构没问题后再引入颜色。颜色是锦上添花,不是救命稻草。
- 字号不超过 3 种 — 正文、小标题、大标题。更多字号只会造成混乱,用字重和颜色来区分层次。
- 颜色不超过 2-3 种 — 一种主色 + 一种强调色已足够。语义色(成功/警告/错误)不算在内。
- 留白是设计元素 — 空白不是「没填满」,而是呼吸感和层次感的来源。不要害怕留白。
- 用对比建立层次 — 重要的东西更大、更粗、更亮;不重要的东西更小、更浅、更灰。
- 一致性 > 完美 — 一处不完美但全产品一致,胜过每处都「最优」但风格不一。
设计方向决策
在定义令牌之前,先确定产品的设计人格。回答以下问题:
| 维度 | 选项 | 决策依据 |
|---|---|---|
| 调性 | 专业 / 亲和 / 活力 / 极简 | 目标用户群体 + 品牌定位 |
| 密度 | 紧凑(数据密集型)/ 舒适(消费级) | 用户使用时长 + 信息密度 |
| 圆角 | 直角(严谨)/ 中圆角(友好)/ 大圆角(童趣) | 品牌调性 |
| 阴影 | 无阴影(扁平)/ 轻阴影(层次)/ 重阴影(拟物) | 设计风格 |
| 动效 | 克制(专业工具)/ 适度(通用)/ 丰富(娱乐) | 产品类型 |
参考:Material Design 3 提供了「风格表达」(Expressive / Functional)的二元模型;HIG 强调「清晰、遵从、深度」三原则。
颜色系统
颜色理论基础
- 主色(Primary):代表品牌,用于主要操作和关键元素。选择时考虑品牌联想(蓝=信任,绿=成长,橙=活力)。
- 强调色(Accent):可选,用于次要强调。通常是主色的互补色或相邻色。
- 中性色(Neutral):文字、背景、边框。是层次的主要载体。
- 语义色(Semantic):成功(绿)、警告(橙)、错误(红)、信息(蓝)。必须与主色区分开。
如何选择主色
- 从品牌色出发,若无品牌色则根据产品调性选择
- 确保主色在浅色和深色背景上都有足够对比度
- 生成主色的色阶(50-900),用于悬停、按下等状态
- 参考: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% 黑 |
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.
- 15d ago Changed · -3 lines 5d0dbdf8a6e1
- 19d ago Changed · +6 lines 769f6efb3376
- 1mo ago Changed · +191 lines · +23 tokens per session 32e743982a40
- 2mo ago Changed · +2 lines 6d28fc29c6dc
- 3mo ago First seen · 249 lines · 30 tokens per session scan A 2450618e2d9d
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.
ui-designer/design-system compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-designer/design-systemechoVic/boss-skill | Skill | 631 | 5d ago | MIT | A | 53 | Claude Code |
| color-expertmeodai/skill.color-expert | Skill | 687 | 1mo ago | CC-BY-4.0 | B | 92 | Claude Code, Codex |
| create-chatgpt-mockupgooseworks-ai/goose-skills | Skill | 1.4k | 6d ago | MIT | A | 90 | Claude Code, Codex |
| vercel-composition-patternscalesthio/OpenMontage | Skill | 84k | 19d ago | AGPL-3.0 | A | 58 | Claude Code, Codex |
| layout-skillcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 88 | Claude Code, Codex |
| dsh-client-ui-uxqufei1993/skills-hub | Skill | 1.9k | 6d ago | MIT | A | 41 | Codex |
| email-designfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 57 | Claude Code |