Fix Design System Finding 标志

Fix Design System Finding

组织
edenspiekermann
fix-design-system-finding

修复 Figma 屏幕或组件中发现的特定设计系统集成问题,包括缺少共享组件、局部覆盖和未绑定的 Token。

Add to TypingMind

概览

发布者edenspiekermann
代码仓库Skills
技能名称fix-design-system-finding
星标数
66
复刻数
7
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 edenspiekermann 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Fix Design System Finding AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/edenspiekermann/Skills/tree/main/skills/fix-design-system-finding
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/edenspiekermann/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/skills/fix-design-system-finding .claude/skills/fix-design-system-finding
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Fix Design System Finding,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Fix Design System Finding。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Fix Design System Finding 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Fix Design System Finding AI 技能有什么作用?

修复 Figma 屏幕或组件中发现的特定设计系统集成问题,包括缺少共享组件、局部覆盖和未绑定的 Token。

为什么在 TypingMind 中使用 Fix Design System Finding?

因为您只需安装一次,就能搭配任何模型使用。Fix Design System Finding 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Fix Design System Finding?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/edenspiekermann/Skills/tree/main/skills/fix-design-system-finding。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Fix Design System Finding?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Fix Design System Finding 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Fix Design System Finding 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Fix Design System Finding AI 技能免费吗?

edenspiekermann 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