Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

design-md-generator设计 MD 生成器

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

2,796

周安装

112

GitHub Stars

公开资料未说明

下载量

905
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-md-generator(设计 MD 生成器)
来源仓库:https://github.com/wavmson/design-md-generator
安装命令:
openclaw skills install design-md-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install design-md-generator

简介

从网站 URL 提取完整视觉系统并生成结构化的 DESIGN.md 文件。

  • 适用于设计资产沉淀与团队协作规范统一。design-md-generator 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 自动捕获颜色、排版、间距与组件定义等关键元素。
  • 解析结果可能因页面复杂度产生误差,需人工校验修正。
  • 建议配合 Figma 或 Sketch 使用,提升设计还原度。

SKILL.md

name
design-md-generator
description
Generate DESIGN.md files from any website URL. Extracts the complete visual design system — colors, typography, spacing, components, shadows — into a structured markdown document that AI coding agents can read to produce pixel-perfect, visually consistent UI. Use when asked to "extract design system", "generate DESIGN.md", "capture the look of a website", "create a design spec from URL", or "reverse-engineer a site's visual language". Based on the Google Stitch DESIGN.md format.

Design MD Generator

Generate structured DESIGN.md files from any website URL. The output follows the Google Stitch DESIGN.md format with 9 standard sections.

Workflow

Step 1: Capture the site

Use the browser tool to load the target URL and take a screenshot:

browser action=navigate url="<TARGET_URL>"
browser action=screenshot
browser action=snapshot

Step 2: Extract CSS tokens

Run the extraction script to pull all design tokens from the page's computed styles:

# From the skill directory
node {baseDir}/scripts/extract-tokens.js "<TARGET_URL>"

The script outputs a JSON file with:

  • All unique colors (background, text, border, accent)
  • Font families, sizes, weights, line-heights, letter-spacing
  • Border radii, shadows, spacing values
  • Component patterns (buttons, cards, inputs)

Step 3: Generate DESIGN.md

Using the extracted tokens + screenshot for visual context, write a DESIGN.md with these 9 sections:

#SectionWhat to capture
1Visual Theme & AtmosphereMood, density, design philosophy. Write like an art director describing the aesthetic.
2Color Palette & RolesEvery color with semantic name + hex + functional role. Group by: Brand, Background, Text, Semantic, Border.
3Typography RulesFont families with fallbacks. Full hierarchy table: role, font, size, weight, line-height, letter-spacing.
4Component StylingsButtons (primary/secondary/ghost), Cards, Inputs, Navigation, Badges — with all states (default, hover, active, disabled).
5Layout PrinciplesSpacing scale table, grid system, max-width, column count, whitespace philosophy.
6Depth & ElevationShadow system table (flat → raised → floating → overlay). Surface hierarchy list.
7Do's and Don'tsDesign guardrails. What makes this design system unique and what breaks it.
8Responsive BehaviorBreakpoints table, touch targets, collapsing strategy for nav/grids/typography.
9Agent Prompt GuideQuick color reference block + 2-4 ready-to-use prompts for common page types.

Writing Guidelines

  • Be specific: Use exact hex values, px sizes, font weights — not "dark blue" or "large text"
  • Be opinionated: Describe the atmosphere like a design critic, not a spec sheet
  • Name colors semantically: "Lobster Coral" not "Red 1", "Deep Sea" not "Background Dark"
  • Include states: Every interactive component needs default + hover + active + focus states
  • Show hierarchy: List surfaces from darkest to lightest, text from brightest to dimmest
  • Agent-ready prompts: Write Section 9 prompts that another AI agent can copy-paste to build matching UI

Output

Save the generated file as DESIGN.md in the target location specified by the user.

Optionally generate:

  • preview.html — A visual catalog page showing color swatches, type scale, and component samples
  • preview-dark.html — Same catalog on dark surface

Reference

See references/format-spec.md for the complete section-by-section format specification with examples.

See references/example-linear.md for a high-quality example (Linear's DESIGN.md).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.64%
按下载量换算739

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills