Fix Design System Findingのロゴ

Fix Design System Finding

組織
edenspiekermann
fix-design-system-finding

Figmaの画面やコンポーネントで見つかった、共有コンポーネントの不足、ローカルでの上書き、未紐づけのトークンなど、デザインシステムとの統合に関する特定の問題を修正します。

Add to TypingMind

概要

公開者edenspiekermann
リポジトリSkills
スキル名fix-design-system-finding
スター
66
フォーク
7
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    edenspiekermannがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Fix Design System Finding」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFix Design System Findingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Fix Design System Findingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Fix Design System Finding」では何ができますか?

Figmaの画面やコンポーネントで見つかった、共有コンポーネントの不足、ローカルでの上書き、未紐づけのトークンなど、デザインシステムとの統合に関する特定の問題を修正します。

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Fix Design System Findingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Fix Design System Findingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFix Design System Findingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Fix Design System Finding」は無料ですか?

edenspiekermannがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