Token导航 LogoToken导航

Agent Skill · 研究检索

apply-design-system(应用设计系统)

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

apply-design-system 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 38,909。

总安装 1,493周安装 61GitHub Stars 31下载 483核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/edenspiekermann/skills --skill apply-design-system

这个 Skill 是做什么的

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

用于辅助界面设计、视觉规范和布局优化。apply-design-system 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合生成 UI 方案或检查视觉一致性。需结合品牌和设计系统使用,避免堆砌装饰元素。涉及页面改动时,应通过截图预览文本溢出和对齐。

适用于 Codex、Claude、Cursor 和 Gemini CLI。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

apply-design-system 怎么安装?

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

apply-design-system 支持哪些 AI 工具?

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

apply-design-system 需要什么权限?

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

apply-design-system 是免费的吗?

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

apply-design-system 用的人多吗?

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

apply-design-system 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

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

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
apply-design-system

应用设计系统 · 本页

1,49331调用外部服务未明确有提醒

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

SKILL.md 原文

Connect A Design To A Design System

Use this skill for an existing Figma design that should reuse a published design system instead of detached layers, local wrappers, or one-off components.

This skill supports two entry modes:

  • review-then-apply: the user wants a broad pass, but the exact offending sections are not yet identified
  • apply-known-scope: the user already knows which sections or clusters should be brought onto the design system

Load these capabilities first:

  • Figma MCP read access for tools such as get_metadata, get_screenshot, and search_design_system
  • a figma-use-style helper before any use_figma call, when your environment requires one
  • a screen-building companion workflow, when available, if you are reconnecting a full screen or page

Do not use this skill as the default follow-up to a single audit-design-system finding. For one targeted issue, use fix-design-system-finding so the write scope stays narrow.

Core Rule

Do not treat a section as "connected" just because it contains a few design-system buttons or icons.

This skill is for multi-section reconciliation. If the task can be satisfied by fixing one specific reviewed node, the narrower finding-fix skill is the better choice.

Classify each section into exactly one bucket:

  • already-connected: the section itself is a library instance or a composition the user explicitly accepts as already canonical
  • exact-swap: a published library component or variant can replace the section directly
  • compose-from-primitives: no single library component exists, but the section can be rebuilt from published library primitives
  • blocked: the library does not expose the needed components, imports fail, or the section is intentionally bespoke

Required Workflow

1. Determine Scope First

Before gathering replacement candidates, decide whether the screen needs an initial audit.

If scope is not already identified:

  1. Run audit-design-system or perform an equivalent internal audit pass.
  2. Collapse the review output into section-sized work packages instead of treating every micro-finding as a separate rewrite task.
  3. If the review produces only one narrow finding, switch to fix-design-system-finding instead of continuing here.

If scope is already identified, continue directly.

Do not skip component discovery just because a review already exists. Review identifies drift; this skill still has to choose the actual replacement primitives and variants.

2. Capture the Current State

Before writing:

  1. Get the target frame metadata with get_metadata.
  2. Get a screenshot with get_screenshot.
  3. If you need get_design_context and Figma asks the Code Connect question, ask the user exactly as instructed by the tool before proceeding.

For this skill, prefer get_metadata plus use_figma for structure discovery. get_design_context is optional unless it unlocks missing context.

3. Back Up the Target Screen

Before destructive edits, duplicate the frame or page and place the backup to the right.

Name it clearly, for example:

  • Backup - Start
  • Backup - Mobile dashboard

Do this in its own use_figma call and return the created node ID.

4. Inventory the Existing Screen

Inspect the target frame before searching the library.

Use use_figma to gather:

  • top-level section instances
  • each section's mainComponent
  • whether that component is local, remote, or missing
  • nested published components already used inside each local wrapper
  • exposed text and variant properties when present

Prefer exact keys over names. Names are only hints.

Useful read-only inventory pattern:

(async () => {
  try {
    await figma.setCurrentPageAsync(figma.root.children.find(p => p.id === "PAGE_ID"));
    const frame = await figma.getNodeByIdAsync("FRAME_ID");
    const sections = frame.findAll(n => n.type === "INSTANCE").map(inst => {
      const mc = inst.mainComponent;
      const cs = mc?.parent?.type === "COMPONENT_SET" ? mc.parent : null;
      return {
        instanceId: inst.id,
        instanceName: inst.name,
        componentName: mc?.name ?? null,
        componentKey: mc?.key ?? null,
        componentSetName: cs?.name ?? null,
        componentSetKey: cs?.key ?? null,
      };
    });
    figma.closePlugin(JSON.stringify({ createdNodeIds: [], mutatedNodeIds: [], sections }));
  } catch (e) {
    figma.closePluginWithFailure(e.message);
  }
})()

5. Build a Component Map From the Design System

Prefer authoritative sources in this order:

  1. Existing screens in the same library or workfile that already use the system
  2. Known library pages inspected directly with use_figma
  3. search_design_system as a fallback only

When using search_design_system, remember:

  • results may include unrelated team or community libraries
  • broad queries are useful for discovery, but do not trust them without verifying the actual file or page
  • once the right library is known, prefer direct inspection of that file over repeated search calls

For each candidate, capture:

  • component or component-set key
  • exact variant name
  • whether the section is a one-to-one swap or a composition
  • text property keys or nested instance properties needed for overrides

Do not default blindly to the library's primary or default variant.

Before choosing a variant, inspect the original node for:

  • semantic cues from the name, copy, and usage context
  • visual cues such as fills, strokes, effects, corner radius, and typography treatment
  • existing variant-like traits already visible in the screen, such as primary vs secondary button treatment

Then compare those cues against the available component-set variants and choose the closest match. If the family is correct but the variant match is ambiguous, call that out instead of silently using the default variant.

6. Decide Section Strategy

Use these heuristics:

  • exact-swap if a library component matches the section's job and structure closely enough that swapComponent() or a direct replacement preserves intent.
  • compose-from-primitives if the section is really a container around library pieces such as avatar, badge, buttons, metrics, or nav items.
  • blocked if the design system lacks the composite, the library is not published, imports fail, or the section should remain bespoke.

Common patterns:

  • Header summary blocks are often compose-from-primitives, not one component.
  • Alerts and metrics often have strong exact-swap candidates.
  • Appointment or patient cards often require composition unless the system explicitly ships those domain cards.
  • Bottom nav bars are frequently custom containers built from nav-item primitives.

7. Update One Section At A Time

Never rewrite the entire screen in one script.

For each section:

  1. Read the current node IDs.
  2. Import or locate the library component.
  3. Match the closest variant to the original section before swapping or rebuilding.
  4. Detect whether the parent uses auto-layout.
  5. Create or swap only that section.
  6. Return all mutated node IDs.
  7. Validate with get_screenshot.

Prefer swapComponent() when the existing node is already an instance of a compatible family and you want to preserve overrides.

Prefer rebuilding beside the original when:

  • the old section is a local wrapper around mixed content
  • you need to compare the result visually before replacing the original
  • you are composing from multiple primitives

When the parent is not auto-layout, treat replacement as a layout-risk operation.

For non-auto-layout parents:

  • preserve x and y explicitly
  • preserve width and height explicitly when the replacement should occupy the same footprint
  • do not assume the new instance will inherit the old node's position or size
  • warn the user that absolute-positioned or grouped parents can cause drift after swaps or rebuilds
  • suggest converting the parent to auto-layout only when the user wants structural cleanup, not as the default move

8. Handle Import Failures Explicitly

If importComponentSetByKeyAsync() or importComponentByKeyAsync() fails or times out:

  1. Stop.
  2. Do not continue making unrelated edits and pretend the section is connected.
  3. Check whether exact component keys already exist elsewhere in the target file.
  4. If the library file is accessible, verify the exact component key there.
  5. Try importing the exact component key instead of the component-set key.
  6. If imports still fail, mark the section blocked and report the blocker clearly.

Treat these as real blockers:

  • published key exists in the library but import times out
  • search_design_system finds the family, but the target file cannot import it
  • only nested primitives can be imported, not the intended composite

9. Validate What Actually Changed

After each section:

  • screenshot the changed section, not only the full frame
  • confirm placeholder text is gone
  • confirm the instance is really linked to a library component
  • confirm spacing did not regress

At the end, validate the full screen screenshot as well.

Writing Rules

  • Work incrementally and preserve a backup.
  • Prefer direct library inspection over noisy search results.
  • Prefer exact component keys over names.
  • Match the variant to the original visual treatment, not just the correct component family.
  • Preserve position and size explicitly when replacing content inside non-auto-layout parents.
  • Use imperative evidence in the report: node names, keys, component families, and whether the final node is local or library-backed.
  • Do not claim full reconnection when the result is still a local shell around a few shared children.
  • If a section must remain bespoke, say so and explain why.

Deliverable Format

When closing the task, report:

  • Swapped: sections replaced directly with library instances
  • Composed: sections rebuilt from library primitives
  • Already connected: sections that were already valid
  • Blocked: sections that could not be connected, with the concrete reason

If everything is blocked, say that plainly and include the exact failure mode instead of a vague summary.

平台分布

Codex

36.01%
按下载量换算174

Claude

33.28%
按下载量换算161

Cursor

18.6%
按下载量换算90

Gemini CLI

9.56%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

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

安装前确认

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

继续浏览同类 Skills