Hatch3r Migration logo

Hatch3r Migration

Organization
hatch3r
hatch3r-migration

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

Overview

Publisherhatch3r
Repositoryhatch3r
Skill namehatch3r-migration
Stars
26
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hatch3r on GitHub. Read the source before you install it.

Installation

Install the Hatch3r Migration AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-migration
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hatch3r Migration in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hatch3r Migration on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hatch3r Migration is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Hatch3r Migration AI skill do?

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

Why use Hatch3r Migration on TypingMind?

Because you install it once and use it with any model. Hatch3r Migration is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hatch3r Migration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-migration. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hatch3r Migration?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hatch3r Migration?

As many as you like. As long as a model supports skills, you can use Hatch3r Migration with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hatch3r Migration AI skill free?

Yes. It is published on GitHub by hatch3r under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