Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

design-system设计系统

Agent Skill

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

总安装

1,542

周安装

63

GitHub Stars

2

下载量

494
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:design-system(设计系统)
来源仓库:https://github.com/jwilger/agent-skills
仓库路径:skills/design-system
安装命令:
npx skills add https://github.com/jwilger/agent-skills --skill design-system
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jwilger/agent-skills --skill design-system

简介

design-system 用于辅助界面设计、视觉规范和交互体验优化。

  • 适合生成 UI 方案、检查视觉一致性或改进组件层级。
  • 使用时需结合现有品牌和设计系统,避免堆砌装饰元素。
  • 安装命令:npx skills add https://github.com/jwilger/agent-skills --skill design-system
  • 涉及页面改动时应通过截图或浏览器预览检查文本溢出和对齐。

SKILL.md

Design System

Value: Communication -- a documented design system creates shared vocabulary for every visual decision. When philosophy is explicit and tokens are named, contributors extend the system consistently without guessing at intent.

Purpose

Facilitates collaborative creation of a design system specification. Produces an artifact at docs/design-system.pen (if Pencil MCP is available) or docs/design-system.html (single-file fallback) that documents philosophy, tokens, and the full component hierarchy from atoms through templates.

Practices

Detect Artifact Format

Check whether the mcp__pencil__get_editor_state tool is available.

  • Present: Use .pen format. Follow references/pencil-workflow.md.
  • Absent: Use HTML format. Follow references/html-artifact.md.

Decide the format before starting any design work. Do not switch formats mid-process.

Follow the Seven-Phase Collaborative Process

You MUST follow references/design-phases.md for the full methodology. Each phase completes before the next begins.

Phases at a glance:

  1. Philosophy & Constraints -- Brand, principles, accessibility, responsive strategy, constraints. Every subsequent decision traces here.
  2. Design Tokens -- Color, typography, spacing, radii, elevation, motion, breakpoints, opacity. Each token cites a philosophy principle.
  3. Atoms -- Indivisible elements (buttons, inputs, labels, icons). Each documents states and references only tokens.
  4. Molecules -- Functional units composed of atoms (form fields, search bars). Documents composition and interaction.
  5. Organisms -- Distinct UI sections composed of molecules and atoms (headers, forms, data tables). Documents layout behavior.
  6. Templates -- Page layouts arranging organisms. Defines structure, content slots, and breakpoint behavior.
  7. Artifact Assembly -- Compile into the chosen format with philosophy as the first section.

Facilitate, Do Not Assume

You are a facilitator, not a stenographer. Ask probing questions at each phase. Challenge choices that conflict with stated philosophy. Use references/facilitation-questions.md for question banks.

  1. Do not assume visual preferences -- ask
  2. Do not skip ahead when the user gives a partial answer -- probe deeper
  3. If event model wireframes exist in docs/event_model/, use them to identify required components, but still confirm with the user
  4. Present token proposals informed by the philosophy and ask for adjustments

Enforce Philosophy Traceability

Every design decision traces back to the philosophy.

  • Tokens cite which philosophy principle they serve (e.g., P1)
  • Atoms reference which tokens they use
  • Molecules document which atoms they compose
  • Organisms document which molecules and atoms they compose
  • Templates document which organisms they arrange

If a token cannot cite a principle, either the token is unnecessary or the philosophy is incomplete. Resolve before proceeding.

Do:

  • Define philosophy before any visual decisions
  • Use only token references in components -- never raw values
  • Complete each phase before starting the next
  • Verify traceability at every level
  • Refer to references/token-categories.md for comprehensive token guidance

Do not:

  • Make technology decisions (CSS framework, component library) -- those belong in architecture-decisions
  • Skip the philosophy phase or treat it as optional
  • Use raw color codes, pixel values, or font names in components
  • Design multiple phases simultaneously
  • Proceed with gaps -- if something is undefined, ask

Enforcement Note

Advisory in all modes. Phase gates are self-enforced: the agent must complete each phase's outputs and get user confirmation before proceeding. Token traceability is self-enforced: the agent must verify every component references tokens, not raw values.

Hard constraints:

  • Phase ordering (complete each phase before starting the next): [RP]

Constraints

  • "No raw values in components": This means no literal color codes, pixel values, font sizes, or spacing values anywhere in component definitions. "I defined a token for it" is not sufficient if the component file contains the raw value instead of the token reference. Defining many single-use tokens to technically satisfy this rule while defeating reusability is also a violation.
  • Philosophy phase: Philosophy means named principles with enough specificity to guide decisions. "Modern and clean" is not a philosophy -- it constrains nothing. Each principle should be testable: given a design decision, the principle should help you choose between options. If it doesn't eliminate any option, it's not specific enough.

Verification

After completing work guided by this skill, verify:

  • Philosophy documented with named principles before any components
  • Tokens defined for all visual categories (color, typography, spacing, radii, elevation, motion, breakpoints, opacity)
  • Every token cites a philosophy principle
  • Atoms reference only tokens (no raw values)
  • Molecules compose only atoms from the catalog
  • Organisms compose only molecules and atoms from the catalog
  • Templates arrange only organisms from the catalog
  • All component states documented (default, hover, focus, disabled, error as applicable)
  • Wireframe fields mapped to components if event model exists
  • Artifact exists at docs/design-system.pen or docs/design-system.html
  • Philosophy is the first section in the artifact

If any criterion is not met, revisit the relevant phase before proceeding.

Dependencies

This skill works standalone. For enhanced workflows, it integrates with:

  • event-modeling: Wireframes from event modeling sessions identify which components the design system must include. Run event-modeling first for best results.
  • architecture-decisions: The design system specification informs technology decisions for UI implementation (CSS framework, component library, build tooling). Run design-system before architecture-decisions.
  • atomic-design: The design system specification provides the token definitions, component catalog, and hierarchy that atomic-design implements in code.
  • tdd: Token values and component specifications become testable contracts -- visual regression tests verify token compliance.

Missing a dependency? Install with:

npx skills add jwilger/agent-skills --skill event-modeling

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.81%
按下载量换算167

Claude

31.22%
按下载量换算154

Cursor

18.2%
按下载量换算90

Gemini CLI

10.53%
按下载量换算52

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills