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

fix-design-system-finding修复设计系统发现

Agent Skill

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

总安装

776

周安装

33

GitHub Stars

31

下载量

272
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

fix-design-system-finding 用于辅助界面设计和视觉规范优化。

  • 适合整理页面结构、生成 UI 方案或检查视觉一致性。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限与维护状态。
  • 使用时需结合现有品牌和设计系统,避免仅堆装饰元素。
  • 建议结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

Fix One Design-System Finding

Use this skill after audit-design-system has already identified a concrete issue.

This skill is intentionally narrow:

  • one finding at a time
  • one offending node or local cluster at a time
  • minimal read scope
  • minimal write scope

Load these capabilities first:

  • Figma MCP read access for the normal inspection tools
  • a figma-use-style helper before any use_figma write call, when your environment requires one

Use apply-design-system instead when the task is a broader screen-wide reconnect, multiple sections need coordinated changes, or the user explicitly wants a full pass across the frame.

Expected Input

Prefer one of these:

  • a single JSON finding from audit-design-system
  • the full review JSON plus the specific finding to address
  • a paraphrased issue plus a Figma URL or fileKey and nodeId

If the finding came from audit-design-system, extract the target from:

  • code_location.absolute_file_path = /figma/<fileKey>/nodes/<nodeId>

Treat the review result as the scope contract. Do not silently widen from one finding into a full cleanup pass.

Scope Rule

Stay pinned to the selected finding until one of these is true:

  • fixed: the targeted issue is corrected
  • blocked: the fix requires missing library assets, inaccessible components, or broader product decisions
  • needs-follow-up: the targeted node is improved, but a separate adjacent issue remains and should be reviewed independently

If the user pastes multiple findings, either address the one they selected or pick the highest-priority finding and say that is the one being fixed now.

Required Workflow

1. Normalize the Finding

Extract and restate:

  • fileKey
  • offending nodeId
  • finding title
  • why the reviewer flagged it

If the review output does not identify a specific node, stop and ask for either the raw finding JSON or a direct Figma node.

2. Run A Local Compatibility Check When Replacement Choice Is Ambiguous

Before backing anything up or editing the canvas, decide whether a clean fix is actually possible.

Run a local compatibility check when:

  • the finding implies a DS swap but does not identify the exact component
  • more than one library component looks plausible
  • override behavior or sizing is unclear
  • the user explicitly wants extra research before writing

Do not continue into writes until the compatibility check returns one of:

  • safe-to-apply
  • blocked
  • needs-human-choice

The compatibility check should answer:

  • which exact component or variant is the leading candidate
  • whether text, icon, state, and size overrides are supported
  • whether the replacement can preserve the node's layout contract

If the result is blocked, stop and report the blocker.

If the result is needs-human-choice, stop and ask the minimal clarifying question instead of guessing.

3. Gather Only the Evidence Needed

Before writing, inspect the target with the smallest useful set of reads:

  1. get_screenshot for the offending node or closest enclosing section
  2. get_metadata for structural context
  3. get_variable_defs when the finding mentions tokens, raw values, color, spacing, or typography
  4. get_code_connect_map when the finding suggests an existing mapped component
  5. search_design_system only if you still need to locate the replacement primitive

Do not re-review the whole board unless the finding clearly points to a repeated pattern and the repeated pattern is required to choose the fix.

4. Classify the Fix

Choose exactly one remediation mode:

  • swap-instance: replace an ad-hoc or wrong instance with the correct library component or variant
  • compose-from-primitives: rebuild the local custom wrapper from published library parts
  • bind-tokens: replace raw values with variables or styles
  • align-variant: move an existing instance to the correct variant or property state
  • blocked: no valid library-backed fix is currently possible

If more than one mode seems plausible, prefer the smallest change that satisfies the original finding.

5. Back Up Only the Affected Area

Before destructive edits, duplicate only the offending node or the smallest enclosing local section.

Name the backup clearly, for example:

  • Backup - Fix finding 1
  • Backup - Custom nav

Make the backup in its own write call and return the created node ID.

6. Apply the Fix Incrementally

Do not rebuild the whole screen.

Work in small steps:

  1. inspect current node IDs and component linkage
  2. import or locate the needed library component or variable
  3. replace, compose, or retokenize only the targeted area
  4. return all created and mutated node IDs

Prefer swapComponent() when it preserves the node's position and valid overrides.

Prefer rebuilding beside the original when:

  • the current node is a local wrapper with mixed custom structure
  • the review finding points at a custom composition, not a single primitive
  • you need visual comparison before replacing the original

If the first validation pass shows that the recommended component regresses layout, text visibility, icon behavior, or width contract, stop. Report blocked or needs-follow-up instead of continuing to force the same primitive into place.

7. Validate the Finding, Not the Entire Screen

After the write:

  1. screenshot the changed node or its immediate section
  2. confirm the specific review complaint is no longer true
  3. confirm the result is library-backed or token-bound when that was the goal
  4. confirm spacing and text overrides still make sense

Only expand validation beyond the local section if the fix touched a global pattern such as navigation.

Decision Heuristics

  • If the finding says a primitive was recreated as a frame, bias toward swap-instance.
  • If the finding says repeated local wrappers should collapse into a shared pattern, fix one representative node unless the task explicitly asks to roll the fix across all siblings.
  • If the finding is about raw values beside tokenized peers, bias toward bind-tokens.
  • If the finding is about a locally edited instance with the wrong size or state, bias toward align-variant.
  • If the library lacks the required component family or the import fails, mark it blocked instead of improvising a fake connection.
  • If a DS component exists but cannot preserve the node's text/icon/sizing contract, mark it blocked or needs-human-choice instead of forcing the swap.

Writing Rules

  • Keep the write scope tightly aligned to the selected finding.
  • No write before a safe-to-apply compatibility outcome when replacement choice is ambiguous.
  • Do not claim the whole screen is "on system" after fixing one finding.
  • Prefer exact component keys and variable IDs over names.
  • Do not continue into unrelated cleanup just because you noticed more drift.
  • If a broader refactor is obviously needed, finish the targeted fix or report the blocker, then recommend apply-design-system for the next pass.

Deliverable Format

When closing the task, report:

  • Finding fixed: what changed and on which node
  • Validation: how you confirmed the original issue is resolved
  • Blocked or Follow-up: only if the finding could not be fully resolved

Keep the report tied to the single finding. Avoid screen-wide summaries unless the user asks for them.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.24%
按下载量换算90

Claude

30.12%
按下载量换算82

Cursor

18.59%
按下载量换算51

Gemini CLI

9.27%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills