Design System Researchのロゴ

Design System Research

コミュニティ
nnikochann
design-system-research

既存の製品に関する資料をもとに、デザインシステムが存在しない、不完全、古い、または文書化されていない場合に限り、その発見、監査、抽出、整備、文書化に使います。既存のUI、コンポーネントライブラリ、スタイルファイル、Figma、ウェブサイト、スクリーンショット、ブランド資料をもとにデザインシステムの成果物を作成・更新する依頼や、トークン/コンポーネントの監査が対象です。すでに作成済みのデザインシステムを使ってUIを設計・実装するだけの依頼には使わないでください。その場合は既存のdocsやデザインシステムの成果物を直接読み、それに従ってください。

Add to TypingMind

概要

公開者nnikochann
リポジトリdesign-system-skills
スキル名design-system-research
スター
3
フォーク
0
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/nnikochann/design-system-skills/tree/main/skills/design-system-research
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nnikochann/design-system-skills.git /tmp/design-system-skills
mkdir -p .claude/skills
cp -r /tmp/design-system-skills/skills/design-system-research .claude/skills/design-system-research
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Design System Research

Purpose

Build or repair compact, reusable design-system documentation from existing product evidence. A design system is the product contract between design intent and code: tokens, components, layout rules, interaction states, accessibility policy, content patterns, and governance. It is not just a palette or component library.

Use this skill when a product already has code, screens, Figma files, brand material, a public website, or prior UI decisions, but the design-system contract itself is absent, weak, outdated, or needs an audit. The job is to discover the system that exists and make it explicit.

This is not a UI-generation skill. If docs/design-system/manifest.json, docs/design-system/design-system.md, and docs/design-system/component-map.md already exist and the user asks to design a page, build a screen, update CSS, or implement a component, read those artifacts directly and proceed without invoking this skill unless the user asks to audit or revise the system itself.

Core Rule

Do not use this skill as a general preflight for every UI task. Use it only when design-system discovery or documentation is part of the work.

When this skill is active, do not start visual implementation until the current design system has been inspected and documented. If the user asks for implementation in the same run, complete the research artifacts first, then continue using them as constraints.

If there is no existing product, no existing UI, and the user wants a new visual system from references or a product idea, use $design-system-from-scratch instead.

If the design system already exists and the task is to create a screen from it, this skill is not applicable.

