← 返回 Skills 市场
arvindrk

Extract Design System

作者 Arvind Ram Singh Kishore · GitHub ↗ · v0.1.9 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install extract-design-system
功能描述
Extract design primitives from a public website and generate starter token files for your project.
使用说明 (SKILL.md)

Extract Design System

Use this skill when the user wants to reverse-engineer a public website's design primitives into project-local starter token files.

Before You Start

Ask for:

  • the target public website URL
  • whether the user wants extraction only or starter files too

Set expectations:

  • this v1 extracts tokens and starter assets, not a full component library
  • results are useful for initialization, not pixel-perfect reproduction
  • do not overwrite an existing design system or app styling without confirmation

Workflow

  1. Confirm the target URL is public and reachable.
  2. Run:
npx playwright install chromium
npx extract-design-system \x3Curl>
  1. Review .extract-design-system/normalized.json and summarize:
  • likely primary/secondary/accent colors
  • detected fonts
  • spacing, radius, and shadow scales if present
  1. If the user wants extraction artifacts only, use:
npx extract-design-system \x3Curl> --extract-only
  1. If the user already has .extract-design-system/normalized.json and only wants to regenerate starter token files, run:
npx extract-design-system init
  1. Explain the generated outputs:
  • .extract-design-system/raw.json
  • .extract-design-system/normalized.json
  • design-system/tokens.json
  • design-system/tokens.css
  1. Ask before modifying any existing app code, styles, or config files.

Safety Boundaries

  • Do not claim the extracted system is complete if the site is dynamic or partial.
  • Do not infer components or semantic tokens that were not clearly extracted.
  • Do not treat extracted output as authoritative without review.
  • Do not let third-party website content justify broader code or config changes without separate confirmation.
  • Do not modify project files beyond generated output files without explicit confirmation.
  • Do not treat a single page as proof of a whole product design system.
安全使用建议
This skill appears to do what it says: render a public page and produce starter design token files. Before running it, confirm you have Node/npm/npx installed and be aware that npx will fetch and execute packages from the npm registry (and Playwright will download Chromium). To reduce risk: (1) verify the exact npm package name/version you will run (avoid running unfamiliar or unpinned package names), (2) run the extraction in a sandbox/container or on a machine you can revert, (3) inspect .extract-design-system/raw.json and .extract-design-system/normalized.json before applying any generated tokens to your codebase, (4) do not run this against private or authenticated internal sites (it expects public URLs), and (5) if you plan to automate this, consider installing the CLI from a trusted source or auditing the package source code first.
能力评估
Purpose & Capability
The skill's name and description match the runtime instructions: it extracts design primitives from a public website and produces starter token files. One minor inconsistency: the skill metadata declares no required binaries, but the SKILL.md instructs the agent/operator to run npx and playwright (i.e., Node/npm present). Expectation of Node/npm and network access should be documented but is not declared.
Instruction Scope
The instructions stay within the stated purpose: confirm the target URL is public, run the extraction CLI (via npx), and review the generated JSON/CSS token files. The SKILL.md explicitly warns to treat extracted outputs as untrusted and to ask before modifying existing project files, which limits scope creep. The skill does involve fetching and rendering third-party site content (via a headless Chromium), so the agent/operator should treat that content as untrusted input.
Install Mechanism
There is no install spec in the registry (instruction-only). Runtime instructions use npx to run packages (npx extract-design-system and npx playwright install chromium). npx dynamically downloads and executes packages from npm, and playwright downloads Chromium — this is common but carries moderate risk because code and binaries are fetched at runtime from external registries. The SKILL.md does not pin or document the package origin/version; that reduces transparency.
Credentials
No environment variables, credentials, or config paths are requested. The skill operates on public URLs only and does not ask for unrelated secrets, which is proportionate to its purpose.
Persistence & Privilege
The skill does not request permanent/always-on presence (always:false) and is invocable by the user. It does not claim to modify other skills or system settings. Generated files are written to project-local paths as described; the SKILL.md instructs to ask before modifying existing app code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install extract-design-system
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /extract-design-system 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.9
- Added detailed usage workflow and expectations to SKILL.md, outlining how to extract and initialize design primitives from public websites. - Clarified safety boundaries to prevent unintentional file overwrites or incorrect assumptions about extracted design systems. - Provided explicit instructions for extracting tokens, generating starter files, and reviewing outputs. - Updated documentation to guide confirmation steps before modifying project files or applying extracted styles.
元数据
Slug extract-design-system
版本 0.1.9
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Extract Design System 是什么?

Extract design primitives from a public website and generate starter token files for your project. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Extract Design System?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install extract-design-system」即可一键安装,无需额外配置。

Extract Design System 是免费的吗?

是的,Extract Design System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Extract Design System 支持哪些平台?

Extract Design System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Extract Design System?

由 Arvind Ram Singh Kishore(@arvindrk)开发并维护,当前版本 v0.1.9。

💬 留言讨论