Agent skill

Token Generator

by revfactory in revfactory/harness-100

디자인 토큰을 체계적으로 생성하는 방법론과 도구. An agent skill from revfactory/harness-100.

Apache-2.0Auto-check passedFrontend & Design

Install Token Generator

skills CLI
$ npx skills add revfactory/harness-100 --skill token-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 token-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ko/36-design-system/.claude/skills/token-generator .claude/skills/token-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
token-generator
GitHub stars
1.3k
Token cost
~906 tokens
SKILL.md length
302 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

디자인 토큰을 체계적으로 생성하는 방법론과 도구. An agent skill from revfactory/harness-100.

  • Frontend & Design work in your project
  • SKILL.md covers 대상 에이전트, 토큰 계층 구조 (3-tier), 색상 스케일 생성 알고리즘 and 시맨틱 색상 매핑 표준, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Token Generator is an agent skill from revfactory/harness-100. 디자인 토큰을 체계적으로 생성하는 방법론과 도구. '디자인 토큰 만들어줘', '토큰 체계 설계', '색상 스케일 생성', '타이포 스케일', '간격 체계', '다크모드 토큰' 등 디자인 토큰 설계 시 사용한다. 단, Figma 토큰 플러그인 실행, Style Dictionary 런타임 빌드는 이 스킬의 범위가 아니다.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with Figma. The licence is Apache-2.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/token-generator”

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are css, typescript and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Token Generator loads about 906 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 302 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~906

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 302 words, ~906 tokens.

