Gdd Liveのロゴ

Gdd Live

コミュニティ
hegemonart
gdd-live

ブラウザー上でリアルタイムにデザインを調整するモードです。ユーザーが実行中の開発サーバー上でDOM要素を選ぶと(Claude Preview MCP経由)、AIエージェントがN個のデザイン案を一括生成します。HMRまたはpreview_evalを使い、data-gdd-variantマーカーを付けてその場で案を切り替えられます。ユーザーが採用または破棄すると、一連の選択・生成・採用のプロセスが.design/live-sessionsに保存されるため、クラッシュ後や再開時にも引き継げます。実際に動作するサーバー上でライブコンポーネントの見た目を調整したい、ページのバリエーションを試したい、またはURLを指定してliveコマンドを実行したい場合に使います。MCPに対応していないハーネスでは、スクリーンショットのみの縮退モードに切り替わります。ブラウザー上でのデザイン調整、開発サーバー上での要素選択、またはホットスワップによるバリエーション生成を含むリクエストで有効になります。

Add to TypingMind

概要

公開者hegemonart
リポジトリget-design-done
スキル名gdd-live
スター
3
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

gdd-live - Live In-Browser Design Mode

Pick a DOM element on a running dev server, generate competing design variants, hot-swap them in place, and accept the winner as a real source edit. Every step persists to .design/live-sessions/<id>.json so the session survives a crash or a later resume.

The browser-side runtime, the harness-mode gate, the session store, the events feed, the post-check, the scope guard, and the bandit feed are all separate modules under scripts/lib/live/. This skill describes the loop and names the module that owns each step; it does not import them.

For the full surface (the Preview MCP tools, the six live_* events, the session file, the bandit feed, degraded mode, the scope guard), see ../../reference/live-mode-integration.md. For the SKILL.md structural contract, see ../../reference/skill-authoring-contract.md.


Arguments

  • [url] - the page to drive. Optional. When omitted, detect the dev server and use its root.
  • --variants N - how many variants to generate per pick. Default 3.
  • --resume <session-id> - reattach to an in-progress session in .design/live-sessions/.

BOOT

  1. Probe the Preview MCP per ../../connections/preview.md: ToolSearch({ query: "Claude_Preview" }), then mcp__Claude_Preview__preview_list. Empty ToolSearch means the MCP is not loaded.
  2. Resolve the harness live mode. The capability signal is capability_matrix.mcp_support in scripts/lib/manifest/harnesses.json, projected by scripts/lib/live/harness-mode.cjs (liveModeFor(harnessId)). A puppeteer result means full live mode; a degraded result means screenshot-only.
  3. If mcp_support is false for this harness, or Preview is unavailable, enter DEGRADED mode and say so plainly: variants are generated and captured as static screenshots, with no in-page hot-swap. Skip the INJECT and PICK steps; generate against the file the user names instead.
  4. Detect the dev server. Look for Vite, Next, Bun, or a static server (check package.json scripts plus a preview_list entry). Record the server descriptor on the session.
  5. Open or create the session via scripts/lib/live/session-store.cjs (.design/live-sessions/<id>.json). On --resume, load the named session (see RESUME).

INJECT

Inject the browser runtime once. Read RUNTIME_JS from scripts/lib/live/runtime.cjs and evaluate it in the page with mcp__Claude_Preview__preview_eval. The runtime is an idempotent IIFE bound to window.__gddLive, so a re-inject after navigation rebinds the same singleton rather than stacking listeners. It installs the pick handler and the variant-swap helpers, and stamps the live variant on the element via the data-gdd-variant attribute.


PICK

  1. Arm the picker (window.__gddLive.pick()), then guide the user to click the target element. Use preview_click and preview_inspect to confirm the element and read its computed styles and bounding box.
  2. Read the pick report back. Its fields are documented in pickReportShape (selector, tagName, classList, boundingRect, computedStyle subset, current variant). The selector strategy prefers id, then a data-testid, then a tag plus class plus nth-of-type path.
  3. Emit a live_pick event through scripts/lib/live/events.cjs and append a pick entry to the session.

