Gdd Migrateのロゴ

Gdd Migrate

コミュニティ
hegemonart
gdd-migrate

Migrates a project off GDD's own deprecated paths after an upgrade. Reads the machine-readable registry in reference/DEPRECATIONS.md (via scripts/lib/deprecation-registry.cjs), scans the project's .design/config.json + any local skill/agent references for paths that are now deprecated or removed at the installed version, and PREVIEWS a diff before changing anything. Interactive by default (confirm per change); --yes auto-applies; --dry-run previews only. Read-first, never silent. Use after {{command_prefix}}update flags a breaking change.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Gdd Migrate」を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/migrate
  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/migrate .claude/skills/gdd-migrate
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

{{command_prefix}}migrate

Closes the GDD-on-GDD gap: when GDD moves or removes its own paths (e.g. the Phase 31.5 scripts/lib/** → sdk/** reorg), a project that referenced the old paths needs updating. This skill consults the deprecation registry, finds the stale references in this project, and rewrites them - after showing you the diff. It never edits silently. Contract: ../../reference/DEPRECATIONS.md.

Invocation

CommandBehavior
{{command_prefix}}migrateScan + preview every applicable migration, then confirm each before applying.
{{command_prefix}}migrate --dry-runPreview only - print the diff, change nothing.
{{command_prefix}}migrate --yesApply every applicable migration without the per-change prompt (still prints what changed).

Steps

  1. Resolve the installed version from .claude-plugin/plugin.json (version).

  2. Load the registry. Parse reference/DEPRECATIONS.md with the pure helper:

    bash
    node -e '
      const fs = require("fs");
      const dr = require("./scripts/lib/deprecation-registry.cjs");
      const entries = dr.parseDeprecations(fs.readFileSync("reference/DEPRECATIONS.md","utf8"));
      const version = require("./.claude-plugin/plugin.json").version;
      // Only entries that are deprecated/removed at the installed version are actionable.
      const actionable = entries.filter(e => dr.classify(e, version) !== "pending");
      console.log(JSON.stringify({ version, actionable }));
    '
  3. Scan the project for each actionable entry's Old path:

    • .design/config.json (string values referencing an old path),
    • project-local skill/agent references (grep the repo, excluding .git/, node_modules/, and GDD's own reference/DEPRECATIONS.md),
    • any require(...)/import of a removed SDK path. For a code rewrite, scaffold the edit with scripts/lib/migration/codemod-gen.cjs (Phase 39.1) - you emit the change as a reviewable patch, you do not run a codemod engine.
  4. Preview. Print a unified-diff-style preview per file: Old → New, the registry status (deprecated vs removed), and the migration hint. If --dry-run, stop here.

  5. Confirm + apply. Without --yes, ask per change. With --yes, apply all. Use Write to make the edits; never touch a file the user didn't consent to.

  6. Report. Summarize: files changed, references rewritten, and any removed-status reference that still has no replacement wired (flag it loudly - that one breaks at the installed version).

Boundaries

  • Preview-first. Nothing changes before you've shown the diff (or --yes was passed).
  • Migrates this project's references to GDD paths - it does not rewrite GDD's own source, and it never performs a downgrade (reverse migrations are out of scope).
  • Read the registry; never invent a migration that isn't in reference/DEPRECATIONS.md.

Record

Print a ## Migration summary (version, actionable entries, files changed, unresolved removed references) and append one JSONL line to .design/intel/insights.jsonl recording the migration run. Close with:

## MIGRATE COMPLETE

よくある質問

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

Migrates a project off GDD's own deprecated paths after an upgrade. Reads the machine-readable registry in reference/DEPRECATIONS.md (via scripts/lib/deprecation-registry.cjs), scans the project's .design/config.json + any local skill/agent references for paths that are now deprecated or removed at the installed version, and PREVIEWS a diff before changing anything. Interactive by default (confirm per change); --yes auto-applies; --dry-run previews only. Read-first, never silent. Use after {{command_prefix}}update flags a breaking change.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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