Craft Guardのロゴ

Craft Guard

コミュニティ
Bandersnatch0x
craft-guard

UIの品質とフィードバックの質を高めます。プロダクトUIの仕上げ(モーション、読み込み・エラー時のフィードバック)や、ページがAI生成らしい粗雑な印象になっている場合に使用します。

Add to TypingMind

概要

公開者Bandersnatch0x
リポジトリdesign-playbook
スキル名craft-guard
スター
3
フォーク
0
同梱ファイル
2
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

craft-guard

Craft declaration for cross-product quality: hierarchy, wait feedback, purposeful motion, CJK-safe type. Does not own business risk (domain) or token inventory (design).

When a verified design-baseline binding exists (status: ready), use that path as the project-specific visual baseline. Report clear divergence (density, type, spacing, shape, motion, or shared component treatment) to ui-evaluator with source set to the bound path. Do not replace valid project choices with this skill's generic taste defaults.

When a persistent contract v1 is bound for the run (contract-bind.json / scripts/contract_v1.py), honor decided visual and craft constraints from that contract and reject unknown contract schema versions. Do not invent page or component inheritance layers.

Apply (checklist)

Treat as exhaustive for the surface under edit.

Hierarchy and type

  • One clear primary. Secondary recedes via density and space, not rainbow chrome.
  • CJK UI uses the project Chinese stack (var(--font-cn) or equivalent).
  • Brand solid + brand-gradient ≤ 3 emphasis hits per viewport. Neutrals carry the rest.

Done when: a cold reader can name the primary action and region in one glance.

Loading tiers

Tiers and their boundaries are the threshold of PERF-01@2 in ../design-playbook/references/rules.md, the single source for these numbers:

text
below placeholder-from           no indicator
placeholder-from to indicator-from   skeleton (layout stable)
past indicator-from              loader + what is happening
past timeout-at                  timeout + retry (or cancel)

Done when: every async path in scope maps to a tier with a next action on failure/timeout.

Motion

  • UI motion stays within motion-max, and hover, focus and typing feedback within high-frequency-motion-max (the threshold of CRAFT-08@2). Animate transform / opacity only.
  • Each animation names the state change it explains.
  • Honor prefers-reduced-motion. Keyboard-triggered actions stay free of decorative motion.

Done when: every motion in scope states the state change it explains.

Replace AI slop with the target look

For implemented UI, evaluate registry-entry applicability predicates in ../design-playbook/references/rules.md. Use the subset declared by the active spec and contract, or the full catalog when none is declared. Run every entry whose predicate evaluates to applicable against rendered UI plus relevant source. Execution protocol and the row format live in references/detectors.md. Write exactly one seven-column audit row per applicable entry to .scratch/<run>/craft-guard.md:

ID@verApplicabilityPredicate reason / missing proofResultRendered evidenceSource evidenceException checkPositive fix

Applicability is the entry's three-state predicate outcome: applicable, not-applicable, or blocked. not-applicable and blocked both require an observable reason (blank is invalid, never a silent skip). Result is clear|hit only for applicable rows, - otherwise; Positive fix is required on hit rows. Missing rendered or source proof is blocked, not a silent clear. Unknown registry IDs fail at this stage. Audit rows are advisory: record evidence, exception check, and positive fix. Leave declaration source, severity, and verdict to ui-evaluator.

The host model may have no vision (text-only input). Renders stay path-bound: the Rendered evidence column cites the artifact path; never read the image. Assertions run on the text face: HTML and CSS source, a11y tree text, and interaction-trace action records. An interaction trace is a Playwright trace ZIP. Unzip before reading; the artifact is not JSON. A no-vision run evaluates the same registry protocol this way without degrading it. Genuinely missing rendered proof still records blocked honestly.

Push towardInstead of default sludge
Accent on key noun + primary CTAPurple–blue gradient wallpaper
Glass only on rare floating layersBlur on every card
Project CJK stackInter and Roboto as Chinese body
Weighted modulesEqual white card grid
State-explaining motionBounce and elastic decoration

references/craft.md, required when the surface has L4 interactive zones (per-zone hover and motion affordance, with its own Done when). Also holds edge craft (failure and permission feedback, rounded-corners and shadows, charts).

Completion

Done when: hierarchy, every in-scope wait and fail path, and every animation pass their checks. If the surface has L4 interactive zones, every zone's affordance passes its checks (per references/craft.md). Implemented UI also records exactly one seven-column audit row for every registry craft entry whose applicability predicate evaluates to applicable, with no unexplained missing proof. Residual hits and blocked proof are handed to ui-evaluator. Audit rows do not assign source, severity, or verdict. Machine check right after writing craft-guard.md: python scripts/g8_run_registry.py .scratch/<run>/craft-guard.md.

同梱ファイル

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

よくある質問

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

UIの品質とフィードバックの質を高めます。プロダクトUIの仕上げ(モーション、読み込み・エラー時のフィードバック)や、ページがAI生成らしい粗雑な印象になっている場合に使用します。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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