Workflow

  1. Inventory sources.

    • Inspect repo structure, frontend framework, routes/pages, component directories, style files, assets, and package dependencies.
    • Search for Tailwind config, theme files, CSS variables, CSS modules, global styles, design-token files, shadcn/Radix/MUI/Chakra usage, icons, fonts, and animation libraries.
    • If a Figma link is present and Figma MCP is available, pull design context, screenshot/context images, components, styles, and variable definitions. If the tool is unavailable, record that as a limitation instead of guessing.
    • If a website URL is present, capture key pages with browser or Playwright, then save screenshots under docs/design-system/screenshots/.
    • If screenshots, PPTX, PDFs, brand books, or moodboards are provided, treat them as design evidence and cite them in the manifest sources.
  2. Extract tokens.

    • Capture colors, typography, spacing, radius, shadows/elevation, breakpoints, grid, z-index/layers, motion timings/easing, and imagery rules.
    • Prefer semantic roles over raw values: surface, surface-muted, text-primary, accent, border-subtle, danger, focus-ring.
    • When a token is missing but repeatedly needed, propose it in manifest.json with a note. Do not silently hardcode new raw values.
  3. Map components.

    • Identify buttons, links, inputs, selects, checkboxes/toggles, cards, navigation, tabs, tables, dialogs, toasts, empty states, page shells, data visualizations, and marketing sections.
    • Record component paths, variants, supported states, composition rules, accessibility obligations, and local anti-patterns.
    • Reuse existing components before creating new ones. If an existing component is insufficient, explain the extension needed.
  4. Derive layout and visual language.

    • Document grid, page width, section rhythm, density, hierarchy, information architecture, responsive behavior, interaction patterns, motion style, icon style, illustration/photo rules, and content tone.
    • Name anti-patterns clearly: arbitrary gradients, nested decorative cards, floating glass panels, pill overload, fake dashboard widgets, unowned accent colors, inconsistent type scale, and layout drift.
  5. Write artifacts.

    • Read references/manifest-schema.md before writing manifest.json.
    • Create or update:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/component-map.md
    • Optional when useful:
      • docs/design-system/tokens.css
      • docs/design-system/visual-principles.md
      • docs/design-system/screenshots/
  6. Protect the project instructions.

    • After the design-system artifacts are written, search the repository root for an existing agent instruction file in this order: AGENTS.md, agents.md, AGENT.md, agent.md.
    • If one exists, update it. If none exists, create AGENTS.md at the repository root.
    • Add a short "Design System Guard" section explaining that the project's visual layer is protected by the design system: the design system is the source of truth for visual decisions, and UI work must follow it before introducing new styles, tokens, or components.
    • List the design-system files that own the contract. Include required files and any optional files that were actually created, for example:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/component-map.md
      • docs/design-system/tokens.css
      • docs/design-system/visual-principles.md
      • docs/design-system/screenshots/
    • Keep this instruction block concise. Do not duplicate the full design-system documentation inside the agent instruction file.
    • Use this shape, adapted to the project's language and actual file list:
      md
      ## Design System Guard
      
      The visual layer of this project is protected by the design system. The design system is the source of truth for UI decisions: colors, typography, spacing, components, layout, motion, and visual QA. Before changing UI, read and follow these files:
      
      - `docs/design-system/manifest.json`
      - `docs/design-system/design-system.md`
      - `docs/design-system/component-map.md`
      
      Do not introduce new visual tokens, component variants, or layout patterns unless they are added to the design-system contract first.
  7. Continue or stop.

    • If the user asked only for research, stop after the artifacts and summarize findings, open questions, and next recommended implementation step.
    • If the user asked for UI implementation too, proceed only after the artifacts exist. Treat the manifest as the source of truth.

Artifact Guidance

manifest.json is the machine-readable contract. Keep it compact, structured, and specific enough that another Codex run can implement from it.

design-system.md is the human-readable explanation. Explain what the system is, how to apply it, and where the strongest design decisions come from.

component-map.md is the engineering handoff. Link component names to file paths, variants, usage rules, states, and gaps.

The project agent instruction file (AGENTS.md, agents.md, AGENT.md, or agent.md) is the persistent guardrail. It should point future agents back to the design-system files and state that the design system is authoritative for visual work.

Verification

Before finishing a UI task that used this skill:

  • Run relevant lint, typecheck, tests, and build commands when available.
  • Render affected screens in browser or Playwright across mobile, tablet, and desktop when possible.
  • Check token usage, typography hierarchy, spacing rhythm, overflow, responsive states, focus states, contrast, and visual drift from manifest.json.
  • Confirm the project agent instruction file exists and references the design-system source-of-truth files.
  • Report verification commands, screenshots or capture paths, deviations, and remaining risks.

同梱ファイル

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

よくある質問

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

既存の製品に関する資料をもとに、デザインシステムが存在しない、不完全、古い、または文書化されていない場合に限り、その発見、監査、抽出、整備、文書化に使います。既存のUI、コンポーネントライブラリ、スタイルファイル、Figma、ウェブサイト、スクリーンショット、ブランド資料をもとにデザインシステムの成果物を作成・更新する依頼や、トークン/コンポーネントの監査が対象です。すでに作成済みのデザインシステムを使ってUIを設計・実装するだけの依頼には使わないでください。その場合は既存のdocsやデザインシステムの成果物を直接読み、それに従ってください。

TypingMindでDesign System Researchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Design System Researchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDesign System Researchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/nnikochann/design-system-skills/tree/main/skills/design-system-researchを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

はい。nnikochannがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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