Website Design System 标志

Website Design System

社区
DiqingWWW
website-design-system

Analyze a website URL and build a browsable design-system website with evidence-backed foundations, tokens, component states, usage rules, motion, and working composition examples. Use for URL-to-design-system, website visual-language extraction, or generating a system reference from an existing site. Not for a simple screenshot clone, isolated UI fix, or Figma-only library creation.

概览

发布者DiqingWWW
代码仓库Web-Design-System-Skill
技能名称website-design-system
星标数
10
复刻数
0
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 DiqingWWW 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Website Design System AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/DiqingWWW/Web-Design-System-Skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DiqingWWW/Web-Design-System-Skill.git \
  .claude/skills/website-design-system
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Website Design System,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Website Design System。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Website Design System 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Website Design System

Turn a URL into a usable, traceable design-system website. A written audit, palette, screenshot gallery, or static component collage alone does not finish the task. Deliver running examples built from the same tokens and components that the documentation describes.

This skill is self-contained. Never assume access to the skill author's repositories, localhost routes, prior conversations, preferred framework, or private design files. Treat the current request, the supplied URLs or files, the inspected source, and the active workspace rules as the complete source of truth.

Establish the target

  • Read references/cold-start.md when the request provides only a URL, the destination is unclear, or the skill is being evaluated in a new environment.
  • Separate the source website to analyze from any reference documentation website whose presentation the user likes. A reference supplies documentation depth and interaction patterns; its brand, dimensions, and colors do not become the source's design language.
  • With one source URL, inspect that page from top to bottom and the distinct same-origin page families reachable through its navigation. Start with one representative of each family; expand when another page exposes new components, variants, or layout rules. Record unvisited URLs and inaccessible states. Do not call a sampled crawl “every element on the entire site.”
  • If the only URL is explicitly a documentation reference and no source is supplied, ask for the source before claiming to extract its system.
  • Default to the user's language for documentation and the source's language for faithful specimens. Keep observed source copy separate from labeled fictional demo content.
  • Use an existing project's framework only when the user names that project or route as the destination, or the source URL is that project's local preview. Mere presence in an application repository is not permission to modify it. Otherwise create an isolated output directory and runnable local documentation site; plain HTML/CSS/JS is sufficient when no app stack is established. Follow any required site-building workflow in the active environment. Do not introduce a backend for extraction unless requested.
  • State the crawl boundary, evidence method, output location, and acceptance criteria briefly, then work. Ask only for information that changes the work and cannot be inferred. URL input in conversation is enough; a hosted crawler, URL-entry product, deployment, or Figma write is additional scope.

1. Observe before designing

Read references/inspection.md. Inspect the rendered site with available, documented browser tools, then inspect local source/CSS when available and authorized. Screenshots establish composition; computed styles and source declarations establish values. Neither alone proves a complete system.

Create a structured evidence ledger and coverage matrix before implementation. Each finding links to a URL, element or component, viewport, state, method, and capture time. Record source revision when local code is available. A screenshot estimate must never be labeled a measured CSS value.

Use these distinct evidence labels throughout the site and exports:

LabelMeaning
Observed / 实测Directly inspected in source or rendered behavior, with method and location recorded
Inferred / 推断Generalized from repeated evidence; state the reasoning and uncertainty
Proposed / 补全提案New rule, state, correction, or component added for usability/completeness
Unknown / 未知Not inspectable or not verified; no fabricated value

Evidence status is separate from owner approval. Observed does not mean approved, accessible, reusable, or correct. Mark blocked routes, unobserved modes, and coverage gaps explicitly. Continue supported work when some routes fail.

2. Reconstruct the system

Read references/system-model.md. Inventory all unique visual families within the inspected scope, including distinctive source-specific elements. Use the coverage matrix to account for foundations, components, composition, behavior, and governance; mark missing categories as absent, blocked, or proposed rather than silently skipping them.

For each candidate value:

  1. Retain raw observations, including exceptions and breakpoint differences.
  2. Merge only values with the same meaning and compatible evidence. Equal hex values do not imply equal semantic roles.
  3. Promote repeated values into primitives, roles into semantic aliases, and demonstrated component-specific needs into component aliases. Record naming as inferred when the original token names are unavailable.
  4. Keep one-off hero treatments, shaders, illustration styles, or choreography local unless repeated evidence supports reuse.
  5. Fill gaps needed for a coherent usable system with visibly Proposed additions. Do not invent a full 50–950 palette, dark mode, icon library identity, exact breakpoint, or timing curve from one screenshot.
  6. Keep observed defects visible in the source comparison; use a separately labeled correction in functional examples when necessary for accessibility. A repair must not silently rewrite the extraction.

3. Build the reference website

Read references/site-contract.md. Build foundations → components → compositions → handoff from one structured registry. Values shown in tables, CSS consumed by specimens, and exported tokens must agree.

Produce a site with section navigation, live specimens, usage and avoidance guidance, anatomy and state documentation, real composition examples, motion replay, responsive/stress controls, evidence details, and downloadable implementation data. Match the source's visual character while keeping documentation legible. Do not impose a universal SaaS dashboard or copy the reference site's brand.

Use reusable components in both the component gallery and composed examples. Forced state samples are labeled as samples and supplement actual keyboard/pointer behavior. Document which parts are observed and which are proposed at the item level, not only in one footer disclaimer.

Keep output styles scoped. In an existing application, add an isolated route or output directory; do not replace production pages or global tokens. The generated system remains a proposal until adopted. For later comment-driven edits, freeze unmentioned elements and change only the requested targets.

4. Verify and hand off

Use the checks in the site contract. Run supported project checks after reading their scripts; check the running website at desktop, narrow mobile, and source breakpoints, plus keyboard, focus, reduced motion, long content, missing media, and export behavior. Compare representative specimens to source evidence at matching viewports. Report skipped or blocked checks without claiming conformance.

The optional scripts/export_tokens.py validates the local registry contract in system-model.md and generates scoped CSS plus a resolved JSON export. Run it when using that contract. It validates alias/data consistency, not CSS semantics, accessibility, or third-party importer compatibility. Other typed registries are acceptable if they enforce equivalent invariants.

Finish with the verified running preview URL, output location, inspected coverage, material gaps, and verification result. Preserve any existing development service; use an isolated route or another available port. If the environment cannot leave a service running, verify the URL during the run, state that it stopped, and provide the exact restart command. Download links must return the generated files. Never describe a local custom JSON manifest as a universal Figma/Tokens Studio import, or claim design-tool synchronization without testing that destination.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Website Design System AI 技能有什么作用?

Analyze a website URL and build a browsable design-system website with evidence-backed foundations, tokens, component states, usage rules, motion, and working composition examples. Use for URL-to-design-system, website visual-language extraction, or generating a system reference from an existing site. Not for a simple screenshot clone, isolated UI fix, or Figma-only library creation.

为什么在 TypingMind 中使用 Website Design System?

因为您只需安装一次,就能搭配任何模型使用。Website Design System 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Website Design System?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/DiqingWWW/Web-Design-System-Skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Website Design System?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Website Design System 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Website Design System 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Website Design System AI 技能免费吗?

是的。DiqingWWW 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