GENERATE (one batch)

  1. Load the relevant Phase 45 canonical reference index FIRST, so variants are grounded in real guidance: the domain index that matches the picked element (for example ../../reference/spatial.md for layout, ../../reference/interaction.md for components and a11y, ../../reference/color.md for color, ../../reference/typography.md for type, ../../reference/motion.md for animation).
  2. Generate all N variants in ONE batch (default 3), each a distinct, hypothesis-tagged design direction for the picked element. Do not generate them one at a time.
  3. For each variant: write the change atomically to the implicated source file, then make it live. With HMR running, the file write is enough; otherwise apply the variant in place with window.__gddLive.swapVariant({ n, style, html }), which sets data-gdd-variant="n" and applies the variant's style or markup.

POST-CHECK

Run the post-check on each variant via scripts/lib/live/postcheck.cjs, which invokes gdd-detect. Show the findings inline next to each variant. A variant that trips a finding is flagged, NOT auto-rejected: the user still decides. Append a live_postcheck event per variant.


ACCEPT / DISCARD

  • ACCEPT one variant: apply the chosen variant as the canonical source edit, and revert the others in the page (window.__gddLive.revert() on each non-chosen element). Emit a live_accept event and feed the outcome to the design-variants bandit via scripts/lib/live/bandit-feed.cjs (a dev-time signal). Append an accept entry.
  • DISCARD: revert every variant in the page back to its captured original and leave the source untouched. Emit a live_discard event and append a discard entry.

Either way, persist the result through scripts/lib/live/session-store.cjs before continuing.


PERSIST

Every step (boot, pick, generate, post-check, accept, discard) is written to the session file through scripts/lib/live/session-store.cjs as it happens. The on-disk event log uses the pick, generate, accept, discard kinds; the telemetry stream uses the six live_* event types. Writes are atomic, so an interrupted step never leaves a half-written session.


RESUME

With --resume <session-id>, load the named session from .design/live-sessions/. Only an in_progress session is resumable. Offer the user two choices: continue from the last recorded event (report what that was, for example "last pick was the primary button"), or start fresh (open a new session and leave the old one intact). Never silently replay completed events.


SCOPE GUARD

Never write outside the source files implicated by the picked element. Run every proposed write through scripts/lib/live/scope-guard.cjs, which maps the picked selector to its owning source files and rejects edits that fall outside them. If a variant would need a change beyond that scope (a shared token, a parent layout, a new dependency), stop and surface it to the user rather than widening the blast radius.

Constraints

  • Do NOT edit files outside the picked element's implicated sources (enforced by the scope guard).
  • Do NOT generate variants one at a time; generate the full batch, then swap.
  • Do NOT auto-reject a variant on a post-check finding; flag it and let the user decide.
  • In DEGRADED mode, state up front that hot-swap is unavailable and fall back to screenshots.
  • Persist before every user-facing prompt so a crash never loses accepted work.

LIVE COMPLETE

よくある質問

AIスキル「Gdd Live」では何ができますか?

ブラウザー上でリアルタイムにデザインを調整するモードです。ユーザーが実行中の開発サーバー上でDOM要素を選ぶと(Claude Preview MCP経由)、AIエージェントがN個のデザイン案を一括生成します。HMRまたはpreview_evalを使い、data-gdd-variantマーカーを付けてその場で案を切り替えられます。ユーザーが採用または破棄すると、一連の選択・生成・採用のプロセスが.design/live-sessionsに保存されるため、クラッシュ後や再開時にも引き継げます。実際に動作するサーバー上でライブコンポーネントの見た目を調整したい、ページのバリエーションを試したい、またはURLを指定してliveコマンドを実行したい場合に使います。MCPに対応していないハーネスでは、スクリーンショットのみの縮退モードに切り替わります。ブラウザー上でのデザイン調整、開発サーバー上での要素選択、またはホットスワップによるバリエーション生成を含むリクエストで有効になります。

TypingMindでGdd Liveを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/liveを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Gdd Liveを使えるAIモデルはどれですか?

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

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

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

AIスキル「Gdd Live」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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