# Migrate

> Migrate is an open-source agent skill for developer tools. Inventories an existing spec-driven project and migrates it to jig's conventions. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ramboz/jig/tree/main/hosts/claude/skills/migrate
- **Repository:** https://github.com/ramboz/jig
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** migrate
- **Collection:** https://github.com/ramboz/jig
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Migrate is a Claude Code skill from the jig project for repositories that already follow a spec-driven workflow but use different folder names, filename prefixes or slice layouts than jig expects. Its helper script first runs a read-only report that inventories specs, decisions, workflow and architecture docs, then gives a verdict on whether the project is ready to adopt jig's layout.

From there the skill drives a set of bounded operations: renaming ADR folders and files to the ADR-0004 shape with cross-reference rewrites, adopting a custom docs root through a scaffold sentinel, seeding the lightweight decisions file, splitting embedded slices into separate files, and copying jig's skills, agents, hooks and templates into the project's own host folder. Mutating commands offer dry runs, refuse conflicting or ambiguous states before writing, and leave original files in place.

It expects Python 3 and a checkout or installed copy of the jig plugin so the helper script can be run. Judgment calls such as mapping flat slices to parent specs or handling oversized CLAUDE.md files are surfaced for the user to decide rather than automated.

## When your agent uses it

> Inventory an existing spec-driven project and apply bounded migrations to jig defaults: `report`, `adopt-layout`, `rename-decisions`, `split-slices`, slice-to-spec, `seed-decisions`, and `copy-machinery`. Use when the user says migrate this project to jig, adopt jig here, this repo already has specs — set up jig, scaffold-init refused — what now; introduce jig to an existing codebase; apply ADR-0004 to my project; migrate flat slices into nested specs; seed the lightweight-decisions home; or copy jig's machinery into my project. Reports are read-only; mutations support dry runs where available, refuse conflicts before writing, and preserve originals in the agentic slice-to-spec workflow.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/migrate)
- [No network calls found in its scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/migrate)
- [License: MIT](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/migrate)

## Features

- **Read-only migration report:** Inventories specs, decisions and docs in a project and returns a verdict on adoptability without writing files.
- **ADR layout rename:** Moves legacy ADR folders and files to the jig decision layout and updates local cross-references.
- **Custom docs root adoption:** Registers an existing non-standard docs corpus by writing only a scaffold configuration file.
- **Lightweight decisions seeding:** Creates the missing lightweight decisions file in projects adopted before that feature existed, without overwriting.
- **Machinery copy into project:** Copies jig's skills, agents, hook scripts and templates into the project's host folder and registers hooks.
- **Flat slice to nested spec guidance:** Walks through converting flat slice files into nested spec folders while keeping the originals in place.

## Good for

- Adopt jig in a repository that already has specs and decision records
- Preview and apply the ADR-0004 rename on an older decisions folder
- Seed the lightweight decisions file in a project scaffolded before it existed
- Copy jig's runtime machinery into a project so it is version controlled with the repo
- Convert a plugin-only jig project to in-repo mode

## Install

### Claude Code

This skill ships in the `jig` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ramboz/jig
/plugin install jig@jig
```

Or copy only this skill to `~/.claude/skills/migrate`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.claude/skills/migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/migrate` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/migrate` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.agents/skills/migrate &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/migrate` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/migrate` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.cursor/skills/migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/migrate` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ramboz/jig.git --path hosts/claude/skills/migrate
```

Or copy the folder to `~/.gemini/skills/migrate` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/migrate`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/migrate &&
cp -R "$tmp/hosts/claude/skills/migrate" ~/.copilot/skills/migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/migrate` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ramboz/jig.git
```

Then copy `jig/hosts/claude/skills/migrate` into your agent's skills folder as `migrate`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does the skill trigger?

It triggers when the user asks to migrate a project to jig, adopt jig in an existing repo, or when scaffold-init refuses because specs already exist.

### Does the report change any files?

No. The report subcommand is strictly read-only, and mutating operations offer a dry-run option first.

### What happens if the project already has conflicting folders?

Operations such as rename-decisions refuse to run when both docs/adrs and docs/decisions are present, so the user must merge them manually first.

### Are original files deleted during slice-to-spec migration?

No. The source slice and milestone files stay in place, and the user decides when to remove them after verifying the new spec tree.

### Will existing hooks in my project be overwritten by copy-machinery?

If unmanaged hook configuration already exists, the command refuses with exit code 3 unless --force is passed. With --force on the Claude host, jig hooks are appended next to existing entries.

### How do I install Migrate in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/migrate to use it in all your projects, or to .claude/skills/migrate in one project. Or install the jig plugin, which includes it: /plugin marketplace add ramboz/jig, then /plugin install jig@jig.

### Does Migrate run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Migrate?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Migrate?

The closest alternatives to Migrate are Analyze, Scaffold init, Reframe, Adr workflow and Project retrofit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Analyze](https://ai-powered.com/skills/analyze-ramboz): Analyze is an open-source agent skill for developer tools.
- [Scaffold init](https://ai-powered.com/skills/scaffold-init): Scaffold init is an open-source agent skill for developer tools.
- [Reframe](https://ai-powered.com/skills/reframe-ramboz): Reframe is an open-source agent skill for developer tools.
- [Adr workflow](https://ai-powered.com/skills/adr-workflow-ramboz): Adr workflow is an open-source agent skill for developer tools.
- [Project retrofit](https://ai-powered.com/skills/project-retrofit): Project retrofit is an open-source agent skill for developer tools.
- [Migrate to codex](https://ai-powered.com/skills/migrate-to-codex): Migrate to codex is a free agent skill for developer tools.
- [Migrate to rust](https://ai-powered.com/skills/migrate-to-rust): Migrate to rust is an open-source agent skill for developer tools.
- [Clarify](https://ai-powered.com/skills/clarify-ramboz): Clarify is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/migrate
