界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

extract-design-system

extract-design-system

【设计与创意】Reverse-engineers design tokens (colors, typography, spacing, border radius, shadows) from any public website and generates tokens.json and tokens.css for local projects. Available as agent skill and standalone CLI. Different from extract-design-md (which is Stitch/DESIGN.md focused).

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: extract-design-system description: | Reverse-engineers design tokens (colors, typography, spacing, border radius, shadows) from any public website and generates tokens.json and tokens.css for local projects. Available as agent skill and standalone CLI. Different from extract-design-md (which is Stitch/DESIGN.md focused). triggers:

  • "extract design system"
  • "reverse-engineer tokens"
  • "extract tokens from website"
  • "arvindrk extract"
  • "website to tokens" das: type: package category: figma-code upstream: "https://github.com/arvindrk/extract-design-system" version: latest install: false

extract-design-system

Catalogue stub — full package: arvindrk/extract-design-system

Decision tree

  1. Is the skill already installed? Check ~/.design-agent-skills/skills/ for extract-design-system or related directories.

    • Yes → invoke and proceed
    • No → go to step 2
  2. Shell access? Yes → install below. No → show user the command (Claude Code: send with ! as a chat message — add -g for global or omit for project-only).

Install command

npx skills add arvindrk/extract-design-system

Invoke after install

  • Skill name: extract-design-system
  • Triggers: "extract design system", "reverse-engineer tokens", "extract tokens from website"

What it does

Reverse-engineers a design system from any publicly accessible website. Scrapes and analyzes CSS to extract color palettes, typography scales, spacing systems, border radii, and box shadows, then outputs a tokens.json (W3C-compatible) and tokens.css (CSS custom properties) ready for local use. Also available as a standalone CLI tool for scripted extraction pipelines.

When NOT to use

  • Figma-source token extraction — use the Figma MCP (figma-official-skills) or figma-variables-tokens-generator
  • Stitch/DESIGN.md output format — use extract-design-md (taste-design-stitch)
  • Building a token architecture from scratch — use design-tokens-skill
我的收藏