Download SKILL.mdSave it as .claude/skills/token-generator/SKILL.md (or your agent's skills folder).
name
token-generator
description
디자인 토큰을 체계적으로 생성하는 방법론과 도구. '디자인 토큰 만들어줘', '토큰 체계 설계', '색상 스케일 생성', '타이포 스케일', '간격 체계', '다크모드 토큰' 등 디자인 토큰 설계 시 사용한다. 단, Figma 토큰 플러그인 실행, Style Dictionary 런타임 빌드는 이 스킬의 범위가 아니다.

Token Generator — 디자인 토큰 생성 방법론

token-designer 에이전트의 토큰 설계 역량을 강화하는 도메인 지식 스킬.

대상 에이전트

  • token-designer — 색상, 타이포, 간격 등 토큰 체계를 설계할 때 이 방법론을 사용한다
  • component-developer — 컴포넌트에서 토큰을 참조할 때 네이밍 규칙을 확인한다

토큰 계층 구조 (3-tier)

Global (Primitive) → Alias (Semantic) → Component
────────────────────────────────────────────────
blue-500: #3B82F6   primary: blue-500    button-bg: primary
gray-100: #F3F4F6   surface: gray-100    card-bg: surface
Tier 1: Primitive — {category}-{scale} (예: blue-500)
Tier 2: Semantic — {용도} (예: primary, surface)
Tier 3: Component — {component}-{property}-{variant}-{state}

색상 스케일 생성 알고리즘

입력: 브랜드 색상 1개 → HSL 변환 후 10단계 스케일 생성:

단계L 조정S 조정용도
5095-97%S×0.3배경 틴트
10090-93%S×0.5호버 배경
20082-87%S×0.7보조 배경
30070-76%S×0.85테두리
40058-64%S×0.95보조 텍스트
50045-55%S×1.0기본 (입력값)
60038-44%S×1.0호버
70030-36%S×0.95액티브
80022-28%S×0.9강조 텍스트
90014-20%S×0.85최고 강조
9508-12%S×0.8거의 검정

시맨틱 색상 매핑 표준

시맨틱 토큰라이트 모드다크 모드용도
primaryblue-500blue-400주 액션
on-primarywhitewhite주 액션 위 텍스트
surfacewhitegray-900기본 배경
surface-raisedwhitegray-800카드/모달
on-surfacegray-900gray-50기본 텍스트
on-surface-mutedgray-500gray-400보조 텍스트
bordergray-200gray-700기본 테두리
successgreen-500green-400성공
warningamber-500amber-400경고
errorred-500red-400오류

타이포그래피 스케일 (Major Third 1.250)

base = 16px (1rem), ratio = 1.250

| 토큰 | px | rem | 용도 |
|------|----|-----|------|
| text-xs | 10.24 | 0.64 | 캡션 |
| text-sm | 12.80 | 0.80 | 보조 텍스트 |
| text-base | 16.00 | 1.00 | 본문 |
| text-lg | 20.00 | 1.25 | 강조 본문 |
| text-xl | 25.00 | 1.563 | 소제목 |
| text-2xl | 31.25 | 1.953 | 제목 |
| text-3xl | 39.06 | 2.441 | 대제목 |
| text-4xl | 48.83 | 3.052 | 히어로 |

줄높이: heading 1.2~1.3, body 1.5~1.7, compact 1.25~1.4
가중치: light(300), regular(400), medium(500), semibold(600), bold(700)

간격 체계 (4px 기반)

토큰값rem용도
space-14px0.25최소 간격
space-28px0.5인라인 간격
space-312px0.75컴팩트 패딩
space-416px1.0기본 패딩
space-624px1.5섹션 간격
space-832px2.0큰 간격
space-1248px3.0레이아웃 간격
space-1664px4.0대형 레이아웃

그림자 체계

토큰값용도
shadow-sm0 1px 3px rgba(0,0,0,0.1)카드
shadow-md0 4px 6px rgba(0,0,0,0.1)드롭다운
shadow-lg0 10px 15px rgba(0,0,0,0.1)모달
shadow-xl0 20px 25px rgba(0,0,0,0.1)팝오버

모션 토큰

토큰값용도
duration-fast150ms호버, 토글
duration-normal250ms전환
duration-slow400ms복잡한 애니메이션
easing-defaultcubic-bezier(0.4, 0, 0.2, 1)기본

출력 포맷

CSS Custom Properties
css
:root { --color-primary: #3B82F6; --space-4: 1rem; }
[data-theme="dark"] { --color-primary: #60A5FA; }
TypeScript
typescript
export const tokens = {
  color: { primary: '#3B82F6' },
  space: { 4: '1rem' },
} as const;
JSON (Style Dictionary)
json
{ "color": { "primary": { "value": "#3B82F6", "type": "color" } } }

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in ko/36-design-system/.claude/skills/token-generator of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Token Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Token Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Token Generator this skillrevfactory/harness-1001.3k—~906Automated safety check: PassApache-2.0
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma Design to Codewarpdotdev/warp65k4 repos~2.9kAutomated safety check: PassAGPL-3.0
Figma Design System Rules Generatorwarpdotdev/warp65k3 repos~4.6kAutomated safety check: PassAGPL-3.0
Figma Code Connect Componentswarpdotdev/warp65k2 repos~4.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Creates project-specific design system rules from your codebase so coding agents implement Figma designs with your components, naming and tokens.

    65k GitHub starsUsed in 3 repos~4.6k tokens
    Frontend & DesignAuto-check passed
  • Maps published Figma components to their code implementations with Code Connect, using the Figma MCP suggestion and mapping tools.

    65k GitHub starsUsed in 2 repos~4.2k tokens
    Frontend & DesignAuto-check passed
  • Cc Design

    ZeroZ-lab/cc-design

    High-fidelity HTML design and prototype creation. An agent skill from ZeroZ-lab/cc-design.

    827 GitHub stars~2.2k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check: notes

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Works with

Questions about Token Generator

What does Token Generator do?

디자인 토큰을 체계적으로 생성하는 방법론과 도구. An agent skill from revfactory/harness-100. Token Generator is an agent skill from revfactory/harness-100. 디자인 토큰을 체계적으로 생성하는 방법론과 도구.

When should I use Token Generator?

Token Generator fits situations like: frontend & Design work in your project.

How do I install Token Generator in Claude Code?

Run `npx skills add revfactory/harness-100 --skill token-generator -a claude-code`. Or copy the skill folder (ko/36-design-system/.claude/skills/token-generator in revfactory/harness-100) into .claude/skills/token-generator in your project. Claude Code loads it when a task matches its description.

How do I install Token Generator in Codex?

Run `npx skills add revfactory/harness-100 --skill token-generator -a codex`. Or copy the skill folder (ko/36-design-system/.claude/skills/token-generator in revfactory/harness-100) into .agents/skills/token-generator in your project. Codex loads it when a task matches its description.

Can I use Token Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill token-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/token-generator, .gemini/skills/token-generator, .github/skills/token-generator and .opencode/skills/token-generator in your project.

What does Token Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Token Generator is instructions for the agent only.

Does Token Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Token Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Token Generator use?

Token Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Token Generator use?

About 906 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Token Generator?

Skills that share tags, products or a category with Token Generator: Figma Design System Builder (warpdotdev/warp, 65k stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Figma Design to Code (warpdotdev/warp, 65k stars) and Figma Design System Rules Generator (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Token Generator?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.