TraeSkill: Skill for Claude Code

.trae/Skills/02_Designer_DesignSystem/SKILL.md

Design System Expert is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 73 tokens per session (4,434 once invoked), scanned A, original, MIT.

A set of shared rules and reusable parts for keeping a product's visual design consistent. It covers design tokens—named values for colours, spacing, and fonts—along with component libraries and style documentation.

In plain words
What is it for?
Use it to create brand standards, define tokens, document buttons and inputs, organise a component library, and guide teams building interfaces across products or platforms.
Why use it?
It reduces repeated design decisions and prevents different screens or teams from using inconsistent colours, typography, spacing, and components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is boshi-xixixi/TraeSkill's own configuration. It tells Claude Code and Codex how to work on TraeSkill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TraeSkill configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/02_Designer_DesignSystem/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: Claude Code, Codex.

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 Design System Expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_designsystem/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_designsystem)
Your own site
<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.

agentmods 80×15 button for Design System Expert

Your own site · 80×15
<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>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,434 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.00073 $0.04434
Opus 5.5 $0.00029 $0.01774
Sonnet 5.5 $0.00015 $0.00887
Haiku 4.5 $0.00007 $0.00443

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

Security

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.

.trae/Skills/02_Designer_DesignSystem/SKILL.md · 633 lines

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;
}

Read the full file on GitHub · 633 lines

Files

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.

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 · 633 lines · 73 tokens per session scan A 555dd77238c7

Subscribe to this mod's changes

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.

Related

Design System Expert compared with skills from other repositories

Design System Expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Design System Expertboshi-xixixi/TraeSkillSkill2889d agoMITA73Claude Code, Codex
designRune-kit/runeSkill962d agoMITA67Claude Code
frontend-craftsentimony/skillsSkill8todayMITA99Claude Code
frontend-architectSarthib7/agentsmithSkill111mo agononeA81Claude Code, Codex
frontend-design-guidelinesSarthib7/agentsmithSkill111mo agononeB198Claude Code, Codex
design-taste-frontendxiehuan123/coding-coachSkill63mo agononeA79Claude Code
ui-ux-pro-maxxiehuan123/coding-coachSkill63mo agononeB238Claude Code