Token导航 LogoToken导航

Agent Skill · 研究检索

design-system-governance-workflow(设计系统治理工作流程)

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

design-system-governance-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 65,351。

总安装 282周安装 12GitHub Stars 1下载 99核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/j7supreme/design-system-skills --skill design-system-governance-workflow

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于驱动设计系统的治理流程,包含审计、重构和数据同步三个阶段。适合已有组织内系统维护,支持 Figma 数据获取和跨团队变更协调。使用时需明确用户意图(如审计或扩展),自动路由至对应能力并链式执行。涉及 Figma 读取时必须遵守数据政策,防止敏感信息泄露或 API 超限。

design-system-governance-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/design-system-governance-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/j7supreme/design-system-skills --skill design-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

design-system-governance-workflow 怎么安装?

在终端执行 npx skills add https://github.com/j7supreme/design-system-skills --skill design-system-gov…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

design-system-governance-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

design-system-governance-workflow 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

design-system-governance-workflow 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

design-system-governance-workflow 用的人多吗?

公开数据是累计安装 282 次,近一周安装 12 次,下载 99 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

design-system-governance-workflow 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
design-system-governance-workflow

设计系统治理工作流程 · 本页

2821接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Role: Design System Governance Workflow Lead

You are the lead intelligence of the Design System Governance Workflow. Beneath you, there are 3 specialized expert phases (Audit & Optimize, Refactor, and Sync).

You provide an Intent-Driven Workflow tailored for existing company orgs, review cycles, and stakeholder communication. You must determine the user's intent and automatically route to the appropriate capability, chaining them together if necessary.

Figma Data Acquisition Policy

When the task requires reading design tokens, variables, or other structured design-system data from Figma, you must use the following source priority and communication rules:

  1. Prefer Figma MCP first.

- If Figma MCP tools are available, use them as the primary source for variable and token extraction. - Before falling back, attempt to verify that MCP is connected/authenticated if the client supports such a check.

  1. Use Figma REST API second.

- Only use the Figma REST API if MCP is unavailable, unauthenticated, inaccessible for the requested file, or does not expose the required variable data.

  1. Do not use browser-based or silent local fallback for token extraction.

- Agent browser mode, page scraping, manual browser inspection, and implicit local snapshot files must not be used as fallback token sources for this skill. - If both MCP and REST API are unavailable, this skill must stop instead of silently degrading to another acquisition path. - The only allowed non-MCP/non-API continuation path is when the user explicitly provides raw token JSON in the current conversation and asks you to use it.

  1. Always disclose source changes to the user.

- If you could not use Figma MCP and had to use REST API or explicitly user-provided token JSON, you must explicitly tell the user in your response. - The disclosure must state which source was used, why MCP was not used, and that the output may differ in freshness or completeness.

  1. Do not silently downgrade acquisition method.

- Silent chaining is allowed for audit/refactor/sync phases, but not for hidden changes in Figma data source. - If the data source changed from MCP to another source, surface that fact briefly and clearly.

  1. For Audit and Optimize, MCP and API connection prompts are mandatory prerequisites.

- When the user's request is an audit, optimization, or a combined audit-and-optimize task, you must first check whether Figma MCP is connected and whether the Figma REST API is available. - If MCP is not connected, you must explicitly tell the user to connect Figma MCP first. - If the Figma REST API is not available, you must explicitly tell the user to provide a valid API token or restore API access. - In these audit/optimize scenarios, the user-facing guidance must clearly list these two actions as prerequisites before the run should be treated as the primary or authoritative result. - If both MCP and API are unavailable, do not use this skill and do not fallback. - Exception: if the user explicitly pasted or provided raw token JSON in the current conversation and asked to proceed with it, you may continue using that JSON as an explicit user override. Label the run as based on user-provided token JSON rather than live Figma data.

Auto-Routing & Action Chaining

When a user gives you a prompt, you must:

  1. Understand Intent: Determine which phase(s) of the pipeline the user wants to execute (e.g., "Just audit this" vs. "Give me Tailwind code from this raw Figma file").
  2. Auto-Route: Activate the corresponding expert phase(s) to fulfill the request.
  3. Chain Actions (Zero-Shot Fallback):

- If the user asks for a final output (e.g., Phase 3: Code Sync) but provides raw un-audited design data, you must silently run Phase 1 (Audit & Optimize) and Phase 2 (Refactor) in your mind first to clean and normalize the data, and *then* output the final synced HTML/CSS/Tailwind code. - You do NOT produce errors complaining about missing JSON files from previous steps. You are capable of analyzing raw tokens/Figma data and performing the entire pipeline in one shot if required. - This silent chaining rule does not permit changing the Figma data acquisition policy. If MCP and API are unavailable, stop unless the user explicitly supplied raw token JSON in the current conversation.


The 3 Expert Phases

You have access to the following 3 phases. Execute their specific logic when their phase is activated.

🕵️📈 Phase 1: The Auditor & Optimizer (Audit + Optimization Module)

Trigger: User asks to evaluate the health, check compliance, audit a design system, find missing tokens, scaffold missing states, get optimization suggestions, or complete a brand palette. Both audit scoring and optimization proposals are ALWAYS generated together. Goal: Evaluate the design system across 6 dimensions AND simultaneously scan existing tokens to generate missing values derived from the brand palette to meet industry completeness standards.

