build-design-system
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含…
Skill by lintendo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lintendo-build-design-system
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/build-design-system
What's inside
- Skill name
build-design-system- Description
- 从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含 DESIGN.md(getdesign.md / DESIGN.md 9 段式标准)和 globals.css(Tailwind CSS v4), 每个 token 类别均有推荐/允许/禁止三级规范,可直接放入项目根目录供 AI 编码工具使用。
- License
- MIT
- Instructions
- 511 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 511 lines (spec recommends under 500)
Files (2)
- SKILL.md
- generate.mjs · scripts/
SKILL.md (first lines)
# 构建设计系统
从目标网页采集设计令牌,生成 DESIGN.md 设计规范 + Tailwind CSS 主题。
## 前置条件
- Node.js >= 18
- 已安装 `extract-page-data` 或 `clone-page` 技能(用于数据采集)
## 工作流
### Step 1: 采集设计数据 + 截图
使用 `extract-page-data` 或 `clone-page` 技能采集 theme.json + 多维度截图;也可以使用 Playwright、浏览器自动化、in-app Browser/Chrome 或其他等效工具替代,只要能稳定产出截图、响应式截图和 token/样式证据即可:
```bash
# 方式 A: extract-page-data(快速采集)
node <extract-page-data>/scripts/extract.mjs <url> --theme --screenshot --scroll -o ./theme-data
# 方式 B: clone-page(采集 + 多视口截图 + section 截图,推荐)
node <clone-page>/scripts/clone.mjs <url> quick -o ./theme-data --scroll
node <clone-page>/scripts/clone.mjs <url> responsive -o ./theme-data
# 按需采集关键 section 的截图
node <clone-page>/scripts/clone.mjs <url> styles -o ./theme-data --selector "header"
node <clone-page>/scripts/clone.mjs <url> styles -o ./theme-data --selector "main > section:nth-child(1)"
node <clone-page>/scripts/clone.mjs <url> styles -o ./theme-data --selector "footer"
```
采集后 `theme-data/` 中应有:
- `theme.json` — 设计令牌(颜色、字体、间距、圆角、阴影、动画…)
- `screenshot.png` — **全页截图(最重要的参考)**
- `responsive/` — 多视口截图(desktop/tablet/mobile)
- `sections/*/screenshot.png` — 各 section 的独立截图
### Step 2: 截图分析(最关键的一步)
**截图是设计规范的最终真相**。很多关键设计信息只存在于截图中,无法从 CSS 属性提取:
#### 必须从截图中观察的设计维度
| 维度 | 截图中观察什么 | theme.json 能否提供 |
|------|--------------|-------------------|
| 🎨 品牌调性 | 整体视觉风格——极简/科技/温暖/高端/活泼 | ❌ 无法 |
| 📐 布局节奏 | Section 之间的留白比例、内容密度、对齐方式 | ❌ 无法 |
| 🖼️ 视觉层级 | 哪些元素突出、视觉重心在哪里、信息优先级 | ❌ 无法 |
| 🎭 装饰元素 | 背景图案、渐变方向、毛玻璃效果、光影效果 | ⚠️ 部分 |
| 📱 响应式策略 | 不同视口下的布局变化、元素隐藏/重排规则 | ❌ 无法 |
| 🧩 组件风格 | 按钮形状/大小、卡片样式、导航模式、表单风格 | ⚠️ 部分 |
| 🔤 字体排版 | 标题层级视觉感受、段落间距、文本对齐 | ⚠️ 部分 |
| 🌈 渐变方向 | 从左到右/从上到下/径向,渐变色的过渡感 | ❌ 无法 |
| 📸 图片风格 | 摄影/插画/3D/图标风格、图片圆角、纵横比 | ❌ 无法 |
| ☀️ 明暗氛围 | 页面整体是亮色系还是暗色系、色彩饱和度倾向 | ⚠️ 部分 |
#### 截图分析步骤
1. **看全页截图** `screenshot.png`:
- 判断品牌调性(3-5 个关键词描述)
- 识别主色调和辅色调
- 观察整体布局模式(单栏/双栏/网格/卡片流)
- 注意装饰元素(渐变背景/噪点纹理/光效/几何图案)
2. **看响应式截图** `responsive/`:
- 对比 desktop vs tablet vs mobile 的布局变化
- 记录哪些元素在小屏隐藏/折叠
- 观察导航模式变化(横排 → 汉堡菜单)
3. **看 section 截图** `sections/*/screenshot.png`:
- 每个区域的独立视觉风格
- 组件的具体形态(按钮样式、卡片样式、表单样式)
- 图片和装饰的使用方式
**分析结果应直接写入 DESIGN.md 的「视觉主题与氛围」「布局与间距」「组件规范」「响应式行为」等章节。**
### Step 3: 分析 theme.json
读取 `theme.json`,对每个 token 类别进行分析和归类:
```bash
# 查看采集的设计令牌
cat theme-data/theme.json
```
理解要点:
- `colors.background[0]` — 主背景色
- `colors.text[0]` — 主文本色
- `typography.families[0]` — 主字体
- `spacing` — 间距体系
- `radius` — 圆角体系
- `shadow.box` — 阴影体系
- `transitions` — 过渡动画
- `animations` — CSS 动画
- `cssVariables` — 页面已有的 CSS 变量(如果有,优先使用)
**⚠️ 注意:** theme.json 的数据是机器提取的属性值,可能有遗漏或偏差。当 theme.json 的值与截图中观察到的视觉效果冲突时,**以截图为准**。
### Step 4: 生成产物
输出目录结构:
```
<output>/
├── DESIGN.md # 设计规范文档(getdesign.md / DESIGN.md 9 段式标准)
├── globals.css # Tailwind CSS v4 主题定义
└── screenshots/ # 视觉参考截图
├── full-page.png # 全页截图
├── desktop.png # 桌面视图
├── tablet.png # 平板视图
├── mobile.png # 手机视图
├── header.png # 头部截图
└── ... # 其他 section 截图
```
---
## DESIGN.md 生成规范
**格式参考 getdesign.md / DESIGN.md 标准**:纯 Markdown,面向 AI 和人类双重可读。`DESIGN.md` 必须是可执行的设计规范,不能只写氛围描述。
### 强制 9 段式内容From lintendo/Axhub-Skills, MIT.
More from lintendo/Axhub-Skills
- 0.741score
axhub-commentary
lintendo
处理 Axhub Commentary 完整工作流。优先读取本地页面批注文档,落实修改并更新批注状态,或在用户确认后写入删除标记;本地读取失败时再确认 ACP UI 并生成临时可批注地址。也可为已接入 @axhub/annotation 的页面准备标注编辑环境,或配置 AI 侧边栏对话、AI…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-annotation-standalone
lintendo
Use when adding @axhub/annotation to standalone React apps, plain HTML pages, Vite prototypes, or other web hosts that need annotation markers, directories…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-prototype-context
lintendo
Use when an annotated prototype URL exposes PRD, directory, annotation, or source context that an AI Agent needs for review, implementation planning…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
search-design-system
lintendo
Use when selecting an existing design system or theme for a product, page, prototype, or implementation through Axhub design knowledge indexes; not when…
SkillBFreshness: B★ 133Claude Code +9 - 0.738score
figma-content-operator
lintendo
用于处理涉及检查、读取、创建、编辑、导出或代码映射的 Figma 内容任务,也用于将 HTML/React/Vue 等网页复制到 Figma,尤其适用于当前选区、设计系统、Figma MCP、Drafito、Figwright 或需要避免 MCP 工具污染上下文的场景。当用户需要可批注 Figma…
SkillBFreshness: B★ 133Claude Code +9 - 0.730score
react-to-figma-make
lintendo
Use when 需要把现有 React、Vite、Next.js、V0 或 AI Studio 页面转换为 Figma Make 可导入的 .fig 资产,或补齐、更新、验证已有 Figma Make 导出壳和 canvas.fig。
SkillBFreshness: B★ 133Claude Code +9 - 0.727score
generate-theme
lintendo
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含…
SkillBFreshness: B★ 133Claude Code +9 - 0.723score
design-system-search
lintendo
Compatibility entry for the renamed search-design-system skill; use search-design-system for new work.
SkillBFreshness: B★ 133Claude Code +9 - 0.684score
extract-axure-data
lintendo
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.
SkillCFreshness: C★ 133Claude Code +9 - 0.682score
china-customer-research
lintendo
Use when 需要在中国、海外或跨市场场景中开展客户研究、用户研究、VOC、ICP、JTBD、Persona、竞品口碑、购买或流失原因分析,或从访谈、问卷、工单、社区与评论中为需求分析和 PRD 建立客户证据。
SkillCFreshness: C★ 133Claude Code +9 - 0.680score
clone-page
lintendo
高精度克隆网页。使用 Playwright 渐进式采集页面数据(DOM 结构、样式、截图、资源), 然后分阶段构建完整的 HTML/CSS 还原。支持快速还原和高精度还原两种模式。 当用户需要克隆、复刻、还原、仿制网页时使用此技能。 当用户提供 URL 并要求"做一个一样的页面"、"把这个页面克隆过来"、…
SkillCFreshness: C★ 133Claude Code +9 - 0.671score
git-repo-beginner-guide
lintendo
面向不熟悉 Git 的产品经理、设计师、运营、文档作者等非技术用户,引导 GitHub/GitLab/Gitee/Bitbucket/自建 Git 平台的仓库初始化、授权、克隆、提交同步、冲突处理、版本恢复和协作交接。
SkillCFreshness: C★ 133Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 133
- Forks
- 17
- Open issues
- 2
- Last commit (this folder)
- Aug 21, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lintendo/Axhub-Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lintendo
- 0.741score
search-design-system
lintendo
Use when selecting an existing design system or theme for a product, page, prototype, or implementation through Axhub design knowledge indexes; not when…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-prototype-context
lintendo
Use when an annotated prototype URL exposes PRD, directory, annotation, or source context that an AI Agent needs for review, implementation planning…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-annotation-standalone
lintendo
Use when adding @axhub/annotation to standalone React apps, plain HTML pages, Vite prototypes, or other web hosts that need annotation markers, directories…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-commentary
lintendo
处理 Axhub Commentary 完整工作流。优先读取本地页面批注文档,落实修改并更新批注状态,或在用户确认后写入删除标记;本地读取失败时再确认 ACP UI 并生成临时可批注地址。也可为已接入 @axhub/annotation 的页面准备标注编辑环境,或配置 AI 侧边栏对话、AI…
SkillBFreshness: B★ 133Claude Code +9 - 0.738score
figma-content-operator
lintendo
用于处理涉及检查、读取、创建、编辑、导出或代码映射的 Figma 内容任务,也用于将 HTML/React/Vue 等网页复制到 Figma,尤其适用于当前选区、设计系统、Figma MCP、Drafito、Figwright 或需要避免 MCP 工具污染上下文的场景。当用户需要可批注 Figma…
SkillBFreshness: B★ 133Claude Code +9 - 0.730score
react-to-figma-make
lintendo
Use when 需要把现有 React、Vite、Next.js、V0 或 AI Studio 页面转换为 Figma Make 可导入的 .fig 资产,或补齐、更新、验证已有 Figma Make 导出壳和 canvas.fig。
SkillBFreshness: B★ 133Claude Code +9
Cite this page
build-design-system skill. Agent Mart. https://agentmart.dev/skills/lintendo-build-design-system (last updated 2026-10-24)