Craft Systemのロゴ

Craft System

コミュニティ
diego3g
craft-system

Use when starting a design system, style guide or token set, adding or changing a component or token, standardizing screens that drifted apart, or auditing a guide for loose colours, one-off pieces, missing states or screens that don't match it.

概要

公開者diego3g
リポジトリcraft
スキル名craft-system
スター
546
フォーク
29
同梱ファイル
8
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 8個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Design system

Overview

A design system is the place where a decision is made once and then reused everywhere. Every colour is a token, every interactive piece shows all its states, and every change reaches every screen that uses the piece. Build it in layers, foundations first, and stop for approval at each layer. An audit reports and never fixes on its own.

When to use

  • "Start a style guide / design system / tokens for …"
  • Adding a component, variant or token, or changing an existing one.
  • "Make these screens consistent", "standardize", "audit the guide", or loose hex values and one-off pieces in the screens.

When NOT to use

  • A question about one value ("what's our primary colour?"): answer it.
  • A small edit the person described exactly (one value, one label, one size), even on a shared piece: change it once where it's defined and say which screens it affects. No states matrix, no stop.

Before you start

  1. Read DESIGN.md at the project root if it exists: it is the project's design brief.
  2. Find what exists: tokens, the guide, the components, the screens and the code. An existing guide wins on look. Follow its rules even where they differ from the defaults below, and mention the difference once.
  3. Pick your tool's adapter in references/adapters/ (paper.md, pen.md, figma.md, penpot.md, html.md). If no adapter matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (html.md). If an image is all you have, say that values read from it are estimates.
  4. Decide the mode: create, add or change, or audit.

Steps · create

  1. Foundations draft:

    • colour roles (token roles);
    • type scale;
    • spacing;
    • radius;
    • shadows (two at most);
    • layout widths;
    • motion durations;
    • a short "how we write" section.

    Name tokens by role (text-muted, border-hover, danger-bg), never only by value (gray-500).

  2. Interaction rules, once: for bordered pieces, borderless pieces and the primary action, write how hover, pressed, focus (keyboard only), disabled, loading and selected look. Components follow these rules instead of each inventing its own.

  3. Stop and show the person the foundations and the interaction rules. Don't build components yet.

  4. Components one at a time, in the order the first screens need them. Each gets a guide section with the component anatomy: a legend with the rule and why, examples, and a states matrix of variants × states. Add each one to the component index.

Steps · add or change a piece

  1. Check whether an existing component plus a variant covers it. Prefer reuse to a one-off.
  2. Draw it with the anatomy, including the full states matrix. A new colour, size or icon becomes a token or an icon-set entry now, not later.
  3. List every screen and code location that uses the piece.
  4. Stop and show the person the change and that list.
  5. On approval, propagate:
    • update every screen on the list;
    • update the code, if any. When DESIGN.md says the design system's source is code, do it with REQUIRED SUB-SKILL: craft-sync (export), so the code change is a reviewed diff. If that diff holds only the change just approved and no conflicts, the approval carries over: say so and apply, without a second stop;
    • update the component index;
    • report what changed where.

Steps · audit

  1. Run the audit checklist over the guide, the screens and the code if any.
  2. Write the report: findings ranked by severity, each with where it is, why it matters and the proposed fix.
  3. Stop and show the person the report. Change no file until they say which fixes to make. Saving copies of the originals doesn't make editing them acceptable.

Rules

Firm (any project):

RuleWhy
Every colour is a token; no loose hex values in screens or codeLoose values drift into near-duplicates that nobody can change at once
One icon setMixed sets look like mixed products
Design and code change together, design firstOtherwise the guide stops being the truth within a week. When the system's source is code, "design first" means: draw the change in the tool, then land it in code through an approved export
Every interactive piece has a states matrixStates drawn ad hoc on screens never agree
A change to a shared piece is listed with the screens it affects before it propagatesOtherwise one "small" change silently redesigns twenty screens

Defaults (an existing guide overrides them):

DefaultWhy
On hover, bordered pieces only darken the borderA changing background on cards and fields feels heavy
Hover is subtler than selectedWhen hover looks like selected, people think two things are chosen
Selecting never changes font weightA weight change shifts the text's width
Placeholders are lighter than muted textOtherwise a placeholder reads as entered text
Items in stacked lists and menus have a small gap, never touchingTouching highlights merge into one block
The focus ring only appears from the keyboardA ring after a mouse click looks like a bug
Loading keeps the element's exact sizeLayout shift
Shadows only on floating things (menus, popovers, dialogs, toasts), at two strengthsShadows everywhere flatten the hierarchy they were meant to create
At most one primary action per screenTwo primaries means the screen didn't decide

Done when

  • Create: foundations and interaction rules approved; each component has its anatomy, states matrix and an index row.
  • Change: every listed screen and code location updated, and the index updated.
  • Audit: a ranked report delivered and no file changed.

Common mistakes

ThoughtReality
"I'll build the whole guide in one go: tokens and ten components"Ten components on unapproved foundations means ten reworks. Foundations, stop, then components.
"The audit found problems, I'll just fix them"The person may disagree with half of the fixes. Report, stop, fix only what they pick.
"I kept the originals in a backup folder, so fixing is safe"A backup doesn't make the person agree with the fixes. Report first.
"Buttons have hover and disabled, good enough"A states matrix has every state × every variant: normal, hover, pressed, focus, disabled, loading, selected.
"--teal-600 is a token"It's a value. Components need roles (--color-primary) so the value can change in one place.
"This screen needs a slightly different card"Make it a variant of the card, or use the card. A one-off is the start of drift.

同梱ファイル

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

よくある質問

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

Use when starting a design system, style guide or token set, adding or changing a component or token, standardizing screens that drifted apart, or auditing a guide for loose colours, one-off pieces, missing states or screens that don't match it.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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