Design System From Scratchのロゴ

Design System From Scratch

コミュニティ
nnikochann
design-system-from-scratch

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

概要

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

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Design System From Scratch」を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-from-scratch
  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-from-scratch .claude/skills/design-system-from-scratch
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Design System From Scratch

Purpose

Create a design system when there is no reliable existing UI to extract from. The process starts with product intent and references, not implementation. The output is a usable system: tokens, component foundations, layout rules, accessibility rules, visual principles, and a manifest that future UI work can follow.

This pipeline differs from $design-system-research: do not pretend to extract a mature system from an empty repo. First build design direction from brief and references, then author the system deliberately.

Core Rule

Do not generate polished UI immediately. First clarify the product, gather or request references, synthesize visual direction, define tokens/components, and write docs/design-system/manifest.json.

If the repo already has a real product UI, component library, or design tokens that should constrain the work, use $design-system-research first.

Workflow

  1. Intake the product.

    • Capture product name, category, audience, primary workflows, business goal, platform targets, technical stack, brand constraints, accessibility expectations, and required deliverables.
    • Ask for references only when missing information would materially change the design direction. Prefer 3-7 strong references over a large unfocused dump.
    • When the user provides sparse input, proceed with stated assumptions and record open questions.
  2. Build a reference board.

    • Read references/reference-intake.md for reference categories and evaluation prompts.
    • Use provided Figma links, screenshots, public sites, brand books, product docs, competitor URLs, and moodboard images.
    • Separate references by role: aspirational mood, direct competitor, layout, typography, color/material, interaction/motion, imagery, and anti-reference.
    • Save the source list and observations in docs/design-system/reference-board.md.
  3. Synthesize direction.

    • Define 1-3 design territories when the brief is exploratory. Each territory should include mood, typography direction, color/material approach, layout density, motion attitude, and risks.
    • If the user has already chosen a direction, skip territories and document the chosen direction.
    • Avoid generic style words unless they are converted into concrete rules. "Premium" is not a rule; "low-chroma surfaces, restrained accent color, dense editorial type scale, no glass cards" is a rule.
  4. Author tokens.

    • Create semantic colors, typography roles, spacing scale, radius scale, elevation/shadow policy, breakpoints, grid rules, and motion tokens.
    • Define why each major token exists and where it should be used.
    • Keep values implementation-ready for the project's stack when known: CSS variables, Tailwind theme, design tokens JSON, or component props.
  5. Define component foundations.

    • Start with primitives: Button, Link, Input, Select, Checkbox, Toggle, Tabs, Tooltip, Modal/Dialog, Toast, Card/Panel, Table/List, Nav, Badge, Avatar, Empty State, Loading, Error.
    • For each component, define variants, states, anatomy, spacing, typography, accessibility, and usage limits.
    • Design for reuse before adding expressive one-off sections.
  6. Define layout and visual principles.

    • Specify page shells, grid, max widths, responsive behavior, section rhythm, density, hierarchy, content rules, iconography, imagery, data visualization, and motion.
    • Include anti-patterns so future UI work has guardrails.
  7. 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/reference-board.md
      • docs/design-system/component-map.md
    • Optional when useful:
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
  8. 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/reference-board.md
      • docs/design-system/component-map.md
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
    • 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/reference-board.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.
  9. Prototype only after the system exists.

    • If the user requested screens in the same run, implement a small representative slice first: one page shell plus core components and states.
    • Run visual QA across mobile, tablet, and desktop.
    • Summarize design-system deviations and whether they should become new rules or be removed.

Reference Expectations

Good reference input includes:

  • 2-3 products the user wants to feel adjacent to.
  • 1-2 anti-references showing what to avoid.
  • Audience and product category.
  • Desired brand traits with concrete examples.
  • Screens or flows the system must support first.

Do not copy references literally. Extract principles: hierarchy, density, rhythm, material, interaction, contrast, and tone.

Output Standard

The design system is ready when another Codex run can build UI from the artifacts without re-asking basic visual questions. The final response should include created files, the updated or created project agent instruction file, chosen direction, open questions, verification performed, and the recommended next UI slice.

同梱ファイル

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

よくある質問

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

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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