Borrowing it
Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/02_Designer_DesignSystem/SKILL.mdgit clone --depth 1 https://github.com/boshi-xixixi/TraeSkillWrote 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/boshi-xixixi/traeskill/02_designer_designsystem)<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_designsystem"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_designsystem/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/boshi-xixixi/traeskill/02_designer_designsystem"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_designsystem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00073 | $0.04434 |
| Opus 5.5 | $0.00029 | $0.01774 |
| Sonnet 5.5 | $0.00015 | $0.00887 |
| Haiku 4.5 | $0.00007 | $0.00443 |
Grade A, and why
Design System Expert 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.
How it starts
The opening of the file, as written. The whole thing — 633 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚠️ 性能提示: 此 Skill 包含多个 Design Token 模板和组件规范示例。根据实际需求选择性使用,无需一次加载全部内容。
Design System Expert
什么是 Design System?
Design System(设计系统)是一套可复用的设计规范和组件库,用于确保产品在不同平台和团队间的一致性。
核心组成部分
| 组成部分 | 说明 | 示例 |
|---|---|---|
| Design Token | 设计原子,存储视觉属性 | 颜色、间距、字体 |
| 组件库 | 可复用 UI 组件 | Button、Input、Modal |
| 样式指南 | 设计规范文档 | 排版规范、间距系统 |
| 最佳实践 | 使用场景和代码示例 | 组件使用示例 |
Design Token 设计
什么是 Design Token?
Design Token 是设计系统的原子单位,以键值对形式存储设计决策:
{
"color.primary": "#4F46E5",
"spacing.4": "16px",
"fontSize.base": "16px"
}
色彩 Token
/* ❌ 避免:直接使用颜色值 */
.button {
background-color: #4F46E5;
}
/* ✅ 推荐:使用 Token */
.button {
background-color: var(--color-primary);
}
Token 命名规范
层级命名法
{属性}.{类别}.{变体}.{状态}
示例:
color.primary.500 /* 基础色 */
color.primary.hover /* 悬停状态 */
color.primary.disabled /* 禁用状态 */
color.text.primary /* 主文本 */
color.text.secondary /* 次要文本 */
color.background.surface /* 表面背景 */
语义命名法
{语义}.{用途}
示例:
color.brand.primary /* 品牌主色 */
color.brand.secondary /* 品牌次色 */
color.semantic.success /* 成功语义色 */
color.semantic.error /* 错误语义色 */
color.semantic.warning /* 警告语义色 */
色彩系统
基础色彩扩展
每个基础色应该扩展为完整的色阶:
:root {
/* 蓝色色阶 */
--blue-50: #eff6ff;
--blue-100: #dbeafe;
--blue-200: #bfdbfe;
--blue-300: #93c5fd;
--blue-400: #60a5fa;
--blue-500: #3b82f6;
--blue-600: #2563eb;
--blue-700: #1d4ed8;
--blue-800: #1e40af;
--blue-900: #1e3a8a;
--blue-950: #172554;
}
语义色彩
:root {
/* 品牌色 */
--color-brand-primary: var(--blue-600);
--color-brand-secondary: var(--indigo-600);
/* 语义色 */
--color-success: var(--green-600);
--color-warning: var(--amber-500);
--color-error: var(--red-600);
--color-info: var(--blue-600);
/* 中性色 */
--color-neutral-50: #fafafa;
--color-neutral-100: #f5f5f5;
--color-neutral-200: #e5e5e5;
--color-neutral-300: #d4d4d4;
--color-neutral-400: #a3a3a3;
--color-neutral-500: #737373;
--color-neutral-600: #525252;
--color-neutral-700: #404040;
--color-neutral-800: #262626;
--color-neutral-900: #171717;
--color-neutral-950: #0a0a0a;
}
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 633 lines · 73 tokens per session scan A 555dd77238c7
Design System Expert is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 73 tokens to every session and 4,434 once invoked, about $0.0003 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-11-22.
Design System Expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Design System Expertboshi-xixixi/TraeSkill | Skill | 288 | 9d ago | MIT | A | 73 | Claude Code, Codex |
| designRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 67 | Claude Code |
| frontend-craftsentimony/skills | Skill | 8 | today | MIT | A | 99 | Claude Code |
| frontend-architectSarthib7/agentsmith | Skill | 11 | 1mo ago | none | A | 81 | Claude Code, Codex |
| frontend-design-guidelinesSarthib7/agentsmith | Skill | 11 | 1mo ago | none | B | 198 | Claude Code, Codex |
| design-taste-frontendxiehuan123/coding-coach | Skill | 6 | 3mo ago | none | A | 79 | Claude Code |
| ui-ux-pro-maxxiehuan123/coding-coach | Skill | 6 | 3mo ago | none | B | 238 | Claude Code |