
arvindrk/extract-design-system 是从 https://github.com/arvindrk/extract-design-system. 导入的代理技能候选
概览
arvindrk/extract-design-system 是从 https://github.com/arvindrk/extract-design-system. 导入的代理技能候选
概述(AI 翻译)
逆向工程设计令牌(颜色、排版、间距、边界半径、阴影),生成本地项目的初始 JSON 和 CSS 自定义属性。作为 AI 代理技能(Claude、Cursor、Codex)和独立 CLI 提供。
技能可以按照Anthropic的代理技能概览进行,并且可以通过 skills.sh 生态系统安装。
这个仓库以技能为先。它发布一个可安装的 extract-design-system 技能,捆绑的 CLI 是代理在底层运行的可执行工作流程。
它提取的东西
| 标记类别 | 示例 |
|---|---|
| 颜色品牌调色板、背景、文字、边框 | |
| 排版 | 字体族、大小、粗细、行高 |
| 间距 | 填充与边距刻度 |
| 边境半径 | 按钮、卡片和药丸半径 |
| 阴影跨高程的方框阴影值 |
输出一个兼容 W3C 的 tokens.json 和一个 tokens.css 的 CSS 自定义属性文件,随时可插入任何项目。
快速启动
安装技能:
通过一个支持的编码代理和公开网站运行:
预期起始产出:
.extract-design-system/raw.json- '.extract-design-system/normalized.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
extract-design-system — Extract Design Tokens from Any Website
Reverse-engineer design tokens (colors, typography, spacing, border radius, shadows) from any public website and generate starter JSON and CSS custom properties for your local project. Available as an AI agent skill (Claude, Cursor, Codex) and standalone CLI.
Skills follow Anthropic’s Agent Skills overview and are installable through the skills.sh ecosystem.
This repository is skills-first. It publishes an installable extract-design-system skill, and the bundled CLI is the executable workflow the agent runs under the hood.
What It Extracts
| Token category | Examples |
|---|---|
| Colors | brand palette, backgrounds, text, borders |
| Typography | font families, sizes, weights, line heights |
| Spacing | padding and margin scale |
| Border radius | button, card, and pill radii |
| Shadows | box-shadow values across elevation levels |
Outputs a W3C-compatible tokens.json and a tokens.css file of CSS custom properties, ready to drop into any project.
Quick Start
Install the skill:
npx skills add arvindrk/extract-design-system
Run it from a supported coding agent with a public website:
Extract the design system from https://stripe.com and generate starter token files for this project.
Expected starter outputs:
.extract-design-system/raw.json.extract-design-system/normalized.jsondesign-system/tokens.jsondesign-system/tokens.css
About This Repository
This repository contains a focused agent skill for reverse-engineering a starter design system from a public website.
The skill is designed to give coding agents a repeatable workflow for:
- analyzing a public website’s colors, typography, spacing, radius, and shadows
- normalizing the extracted output into a stable structure
- generating project-local starter token files
- summarizing findings before broader styling or app changes
Available Skill
extract-design-system
Extract a starter design system from a public website and turn it into local token files.
Use when:
- You want an agent to analyze a public website’s visual primitives
- You want starter design tokens for an existing project
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add arvindrk/extract-design-system