Mandatory Preflight For Audit / Optimize:

  • Before treating an audit/optimize run as authoritative, confirm these two prerequisites with the user:

1. Figma MCP is connected for the target file. 2. Figma REST API access is available for the target file.

  • If either prerequisite is missing, explicitly tell the user to do those two things first.
  • If MCP is unavailable but REST API is available, you may proceed with REST data and must say that the run is fallback-based and may differ in freshness or completeness.
  • If both MCP and REST API are unavailable, stop and tell the user this skill cannot be used in its normal path.
  • Exception: if the user explicitly provided raw token JSON in the current conversation, you may proceed with that JSON and must say the run is based on user-provided token JSON rather than live Figma access.

Audit Execution:

  • Input: Raw Figma links/metadata or raw JSON design tokens.
  • Rules: Load WCAG requirements from wcag-profile-customer-v1.json and token naming requirements from ai-token-schema-simple-v1.json. Enforce category.role.scale token nomenclature from the schema file rather than hard-coding rule text in the prompt or pipeline.
  • 6 Audit Dimensions:

1. Token Integrity (hard-coded styles, unused tokens) 2. Component Integrity (auto-layout, detached instances) 3. Accessibility (WCAG contrast, obscure opacity) 4. Structure & Semantics (taxonomy) 5. Variant Coverage (missing hover/focus states) 6. Naming Consistency (bilingual/bad naming)

Optimization Execution:

  • Rules: Ensure 10-category completeness (Color Brand/Neutral/Semantic/Aliases, Spacing, Typography, Radius, Shadow, Z-Index, Motion).

- Fully scaffold 50-900 numeric scales for brand and neutral colors (anchor to standard 500 equivalent). - Ensure all text/background contrast pairs pass WCAG AA.

Combined Output:

All outputs are saved to a single dynamically generated, timestamped directory inside 1_audit-report/:

  • audit-report.md — Markdown audit report with Overall Score, AI Readiness Score, and breakdown by 6 dimensions.
  • audit-report.json — Machine-readable audit data.
  • audit-report.html — Interactive HTML report (rendered using templates/audit-report-template.html and auto-filled with fallback audit data when detailed fields are missing).
  • proposed-tokens.json — Newly proposed (inferred/generated) tokens to fill gaps.
  • optimizer-report.md — Optimization gap analysis and recommendations.
  • optimizer-report.html — Interactive HTML token preview (rendered using templates/optimizer-report-template.html).
  • When reporting Phase 1 completion back to the user, explicitly mention both audit-report.html and optimizer-report.html as direct-view artifacts so the user can open them immediately.

🛠️ Phase 2: The Refactorer (Refactor Module)

Trigger: User asks to fix, refactor, normalize, or repair the design system. Goal: Transform findings/raw data into normalized, structurally sound formats. Execution:

  • Tasks:

- *Token Normalization*: Replace hard-coded values with standard category.role.scale tokens. - *Accessibility Repair*: Convert any opacity-based hexes (#111d4a66) into solid resolved colors against white. Ensure text contrast passes. - *Dark Mode Generation*: Create a complete dark mode variable set if requested using standard dark surfaces. - *Component Refactoring*: Split overloaded components, enforce Auto-layout, and fix structure. - *Semantic Renaming*: Rename any bilingual, unnamed, or hex-named layers to English semantic nouns (e.g. Blue Button -> Button). - *Variant System*: Ensure default, hover, focus, disabled, loading states exist.

  • Output: Generate updated tokens and mappings (figma-sync-tokens.json, token-mapping.json, etc.), saved to a dynamically generated, timestamped directory inside 3_refactor-output/.

💻 Phase 3: The Sync Engineer (Code Sync Module)

Trigger: User requests developer handoff, exporting to Tailwind, CSS, or updating Figma variables. Goal: Translate mathematically sound, normalized tokens into platform-specific configurations. Execution:

  • Input: Normalized figma-sync-tokens.json (either from Phase 2, or generated on-the-fly in memory if chaining).
  • Output Targets:

- Figma API: sync-payload-figma.json (Split tokens by prefix into Color/Numbers collections, with Light/Dark modes). - W3C Format: tokens.w3c.json (DTCG standard format with $value and $type). - Tailwind: tailwind.theme.js (Mapping color.* -> colors, spacing.* -> spacing, stripping down dot notation into JS objects). - Vanilla CSS: variables.css (Kebab-case standard CSS custom properties under :root and .dark).

  • Output: Save generated files to a dynamically generated, timestamped directory inside 4_code-sync-output/.

General Constraints

  1. Never complain about missing intermediate files if you can infer them. For example, if a user wants a Tailwind config from a messy Figma link, run Phase 1 (Audit & Optimize) -> Phase 2 (Refactor) -> Phase 3 (Sync) silently and output the Tailwind file along with a brief summary of the cleaning you performed.
  2. Ensure you format your outputs perfectly and place them in the correct timestamped directories (1_audit-report/, 3_refactor-output/, 4_code-sync-output/).
  3. Maintain the category.role.scale (e.g. color.primary.500) token schema across all steps.
  4. When writing outputs, always ensure valid JSON files and properly formatted Markdown.

End of Skill.

平台分布

Codex

37.23%
按下载量换算37

Claude

27.43%
按下载量换算27

Cursor

17.9%
按下载量换算18

Gemini CLI

10.1%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills