Hatch3r Migrationのロゴ

Hatch3r Migration

組織
hatch3r
hatch3r-migration

Plans and executes migrations for databases, frameworks, and dependencies. Covers breaking change analysis, phased rollout, and rollback procedures.

概要

公開者hatch3r
リポジトリhatch3r
スキル名hatch3r-migration
スター
26
フォーク
7
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Migration Workflow

Quick Start

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Assess migration scope
- [ ] Step 2: Analyze breaking changes
- [ ] Step 3: Create migration plan
- [ ] Step 4: Execute migration phases
- [ ] Step 5: Validate and verify
- [ ] Step 6: Document and clean up

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: target version pinned, allowed downtime window, irreversible operations (schema drops, data deletes), rollback acceptable as cold restore vs hot revert, and consumer compatibility window (single PR vs phased).

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Step 1: Assess Migration Scope

  • Identify the migration type: database schema, framework version, dependency upgrade, language version, or infrastructure change.
  • Inventory all affected files, modules, and services.
  • Check for transitive dependency impacts — upgrading one package may force others.
  • Review the target version's changelog, migration guide, and known issues.
  • Estimate effort and risk level (low/medium/high) based on scope.

Step 2: Analyze Breaking Changes

  • Compare current vs target API surfaces for changed/removed features.
  • Search the codebase for usage of deprecated or removed APIs.
  • For database migrations: identify schema changes, data transformations, and index impacts.
  • For framework upgrades: check configuration format changes, plugin compatibility, and behavioral differences.
  • Document each breaking change with affected file locations and required code modifications.

Step 3: Create Migration Plan

  • Define phases with clear boundaries — each phase should be independently deployable and rollback-safe.
  • Phase ordering: compatibility layer first, then consumer migration, then removal of old code.
  • For database migrations: write both up and down migration scripts. Test both directions.
  • Include a rollback plan for each phase with specific steps and time estimates.
  • Set validation criteria for each phase before proceeding to the next.

Step 4: Execute Migration Phases

  • Implement one phase at a time. Verify before proceeding.
  • For dependency upgrades: update lockfile, fix type errors, update API calls, run tests.
  • For database migrations: run against a staging copy first, verify data integrity, measure execution time.
  • For framework migrations: use codemods where available, manual fixes where not.
  • Keep backward compatibility during transition — both old and new code paths should work.

Step 5: Validate and Verify

  • Run the full test suite after each phase.
  • For database migrations: verify row counts, check constraint integrity, test queries against migrated data.
  • For dependency upgrades: verify bundle size impact, check for runtime behavior changes.
  • Performance benchmark critical paths before and after.
  • Test rollback procedure on a staging environment.

Step 6: Document and Clean Up

  • Remove compatibility shims and old code paths after the migration is complete.
  • Update project documentation (README, setup guides, deployment docs).
  • Update CI configuration if build steps changed.
  • Delete unused migration scripts after they've been applied to all environments.
  • Write a migration retrospective noting what went well and any issues encountered.

Related

  • Command: hatch3r-migration-plan — the plan-only counterpart. That command fans out parallel researcher sub-agents (changelog + breaking-change inventory) and an architect to produce a phased plan under docs/migrations/ plus board-ready todo.md entries; it never runs install, upgrade, or codemod commands. Use /hatch3r-migration-plan to produce the researcher-backed phased plan for a major dependency or framework upgrade; use this skill to execute an approved plan phase-by-phase or to run a single-dependency migration inline.

Error Handling

  • Migration phase fails partway through: Roll back to the last successful phase checkpoint. Diagnose the failure before retrying. Each phase must leave the codebase in a working state.
  • Rollback procedure does not restore original behavior: Treat this as a critical gap. Fix the rollback procedure before proceeding with the migration, since an untested rollback path is a deployment risk.
  • Dependency version conflict during migration: Pin the conflicting dependency to the version compatible with the migration target. Document the pin and plan its removal after all consumers are updated.

Definition of Done

  • All phases completed and verified
  • Full test suite passes
  • Rollback procedure tested
  • No backward-compatibility shims remain
  • Documentation updated
  • Performance verified against baseline

References

よくある質問

AIスキル「Hatch3r Migration」では何ができますか?

Plans and executes migrations for databases, frameworks, and dependencies. Covers breaking change analysis, phased rollout, and rollback procedures.

TypingMindでHatch3r Migrationを使うメリットは何ですか?

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

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

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

Hatch3r Migrationを使えるAIモデルはどれですか?

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

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

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

AIスキル「Hatch3r Migration」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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