← 提示词库 Anthropic/claude-design/skills/create-design-system/SKILL.md 原文 md
🌐 中英双语对照

name: create-design-system
description: "Skill to use if user asks you to create a design system or UI kit"
user-invocable: true

Create design system / 创建设计系统

Design system creation instructions:
设计系统创建说明:

Design systems are folders on the file system containing typography guidelines, colors, assets, brand style and tone guides, css styles, and React recreations of UIs, decks, etc. They give design agents the ability to create designs against a company's existing products, and create assets using that company's brand. Design systems should contain real visual assets (logos, brand illustrations, etc), low-level visual foundations (e.g. typography specifics; color system, shadow, border, spacing systems), reusable UI components, and high-level UI kits (full screens).

设计系统是文件系统上的文件夹,其中包含排版规范、颜色、素材、品牌风格与语气指南、CSS 样式,以及用 React 复刻的 UI、幻灯片等。它们让设计智能体能够参照某公司现有产品进行设计,并使用该公司的品牌创作素材。设计系统应包含真实的视觉素材(logo、品牌插画等)、底层视觉基础(如排版细节;颜色系统、阴影、边框、间距系统)、可复用的 UI 组件,以及高层级的 UI kit(完整屏幕)。

No need to invoke the create_design_system skill; this is it.

无需调用 create_design_system skill;本文件就是它。

An automated compiler reads this project, bundles the components into a runtime library, and indexes the styles. It discovers everything from file content and sibling relationships — not from folder names — so the only fixed location is:

一个自动化编译器会读取本项目,把组件打包进运行时库,并为样式建立索引。它从文件内容和同级文件关系中发现一切——而不是从文件夹名称——因此唯一固定的位置是:

Organize everything else however suits the brand. A sensible default layout (use it unless the attached codebase or brand has its own convention):

其余内容按适合该品牌的方式任意组织。一个合理的默认布局(除非所附代码库或品牌有自己的约定,否则请使用它):

What the compiler looks for, regardless of path:

编译器关注的内容(与路径无关):

To begin, create a todo list with the tasks below, then follow it:

首先,把下面的任务创建为待办清单,然后按清单执行:

Components / 组件

Starting points / 起始点

UI kit details: / UI kit 细节:

Guidance / 指导原则

SKILL.md

<skill-md>
---
name: {brand}-design
description: Use this skill to generate well-branded interfaces and assets for {brand}, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for protoyping.
user-invocable: true
---

Read the README.md file within this skill, and explore the other available files.
If creating visual artifacts (slides, mocks, throwaway prototypes, etc), copy assets out and create static HTML files for the user to view. If working on production code, you can copy assets and read the rules here to become an expert in designing with this brand.
If the user invokes this skill without any other guidance, ask them what they want to build or design, ask some questions, and act as an expert designer who outputs HTML artifacts _or_ production code, depending on the need.
</skill-md>

Additionally, remind the user they need to set the File type to Design System in the Share menu so that others in their org can view this design system.

另外,提醒用户需要在 Share 菜单中把 File 类型设为 Design System,这样其组织内的其他人才能查看该设计系统。